@idmwx/idmui-report 3.3.3 → 3.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(ee,ie){typeof exports=="object"&&typeof module<"u"?ie(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("@idmui/tropical"),require("axios"),require("@element-plus/icons-vue"),require("element-plus"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idmwx/idmwx-base","moment","vue","echarts","@wangeditor/editor-for-vue","@idmui/tropical","axios","@element-plus/icons-vue","element-plus","mapbox-gl"],ie):(ee=typeof globalThis<"u"?globalThis:ee||self,ie(ee["idmui-report"]={},ee["@idmwx/idmwx-base"],ee.moment,ee.Vue,ee.echarts,ee["@wangeditor/editor-for-vue"],ee["@idmui/tropical"],ee.axios,ee["@element-plus/icons-vue"],ee["element-plus"],ee["mapbox-gl"]))})(this,function(ee,ie,G,e,Ji,rn,qi,ja,en,mn,gl){"use strict";function Ki(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const d=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(s,o,d.get?d:{enumerable:!0,get:()=>t[o]})}}return s.default=t,Object.freeze(s)}const Nl=Ki(Ji),_oe="",ke=(t,s)=>{const o=t.__vccOpts||t;for(const[d,l]of s)o[d]=l;return o},ji={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${(t?G(t):G()).utc().format(s)}`}}}},pn=t=>(e.pushScopeId("data-v-609af107"),t=t(),e.popScopeId(),t),Xi={class:"section brand-section flex-space"},vi=e.createStaticVNode('<div class="logo-box flex-center" data-v-609af107><div class="logo" data-v-609af107><a href="https://fmp.idmwx.com" target="_blank" data-v-609af107><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-609af107></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-609af107><div class="brand" data-v-609af107><span style="text-decoration:underline;" data-v-609af107>Weather Routing</span><div class="company" data-v-609af107>Ocean Right Marine Service</div></div></a></div></div>',1),ed={class:"report-box flex-space"},td={class:"name flex-start"},od={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},ld={class:"flex-start",style:{width:"100%"}},ad={class:"label-block flex-evenly",style:{flex:"1"}},nd=pn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),sd={class:"flex-end",style:{flex:"2"}},id=pn(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function dd(t,s,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Xi,[vi,e.createElementVNode("div",ed,[e.createElementVNode("div",td,e.toDisplayString(o.name),1),e.createElementVNode("div",od,[e.createElementVNode("div",ld,[e.createElementVNode("div",ad,[nd,e.createElementVNode("span",sd,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),id])])])}const _o=ke(ji,[["render",dd],["__scopeId","data-v-609af107"]]),cd={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}}},rd={key:0,class:"loading"},md=e.createElementVNode("i",{class:"iconfont"},"",-1);function pd(t,s,o,d,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",rd,[md,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const tn=ke(cd,[["render",pd]]),Eoe="",hd={name:"ORMPointReport",components:{IdmLoading:tn,IdmBrand:_o},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,s,o,d;(s=(t=this.report)==null?void 0:t.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ie.LngLatHelper.guessTimeZoneOffset((o=this.report)==null?void 0:o.lng,(d=this.report)==null?void 0:d.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,o="MMM-DD/HHmm[LT]"){return`${G(t).utcOffset(s).format(o)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return s||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var d,l,a,_,i,E,b,x,y,g;const s={};for(let B=0;B<((l=(d=t==null?void 0:t.extend)==null?void 0:d.data)==null?void 0:l.length);B++){const r=(a=t==null?void 0:t.extend)==null?void 0:a.data[B];if(B===0)r.precip.pacc=0;else{const S=(_=t==null?void 0:t.extend)==null?void 0:_.data[B-1],C=G(r.utc).utcOffset(this.localTZ),O=G(S.utc).utcOffset(this.localTZ),L=(i=S==null?void 0:S.precip)==null?void 0:i.prate,w=C.diff(O,"h"),T=this.roundPrecision(L*w,1);if(r.precip.pacc=T,T>0){const D=s[C.format("MMM-DD")],W=Math.floor(C.get("hour")/6);D?(D.pacc=this.roundPrecision(D.pacc+T,1),D[`${W}`]?D[`${W}`]+=T:(D[`${W}`]=T,D.colspan+=1)):(s[C.format("MMM-DD")]={pacc:T,colspan:1},s[C.format("MMM-DD")][`${W}`]=T)}}}t.paccInDays=s;let o=0;for(const B of Object.keys(s))o+=(E=s[B])==null?void 0:E.colspan,s[B].level=((b=s[B])==null?void 0:b.pacc)<10?"Light":((x=s[B])==null?void 0:x.pacc)<24.9?"Moderate":((y=s[B])==null?void 0:y.pacc)<49.9?"Heavy":((g=s[B])==null?void 0:g.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,_,i;this.echart||(this.echart=e.markRaw(Nl.init(this.$refs.echart)));const t=[],s=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let d=4;(i=(_=(a=this.report)==null?void 0:a.extend)==null?void 0:_.data)==null||i.forEach(E=>{var x,y,g,B,r,S,C,O,L,w,T,D,W;const b=G(E.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(b),d=((y=(x=E.wave)==null?void 0:x.sig)==null?void 0:y.height)>d?(B=(g=E.wave)==null?void 0:g.sig)==null?void 0:B.height:d,s.push([b,(r=E.wind)==null?void 0:r.kts,(S=E.gusts)==null?void 0:S.kts,(O=(C=E.wave)==null?void 0:C.sig)==null?void 0:O.height,(L=E.wind)==null?void 0:L.direction,(w=E.wind)==null?void 0:w.degree,(T=E.wind)==null?void 0:T.scale,(D=E.current)==null?void 0:D.kts,(W=E.precip)==null?void 0:W.acc,this.roundPrecision(E.visibility/1852,0),E.temp])});const l={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:d,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data: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:o.dateTime,y:o.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:s,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-b77c7ac1"),t=t(),e.popScopeId(),t),_d={class:"point-report"},Ed={class:"section info-section"},yd={class:"flex-evenly"},Nd={class:"flex-space label-block",style:{width:"100%"}},Vd=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),fd={class:"flex-space label-block",style:{width:"100%"}},gd=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),Dd={class:"flex-evenly"},bd={class:"flex-space label-block",style:{width:"100%"}},xd=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),Cd={class:"flex-space label-block",style:{width:"100%"}},Sd={class:"flex-end",style:{width:"180px"}},kd={class:"section echart-section"},Bd={ref:"echart",class:"echart"},Ad={class:"section sample-section"},wd=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Td=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Od=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Fd=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Pd=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Wd=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Ld=["colspan"],ud=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Hd=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Md=st(()=>e.createElementVNode("th",null,"Dir",-1)),Gd=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),$d=st(()=>e.createElementVNode("th",null,"BF",-1)),Id=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Rd=st(()=>e.createElementVNode("th",null,"Dir",-1)),zd=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Ud=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Yd=st(()=>e.createElementVNode("th",null,"Dir",-1)),Zd=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Qd=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Jd=st(()=>e.createElementVNode("th",null,"Dir",-1)),qd=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Kd={key:0},jd={key:1},Xd=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),vd=st(()=>e.createElementVNode("th",null,"°C",-1)),ec={width:"120px"},tc={key:0,class:"degree-box"},oc={key:1},lc={key:0,class:"degree-box"},ac={key:1},nc={key:0,class:"degree-box"},sc={key:1},ic={key:0,class:"degree-box"},dc={key:1},cc={key:0},rc={key:1};function mc(t,s,o,d,l,a){var E,b,x,y;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",_d,[e.createVNode(_,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",Ed,[e.createElementVNode("div",yd,[e.createElementVNode("div",Nd,[Vd,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((E=o.report)==null?void 0:E.lat).pretty)+" / "+e.toDisplayString(a.computeLng((b=o.report)==null?void 0:b.lng).pretty),1)]),e.createElementVNode("div",fd,[gd,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",Dd,[e.createElementVNode("div",bd,[xd,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",Cd,[e.createElementVNode("label",Sd,"("+e.toDisplayString(a.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",kd,[e.createElementVNode("div",Bd,null,512)]),e.createElementVNode("div",Ad,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[wd,Td,Od,Fd,Pd,Wd,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Ld),ud,Hd]),e.createElementVNode("tr",null,[Md,Gd,$d,Id,Rd,zd,Ud,Yd,Zd,Qd,Jd,qd,o.showPrate?(e.openBlock(),e.createElementBlock("th",Kd,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",jd,"Acc (mm)")):e.createCommentVNode("",!0),Xd,vd])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=(x=o.report)==null?void 0:x.extend)==null?void 0:y.data,(g,B)=>{var r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re;return e.openBlock(),e.createElementBlock("tr",{key:B},[e.createElementVNode("td",ec,e.toDisplayString(a.computeLTime(g.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=g.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",tc,[e.createTextVNode(e.toDisplayString((S=g.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((C=g.wind)==null?void 0:C.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",oc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((O=g.wind)==null?void 0:O.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((L=g.wind)==null?void 0:L.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((w=g.gusts)==null?void 0:w.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((D=(T=g.wave)==null?void 0:T.wd)==null?void 0:D.height,1)),1),e.createElementVNode("td",null,[(Y=(W=g.wave)==null?void 0:W.swell)!=null&&Y.height?(e.openBlock(),e.createElementBlock("span",lc,[e.createTextVNode(e.toDisplayString((I=(Z=g.wave)==null?void 0:Z.swell)==null?void 0:I.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((V=(P=g.wave)==null?void 0:P.swell)==null?void 0:V.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ac,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=($=g.wave)==null?void 0:$.swell)==null?void 0:M.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((H=(u=g.wave)==null?void 0:u.swell)==null?void 0:H.period,1)),1),e.createElementVNode("td",null,[(j=(Q=g.wave)==null?void 0:Q.sig)!=null&&j.height?(e.openBlock(),e.createElementBlock("span",nc,[e.createTextVNode(e.toDisplayString((N=(K=g.wave)==null?void 0:K.sig)==null?void 0:N.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((q=(R=g.wave)==null?void 0:R.sig)==null?void 0:q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(n=g.wave)==null?void 0:n.sig)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((v=(c=g.wave)==null?void 0:c.sig)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(te=g.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",ic,[e.createTextVNode(e.toDisplayString((oe=g.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((se=g.current)==null?void 0:se.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",dc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((de=g.current)==null?void 0:de.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",cc,e.toDisplayString(a.roundPrecision((ce=g.precip)==null?void 0:ce.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",rc,e.toDisplayString(a.roundPrecision((re=g.precip)==null?void 0:re.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(g.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(g.temp,1)),1)])}),128))])])])])}const hn=ke(hd,[["render",mc],["__scopeId","data-v-b77c7ac1"]]),yoe="",pc={props:{name:{type:String,default:""}}},hc={class:"section brand-section flex-space"},_c=e.createStaticVNode('<div class="logo-box flex-center" data-v-602c94e3><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-602c94e3><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-602c94e3><div class="brand" data-v-602c94e3><span data-v-602c94e3>Weather Routing</span><div class="company" data-v-602c94e3>Ocean Right Marine Service</div></div></a></div>',1),Ec={class:"report-box flex-space"},yc={class:"name flex-start"},Nc=e.createStaticVNode('<div class="support flex-end" data-v-602c94e3><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-602c94e3><div style="margin-left:10px;" data-v-602c94e3><div class="name flex-space" data-v-602c94e3><label data-v-602c94e3>IDM Service Team</label></div><div class="desc flex-center" data-v-602c94e3>Technical Support &amp; Consulting Center</div></div></div>',1);function Vc(t,s,o,d,l,a){return e.openBlock(),e.createElementBlock("div",hc,[_c,e.createElementVNode("div",Ec,[e.createElementVNode("div",yc,e.toDisplayString(o.name),1),Nc])])}const on=ke(pc,[["render",Vc],["__scopeId","data-v-602c94e3"]]),Noe="",fc={name:"PointReport",components:{IdmBrand:on},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return`${G(t).utc().format(s)}Z`}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return s||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),gc={class:"point-report"},Dc=et(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),bc={class:"report-header flex-center"},xc={class:"info-box"},Cc=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),Sc={class:"info"},kc=et(()=>e.createElementVNode("label",null,"Position",-1)),Bc={class:"info"},Ac=et(()=>e.createElementVNode("label",null,"Issued",-1)),wc=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),Tc={class:"report-body"},Oc={class:"weather-sample"},Fc=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Pc=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Wc=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Lc=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),uc=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Hc=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Mc=["colspan"],Gc=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),$c=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Ic=et(()=>e.createElementVNode("th",null,"Dir",-1)),Rc=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),zc=et(()=>e.createElementVNode("th",null,"BF",-1)),Uc=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Yc=et(()=>e.createElementVNode("th",null,"Dir",-1)),Zc=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Qc=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Jc=et(()=>e.createElementVNode("th",null,"Dir",-1)),qc=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Kc=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),jc=et(()=>e.createElementVNode("th",null,"Dir",-1)),Xc=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),vc={key:0},er={key:1},tr=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),or=et(()=>e.createElementVNode("th",null,"°C",-1)),lr={width:"120px"},ar={key:0,class:"degree-box"},nr={key:1},sr={key:0,class:"degree-box"},ir={key:1},dr={key:0,class:"degree-box"},cr={key:1},rr={key:0,class:"degree-box"},mr={key:1},pr={key:0},hr={key:1};function _r(t,s,o,d,l,a){const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",gc,[e.createVNode(_),Dc,e.createElementVNode("div",bc,[e.createElementVNode("div",xc,[Cc,e.createElementVNode("div",Sc,[kc,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",Bc,[Ac,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),wc]),e.createElementVNode("div",Tc,[e.createElementVNode("div",Oc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Fc,Pc,Wc,Lc,uc,Hc,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Mc),Gc,$c]),e.createElementVNode("tr",null,[Ic,Rc,zc,Uc,Yc,Zc,Qc,Jc,qc,Kc,jc,Xc,o.showPrate?(e.openBlock(),e.createElementBlock("th",vc,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",er,"Acc (mm)")):e.createCommentVNode("",!0),tr,or])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,E)=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te;return e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",lr,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(b=i.wind)!=null&&b.kts?(e.openBlock(),e.createElementBlock("span",ar,[e.createTextVNode(e.toDisplayString((x=i.wind)==null?void 0:x.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((y=i.wind)==null?void 0:y.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",nr,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((g=i.wind)==null?void 0:g.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((B=i.wind)==null?void 0:B.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((r=i.gusts)==null?void 0:r.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((C=(S=i.wave)==null?void 0:S.wd)==null?void 0:C.height,1)),1),e.createElementVNode("td",null,[(L=(O=i.wave)==null?void 0:O.swell)!=null&&L.height?(e.openBlock(),e.createElementBlock("span",sr,[e.createTextVNode(e.toDisplayString((T=(w=i.wave)==null?void 0:w.swell)==null?void 0:T.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((W=(D=i.wave)==null?void 0:D.swell)==null?void 0:W.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ir,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(Y=i.wave)==null?void 0:Y.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((P=(I=i.wave)==null?void 0:I.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[($=(V=i.wave)==null?void 0:V.sig)!=null&&$.height?(e.openBlock(),e.createElementBlock("span",dr,[e.createTextVNode(e.toDisplayString((u=(M=i.wave)==null?void 0:M.sig)==null?void 0:u.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Q=(H=i.wave)==null?void 0:H.sig)==null?void 0:Q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",cr,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((K=(j=i.wave)==null?void 0:j.sig)==null?void 0:K.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((R=(N=i.wave)==null?void 0:N.sig)==null?void 0:R.period,1)),1),e.createElementVNode("td",null,[(q=i.current)!=null&&q.kts?(e.openBlock(),e.createElementBlock("span",rr,[e.createTextVNode(e.toDisplayString((n=i.current)==null?void 0:n.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((X=i.current)==null?void 0:X.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",mr,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((c=i.current)==null?void 0:c.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",pr,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",hr,e.toDisplayString(a.roundPrecision((te=i.precip)==null?void 0:te.inter6h,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.temp,1)),1)])}),128))])])])])])}const _n=ke(fc,[["render",_r],["__scopeId","data-v-2fead0ca"]]),Er={install(t){t.component("ORMPointReport",hn),t.component("PointReport",_n)}},yr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Nr={class:"logo"},Vr=[e.createElementVNode("svg",{t:"1681710850227",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7633",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h3413.333333v204.8H0z","p-id":"7634"}),e.createElementVNode("path",{d:"M68.266667 477.866667v68.266666h3276.8V477.866667H68.266667M0 409.6h3413.333333v204.8H0z","p-id":"7635"}),e.createElementVNode("path",{d:"M2362.5728 1006.933333H713.659733l302.011734-478.4128 5.666133-8.942933-5.5296-9.079467L713.181867 17.066667h1649.2544l347.409066 502.237866-347.272533 487.6288z",fill:"#FFFFFF","p-id":"7636"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-470.698667L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933L682.666667 0z",fill:"#000000","p-id":"7637"})],-1)];function fr(t,s,o,d,l,a){return e.openBlock(),e.createElementBlock("i",Nr,Vr)}const gr=ke(yr,[["render",fr]]),Dr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},br={class:"logo"},xr=[e.createElementVNode("svg",{t:"1681710772723",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7205",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 477.866667h3413.333333v68.266666H0z","p-id":"7206"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#C8C8C8","p-id":"7207"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7208"})],-1)];function Cr(t,s,o,d,l,a){return e.openBlock(),e.createElementBlock("i",br,xr)}const Sr=ke(Dr,[["render",Cr]]),kr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Br={class:"logo"},Ar=[e.createElementVNode("svg",{t:"1681710864960",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7832",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h136.533333v204.8H0z","p-id":"7833"}),e.createElementVNode("path",{d:"M204.8 409.6h136.533333v204.8H204.8z","p-id":"7834"}),e.createElementVNode("path",{d:"M409.6 409.6h136.533333v204.8H409.6z","p-id":"7835"}),e.createElementVNode("path",{d:"M614.4 409.6h136.533333v204.8H614.4z","p-id":"7836"}),e.createElementVNode("path",{d:"M819.2 409.6h136.533333v204.8h-136.533333z","p-id":"7837"}),e.createElementVNode("path",{d:"M1024 409.6h136.533333v204.8h-136.533333z","p-id":"7838"}),e.createElementVNode("path",{d:"M1228.8 409.6h136.533333v204.8h-136.533333z","p-id":"7839"}),e.createElementVNode("path",{d:"M1433.6 409.6h136.533333v204.8h-136.533333z","p-id":"7840"}),e.createElementVNode("path",{d:"M1638.4 409.6h136.533333v204.8h-136.533333z","p-id":"7841"}),e.createElementVNode("path",{d:"M1843.2 409.6h136.533333v204.8h-136.533333z","p-id":"7842"}),e.createElementVNode("path",{d:"M2048 409.6h136.533333v204.8h-136.533333z","p-id":"7843"}),e.createElementVNode("path",{d:"M2252.8 409.6h136.533333v204.8h-136.533333z","p-id":"7844"}),e.createElementVNode("path",{d:"M2457.6 409.6h136.533333v204.8h-136.533333z","p-id":"7845"}),e.createElementVNode("path",{d:"M2662.4 409.6h136.533333v204.8h-136.533333z","p-id":"7846"}),e.createElementVNode("path",{d:"M2867.2 409.6h136.533333v204.8h-136.533333z","p-id":"7847"}),e.createElementVNode("path",{d:"M3072 409.6h136.533333v204.8h-136.533333z","p-id":"7848"}),e.createElementVNode("path",{d:"M3276.8 409.6h136.533333v204.8h-136.533333z","p-id":"7849"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#686868","p-id":"7850"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7851"})],-1)];function wr(t,s,o,d,l,a){return e.openBlock(),e.createElementBlock("i",Br,Ar)}const Tr=ke(kr,[["render",wr]]),Doe="",Or={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{lngDegree:void 0,lngMinute:void 0,lngDirection:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){let t=ie.convertToStandardLng(this.lng);t>=0?this.lngDirection="E":this.lngDirection="W",t=Math.abs(t),this.lngDegree=Math.trunc(t),this.lngMinute=Math.round((t-this.lngDegree)*60*100)/100}},immediate:!0}}},En=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),Fr={class:"lng-box"},Pr={key:0},Wr=En(()=>e.createElementVNode("span",null,"°",-1)),Lr=En(()=>e.createElementVNode("span",null,"'",-1));function ur(t,s,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Fr,[o.label?(e.openBlock(),e.createElementBlock("span",Pr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),Wr,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),Lr,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const Xa=ke(Or,[["render",ur],["__scopeId","data-v-533ec662"]]),boe="",Hr={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{latDegree:void 0,latMinute:void 0,latDirection:void 0}},watch:{lat:{handler(){if(this.lat!==void 0){this.lat>=0?this.latDirection="N":this.latDirection="S";const t=Math.abs(this.lat);this.latDegree=Math.trunc(t),this.latMinute=Math.round((t-this.latDegree)*60*100)/100}},immediate:!0}}},yn=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),Mr={class:"lat-box"},Gr={key:0},$r=yn(()=>e.createElementVNode("span",null,"°",-1)),Ir=yn(()=>e.createElementVNode("span",null,"'",-1));function Rr(t,s,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Mr,[o.label?(e.openBlock(),e.createElementBlock("span",Gr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),$r,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),Ir,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const va=ke(Hr,[["render",Rr],["__scopeId","data-v-d3432239"]]),xoe="",zr={name:"IdmEditor",components:{Editor:rn.Editor,Toolbar:rn.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var s,o;t?(s=this.editor)==null||s.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},Ur={class:"editor-box"};function Yr(t,s,o,d,l,a){const _=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Ur,[e.withDirectives(e.createVNode(_,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=E=>l.valueHtml=E),"default-config":l.editorConfig,mode:l.mode,class:"editor",style:e.normalizeStyle({height:o.height}),onOnCreated:a.handleCreated,onOnChange:a.handleChange,onOnBlur:a.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Zo=ke(zr,[["render",Yr],["__scopeId","data-v-0d3b5c3c"]]),Zr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0vo7yJk9KGpMpSU6KLNs8MPu4FGjiRaetiiYQ/xorYc8m2ZpGtRpKSCWOp0CiVBg5qSW9qIbdoEq/4mdwe8o+kaf1nw4+S3ACIuLLi/NoplmNfa2y1wChruLFkxljWbmOJXdq29wspfa1UzChZQ0rVkxRRrcSbRojnRdbfmP3WnL0gYz4KQv0mkjr94TNFVK6C8BdAeEdbcnso5RNBxP4VSd2SzussJVMh5TqtuKpIUEyfZKQaL5SYLYT8hJHy9yHpr3sHan5K6yf6Q02mX0TK6u8fFh9m/Rjmcx7MyGhL/TDtm89ndixuLi6Qkc4NGycoqe6QSs7QQqzOWtmH6aG5XvG+/f+iH0Tc6PCTYyvIsZaCRAASG3LaWtL52k2H+j8Nvpzxcys6Nn+BFOovDIkt2dqZa8kVekBj9PFxUSJ1dcvPI1uuRUQaCdv/rRZqUcs7X9o2aAEW/kd1PKoaMu9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FMA7Ee7L7btB4DZwOnAsb93cBj9B4DLDwf4MpAE7gH4nQXcCHQATxXGOxvt1cA/A4cLMvwT2uGF9z1nZDw/9+c6byWQ7k2kAg+/AfCG/z8BnJ7T4sKgz6C9DXgY6Dln4oH5LJiJ7gZ+CPQ4LpferwP8zWTg+cLkS9HyaSWP/U1gKnAlwBXuPGAFwIvZBiQAJj4LKAH4uDYCfALYD2wAjkskhRe8OvcCPwOYKK/kNOBbAGfuWwqDoPm/62ncMfHHgN4RiLV8M3AtwEc7rOG/A/gHUV40JrEZuB44FziWCE9QCSwDTgYWAVXAQ8AvgfuA7t1jb40wke8Aq4AeInfi/kKAV49N7ksAr9ax178VJmBBe9TPP5R+tSDIo4Xx/hutC7CW+ShpDcDEeYFWA2wqbEo9GuE52ITY1MYACwE2T16AnwMsZ/c1VETWYiz2oecKgvHYvFL8o9D5wL8AzwJsbtcA/BsHk2cibMb87RKAtfppgE2pZ7EGTeRJDHI/8ALATsVqPQvgvfNnANZI77PYvkyLfWIS8CLA2joHGAZ8oUDoZbRszmxuTKIUmN4HETatRwD2yeUA+8qHNMIOxVGIowybATskRyQmxWew7Du8gny+yxcLxg7+lcJY7Iw9pnUA96wp9psnADZVvthEWJDbAY5aTORxoA7guc8A2CdPpBGWzQXYzDjIcGQ87tkvD8ihNFYQisMjC4jz2+7o0wCwA/PF9v2rwjPud+zFhw68ReVw/Vug56cI1jJrhX954tU9CPSciY3GPRNlE+v57wg2/wkALzKbKs/JGmUrYct4jSf9c2bvtfr/73/+L2joHH7hUihcAAAAAElFTkSuQmCC",Coe="",Soe="",Qr={name:"RouteReport",components:{Lng:Xa,Lat:va,Editor:Zo,Route1:gr,Route2:Sr,Route3:Tr,IdmBrand:on},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{tableData:[],sogChart:void 0,windChart:void 0,waveChart:void 0,currentChart:void 0,editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t){return`${G(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,s){const o=G(t);return o.utcOffset(s),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,o,d,l;return(l=(d=(o=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:o.port)==null?void 0:d.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var o,d,l;if(s===0)return"-";{const a=G((d=(o=t==null?void 0:t.speeds[s])==null?void 0:o.speed)==null?void 0:d.eta).diff(G((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return s||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,_;const s=(_=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:_.hours,o=s[0],d=s[s.length-1];return G(d.eta).diff(G(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const s=[];if(t.length)return t.forEach(o=>{s.push(o),o.suspend&&s.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),s}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,s,o,d,l,a,_,i,E,b;if(this.sogChart||(this.sogChart=e.markRaw(Nl.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(Nl.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(Nl.init(this.$refs.waveChart))),(s=(t=this.plan)==null?void 0:t.speeds)!=null&&s.length){const x=[],y={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:x}],yAxis:{type:"value",splitNumber:5,name:"SOG (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},g={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:x}],yAxis:{type:"value",splitNumber:5,name:"Wind Speed (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},B={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:x}],yAxis:{type:"value",splitNumber:5,name:"Sig Wave Height (m)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},axisLabel:{formatter:"{value} m"}},series:[]};let r,S;for(let C=0;C<((d=(o=this.plan)==null?void 0:o.speeds)==null?void 0:d.length);C++){const O=(l=this.plan)==null?void 0:l.speeds[C].speed,L=[],w=[],T=[],D=[];for(let I=0;I<O.sample.hours.length;I++){const P=O.sample.hours[I];if(C===0){r||(r=G(P.eta).utc(),S=r.clone().add(this.computeDay(this.plan),"day"));const H=G(P.eta).utc();if(H.isAfter(S))break;x.push(`${H.format("MMM-DD/HHmm")}Z`)}const V=this.roundPrecision(P.speed||10,1),$=this.roundPrecision(P.cFactor||0,1),M=this.roundPrecision((_=(a=P.meteo)==null?void 0:a.wind)==null?void 0:_.kts,1),u=this.roundPrecision((b=(E=(i=P.meteo)==null?void 0:i.wave)==null?void 0:E.sig)==null?void 0:b.height,1);L.push(V),T.push(M),D.push(u),w.push($)}const W={name:`Route ${C+1}`,type:"line",smooth:!0,showSymbol:!0,data:L},Y={name:`Route ${C+1}`,type:"line",smooth:!0,showSymbol:!0,data:T},Z={name:`Route ${C+1}`,type:"line",smooth:!0,showSymbol:!0,data:D};y.series.push(W),g.series.push(Y),B.series.push(Z)}this.sogChart.setOption(y),this.windChart.setOption(g),this.waveChart.setOption(B)}},handleSave(){this.$emit("commit",this.$refs.editor.valueHtml),this.editable=!1},handleRefresh(){this.$emit("refresh")},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0}}},it=t=>(e.pushScopeId("data-v-ba499fc2"),t=t(),e.popScopeId(),t),Jr={class:"route-report"},qr={class:"report-header flex-space"},Kr=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:Zr,alt:""},null,-1)),jr=it(()=>e.createElementVNode("div",{class:"tips",style:{"line-height":"2"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1)),Xr={class:"issued flex-end"},vr=it(()=>e.createElementVNode("label",null,"Issued",-1)),em={class:"report-body"},tm={class:"voyage-summary flex-space"},om={class:"title"},lm={key:0},am={key:1},nm={key:0,class:"initial"},sm={key:1,class:"warning"},im={class:"summary flex-start"},dm={class:"summary-item"},cm=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),rm={class:"summary-item"},mm=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),pm={key:0},hm={key:1,class:"flex-start"},_m=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Em={class:"summary-item"},ym=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Nm={key:0},Vm={key:1,class:"flex-start"},fm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),gm={class:"route-advisory"},Dm={class:"charts"},bm={key:0},xm=["src"],Cm={class:"legend-box"},Sm=e.createStaticVNode('<div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--dangerous);" data-v-ba499fc2></span>   Dangerous </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--severe);" data-v-ba499fc2></span>   Severe </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--heavy);" data-v-ba499fc2></span>   Heavy </div><div class="legend-item" data-v-ba499fc2><b class="route1" data-v-ba499fc2></b><span data-v-ba499fc2>Route 1</span></div>',4),km={key:0,class:"legend-item"},Bm=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],Am={key:1,class:"legend-item"},wm=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],Tm={key:1,class:"empty"},Om={class:"route-comparison"},Fm=it(()=>e.createElementVNode("div",{class:"title flex-space"},[e.createElementVNode("div",{class:"secondary-title"},"Route Comparison"),e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")])],-1)),Pm={class:"container"},Wm={key:0},Lm=it(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"TTL Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),um=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Hm=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),Mm=it(()=>e.createElementVNode("th",null,"*FO",-1)),Gm=it(()=>e.createElementVNode("th",null,"*DO",-1)),$m={colspan:"3"},Im={rowspan:"2"},Rm={rowspan:"2"},zm={rowspan:"2"},Um={rowspan:"2"},Ym={rowspan:"2"},Zm={rowspan:"2"},Qm={rowspan:"2"},Jm={rowspan:"2"},qm={rowspan:"2"},Km={class:"route-advisory",style:{"page-break-after":"always"}},jm={class:"advisory"},Xm={class:"reason"},vm={class:"secondary-title flex-space"},ep=it(()=>e.createElementVNode("div",null,"Note",-1)),tp=["innerHTML"],op={class:"major-waypoints"},lp=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),ap={class:"container"},np=e.createStaticVNode('<div class="header" data-v-ba499fc2><div class="cell-item" style="width:180px;" data-v-ba499fc2>Major waypoint</div><div class="cell-item" style="width:100px;" data-v-ba499fc2>Time</div><div class="cell-item" style="width:35px;" data-v-ba499fc2>Nav</div><div class="cell-item" style="width:55px;" data-v-ba499fc2>Dist</div><div class="cell-item" style="width:40px;" data-v-ba499fc2>SOG</div><div class="cell-item" style="width:125px;" data-v-ba499fc2>Memo</div></div>',1),sp={class:"body"},ip={class:"cell-item",style:{width:"180px"}},dp={key:0,class:"flex-center"},cp={key:1,class:"flex-center"},rp=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),mp={key:0},pp={class:"cell-item",style:{width:"100px"}},hp={key:0,class:"cell-item offset",style:{width:"35px"}},_p={key:1,class:"cell-item offset",style:{width:"55px"}},Ep={key:2,class:"cell-item offset",style:{width:"40px"}},yp={key:3,class:"cell-item offset",style:{width:"125px"}},Np={class:"weather-eChart"},Vp=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),fp={ref:"sogChart",class:"eChart"},gp={ref:"windChart",class:"eChart wind"},Dp={ref:"waveChart",class:"eChart"},bp={class:"weather-sample"},xp={class:"secondary-title"},Cp=it(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Sp={class:"flex-center"},kp=it(()=>e.createElementVNode("span",null,"/",-1)),Bp={key:0,class:"degree-box"},Ap={key:1},wp={key:0,class:"degree-box"},Tp={key:1},Op={key:0,class:"degree-box"},Fp={key:1},Pp={key:0,class:"degree-box"},Wp={key:1};function Lp(t,s,o,d,l,a){var x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),E=e.resolveComponent("Lng"),b=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Jr,[e.createVNode(_,{name:"Voyage Planning"}),e.createElementVNode("div",qr,[Kr,jr,e.createElementVNode("div",Xr,[vr,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((x=o.plan)==null?void 0:x.updatedAt)),1)])]),e.createElementVNode("div",em,[e.createElementVNode("div",tm,[e.createElementVNode("div",om,[((y=o.plan)==null?void 0:y.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",lm,"Recommended Route Report for "+e.toDisplayString((r=(B=(g=o.plan)==null?void 0:g.voyage)==null?void 0:B.vessel)==null?void 0:r.name),1)):(e.openBlock(),e.createElementBlock("div",am,"Route Report for "+e.toDisplayString((O=(C=(S=o.plan)==null?void 0:S.voyage)==null?void 0:C.vessel)==null?void 0:O.name),1)),e.createElementVNode("div",null,[((L=o.plan)==null?void 0:L.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",nm,"Initial Route Report")):e.createCommentVNode("",!0),((w=o.plan)==null?void 0:w.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",sm,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",im,[e.createElementVNode("div",dm,[cm,e.createElementVNode("span",null,e.toDisplayString((D=(T=o.plan)==null?void 0:T.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",rm,[mm,(Z=(Y=(W=o.plan)==null?void 0:W.leg)==null?void 0:Y.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",pm,e.toDisplayString((P=(I=o.plan)==null?void 0:I.leg)==null?void 0:P.departure.name),1)):(e.openBlock(),e.createElementBlock("div",hm,[e.createVNode(i,{lat:(M=($=(V=o.plan)==null?void 0:V.leg)==null?void 0:$.departure)==null?void 0:M.lat,label:""},null,8,["lat"]),_m,e.createVNode(E,{lng:(Q=(H=(u=o.plan)==null?void 0:u.leg)==null?void 0:H.departure)==null?void 0:Q.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",Em,[ym,(N=(K=(j=o.plan)==null?void 0:j.leg)==null?void 0:K.destination)!=null&&N.name?(e.openBlock(),e.createElementBlock("div",Nm,e.toDisplayString((R=o.plan)==null?void 0:R.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Vm,[e.createVNode(i,{lat:(X=(n=(q=o.plan)==null?void 0:q.leg)==null?void 0:n.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),fm,e.createVNode(E,{lat:(te=(v=(c=o.plan)==null?void 0:c.leg)==null?void 0:v.destination)==null?void 0:te.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",gm,[e.createElementVNode("div",Dm,[(oe=o.plan)!=null&&oe.chartUrl?(e.openBlock(),e.createElementBlock("div",bm,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,xm),e.createElementVNode("div",Cm,[Sm,((de=(se=o.plan)==null?void 0:se.speeds)==null?void 0:de.length)>1?(e.openBlock(),e.createElementBlock("div",km,Bm)):e.createCommentVNode("",!0),((re=(ce=o.plan)==null?void 0:ce.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",Am,wm)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",Tm,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[0]||(s[0]=(...F)=>a.handleRefresh&&a.handleRefresh(...F))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",Om,[Fm,e.createElementVNode("div",Pm,[(le=(ye=o.plan)==null?void 0:ye.speeds)!=null&&le.length?(e.openBlock(),e.createElementBlock("table",Wm,[e.createElementVNode("thead",null,[Lm,e.createElementVNode("tr",null,[um,Hm,Mm,Gm,e.createElementVNode("th",$m,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_e=o.plan)==null?void 0:_e.speeds,(F,me)=>{var Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me;return e.openBlock(),e.createElementBlock(e.Fragment,{key:me},[e.createElementVNode("tr",null,[e.createElementVNode("td",Im,e.toDisplayString(me+1),1),e.createElementVNode("td",Rm,e.toDisplayString((We=(Pe=F.speed)==null?void 0:Pe.lane)==null?void 0:We.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Le=F.speed)==null?void 0:Le.label)??"CP"} ${((pe=F.speed)==null?void 0:pe.v0)??((Re=(Ie=F.speed)==null?void 0:Ie.cpCopy)==null?void 0:Re.speed)}`),1),e.createElementVNode("td",zm,e.toDisplayString(a.roundPrecision((ze=F.speed)==null?void 0:ze.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((z=F.speed)==null?void 0:z.eta)),1),e.createElementVNode("td",Um,e.toDisplayString(a.computeTimeDiff(o.plan,me)),1),e.createElementVNode("td",Ym,e.toDisplayString(a.roundPrecision((we=F.speed)==null?void 0:we.totalFoCons,3)),1),e.createElementVNode("td",Zm,e.toDisplayString(a.roundPrecision((He=F.speed)==null?void 0:He.totalDgoCons,3)),1),e.createElementVNode("td",Qm,e.toDisplayString(a.roundPrecision(((Ue=F.speed)==null?void 0:Ue.dangerous)/24,1)),1),e.createElementVNode("td",Jm,e.toDisplayString(a.roundPrecision(((Ye=F.speed)==null?void 0:Ye.severe)/24,1)),1),e.createElementVNode("td",qm,e.toDisplayString(a.roundPrecision(((Ze=F.speed)==null?void 0:Ze.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Je=(Qe=F.speed)==null?void 0:Qe.cpCopy)==null?void 0:Je.fo)+" FO / "+e.toDisplayString((J=(h=F.speed)==null?void 0:h.cpCopy)==null?void 0:J.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=F.speed)==null?void 0:Te.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((ue=F.speed)==null?void 0:ue.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Me=F.speed)==null?void 0:Me.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[e.createElementVNode("div",Xm,[e.createElementVNode("div",vm,[ep,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:s[1]||(s[1]=F=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(b,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":s[2]||(s[2]=F=>l.advisory=F),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...F)=>a.decideDisable&&a.decideDisable(...F)),innerHTML:l.advisory},null,40,tp))])]),e.createElementVNode("div",op,[lp,e.createElementVNode("div",ap,[np,e.createElementVNode("div",sp,[(Ve=(Ne=o.plan)==null?void 0:Ne.speeds)!=null&&Ve.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((be=(De=(ge=(fe=o.plan)==null?void 0:fe.speeds[0])==null?void 0:ge.speed)==null?void 0:De.sample)==null?void 0:be.wps),(F,me)=>(e.openBlock(),e.createElementBlock("div",{key:me,class:"cell-row"},[e.createElementVNode("div",ip,[F.isResume?(e.openBlock(),e.createElementBlock("div",dp,"Resume")):(e.openBlock(),e.createElementBlock("div",cp,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),rp,e.createVNode(E,{lng:F.lng,label:""},null,8,["lng"]),F.pilot?(e.openBlock(),e.createElementBlock("span",mp," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",pp,e.toDisplayString(a.computeUTCTime(F.eta)),1),me?(e.openBlock(),e.createElementBlock("div",hp,e.toDisplayString(a.computeNav(F)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",_p,e.toDisplayString(a.roundPrecision(F.distanceFromStart,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Ep,e.toDisplayString(a.roundPrecision(F.avgSpd??F.speed,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",yp,e.toDisplayString(a.computeMemo(F)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Np,[Vp,e.createElementVNode("div",fp,null,512),e.createElementVNode("div",gp,null,512),e.createElementVNode("div",Dp,null,512)]),e.createElementVNode("div",bp,[(Ce=(xe=o.plan)==null?void 0:xe.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",xp,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[Cp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ee=(Fe=(Oe=(Se=o.plan)==null?void 0:Se.speeds[0])==null?void 0:Oe.speed)==null?void 0:Fe.sample)==null?void 0:Ee.hours,(F,me)=>{var Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht;return e.openBlock(),e.createElementBlock("tr",{key:me,class:e.normalizeClass(F.isDangerous?"dangerous":F.isSevere?"severe":F.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(F.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Sp,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),kp,e.createVNode(E,{lng:F.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(We=(Pe=F.meteo)==null?void 0:Pe.wind)!=null&&We.kts?(e.openBlock(),e.createElementBlock("span",Bp,[e.createTextVNode(e.toDisplayString((pe=(Le=F.meteo)==null?void 0:Le.wind)==null?void 0:pe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Re=(Ie=F.meteo)==null?void 0:Ie.wind)==null?void 0:Re.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ap,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((z=(ze=F.meteo)==null?void 0:ze.wind)==null?void 0:z.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ue=(He=(we=F.meteo)==null?void 0:we.wave)==null?void 0:He.wd)==null?void 0:Ue.height,1)),1),e.createElementVNode("td",null,[(Qe=(Ze=(Ye=F.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.swell)!=null&&Qe.height?(e.openBlock(),e.createElementBlock("span",wp,[e.createTextVNode(e.toDisplayString((J=(h=(Je=F.meteo)==null?void 0:Je.wave)==null?void 0:h.swell)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Me=(ue=(Te=F.meteo)==null?void 0:Te.wave)==null?void 0:ue.swell)==null?void 0:Me.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Tp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Xe=(Ke=(he=F.meteo)==null?void 0:he.wave)==null?void 0:Ke.swell)==null?void 0:Xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=F.meteo)==null?void 0:ve.wave)==null?void 0:ot.swell)==null?void 0:lt.period,1)),1),e.createElementVNode("td",null,[(pt=(nt=(at=F.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&pt.height?(e.openBlock(),e.createElementBlock("span",Op,[e.createTextVNode(e.toDisplayString((Et=(_t=(ht=F.meteo)==null?void 0:ht.wave)==null?void 0:_t.sig)==null?void 0:Et.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Vt=(Nt=(yt=F.meteo)==null?void 0:yt.wave)==null?void 0:Nt.sig)==null?void 0:Vt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Fp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Dt=(gt=(ft=F.meteo)==null?void 0:ft.wave)==null?void 0:gt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ct=(xt=(bt=F.meteo)==null?void 0:bt.wave)==null?void 0:xt.sig)==null?void 0:Ct.period,1)),1),e.createElementVNode("td",null,[(kt=(St=F.meteo)==null?void 0:St.current)!=null&&kt.kts?(e.openBlock(),e.createElementBlock("span",Pp,[e.createTextVNode(e.toDisplayString((At=(Bt=F.meteo)==null?void 0:Bt.current)==null?void 0:At.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Tt=(wt=F.meteo)==null?void 0:wt.current)==null?void 0:Tt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Wp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Ot=F.meteo)==null?void 0:Ot.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(F.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const dn=ke(Qr,[["render",Lp],["__scopeId","data-v-ba499fc2"]]),Toe="",up={name:"RouteReport",components:{Lng:Xa,Lat:va,Editor:Zo},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeLTime(){return function(t,s){const o=G(t);return o.utcOffset(s),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,o,d,l;return(l=(d=(o=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:o.port)==null?void 0:d.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var o,d,l;if(s===0)return"-";{const a=G((d=(o=t==null?void 0:t.speeds[s])==null?void 0:o.speed)==null?void 0:d.eta).diff(G((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return s||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,_;const s=(_=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:_.hours,o=s[0],d=s[s.length-1];return G(d.eta).diff(G(o.eta),"day")}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},dt=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),Hp={class:"route-report"},Mp=dt(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),Gp={class:"section"},$p=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),Ip={class:"section-body basics"},Rp={class:"flex-space section-row"},zp={class:"flex-start"},Up=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),Yp={class:"flex-start"},Zp={class:"flex-start"},Qp=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Jp={class:"flex-start flex"},qp={key:0,class:"flex"},Kp={key:1,class:"flex-space flex"},jp=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Xp={class:"time flex"},vp={class:"flex-space section-row"},eh={class:"flex-start"},th=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),oh={class:"flex-start"},lh={class:"flex-start"},ah=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),nh={class:"flex-start flex"},sh={key:0,class:"flex"},ih={key:1,class:"flex-space"},dh=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),ch={class:"time flex"},rh={class:"flex-space section-row"},mh={class:"flex-start"},ph=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),hh={class:"flex-start"},_h={class:"flex-start"},Eh=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),yh={class:"flex-start flex"},Nh={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Vh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),fh={class:"section-body detail"},gh={class:"flex-space",style:{"align-items":"stretch"}},Dh={class:"chart"},bh=["src"],xh={key:1,class:"empty flex-center"},Ch={class:"route flex",style:{"justify-content":"space-between"}},Sh=dt(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),kh={class:"suggestion"},Bh=["innerHTML"],Ah={class:"flex-start legends"},wh=e.createStaticVNode('<div class="legend" data-v-afd0f0bf><label style="background-color:var(--severe);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Dangerous</span></div><div class="legend" data-v-afd0f0bf><label style="background-color:var(--heavy);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Severe</span></div><div class="legend" data-v-afd0f0bf><b class="route1" data-v-afd0f0bf></b><span data-v-afd0f0bf>Route 1</span></div>',3),Th={key:0,class:"legend"},Oh=[dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 2",-1))],Fh={key:1,class:"legend"},Ph=[dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 3",-1))],Wh={class:"section"},Lh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),uh={class:"section-body comparison"},Hh={class:"container"},Mh={key:0},Gh=dt(()=>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)),$h={class:"section",style:{"page-break-inside":"avoid"}},Ih=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Rh={class:"section-body sample"},zh={class:"major-waypoints"},Uh={class:"container"},Yh=e.createStaticVNode('<div class="header" data-v-afd0f0bf><div class="cell-item flexM" data-v-afd0f0bf>Major waypoint</div><div class="cell-item flexL" data-v-afd0f0bf>Name</div><div class="cell-item flex" data-v-afd0f0bf>Time</div><div class="cell-item flex" data-v-afd0f0bf>Nav</div><div class="cell-item flex" data-v-afd0f0bf>Dist</div><div class="cell-item flex" data-v-afd0f0bf>SOG</div></div>',1),Zh={class:"body"},Qh={class:"cell-item flexM"},Jh={class:"flex-center"},qh=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Kh={class:"cell-item flexL"},jh={key:0,class:"flex-center"},Xh={key:1},vh={class:"cell-item flex"},e1={key:0,class:"cell-item flex offset"},t1={key:1,class:"cell-item flex nbsp"},o1={key:2,class:"cell-item flex offset"},l1={key:3,class:"cell-item flex nbsp"},a1={key:4,class:"cell-item flex offset"},n1={key:5,class:"cell-item flex nbsp"},s1={class:"section"},i1=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),d1={class:"section-body sample"},c1={key:0},r1=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),m1={class:"flex-center"},p1=dt(()=>e.createElementVNode("span",null,"/",-1)),h1={key:0,class:"degree-box"},_1={key:1},E1={key:0,class:"degree-box"},y1={key:1},N1={key:0,class:"degree-box"},V1={key:1},f1={key:0,class:"degree-box"},g1={key:1},D1=dt(()=>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 b1(t,s,o,d,l,a){var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze;const _=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Hp,[Mp,e.createElementVNode("div",Gp,[$p,e.createElementVNode("div",Ip,[e.createElementVNode("div",Rp,[e.createElementVNode("div",zp,[Up,e.createElementVNode("div",Yp,e.toDisplayString((y=(x=(b=o.plan)==null?void 0:b.voyage)==null?void 0:x.company)==null?void 0:y.name),1)]),e.createElementVNode("div",Zp,[Qp,e.createElementVNode("div",Jp,[(r=(B=(g=o.plan)==null?void 0:g.leg)==null?void 0:B.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",qp,e.toDisplayString((C=(S=o.plan)==null?void 0:S.leg)==null?void 0:C.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Kp,[e.createVNode(_,{lat:(w=(L=(O=o.plan)==null?void 0:O.leg)==null?void 0:L.departure)==null?void 0:w.lat,label:""},null,8,["lat"]),jp,e.createVNode(i,{lng:(W=(D=(T=o.plan)==null?void 0:T.leg)==null?void 0:D.departure)==null?void 0:W.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Xp,e.toDisplayString(a.computeUTCTime(((I=(Z=(Y=o.plan)==null?void 0:Y.leg)==null?void 0:Z.departure)==null?void 0:I.atd)||(($=(V=(P=o.plan)==null?void 0:P.leg)==null?void 0:V.departure)==null?void 0:$.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",vp,[e.createElementVNode("div",eh,[th,e.createElementVNode("div",oh,e.toDisplayString((H=(u=(M=o.plan)==null?void 0:M.voyage)==null?void 0:u.vessel)==null?void 0:H.name),1)]),e.createElementVNode("div",lh,[ah,e.createElementVNode("div",nh,[(K=(j=(Q=o.plan)==null?void 0:Q.leg)==null?void 0:j.destination)!=null&&K.name?(e.openBlock(),e.createElementBlock("div",sh,e.toDisplayString((R=(N=o.plan)==null?void 0:N.leg)==null?void 0:R.destination.name),1)):(e.openBlock(),e.createElementBlock("div",ih,[e.createVNode(_,{lat:(X=(n=(q=o.plan)==null?void 0:q.leg)==null?void 0:n.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),dh,e.createVNode(i,{lng:(te=(v=(c=o.plan)==null?void 0:c.leg)==null?void 0:v.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",ch,e.toDisplayString(a.computeUTCTime(((de=(se=(oe=o.plan)==null?void 0:oe.speeds)==null?void 0:se[0])==null?void 0:de.speed.ata)||((re=(ce=o.plan)==null?void 0:ce.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",rh,[e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,e.toDisplayString(a.computeUTCTime((ye=o.plan)==null?void 0:ye.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",_h,[Eh,e.createElementVNode("div",yh,[e.createElementVNode("div",null,e.toDisplayString((_e=(le=o.plan)==null?void 0:le.voyage)==null?void 0:_e.loadCondition),1)])])])])]),e.createElementVNode("div",Nh,[Vh,e.createElementVNode("div",fh,[e.createElementVNode("div",gh,[e.createElementVNode("div",Dh,[(Ne=o.plan)!=null&&Ne.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ve=o.plan)==null?void 0:Ve.chartUrl},null,8,bh)):(e.openBlock(),e.createElementBlock("div",xh,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...z)=>a.handleRefresh&&a.handleRefresh(...z))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",Ch,[e.createElementVNode("div",null,[Sh,e.createElementVNode("div",kh,[l.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[1]||(s[1]=z=>l.advisory=z),class:"editor",height:"120px",onBlur:s[2]||(s[2]=z=>a.handleCommit(z))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...z)=>a.handleEdit&&a.handleEdit(...z)),innerHTML:l.advisory},null,40,Bh))])]),e.createElementVNode("div",Ah,[wh,((ge=(fe=o.plan)==null?void 0:fe.speeds)==null?void 0:ge.length)>1?(e.openBlock(),e.createElementBlock("div",Th,Oh)):e.createCommentVNode("",!0),((be=(De=o.plan)==null?void 0:De.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",Fh,Ph)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Wh,[Lh,e.createElementVNode("div",uh,[e.createElementVNode("div",Hh,[(Ce=(xe=o.plan)==null?void 0:xe.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock("table",Mh,[Gh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Se=o.plan)==null?void 0:Se.speeds,(z,we)=>{var He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve;return e.openBlock(),e.createElementBlock("tr",{key:we},[e.createElementVNode("td",null,"Route "+e.toDisplayString(we+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((He=z.speed)==null?void 0:He.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Ue=z.speed)==null?void 0:Ue.label)??"CP"} ${((Ye=z.speed)==null?void 0:Ye.v0)??((Qe=(Ze=z.speed)==null?void 0:Ze.cpCopy)==null?void 0:Qe.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((h=(Je=z.speed)==null?void 0:Je.cpCopy)==null?void 0:h.fo)+" FO / "+e.toDisplayString((Te=(J=z.speed)==null?void 0:J.cpCopy)==null?void 0:Te.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((ue=z.speed)==null?void 0:ue.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=z.speed)==null?void 0:Me.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((he=z.speed)==null?void 0:he.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Ke=z.speed)==null?void 0:Ke.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Xe=z.speed)==null?void 0:Xe.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((ve=z.speed)==null?void 0:ve.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",$h,[Ih,e.createElementVNode("div",Rh,[e.createElementVNode("div",zh,[e.createElementVNode("div",Uh,[Yh,e.createElementVNode("div",Zh,[(Fe=(Oe=o.plan)==null?void 0:Oe.speeds)!=null&&Fe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Pe=(me=(F=(Ee=o.plan)==null?void 0:Ee.speeds[0])==null?void 0:F.speed)==null?void 0:me.sample)==null?void 0:Pe.wps,(z,we)=>(e.openBlock(),e.createElementBlock("div",{key:we,class:"cell-row"},[e.createElementVNode("div",Qh,[e.createElementVNode("div",Jh,[e.createVNode(_,{lat:z.lat,label:""},null,8,["lat"]),qh,e.createVNode(i,{lng:z.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Kh,[z.name?(e.openBlock(),e.createElementBlock("span",jh,e.toDisplayString(z.name),1)):(e.openBlock(),e.createElementBlock("span",Xh,"-"))]),e.createElementVNode("div",vh,e.toDisplayString(a.computeUTCTime(z.eta)),1),we?(e.openBlock(),e.createElementBlock("div",e1,e.toDisplayString(a.computeNav(z)),1)):(e.openBlock(),e.createElementBlock("div",t1)),we?(e.openBlock(),e.createElementBlock("div",o1,e.toDisplayString(a.roundPrecision(z.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",l1)),we?(e.openBlock(),e.createElementBlock("div",a1,e.toDisplayString(a.roundPrecision(z.avgSpd??z.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",n1))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",s1,[i1,e.createElementVNode("div",d1,[(Le=(We=o.plan)==null?void 0:We.speeds)!=null&&Le.length?(e.openBlock(),e.createElementBlock("table",c1,[r1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ze=(Re=(Ie=(pe=o.plan)==null?void 0:pe.speeds[0])==null?void 0:Ie.speed)==null?void 0:Re.sample)==null?void 0:ze.hours,(z,we)=>{var He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot;return e.openBlock(),e.createElementBlock("tr",{key:we,class:e.normalizeClass(z.isDangerous?"dangerous":z.isSevere?"severe":z.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(z.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",m1,[e.createVNode(_,{lat:z.lat,label:""},null,8,["lat"]),p1,e.createVNode(i,{lng:z.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ue=(He=z.meteo)==null?void 0:He.wind)!=null&&Ue.kts?(e.openBlock(),e.createElementBlock("span",h1,e.toDisplayString((Ze=(Ye=z.meteo)==null?void 0:Ye.wind)==null?void 0:Ze.direction),1)):(e.openBlock(),e.createElementBlock("span",_1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Je=(Qe=z.meteo)==null?void 0:Qe.wind)==null?void 0:Je.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=(J=(h=z.meteo)==null?void 0:h.wave)==null?void 0:J.wd)==null?void 0:Te.height,1)),1),e.createElementVNode("td",null,[(he=(Me=(ue=z.meteo)==null?void 0:ue.wave)==null?void 0:Me.swell)!=null&&he.height?(e.openBlock(),e.createElementBlock("span",E1,e.toDisplayString((ve=(Xe=(Ke=z.meteo)==null?void 0:Ke.wave)==null?void 0:Xe.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",y1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(ot=z.meteo)==null?void 0:ot.wave)==null?void 0:lt.swell)==null?void 0:at.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ht=(pt=(nt=z.meteo)==null?void 0:nt.wave)==null?void 0:pt.swell)==null?void 0:ht.period,1)),1),e.createElementVNode("td",null,[(yt=(Et=(_t=z.meteo)==null?void 0:_t.wave)==null?void 0:Et.sig)!=null&&yt.height?(e.openBlock(),e.createElementBlock("span",N1,e.toDisplayString((ft=(Vt=(Nt=z.meteo)==null?void 0:Nt.wave)==null?void 0:Vt.sig)==null?void 0:ft.direction),1)):(e.openBlock(),e.createElementBlock("span",V1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((bt=(Dt=(gt=z.meteo)==null?void 0:gt.wave)==null?void 0:Dt.sig)==null?void 0:bt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((St=(Ct=(xt=z.meteo)==null?void 0:xt.wave)==null?void 0:Ct.sig)==null?void 0:St.period,1)),1),e.createElementVNode("td",null,[(Bt=(kt=z.meteo)==null?void 0:kt.current)!=null&&Bt.kts?(e.openBlock(),e.createElementBlock("span",f1,e.toDisplayString((wt=(At=z.meteo)==null?void 0:At.current)==null?void 0:wt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",g1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ot=(Tt=z.meteo)==null?void 0:Tt.current)==null?void 0:Ot.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(z.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),D1])}const Nn=ke(up,[["render",b1],["__scopeId","data-v-afd0f0bf"]]),Loe="",x1={name:"OrmRouteReport",components:{Lng:Xa,Lat:va,Editor:Zo,Brand:_o,Loading:tn},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeLTime(){return function(t,s,o){let d=0;return o&&s&&(d=ie.LngLatHelper.guessTimeZoneOffset(s,o)),`${G(t).utcOffset(d).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,s){var o,d,l,a,_;if(s===0)return"-";{const i=G((l=(d=(o=t==null?void 0:t.speeds)==null?void 0:o[s])==null?void 0:d.speed)==null?void 0:l.eta).diff(G((_=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:_.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t,s){const o=[];if(s.length)return s.forEach(d=>{o.push(d),d.suspend&&(t!=null&&t.useRouteParam)&&o.push({etd:d.etd,eta:d.etd,isResume:!0,memo:`Stoppage: ${d.suspend}hrs`})}),o}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return s||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t,s=0){var a,_,i,E;const o=(E=(i=(_=(a=t==null?void 0:t.speeds)==null?void 0:a[s])==null?void 0:_.speed)==null?void 0:i.sample)==null?void 0:E.hours,d=o[0],l=o[o.length-1];return Math.round(G(l.eta).diff(G(d.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Nl.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var E,b,x,y,g,B,r;const t=[],s=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},d={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((S,C)=>{d[S]=Math.PI/8*C});const a=18;let _=4;(B=(g=(y=(x=(b=(E=this.plan)==null?void 0:E.speeds)==null?void 0:b[this.speedIndex])==null?void 0:x.speed)==null?void 0:y.sample)==null?void 0:g.hours)==null||B.forEach(S=>{var O,L,w,T,D,W,Y,Z,I,P;const C=S.meteo;if(C){const V=G(C.utc).utc().format("MMM-DD/HHmm[Z]");t.push(V),_=Math.ceil(((L=(O=C.wave)==null?void 0:O.sig)==null?void 0:L.height)>_?(T=(w=C.wave)==null?void 0:w.sig)==null?void 0:T.height:_),s.push([V,(D=C.wind)==null?void 0:D.kts,(Y=(W=C.wave)==null?void 0:W.sig)==null?void 0:Y.height,(Z=C.wind)==null?void 0:Z.direction,(I=C.wind)==null?void 0:I.degree,(P=C.wind)==null?void 0:P.scale,S.cFactor,S.wFactor,S.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:_,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(S,C)=>{const O=C.coord([C.value(o.dateTime),C.value(o.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-a/2,y:-a/2,width:a,height:a},rotation:d[C.value(o.windDirection)],position:O,style:C.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(r=this.echart)==null||r.setOption(i)}}},ct=t=>(e.pushScopeId("data-v-0b0e9517"),t=t(),e.popScopeId(),t),C1={class:"voyage-plan"},S1={class:"plan-report"},k1={class:"section voyage-section flex-space"},B1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},A1={class:"flex-start label-block",style:{width:"100%"}},w1=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),T1={style:{"text-transform":"uppercase"},class:"text-ellipsis"},O1={class:"flex-start label-block",style:{width:"100%"}},F1=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),P1={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},W1={class:"flex-start label-block",style:{width:"100%"}},L1=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),u1={class:"flex-end"},H1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},M1={class:"flex-start label-block",style:{width:"100%"}},G1=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),$1={key:0,class:"flex-end",style:{flex:"1"}},I1={key:1,class:"flex-end",style:{flex:"1"}},R1=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),z1={class:"flex-end",style:{width:"120px"}},U1={class:"flex-space label-block",style:{width:"100%"}},Y1=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Z1={key:0,class:"flex-end",style:{flex:"1"}},Q1={key:1,class:"flex-end",style:{flex:"1"}},J1=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),q1={class:"flex-end",style:{width:"120px"}},K1={class:"flex-space label-block",style:{width:"100%"}},j1=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),X1={class:"flex-end",style:{"text-transform":"uppercase"}},v1={class:"section chart-section"},e_=ct(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),t_={class:"flex-center"},o_=["src"],l_={class:"legends"},a_=e.createStaticVNode('<div class="legend" data-v-0b0e9517><label style="background-color:var(--idm-dangerous);" data-v-0b0e9517></label><span data-v-0b0e9517>Dangerous</span></div><div class="legend" data-v-0b0e9517><label style="background-color:var(--idm-severe);" data-v-0b0e9517></label><span data-v-0b0e9517>Severe</span></div><div class="legend" data-v-0b0e9517><label style="background-color:var(--idm-heavy);" data-v-0b0e9517></label><span data-v-0b0e9517>Heavy</span></div>',3),n_={class:"legend"},s_=ct(()=>e.createElementVNode("b",{class:"route1"},null,-1)),i_={key:0,class:"legend"},d_=ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),c_={key:1,class:"legend"},r_=ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),m_={key:1,class:"empty"},p_={class:"section comparison-section"},h_={key:0},__=ct(()=>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)),E_=ct(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),y_=ct(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),N_=ct(()=>e.createElementVNode("th",null,"*FO",-1)),V_=ct(()=>e.createElementVNode("th",null,"*DO",-1)),f_={colspan:"3"},g_={rowspan:"2"},D_={rowspan:"2"},b_={rowspan:"2"},x_={rowspan:"2"},C_={rowspan:"2"},S_={rowspan:"2"},k_={rowspan:"2"},B_={rowspan:"2"},A_={rowspan:"2"},w_=ct(()=>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)),T_={class:"section waypoint-section"},O_={class:"header-block flex-start"},F_=ct(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),P_={class:"title"},W_={key:0,class:"flex-end",style:{flex:"1"}},L_=["onClick"],u_={class:"advisory"},H_=["innerHTML"],M_={class:"major-waypoint"},G_=e.createStaticVNode('<div class="major-header" data-v-0b0e9517><div class="cell-item flex" style="flex:1.5;" data-v-0b0e9517>Major waypoint</div><div class="cell-item flex" data-v-0b0e9517>Time</div><div class="cell-item flex" data-v-0b0e9517>Nav</div><div class="cell-item flex" data-v-0b0e9517>Dist</div><div class="cell-item flex" data-v-0b0e9517>SOG</div><div class="cell-item flex" data-v-0b0e9517>Memo</div></div>',1),$_={class:"major-body"},I_={class:"cell-item flex",style:{flex:"1.5"}},R_={key:0,class:"flex-center"},z_={key:1,class:"flex-center"},U_=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Y_={key:0},Z_={class:"cell-item flex"},Q_={key:0,class:"cell-item flex offset"},J_={key:1,class:"cell-item flex nbsp"},q_={key:2,class:"cell-item flex offset"},K_={key:3,class:"cell-item flex nbsp"},j_={key:4,class:"cell-item flex offset"},X_={key:5,class:"cell-item flex nbsp"},v_={key:6,class:"cell-item flex offset"},eE={key:7,class:"cell-item flex nbsp"},tE={class:"section forecast-section"},oE={class:"header-block flex-start"},lE=ct(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),aE={class:"title"},nE={key:0,class:"flex-end",style:{flex:"1"}},sE=["onClick"],iE={class:"echart-block"},dE={ref:"echart",class:"echart"},cE=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),rE={class:"flex-center"},mE=ct(()=>e.createElementVNode("span",null,"/",-1)),pE={key:0,class:"degree-box"},hE={key:1},_E={key:0,class:"degree-box"},EE={key:1},yE={key:0,class:"degree-box"},NE={key:1},VE={key:0,class:"degree-box"},fE={key:1},gE=ct(()=>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 DE(t,s,o,d,l,a){var y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo;const _=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),E=e.resolveComponent("Lat"),b=e.resolveComponent("Lng"),x=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",C1,[e.createElementVNode("div",S1,[e.createVNode(_,{name:"Voyage Planning",issued:(y=o.plan)==null?void 0:y.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=U=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",k1,[e.createElementVNode("div",B1,[e.createElementVNode("div",A1,[w1,e.createElementVNode("span",T1,e.toDisplayString((r=(B=(g=o.plan)==null?void 0:g.voyage)==null?void 0:B.company)==null?void 0:r.name),1)]),e.createElementVNode("div",O1,[F1,e.createElementVNode("span",P1,e.toDisplayString((O=(C=(S=o.plan)==null?void 0:S.voyage)==null?void 0:C.vessel)==null?void 0:O.name)+" ("+e.toDisplayString((D=(T=(w=(L=o.plan)==null?void 0:L.voyage)==null?void 0:w.vessel)==null?void 0:T.vesselType)==null?void 0:D.name)+")",1)]),e.createElementVNode("div",W1,[L1,e.createElementVNode("span",u1,e.toDisplayString((Y=(W=o.plan)==null?void 0:W.voyage)==null?void 0:Y.number),1)])]),e.createElementVNode("div",H1,[e.createElementVNode("div",M1,[G1,(P=(I=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:I.departure)!=null&&P.name?(e.openBlock(),e.createElementBlock("span",$1,e.toDisplayString(($=(V=o.plan)==null?void 0:V.leg)==null?void 0:$.departure.name),1)):(e.openBlock(),e.createElementBlock("div",I1,[e.createVNode(E,{lat:(H=(u=(M=o.plan)==null?void 0:M.leg)==null?void 0:u.departure)==null?void 0:H.lat,label:""},null,8,["lat"]),R1,e.createVNode(b,{lng:(K=(j=(Q=o.plan)==null?void 0:Q.leg)==null?void 0:j.departure)==null?void 0:K.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",z1,e.toDisplayString(a.computeUTCTime(((q=(R=(N=o.plan)==null?void 0:N.leg)==null?void 0:R.departure)==null?void 0:q.atd)||((c=(X=(n=o.plan)==null?void 0:n.leg)==null?void 0:X.departure)==null?void 0:c.etd)||((se=(oe=(te=(v=o.plan)==null?void 0:v.speeds)==null?void 0:te[l.speedIndex])==null?void 0:oe.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",U1,[Y1,(re=(ce=(de=o.plan)==null?void 0:de.leg)==null?void 0:ce.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",Z1,e.toDisplayString((_e=(le=(ye=o.plan)==null?void 0:ye.leg)==null?void 0:le.destination)==null?void 0:_e.name),1)):(e.openBlock(),e.createElementBlock("div",Q1,[e.createVNode(E,{lat:(fe=(Ve=(Ne=o.plan)==null?void 0:Ne.leg)==null?void 0:Ve.destination)==null?void 0:fe.lat,label:""},null,8,["lat"]),J1,e.createVNode(b,{lng:(be=(De=(ge=o.plan)==null?void 0:ge.leg)==null?void 0:De.destination)==null?void 0:be.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",q1,e.toDisplayString(a.computeUTCTime(((Oe=(Se=(Ce=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:Ce[l.speedIndex])==null?void 0:Se.speed)==null?void 0:Oe.ata)||((me=(F=(Ee=(Fe=o.plan)==null?void 0:Fe.speeds)==null?void 0:Ee[l.speedIndex])==null?void 0:F.speed)==null?void 0:me.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",K1,[j1,e.createElementVNode("span",X1,e.toDisplayString((We=(Pe=o.plan)==null?void 0:Pe.voyage)==null?void 0:We.loadCondition),1)])])]),e.createElementVNode("div",v1,[e_,(Le=o.plan)!=null&&Le.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",t_,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,o_)]),e.createElementVNode("div",l_,[a_,e.createElementVNode("div",n_,[s_,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=U=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((z=(ze=(Re=(Ie=(pe=o.plan)==null?void 0:pe.speeds)==null?void 0:Ie[0])==null?void 0:Re.speed)==null?void 0:ze.lane)==null?void 0:z.name),1)]),((He=(we=o.plan)==null?void 0:we.speeds)==null?void 0:He.length)>1?(e.openBlock(),e.createElementBlock("div",i_,[d_,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=U=>(l.speedIndex=1,a.renderEchart()))},e.toDisplayString((Je=(Qe=(Ze=(Ye=(Ue=o.plan)==null?void 0:Ue.speeds)==null?void 0:Ye[1])==null?void 0:Ze.speed)==null?void 0:Qe.lane)==null?void 0:Je.name),1)])):e.createCommentVNode("",!0),((J=(h=o.plan)==null?void 0:h.speeds)==null?void 0:J.length)>2?(e.openBlock(),e.createElementBlock("div",c_,[r_,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=U=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((Ke=(he=(Me=(ue=(Te=o.plan)==null?void 0:Te.speeds)==null?void 0:ue[2])==null?void 0:Me.speed)==null?void 0:he.lane)==null?void 0:Ke.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",m_,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...U)=>a.handleRefresh&&a.handleRefresh(...U))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",p_,[(ve=(Xe=o.plan)==null?void 0:Xe.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",h_,[e.createElementVNode("thead",null,[__,e.createElementVNode("tr",null,[E_,y_,N_,V_,e.createElementVNode("th",f_,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ot=o.plan)==null?void 0:ot.speeds,(U,tt)=>{var Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co;return e.openBlock(),e.createElementBlock(e.Fragment,{key:tt},[e.createElementVNode("tr",null,[e.createElementVNode("td",g_,e.toDisplayString(tt+1),1),e.createElementVNode("td",D_,e.toDisplayString((Pt=(Ft=U.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Mt=U.speed)==null?void 0:Mt.label)??"CP"} ${((Gt=U.speed)==null?void 0:Gt.v0)??((It=($t=U.speed)==null?void 0:$t.cpCopy)==null?void 0:It.speed)}`),1),e.createElementVNode("td",b_,e.toDisplayString(a.roundPrecision((Rt=U.speed)==null?void 0:Rt.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((zt=U.speed)==null?void 0:zt.eta,(Zt=(Yt=(Ut=o.plan)==null?void 0:Ut.leg)==null?void 0:Yt.destination)==null?void 0:Zt.lng,(qt=(Jt=(Qt=o.plan)==null?void 0:Qt.leg)==null?void 0:Jt.destination)==null?void 0:qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((Kt=U.speed)==null?void 0:Kt.eta))+"]",1)]),e.createElementVNode("td",x_,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",C_,e.toDisplayString(a.roundPrecision((jt=U.speed)==null?void 0:jt.totalFoCons,3)),1),e.createElementVNode("td",S_,e.toDisplayString(a.roundPrecision((Xt=U.speed)==null?void 0:Xt.totalDgoCons,3)),1),e.createElementVNode("td",k_,e.toDisplayString(a.roundPrecision(((vt=U.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",B_,e.toDisplayString(a.roundPrecision(((eo=U.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",A_,e.toDisplayString(a.roundPrecision(((to=U.speed)==null?void 0:to.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((lo=(oo=U.speed)==null?void 0:oo.cpCopy)==null?void 0:lo.fo)+" FO / "+e.toDisplayString((no=(ao=U.speed)==null?void 0:ao.cpCopy)==null?void 0:no.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((so=U.speed)==null?void 0:so.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((io=U.speed)==null?void 0:io.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((co=U.speed)==null?void 0:co.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),w_]),e.createElementVNode("div",T_,[e.createElementVNode("div",O_,[F_,e.createElementVNode("div",P_,"Advisory & Major Waypoint of Route "+e.toDisplayString((pt=(nt=(at=(lt=o.plan.speeds)==null?void 0:lt[l.speedIndex])==null?void 0:at.speed)==null?void 0:nt.lane)==null?void 0:pt.name),1),((_t=(ht=o.plan)==null?void 0:ht.speeds)==null?void 0:_t.length)>1?(e.openBlock(),e.createElementBlock("div",W_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=o.plan)==null?void 0:Et.speeds,(U,tt)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Pt=(Ft=U.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,L_)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",u_,[l.editable?(e.openBlock(),e.createBlock(x,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[5]||(s[5]=U=>l.advisory=U),class:"editor",height:"120px",onBlur:s[6]||(s[6]=U=>a.handleCommit(U))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...U)=>a.handleEdit&&a.handleEdit(...U)),innerHTML:l.advisory},null,40,H_))]),e.createElementVNode("div",M_,[G_,e.createElementVNode("div",$_,[(Nt=(yt=o.plan)==null?void 0:yt.speeds)!=null&&Nt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Dt=(gt=(ft=(Vt=o.plan)==null?void 0:Vt.speeds)==null?void 0:ft[l.speedIndex])==null?void 0:gt.speed)==null?void 0:Dt.argv,(kt=(St=(Ct=(xt=(bt=o.plan)==null?void 0:bt.speeds)==null?void 0:xt[l.speedIndex])==null?void 0:Ct.speed)==null?void 0:St.sample)==null?void 0:kt.wps),(U,tt)=>(e.openBlock(),e.createElementBlock("div",{key:tt,class:"cell-row"},[e.createElementVNode("div",I_,[U.isResume?(e.openBlock(),e.createElementBlock("div",R_,"Resume")):(e.openBlock(),e.createElementBlock("div",z_,[e.createVNode(E,{lat:U.lat,label:""},null,8,["lat"]),U_,e.createVNode(b,{lng:U.lng,label:""},null,8,["lng"]),U.pilot?(e.openBlock(),e.createElementBlock("span",Y_," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Z_,e.toDisplayString(a.computeUTCTime(U.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",Q_,e.toDisplayString(a.computeNav(U)),1)):(e.openBlock(),e.createElementBlock("div",J_)),tt?(e.openBlock(),e.createElementBlock("div",q_,e.toDisplayString(a.roundPrecision(U.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",K_)),tt?(e.openBlock(),e.createElementBlock("div",j_,e.toDisplayString(a.roundPrecision(U.avgSpd??U.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",X_)),tt?(e.openBlock(),e.createElementBlock("div",v_,e.toDisplayString(a.computeMemo(U)),1)):(e.openBlock(),e.createElementBlock("div",eE))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",tE,[(At=(Bt=o.plan)==null?void 0:Bt.speeds)!=null&&At.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",oE,[lE,e.createElementVNode("div",aE,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((po=(Ht=(Ot=(Tt=(wt=o.plan)==null?void 0:wt.speeds)==null?void 0:Tt[l.speedIndex])==null?void 0:Ot.speed)==null?void 0:Ht.lane)==null?void 0:po.name),1),((No=(yo=o.plan)==null?void 0:yo.speeds)==null?void 0:No.length)>1?(e.openBlock(),e.createElementBlock("div",nE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Vo=o.plan)==null?void 0:Vo.speeds,(U,tt)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Pt=(Ft=U==null?void 0:U.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,sE)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",iE,[e.createElementVNode("div",dE,null,512)]),e.createElementVNode("table",null,[cE,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((xo=(bo=(Do=(go=(fo=o.plan)==null?void 0:fo.speeds)==null?void 0:go[l.speedIndex])==null?void 0:Do.speed)==null?void 0:bo.sample)==null?void 0:xo.hours,(U,tt)=>{var Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,$o,Io,Ro,zo,Uo,Yo;return e.openBlock(),e.createElementBlock("tr",{key:tt,class:e.normalizeClass(U.isDangerous?"dangerous":U.isSevere?"severe":U.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(U.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",rE,[e.createVNode(E,{lat:U.lat,label:""},null,8,["lat"]),mE,e.createVNode(b,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Pt=(Ft=U.meteo)==null?void 0:Ft.wind)!=null&&Pt.kts?(e.openBlock(),e.createElementBlock("span",pE,[e.createTextVNode(e.toDisplayString((Gt=(Mt=U.meteo)==null?void 0:Mt.wind)==null?void 0:Gt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((It=($t=U.meteo)==null?void 0:$t.wind)==null?void 0:It.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",hE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((zt=(Rt=U.meteo)==null?void 0:Rt.wind)==null?void 0:zt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Zt=(Yt=(Ut=U.meteo)==null?void 0:Ut.wave)==null?void 0:Yt.wd)==null?void 0:Zt.height,1)),1),e.createElementVNode("td",null,[(qt=(Jt=(Qt=U.meteo)==null?void 0:Qt.wave)==null?void 0:Jt.swell)!=null&&qt.height?(e.openBlock(),e.createElementBlock("span",_E,[e.createTextVNode(e.toDisplayString((Xt=(jt=(Kt=U.meteo)==null?void 0:Kt.wave)==null?void 0:jt.swell)==null?void 0:Xt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((to=(eo=(vt=U.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",EE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ao=(lo=(oo=U.meteo)==null?void 0:oo.wave)==null?void 0:lo.swell)==null?void 0:ao.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((io=(so=(no=U.meteo)==null?void 0:no.wave)==null?void 0:so.swell)==null?void 0:io.period,1)),1),e.createElementVNode("td",null,[(So=(Co=(co=U.meteo)==null?void 0:co.wave)==null?void 0:Co.sig)!=null&&So.height?(e.openBlock(),e.createElementBlock("span",yE,[e.createTextVNode(e.toDisplayString((Ao=(Bo=(ko=U.meteo)==null?void 0:ko.wave)==null?void 0:Bo.sig)==null?void 0:Ao.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Oo=(To=(wo=U.meteo)==null?void 0:wo.wave)==null?void 0:To.sig)==null?void 0:Oo.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",NE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Wo=(Po=(Fo=U.meteo)==null?void 0:Fo.wave)==null?void 0:Po.sig)==null?void 0:Wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ho=(uo=(Lo=U.meteo)==null?void 0:Lo.wave)==null?void 0:uo.sig)==null?void 0:Ho.period,1)),1),e.createElementVNode("td",null,[(Go=(Mo=U.meteo)==null?void 0:Mo.current)!=null&&Go.kts?(e.openBlock(),e.createElementBlock("span",VE,[e.createTextVNode(e.toDisplayString((Io=($o=U.meteo)==null?void 0:$o.current)==null?void 0:Io.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((zo=(Ro=U.meteo)==null?void 0:Ro.current)==null?void 0:zo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",fE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Yo=(Uo=U.meteo)==null?void 0:Uo.current)==null?void 0:Yo.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(U.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),gE])])])}const Vn=ke(x1,[["render",DE],["__scopeId","data-v-0b0e9517"]]),bE={install(t){t.component("RouteReport",dn),t.component("OpiPlanReport",dn),t.component("FliPlanReport",Nn),t.component("OrmPlanReport",Vn)}},xE={install(t){t.component("IdmEditor",Zo)}},CE={install(t){t.component("IdmLat",va)}},SE={install(t){t.component("IdmLng",Xa)}},kE={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},BE={class:"logo"},AE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},wE=["fill","fill-opacity"],TE=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
1
+ (function(ee,ie){typeof exports=="object"&&typeof module<"u"?ie(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("@idmui/tropical"),require("axios"),require("@element-plus/icons-vue"),require("element-plus"),require("mapbox-gl")):typeof define=="function"&&define.amd?define(["exports","@idmwx/idmwx-base","moment","vue","echarts","@wangeditor/editor-for-vue","@idmui/tropical","axios","@element-plus/icons-vue","element-plus","mapbox-gl"],ie):(ee=typeof globalThis<"u"?globalThis:ee||self,ie(ee["idmui-report"]={},ee["@idmwx/idmwx-base"],ee.moment,ee.Vue,ee.echarts,ee["@wangeditor/editor-for-vue"],ee["@idmui/tropical"],ee.axios,ee["@element-plus/icons-vue"],ee["element-plus"],ee["mapbox-gl"]))})(this,function(ee,ie,G,e,Ji,rn,qi,ja,en,mn,gl){"use strict";function Ki(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(s,o,c.get?c:{enumerable:!0,get:()=>t[o]})}}return s.default=t,Object.freeze(s)}const Nl=Ki(Ji),_oe="",ke=(t,s)=>{const o=t.__vccOpts||t;for(const[c,l]of s)o[c]=l;return o},ji={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${(t?G(t):G()).utc().format(s)}`}}}},pn=t=>(e.pushScopeId("data-v-609af107"),t=t(),e.popScopeId(),t),Xi={class:"section brand-section flex-space"},vi=e.createStaticVNode('<div class="logo-box flex-center" data-v-609af107><div class="logo" data-v-609af107><a href="https://fmp.idmwx.com" target="_blank" data-v-609af107><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-609af107></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-609af107><div class="brand" data-v-609af107><span style="text-decoration:underline;" data-v-609af107>Weather Routing</span><div class="company" data-v-609af107>Ocean Right Marine Service</div></div></a></div></div>',1),ec={class:"report-box flex-space"},tc={class:"name flex-start"},oc={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},lc={class:"flex-start",style:{width:"100%"}},ac={class:"label-block flex-evenly",style:{flex:"1"}},nc=pn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),sc={class:"flex-end",style:{flex:"2"}},ic=pn(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function cc(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Xi,[vi,e.createElementVNode("div",ec,[e.createElementVNode("div",tc,e.toDisplayString(o.name),1),e.createElementVNode("div",oc,[e.createElementVNode("div",lc,[e.createElementVNode("div",ac,[nc,e.createElementVNode("span",sc,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),ic])])])}const _o=ke(ji,[["render",cc],["__scopeId","data-v-609af107"]]),dc={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}}},rc={key:0,class:"loading"},mc=e.createElementVNode("i",{class:"iconfont"},"",-1);function pc(t,s,o,c,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",rc,[mc,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const tn=ke(dc,[["render",pc]]),Eoe="",hc={name:"ORMPointReport",components:{IdmLoading:tn,IdmBrand:_o},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,s,o,c;(s=(t=this.report)==null?void 0:t.extend)!=null&&s.data&&(this.loading=!1,this.localTZ=ie.LngLatHelper.guessTimeZoneOffset((o=this.report)==null?void 0:o.lng,(c=this.report)==null?void 0:c.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,o="MMM-DD/HHmm[LT]"){return`${G(t).utcOffset(s).format(o)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var c,l,a,_,i,E,b,x,y,g;const s={};for(let B=0;B<((l=(c=t==null?void 0:t.extend)==null?void 0:c.data)==null?void 0:l.length);B++){const r=(a=t==null?void 0:t.extend)==null?void 0:a.data[B];if(B===0)r.precip.pacc=0;else{const S=(_=t==null?void 0:t.extend)==null?void 0:_.data[B-1],C=G(r.utc).utcOffset(this.localTZ),O=G(S.utc).utcOffset(this.localTZ),L=(i=S==null?void 0:S.precip)==null?void 0:i.prate,w=C.diff(O,"h"),T=this.roundPrecision(L*w,1);if(r.precip.pacc=T,T>0){const D=s[C.format("MMM-DD")],W=Math.floor(C.get("hour")/6);D?(D.pacc=this.roundPrecision(D.pacc+T,1),D[`${W}`]?D[`${W}`]+=T:(D[`${W}`]=T,D.colspan+=1)):(s[C.format("MMM-DD")]={pacc:T,colspan:1},s[C.format("MMM-DD")][`${W}`]=T)}}}t.paccInDays=s;let o=0;for(const B of Object.keys(s))o+=(E=s[B])==null?void 0:E.colspan,s[B].level=((b=s[B])==null?void 0:b.pacc)<10?"Light":((x=s[B])==null?void 0:x.pacc)<24.9?"Moderate":((y=s[B])==null?void 0:y.pacc)<49.9?"Heavy":((g=s[B])==null?void 0:g.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,_,i;this.echart||(this.echart=e.markRaw(Nl.init(this.$refs.echart)));const t=[],s=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let c=4;(i=(_=(a=this.report)==null?void 0:a.extend)==null?void 0:_.data)==null||i.forEach(E=>{var x,y,g,B,r,S,C,O,L,w,T,D,W;const b=G(E.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(b),c=((y=(x=E.wave)==null?void 0:x.sig)==null?void 0:y.height)>c?(B=(g=E.wave)==null?void 0:g.sig)==null?void 0:B.height:c,s.push([b,(r=E.wind)==null?void 0:r.kts,(S=E.gusts)==null?void 0:S.kts,(O=(C=E.wave)==null?void 0:C.sig)==null?void 0:O.height,(L=E.wind)==null?void 0:L.direction,(w=E.wind)==null?void 0:w.degree,(T=E.wind)==null?void 0:T.scale,(D=E.current)==null?void 0:D.kts,(W=E.precip)==null?void 0:W.acc,this.roundPrecision(E.visibility/1852,0),E.temp])});const l={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:c,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:s,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data: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:o.dateTime,y:o.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:s,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-b77c7ac1"),t=t(),e.popScopeId(),t),_c={class:"point-report"},Ec={class:"section info-section"},yc={class:"flex-evenly"},Nc={class:"flex-space label-block",style:{width:"100%"}},Vc=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),fc={class:"flex-space label-block",style:{width:"100%"}},gc=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),Dc={class:"flex-evenly"},bc={class:"flex-space label-block",style:{width:"100%"}},xc=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),Cc={class:"flex-space label-block",style:{width:"100%"}},Sc={class:"flex-end",style:{width:"180px"}},kc={class:"section echart-section"},Bc={ref:"echart",class:"echart"},Ac={class:"section sample-section"},wc=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Tc=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Oc=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Fc=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Pc=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Wc=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Lc=["colspan"],uc=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Hc=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Mc=st(()=>e.createElementVNode("th",null,"Dir",-1)),Gc=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),$c=st(()=>e.createElementVNode("th",null,"BF",-1)),Ic=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Rc=st(()=>e.createElementVNode("th",null,"Dir",-1)),zc=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Uc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Yc=st(()=>e.createElementVNode("th",null,"Dir",-1)),Zc=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Qc=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Jc=st(()=>e.createElementVNode("th",null,"Dir",-1)),qc=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Kc={key:0},jc={key:1},Xc=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),vc=st(()=>e.createElementVNode("th",null,"°C",-1)),ed={width:"120px"},td={key:0,class:"degree-box"},od={key:1},ld={key:0,class:"degree-box"},ad={key:1},nd={key:0,class:"degree-box"},sd={key:1},id={key:0,class:"degree-box"},cd={key:1},dd={key:0},rd={key:1};function md(t,s,o,c,l,a){var E,b,x,y;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",_c,[e.createVNode(_,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",Ec,[e.createElementVNode("div",yc,[e.createElementVNode("div",Nc,[Vc,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((E=o.report)==null?void 0:E.lat).pretty)+" / "+e.toDisplayString(a.computeLng((b=o.report)==null?void 0:b.lng).pretty),1)]),e.createElementVNode("div",fc,[gc,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",Dc,[e.createElementVNode("div",bc,[xc,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",Cc,[e.createElementVNode("label",Sc,"("+e.toDisplayString(a.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",kc,[e.createElementVNode("div",Bc,null,512)]),e.createElementVNode("div",Ac,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[wc,Tc,Oc,Fc,Pc,Wc,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Lc),uc,Hc]),e.createElementVNode("tr",null,[Mc,Gc,$c,Ic,Rc,zc,Uc,Yc,Zc,Qc,Jc,qc,o.showPrate?(e.openBlock(),e.createElementBlock("th",Kc,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",jc,"Acc (mm)")):e.createCommentVNode("",!0),Xc,vc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=(x=o.report)==null?void 0:x.extend)==null?void 0:y.data,(g,B)=>{var r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re;return e.openBlock(),e.createElementBlock("tr",{key:B},[e.createElementVNode("td",ed,e.toDisplayString(a.computeLTime(g.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=g.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",td,[e.createTextVNode(e.toDisplayString((S=g.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((C=g.wind)==null?void 0:C.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",od,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((O=g.wind)==null?void 0:O.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((L=g.wind)==null?void 0:L.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((w=g.gusts)==null?void 0:w.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((D=(T=g.wave)==null?void 0:T.wd)==null?void 0:D.height,1)),1),e.createElementVNode("td",null,[(Y=(W=g.wave)==null?void 0:W.swell)!=null&&Y.height?(e.openBlock(),e.createElementBlock("span",ld,[e.createTextVNode(e.toDisplayString((I=(Z=g.wave)==null?void 0:Z.swell)==null?void 0:I.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((V=(P=g.wave)==null?void 0:P.swell)==null?void 0:V.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ad,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=($=g.wave)==null?void 0:$.swell)==null?void 0:M.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((H=(u=g.wave)==null?void 0:u.swell)==null?void 0:H.period,1)),1),e.createElementVNode("td",null,[(j=(Q=g.wave)==null?void 0:Q.sig)!=null&&j.height?(e.openBlock(),e.createElementBlock("span",nd,[e.createTextVNode(e.toDisplayString((N=(K=g.wave)==null?void 0:K.sig)==null?void 0:N.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((q=(R=g.wave)==null?void 0:R.sig)==null?void 0:q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(n=g.wave)==null?void 0:n.sig)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((v=(d=g.wave)==null?void 0:d.sig)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(te=g.current)!=null&&te.kts?(e.openBlock(),e.createElementBlock("span",id,[e.createTextVNode(e.toDisplayString((oe=g.current)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((se=g.current)==null?void 0:se.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",cd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ce=g.current)==null?void 0:ce.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",dd,e.toDisplayString(a.roundPrecision((de=g.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",rd,e.toDisplayString(a.roundPrecision((re=g.precip)==null?void 0:re.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(g.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(g.temp,1)),1)])}),128))])])])])}const hn=ke(hc,[["render",md],["__scopeId","data-v-b77c7ac1"]]),yoe="",pd={props:{name:{type:String,default:""}}},hd={class:"section brand-section flex-space"},_d=e.createStaticVNode('<div class="logo-box flex-center" data-v-602c94e3><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-602c94e3><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-602c94e3><div class="brand" data-v-602c94e3><span data-v-602c94e3>Weather Routing</span><div class="company" data-v-602c94e3>Ocean Right Marine Service</div></div></a></div>',1),Ed={class:"report-box flex-space"},yd={class:"name flex-start"},Nd=e.createStaticVNode('<div class="support flex-end" data-v-602c94e3><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-602c94e3><div style="margin-left:10px;" data-v-602c94e3><div class="name flex-space" data-v-602c94e3><label data-v-602c94e3>IDM Service Team</label></div><div class="desc flex-center" data-v-602c94e3>Technical Support &amp; Consulting Center</div></div></div>',1);function Vd(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",hd,[_d,e.createElementVNode("div",Ed,[e.createElementVNode("div",yd,e.toDisplayString(o.name),1),Nd])])}const on=ke(pd,[["render",Vd],["__scopeId","data-v-602c94e3"]]),Noe="",fd={name:"PointReport",components:{IdmBrand:on},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return`${G(t).utc().format(s)}Z`}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),gd={class:"point-report"},Dd=et(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),bd={class:"report-header flex-center"},xd={class:"info-box"},Cd=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),Sd={class:"info"},kd=et(()=>e.createElementVNode("label",null,"Position",-1)),Bd={class:"info"},Ad=et(()=>e.createElementVNode("label",null,"Issued",-1)),wd=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),Td={class:"report-body"},Od={class:"weather-sample"},Fd=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Pd=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Wd=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Ld=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),ud=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Hd=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Md=["colspan"],Gd=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),$d=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Id=et(()=>e.createElementVNode("th",null,"Dir",-1)),Rd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),zd=et(()=>e.createElementVNode("th",null,"BF",-1)),Ud=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Yd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Zd=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Qd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Jd=et(()=>e.createElementVNode("th",null,"Dir",-1)),qd=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Kd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),jd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Xd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),vd={key:0},er={key:1},tr=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),or=et(()=>e.createElementVNode("th",null,"°C",-1)),lr={width:"120px"},ar={key:0,class:"degree-box"},nr={key:1},sr={key:0,class:"degree-box"},ir={key:1},cr={key:0,class:"degree-box"},dr={key:1},rr={key:0,class:"degree-box"},mr={key:1},pr={key:0},hr={key:1};function _r(t,s,o,c,l,a){const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",gd,[e.createVNode(_),Dd,e.createElementVNode("div",bd,[e.createElementVNode("div",xd,[Cd,e.createElementVNode("div",Sd,[kd,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",Bd,[Ad,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),wd]),e.createElementVNode("div",Td,[e.createElementVNode("div",Od,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Fd,Pd,Wd,Ld,ud,Hd,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Md),Gd,$d]),e.createElementVNode("tr",null,[Id,Rd,zd,Ud,Yd,Zd,Qd,Jd,qd,Kd,jd,Xd,o.showPrate?(e.openBlock(),e.createElementBlock("th",vd,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",er,"Acc (mm)")):e.createCommentVNode("",!0),tr,or])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,E)=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te;return e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",lr,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(b=i.wind)!=null&&b.kts?(e.openBlock(),e.createElementBlock("span",ar,[e.createTextVNode(e.toDisplayString((x=i.wind)==null?void 0:x.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((y=i.wind)==null?void 0:y.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",nr,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((g=i.wind)==null?void 0:g.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((B=i.wind)==null?void 0:B.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((r=i.gusts)==null?void 0:r.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((C=(S=i.wave)==null?void 0:S.wd)==null?void 0:C.height,1)),1),e.createElementVNode("td",null,[(L=(O=i.wave)==null?void 0:O.swell)!=null&&L.height?(e.openBlock(),e.createElementBlock("span",sr,[e.createTextVNode(e.toDisplayString((T=(w=i.wave)==null?void 0:w.swell)==null?void 0:T.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((W=(D=i.wave)==null?void 0:D.swell)==null?void 0:W.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ir,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(Y=i.wave)==null?void 0:Y.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((P=(I=i.wave)==null?void 0:I.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[($=(V=i.wave)==null?void 0:V.sig)!=null&&$.height?(e.openBlock(),e.createElementBlock("span",cr,[e.createTextVNode(e.toDisplayString((u=(M=i.wave)==null?void 0:M.sig)==null?void 0:u.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Q=(H=i.wave)==null?void 0:H.sig)==null?void 0:Q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",dr,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((K=(j=i.wave)==null?void 0:j.sig)==null?void 0:K.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((R=(N=i.wave)==null?void 0:N.sig)==null?void 0:R.period,1)),1),e.createElementVNode("td",null,[(q=i.current)!=null&&q.kts?(e.openBlock(),e.createElementBlock("span",rr,[e.createTextVNode(e.toDisplayString((n=i.current)==null?void 0:n.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((X=i.current)==null?void 0:X.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",mr,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((d=i.current)==null?void 0:d.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",pr,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",hr,e.toDisplayString(a.roundPrecision((te=i.precip)==null?void 0:te.inter6h,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.temp,1)),1)])}),128))])])])])])}const _n=ke(fd,[["render",_r],["__scopeId","data-v-2fead0ca"]]),Er={install(t){t.component("ORMPointReport",hn),t.component("PointReport",_n)}},yr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Nr={class:"logo"},Vr=[e.createElementVNode("svg",{t:"1681710850227",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7633",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h3413.333333v204.8H0z","p-id":"7634"}),e.createElementVNode("path",{d:"M68.266667 477.866667v68.266666h3276.8V477.866667H68.266667M0 409.6h3413.333333v204.8H0z","p-id":"7635"}),e.createElementVNode("path",{d:"M2362.5728 1006.933333H713.659733l302.011734-478.4128 5.666133-8.942933-5.5296-9.079467L713.181867 17.066667h1649.2544l347.409066 502.237866-347.272533 487.6288z",fill:"#FFFFFF","p-id":"7636"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-470.698667L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933L682.666667 0z",fill:"#000000","p-id":"7637"})],-1)];function fr(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Nr,Vr)}const gr=ke(yr,[["render",fr]]),Dr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},br={class:"logo"},xr=[e.createElementVNode("svg",{t:"1681710772723",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7205",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 477.866667h3413.333333v68.266666H0z","p-id":"7206"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#C8C8C8","p-id":"7207"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7208"})],-1)];function Cr(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",br,xr)}const Sr=ke(Dr,[["render",Cr]]),kr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Br={class:"logo"},Ar=[e.createElementVNode("svg",{t:"1681710864960",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7832",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h136.533333v204.8H0z","p-id":"7833"}),e.createElementVNode("path",{d:"M204.8 409.6h136.533333v204.8H204.8z","p-id":"7834"}),e.createElementVNode("path",{d:"M409.6 409.6h136.533333v204.8H409.6z","p-id":"7835"}),e.createElementVNode("path",{d:"M614.4 409.6h136.533333v204.8H614.4z","p-id":"7836"}),e.createElementVNode("path",{d:"M819.2 409.6h136.533333v204.8h-136.533333z","p-id":"7837"}),e.createElementVNode("path",{d:"M1024 409.6h136.533333v204.8h-136.533333z","p-id":"7838"}),e.createElementVNode("path",{d:"M1228.8 409.6h136.533333v204.8h-136.533333z","p-id":"7839"}),e.createElementVNode("path",{d:"M1433.6 409.6h136.533333v204.8h-136.533333z","p-id":"7840"}),e.createElementVNode("path",{d:"M1638.4 409.6h136.533333v204.8h-136.533333z","p-id":"7841"}),e.createElementVNode("path",{d:"M1843.2 409.6h136.533333v204.8h-136.533333z","p-id":"7842"}),e.createElementVNode("path",{d:"M2048 409.6h136.533333v204.8h-136.533333z","p-id":"7843"}),e.createElementVNode("path",{d:"M2252.8 409.6h136.533333v204.8h-136.533333z","p-id":"7844"}),e.createElementVNode("path",{d:"M2457.6 409.6h136.533333v204.8h-136.533333z","p-id":"7845"}),e.createElementVNode("path",{d:"M2662.4 409.6h136.533333v204.8h-136.533333z","p-id":"7846"}),e.createElementVNode("path",{d:"M2867.2 409.6h136.533333v204.8h-136.533333z","p-id":"7847"}),e.createElementVNode("path",{d:"M3072 409.6h136.533333v204.8h-136.533333z","p-id":"7848"}),e.createElementVNode("path",{d:"M3276.8 409.6h136.533333v204.8h-136.533333z","p-id":"7849"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#686868","p-id":"7850"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7851"})],-1)];function wr(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Br,Ar)}const Tr=ke(kr,[["render",wr]]),Doe="",Or={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{lngDegree:void 0,lngMinute:void 0,lngDirection:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){let t=ie.convertToStandardLng(this.lng);t>=0?this.lngDirection="E":this.lngDirection="W",t=Math.abs(t),this.lngDegree=Math.trunc(t),this.lngMinute=Math.round((t-this.lngDegree)*60*100)/100}},immediate:!0}}},En=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),Fr={class:"lng-box"},Pr={key:0},Wr=En(()=>e.createElementVNode("span",null,"°",-1)),Lr=En(()=>e.createElementVNode("span",null,"'",-1));function ur(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Fr,[o.label?(e.openBlock(),e.createElementBlock("span",Pr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),Wr,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),Lr,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const Xa=ke(Or,[["render",ur],["__scopeId","data-v-533ec662"]]),boe="",Hr={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{latDegree:void 0,latMinute:void 0,latDirection:void 0}},watch:{lat:{handler(){if(this.lat!==void 0){this.lat>=0?this.latDirection="N":this.latDirection="S";const t=Math.abs(this.lat);this.latDegree=Math.trunc(t),this.latMinute=Math.round((t-this.latDegree)*60*100)/100}},immediate:!0}}},yn=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),Mr={class:"lat-box"},Gr={key:0},$r=yn(()=>e.createElementVNode("span",null,"°",-1)),Ir=yn(()=>e.createElementVNode("span",null,"'",-1));function Rr(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Mr,[o.label?(e.openBlock(),e.createElementBlock("span",Gr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),$r,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),Ir,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const va=ke(Hr,[["render",Rr],["__scopeId","data-v-d3432239"]]),xoe="",zr={name:"IdmEditor",components:{Editor:rn.Editor,Toolbar:rn.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var s,o;t?(s=this.editor)==null||s.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var s;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(s=this.editor)==null||s.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},Ur={class:"editor-box"};function Yr(t,s,o,c,l,a){const _=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Ur,[e.withDirectives(e.createVNode(_,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":s[0]||(s[0]=E=>l.valueHtml=E),"default-config":l.editorConfig,mode:l.mode,class:"editor",style:e.normalizeStyle({height:o.height}),onOnCreated:a.handleCreated,onOnChange:a.handleChange,onOnBlur:a.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Zo=ke(zr,[["render",Yr],["__scopeId","data-v-0d3b5c3c"]]),Zr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0vo7yJk9KGpMpSU6KLNs8MPu4FGjiR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lcJY7Iw9pnUA96wp9psnADZVvthEWJDbAY5aTORxoA7guc8A2CdPpBGWzQXYzDjIcGQ87tkvD8ihNFYQisMjC4jz2+7o0wCwA/PF9v2rwjPud+zFhw68ReVw/Vug56cI1jJrhX954tU9CPSciY3GPRNlE+v57wg2/wkALzKbKs/JGmUrYct4jSf9c2bvtfr/73/+L2joHH7hUihcAAAAAElFTkSuQmCC",Coe="",Soe="",Qr={name:"RouteReport",components:{Lng:Xa,Lat:va,Editor:Zo,Route1:gr,Route2:Sr,Route3:Tr,IdmBrand:on},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{tableData:[],sogChart:void 0,windChart:void 0,waveChart:void 0,currentChart:void 0,editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t){return`${G(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,s){const o=G(t);return o.utcOffset(s),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,o,c,l;return(l=(c=(o=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var o,c,l;if(s===0)return"-";{const a=G((c=(o=t==null?void 0:t.speeds[s])==null?void 0:o.speed)==null?void 0:c.eta).diff(G((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,_;const s=(_=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:_.hours,o=s[0],c=s[s.length-1];return G(c.eta).diff(G(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const s=[];if(t.length)return t.forEach(o=>{s.push(o),o.suspend&&s.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),s}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,s,o,c,l,a,_,i,E,b;if(this.sogChart||(this.sogChart=e.markRaw(Nl.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(Nl.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(Nl.init(this.$refs.waveChart))),(s=(t=this.plan)==null?void 0:t.speeds)!=null&&s.length){const x=[],y={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:x}],yAxis:{type:"value",splitNumber:5,name:"SOG (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},g={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:x}],yAxis:{type:"value",splitNumber:5,name:"Wind Speed (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},B={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:x}],yAxis:{type:"value",splitNumber:5,name:"Sig Wave Height (m)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},axisLabel:{formatter:"{value} m"}},series:[]};let r,S;for(let C=0;C<((c=(o=this.plan)==null?void 0:o.speeds)==null?void 0:c.length);C++){const O=(l=this.plan)==null?void 0:l.speeds[C].speed,L=[],w=[],T=[],D=[];for(let I=0;I<O.sample.hours.length;I++){const P=O.sample.hours[I];if(C===0){r||(r=G(P.eta).utc(),S=r.clone().add(this.computeDay(this.plan),"day"));const H=G(P.eta).utc();if(H.isAfter(S))break;x.push(`${H.format("MMM-DD/HHmm")}Z`)}const V=this.roundPrecision(P.speed||10,1),$=this.roundPrecision(P.cFactor||0,1),M=this.roundPrecision((_=(a=P.meteo)==null?void 0:a.wind)==null?void 0:_.kts,1),u=this.roundPrecision((b=(E=(i=P.meteo)==null?void 0:i.wave)==null?void 0:E.sig)==null?void 0:b.height,1);L.push(V),T.push(M),D.push(u),w.push($)}const W={name:`Route ${C+1}`,type:"line",smooth:!0,showSymbol:!0,data:L},Y={name:`Route ${C+1}`,type:"line",smooth:!0,showSymbol:!0,data:T},Z={name:`Route ${C+1}`,type:"line",smooth:!0,showSymbol:!0,data:D};y.series.push(W),g.series.push(Y),B.series.push(Z)}this.sogChart.setOption(y),this.windChart.setOption(g),this.waveChart.setOption(B)}},handleSave(){this.$emit("commit",this.$refs.editor.valueHtml),this.editable=!1},handleRefresh(){this.$emit("refresh")},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0}}},it=t=>(e.pushScopeId("data-v-ba499fc2"),t=t(),e.popScopeId(),t),Jr={class:"route-report"},qr={class:"report-header flex-space"},Kr=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:Zr,alt:""},null,-1)),jr=it(()=>e.createElementVNode("div",{class:"tips",style:{"line-height":"2"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1)),Xr={class:"issued flex-end"},vr=it(()=>e.createElementVNode("label",null,"Issued",-1)),em={class:"report-body"},tm={class:"voyage-summary flex-space"},om={class:"title"},lm={key:0},am={key:1},nm={key:0,class:"initial"},sm={key:1,class:"warning"},im={class:"summary flex-start"},cm={class:"summary-item"},dm=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),rm={class:"summary-item"},mm=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),pm={key:0},hm={key:1,class:"flex-start"},_m=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Em={class:"summary-item"},ym=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Nm={key:0},Vm={key:1,class:"flex-start"},fm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),gm={class:"route-advisory"},Dm={class:"charts"},bm={key:0},xm=["src"],Cm={class:"legend-box"},Sm=e.createStaticVNode('<div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--dangerous);" data-v-ba499fc2></span>   Dangerous </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--severe);" data-v-ba499fc2></span>   Severe </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--heavy);" data-v-ba499fc2></span>   Heavy </div><div class="legend-item" data-v-ba499fc2><b class="route1" data-v-ba499fc2></b><span data-v-ba499fc2>Route 1</span></div>',4),km={key:0,class:"legend-item"},Bm=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],Am={key:1,class:"legend-item"},wm=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],Tm={key:1,class:"empty"},Om={class:"route-comparison"},Fm=it(()=>e.createElementVNode("div",{class:"title flex-space"},[e.createElementVNode("div",{class:"secondary-title"},"Route Comparison"),e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")])],-1)),Pm={class:"container"},Wm={key:0},Lm=it(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"TTL Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),um=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Hm=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),Mm=it(()=>e.createElementVNode("th",null,"*FO",-1)),Gm=it(()=>e.createElementVNode("th",null,"*DO",-1)),$m={colspan:"3"},Im={rowspan:"2"},Rm={rowspan:"2"},zm={rowspan:"2"},Um={rowspan:"2"},Ym={rowspan:"2"},Zm={rowspan:"2"},Qm={rowspan:"2"},Jm={rowspan:"2"},qm={rowspan:"2"},Km={class:"route-advisory",style:{"page-break-after":"always"}},jm={class:"advisory"},Xm={class:"reason"},vm={class:"secondary-title flex-space"},ep=it(()=>e.createElementVNode("div",null,"Note",-1)),tp=["innerHTML"],op={class:"major-waypoints"},lp=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),ap={class:"container"},np=e.createStaticVNode('<div class="header" data-v-ba499fc2><div class="cell-item" style="width:180px;" data-v-ba499fc2>Major waypoint</div><div class="cell-item" style="width:100px;" data-v-ba499fc2>Time</div><div class="cell-item" style="width:35px;" data-v-ba499fc2>Nav</div><div class="cell-item" style="width:55px;" data-v-ba499fc2>Dist</div><div class="cell-item" style="width:40px;" data-v-ba499fc2>SOG</div><div class="cell-item" style="width:125px;" data-v-ba499fc2>Memo</div></div>',1),sp={class:"body"},ip={class:"cell-item",style:{width:"180px"}},cp={key:0,class:"flex-center"},dp={key:1,class:"flex-center"},rp=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),mp={key:0},pp={class:"cell-item",style:{width:"100px"}},hp={key:0,class:"cell-item offset",style:{width:"35px"}},_p={key:1,class:"cell-item offset",style:{width:"55px"}},Ep={key:2,class:"cell-item offset",style:{width:"40px"}},yp={key:3,class:"cell-item offset",style:{width:"125px"}},Np={class:"weather-eChart"},Vp=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),fp={ref:"sogChart",class:"eChart"},gp={ref:"windChart",class:"eChart wind"},Dp={ref:"waveChart",class:"eChart"},bp={class:"weather-sample"},xp={class:"secondary-title"},Cp=it(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Sp={class:"flex-center"},kp=it(()=>e.createElementVNode("span",null,"/",-1)),Bp={key:0,class:"degree-box"},Ap={key:1},wp={key:0,class:"degree-box"},Tp={key:1},Op={key:0,class:"degree-box"},Fp={key:1},Pp={key:0,class:"degree-box"},Wp={key:1};function Lp(t,s,o,c,l,a){var x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),E=e.resolveComponent("Lng"),b=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Jr,[e.createVNode(_,{name:"Voyage Planning"}),e.createElementVNode("div",qr,[Kr,jr,e.createElementVNode("div",Xr,[vr,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((x=o.plan)==null?void 0:x.updatedAt)),1)])]),e.createElementVNode("div",em,[e.createElementVNode("div",tm,[e.createElementVNode("div",om,[((y=o.plan)==null?void 0:y.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",lm,"Recommended Route Report for "+e.toDisplayString((r=(B=(g=o.plan)==null?void 0:g.voyage)==null?void 0:B.vessel)==null?void 0:r.name),1)):(e.openBlock(),e.createElementBlock("div",am,"Route Report for "+e.toDisplayString((O=(C=(S=o.plan)==null?void 0:S.voyage)==null?void 0:C.vessel)==null?void 0:O.name),1)),e.createElementVNode("div",null,[((L=o.plan)==null?void 0:L.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",nm,"Initial Route Report")):e.createCommentVNode("",!0),((w=o.plan)==null?void 0:w.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",sm,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",im,[e.createElementVNode("div",cm,[dm,e.createElementVNode("span",null,e.toDisplayString((D=(T=o.plan)==null?void 0:T.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",rm,[mm,(Z=(Y=(W=o.plan)==null?void 0:W.leg)==null?void 0:Y.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",pm,e.toDisplayString((P=(I=o.plan)==null?void 0:I.leg)==null?void 0:P.departure.name),1)):(e.openBlock(),e.createElementBlock("div",hm,[e.createVNode(i,{lat:(M=($=(V=o.plan)==null?void 0:V.leg)==null?void 0:$.departure)==null?void 0:M.lat,label:""},null,8,["lat"]),_m,e.createVNode(E,{lng:(Q=(H=(u=o.plan)==null?void 0:u.leg)==null?void 0:H.departure)==null?void 0:Q.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",Em,[ym,(N=(K=(j=o.plan)==null?void 0:j.leg)==null?void 0:K.destination)!=null&&N.name?(e.openBlock(),e.createElementBlock("div",Nm,e.toDisplayString((R=o.plan)==null?void 0:R.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Vm,[e.createVNode(i,{lat:(X=(n=(q=o.plan)==null?void 0:q.leg)==null?void 0:n.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),fm,e.createVNode(E,{lat:(te=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:te.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",gm,[e.createElementVNode("div",Dm,[(oe=o.plan)!=null&&oe.chartUrl?(e.openBlock(),e.createElementBlock("div",bm,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,xm),e.createElementVNode("div",Cm,[Sm,((ce=(se=o.plan)==null?void 0:se.speeds)==null?void 0:ce.length)>1?(e.openBlock(),e.createElementBlock("div",km,Bm)):e.createCommentVNode("",!0),((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",Am,wm)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",Tm,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[0]||(s[0]=(...F)=>a.handleRefresh&&a.handleRefresh(...F))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",Om,[Fm,e.createElementVNode("div",Pm,[(le=(ye=o.plan)==null?void 0:ye.speeds)!=null&&le.length?(e.openBlock(),e.createElementBlock("table",Wm,[e.createElementVNode("thead",null,[Lm,e.createElementVNode("tr",null,[um,Hm,Mm,Gm,e.createElementVNode("th",$m,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_e=o.plan)==null?void 0:_e.speeds,(F,me)=>{var Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me;return e.openBlock(),e.createElementBlock(e.Fragment,{key:me},[e.createElementVNode("tr",null,[e.createElementVNode("td",Im,e.toDisplayString(me+1),1),e.createElementVNode("td",Rm,e.toDisplayString((We=(Pe=F.speed)==null?void 0:Pe.lane)==null?void 0:We.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Le=F.speed)==null?void 0:Le.label)??"CP"} ${((pe=F.speed)==null?void 0:pe.v0)??((Re=(Ie=F.speed)==null?void 0:Ie.cpCopy)==null?void 0:Re.speed)}`),1),e.createElementVNode("td",zm,e.toDisplayString(a.roundPrecision((ze=F.speed)==null?void 0:ze.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((z=F.speed)==null?void 0:z.eta)),1),e.createElementVNode("td",Um,e.toDisplayString(a.computeTimeDiff(o.plan,me)),1),e.createElementVNode("td",Ym,e.toDisplayString(a.roundPrecision((we=F.speed)==null?void 0:we.totalFoCons,3)),1),e.createElementVNode("td",Zm,e.toDisplayString(a.roundPrecision((He=F.speed)==null?void 0:He.totalDgoCons,3)),1),e.createElementVNode("td",Qm,e.toDisplayString(a.roundPrecision(((Ue=F.speed)==null?void 0:Ue.dangerous)/24,1)),1),e.createElementVNode("td",Jm,e.toDisplayString(a.roundPrecision(((Ye=F.speed)==null?void 0:Ye.severe)/24,1)),1),e.createElementVNode("td",qm,e.toDisplayString(a.roundPrecision(((Ze=F.speed)==null?void 0:Ze.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Je=(Qe=F.speed)==null?void 0:Qe.cpCopy)==null?void 0:Je.fo)+" FO / "+e.toDisplayString((J=(h=F.speed)==null?void 0:h.cpCopy)==null?void 0:J.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=F.speed)==null?void 0:Te.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((ue=F.speed)==null?void 0:ue.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Me=F.speed)==null?void 0:Me.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Km,[e.createElementVNode("div",jm,[e.createElementVNode("div",Xm,[e.createElementVNode("div",vm,[ep,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:s[1]||(s[1]=F=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(b,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":s[2]||(s[2]=F=>l.advisory=F),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...F)=>a.decideDisable&&a.decideDisable(...F)),innerHTML:l.advisory},null,40,tp))])]),e.createElementVNode("div",op,[lp,e.createElementVNode("div",ap,[np,e.createElementVNode("div",sp,[(Ve=(Ne=o.plan)==null?void 0:Ne.speeds)!=null&&Ve.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((be=(De=(ge=(fe=o.plan)==null?void 0:fe.speeds[0])==null?void 0:ge.speed)==null?void 0:De.sample)==null?void 0:be.wps),(F,me)=>(e.openBlock(),e.createElementBlock("div",{key:me,class:"cell-row"},[e.createElementVNode("div",ip,[F.isResume?(e.openBlock(),e.createElementBlock("div",cp,"Resume")):(e.openBlock(),e.createElementBlock("div",dp,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),rp,e.createVNode(E,{lng:F.lng,label:""},null,8,["lng"]),F.pilot?(e.openBlock(),e.createElementBlock("span",mp," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",pp,e.toDisplayString(a.computeUTCTime(F.eta)),1),me?(e.openBlock(),e.createElementBlock("div",hp,e.toDisplayString(a.computeNav(F)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",_p,e.toDisplayString(a.roundPrecision(F.distanceFromStart,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Ep,e.toDisplayString(a.roundPrecision(F.avgSpd??F.speed,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",yp,e.toDisplayString(a.computeMemo(F)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Np,[Vp,e.createElementVNode("div",fp,null,512),e.createElementVNode("div",gp,null,512),e.createElementVNode("div",Dp,null,512)]),e.createElementVNode("div",bp,[(Ce=(xe=o.plan)==null?void 0:xe.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",xp,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[Cp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ee=(Fe=(Oe=(Se=o.plan)==null?void 0:Se.speeds[0])==null?void 0:Oe.speed)==null?void 0:Fe.sample)==null?void 0:Ee.hours,(F,me)=>{var Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht;return e.openBlock(),e.createElementBlock("tr",{key:me,class:e.normalizeClass(F.isDangerous?"dangerous":F.isSevere?"severe":F.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(F.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Sp,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),kp,e.createVNode(E,{lng:F.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(We=(Pe=F.meteo)==null?void 0:Pe.wind)!=null&&We.kts?(e.openBlock(),e.createElementBlock("span",Bp,[e.createTextVNode(e.toDisplayString((pe=(Le=F.meteo)==null?void 0:Le.wind)==null?void 0:pe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Re=(Ie=F.meteo)==null?void 0:Ie.wind)==null?void 0:Re.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ap,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((z=(ze=F.meteo)==null?void 0:ze.wind)==null?void 0:z.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ue=(He=(we=F.meteo)==null?void 0:we.wave)==null?void 0:He.wd)==null?void 0:Ue.height,1)),1),e.createElementVNode("td",null,[(Qe=(Ze=(Ye=F.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.swell)!=null&&Qe.height?(e.openBlock(),e.createElementBlock("span",wp,[e.createTextVNode(e.toDisplayString((J=(h=(Je=F.meteo)==null?void 0:Je.wave)==null?void 0:h.swell)==null?void 0:J.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Me=(ue=(Te=F.meteo)==null?void 0:Te.wave)==null?void 0:ue.swell)==null?void 0:Me.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Tp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Xe=(Ke=(he=F.meteo)==null?void 0:he.wave)==null?void 0:Ke.swell)==null?void 0:Xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=F.meteo)==null?void 0:ve.wave)==null?void 0:ot.swell)==null?void 0:lt.period,1)),1),e.createElementVNode("td",null,[(pt=(nt=(at=F.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&pt.height?(e.openBlock(),e.createElementBlock("span",Op,[e.createTextVNode(e.toDisplayString((Et=(_t=(ht=F.meteo)==null?void 0:ht.wave)==null?void 0:_t.sig)==null?void 0:Et.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Vt=(Nt=(yt=F.meteo)==null?void 0:yt.wave)==null?void 0:Nt.sig)==null?void 0:Vt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Fp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Dt=(gt=(ft=F.meteo)==null?void 0:ft.wave)==null?void 0:gt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ct=(xt=(bt=F.meteo)==null?void 0:bt.wave)==null?void 0:xt.sig)==null?void 0:Ct.period,1)),1),e.createElementVNode("td",null,[(kt=(St=F.meteo)==null?void 0:St.current)!=null&&kt.kts?(e.openBlock(),e.createElementBlock("span",Pp,[e.createTextVNode(e.toDisplayString((At=(Bt=F.meteo)==null?void 0:Bt.current)==null?void 0:At.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Tt=(wt=F.meteo)==null?void 0:wt.current)==null?void 0:Tt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Wp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Ot=F.meteo)==null?void 0:Ot.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(F.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const cn=ke(Qr,[["render",Lp],["__scopeId","data-v-ba499fc2"]]),Toe="",up={name:"RouteReport",components:{Lng:Xa,Lat:va,Editor:Zo},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeLTime(){return function(t,s){const o=G(t);return o.utcOffset(s),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,s,o,c,l;return(l=(c=(o=(s=(t=this.plan)==null?void 0:t.leg)==null?void 0:s.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,s){var o,c,l;if(s===0)return"-";{const a=G((c=(o=t==null?void 0:t.speeds[s])==null?void 0:o.speed)==null?void 0:c.eta).diff(G((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,_;const s=(_=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:_.hours,o=s[0],c=s[s.length-1];return G(c.eta).diff(G(o.eta),"day")}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},ct=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),Hp={class:"route-report"},Mp=ct(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),Gp={class:"section"},$p=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),Ip={class:"section-body basics"},Rp={class:"flex-space section-row"},zp={class:"flex-start"},Up=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),Yp={class:"flex-start"},Zp={class:"flex-start"},Qp=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Jp={class:"flex-start flex"},qp={key:0,class:"flex"},Kp={key:1,class:"flex-space flex"},jp=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Xp={class:"time flex"},vp={class:"flex-space section-row"},eh={class:"flex-start"},th=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),oh={class:"flex-start"},lh={class:"flex-start"},ah=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),nh={class:"flex-start flex"},sh={key:0,class:"flex"},ih={key:1,class:"flex-space"},ch=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),dh={class:"time flex"},rh={class:"flex-space section-row"},mh={class:"flex-start"},ph=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),hh={class:"flex-start"},_h={class:"flex-start"},Eh=ct(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),yh={class:"flex-start flex"},Nh={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},Vh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),fh={class:"section-body detail"},gh={class:"flex-space",style:{"align-items":"stretch"}},Dh={class:"chart"},bh=["src"],xh={key:1,class:"empty flex-center"},Ch={class:"route flex",style:{"justify-content":"space-between"}},Sh=ct(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),kh={class:"suggestion"},Bh=["innerHTML"],Ah={class:"flex-start legends"},wh=e.createStaticVNode('<div class="legend" data-v-afd0f0bf><label style="background-color:var(--severe);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Dangerous</span></div><div class="legend" data-v-afd0f0bf><label style="background-color:var(--heavy);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Severe</span></div><div class="legend" data-v-afd0f0bf><b class="route1" data-v-afd0f0bf></b><span data-v-afd0f0bf>Route 1</span></div>',3),Th={key:0,class:"legend"},Oh=[ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 2",-1))],Fh={key:1,class:"legend"},Ph=[ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 3",-1))],Wh={class:"section"},Lh=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),uh={class:"section-body comparison"},Hh={class:"container"},Mh={key:0},Gh=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),$h={class:"section",style:{"page-break-inside":"avoid"}},Ih=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Rh={class:"section-body sample"},zh={class:"major-waypoints"},Uh={class:"container"},Yh=e.createStaticVNode('<div class="header" data-v-afd0f0bf><div class="cell-item flexM" data-v-afd0f0bf>Major waypoint</div><div class="cell-item flexL" data-v-afd0f0bf>Name</div><div class="cell-item flex" data-v-afd0f0bf>Time</div><div class="cell-item flex" data-v-afd0f0bf>Nav</div><div class="cell-item flex" data-v-afd0f0bf>Dist</div><div class="cell-item flex" data-v-afd0f0bf>SOG</div></div>',1),Zh={class:"body"},Qh={class:"cell-item flexM"},Jh={class:"flex-center"},qh=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Kh={class:"cell-item flexL"},jh={key:0,class:"flex-center"},Xh={key:1},vh={class:"cell-item flex"},e1={key:0,class:"cell-item flex offset"},t1={key:1,class:"cell-item flex nbsp"},o1={key:2,class:"cell-item flex offset"},l1={key:3,class:"cell-item flex nbsp"},a1={key:4,class:"cell-item flex offset"},n1={key:5,class:"cell-item flex nbsp"},s1={class:"section"},i1=ct(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),c1={class:"section-body sample"},d1={key:0},r1=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),m1={class:"flex-center"},p1=ct(()=>e.createElementVNode("span",null,"/",-1)),h1={key:0,class:"degree-box"},_1={key:1},E1={key:0,class:"degree-box"},y1={key:1},N1={key:0,class:"degree-box"},V1={key:1},f1={key:0,class:"degree-box"},g1={key:1},D1=ct(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function b1(t,s,o,c,l,a){var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze;const _=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Hp,[Mp,e.createElementVNode("div",Gp,[$p,e.createElementVNode("div",Ip,[e.createElementVNode("div",Rp,[e.createElementVNode("div",zp,[Up,e.createElementVNode("div",Yp,e.toDisplayString((y=(x=(b=o.plan)==null?void 0:b.voyage)==null?void 0:x.company)==null?void 0:y.name),1)]),e.createElementVNode("div",Zp,[Qp,e.createElementVNode("div",Jp,[(r=(B=(g=o.plan)==null?void 0:g.leg)==null?void 0:B.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",qp,e.toDisplayString((C=(S=o.plan)==null?void 0:S.leg)==null?void 0:C.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Kp,[e.createVNode(_,{lat:(w=(L=(O=o.plan)==null?void 0:O.leg)==null?void 0:L.departure)==null?void 0:w.lat,label:""},null,8,["lat"]),jp,e.createVNode(i,{lng:(W=(D=(T=o.plan)==null?void 0:T.leg)==null?void 0:D.departure)==null?void 0:W.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Xp,e.toDisplayString(a.computeUTCTime(((I=(Z=(Y=o.plan)==null?void 0:Y.leg)==null?void 0:Z.departure)==null?void 0:I.atd)||(($=(V=(P=o.plan)==null?void 0:P.leg)==null?void 0:V.departure)==null?void 0:$.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",vp,[e.createElementVNode("div",eh,[th,e.createElementVNode("div",oh,e.toDisplayString((H=(u=(M=o.plan)==null?void 0:M.voyage)==null?void 0:u.vessel)==null?void 0:H.name),1)]),e.createElementVNode("div",lh,[ah,e.createElementVNode("div",nh,[(K=(j=(Q=o.plan)==null?void 0:Q.leg)==null?void 0:j.destination)!=null&&K.name?(e.openBlock(),e.createElementBlock("div",sh,e.toDisplayString((R=(N=o.plan)==null?void 0:N.leg)==null?void 0:R.destination.name),1)):(e.openBlock(),e.createElementBlock("div",ih,[e.createVNode(_,{lat:(X=(n=(q=o.plan)==null?void 0:q.leg)==null?void 0:n.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),ch,e.createVNode(i,{lng:(te=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:te.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",dh,e.toDisplayString(a.computeUTCTime(((ce=(se=(oe=o.plan)==null?void 0:oe.speeds)==null?void 0:se[0])==null?void 0:ce.speed.ata)||((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",rh,[e.createElementVNode("div",mh,[ph,e.createElementVNode("div",hh,e.toDisplayString(a.computeUTCTime((ye=o.plan)==null?void 0:ye.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",_h,[Eh,e.createElementVNode("div",yh,[e.createElementVNode("div",null,e.toDisplayString((_e=(le=o.plan)==null?void 0:le.voyage)==null?void 0:_e.loadCondition),1)])])])])]),e.createElementVNode("div",Nh,[Vh,e.createElementVNode("div",fh,[e.createElementVNode("div",gh,[e.createElementVNode("div",Dh,[(Ne=o.plan)!=null&&Ne.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ve=o.plan)==null?void 0:Ve.chartUrl},null,8,bh)):(e.openBlock(),e.createElementBlock("div",xh,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:s[0]||(s[0]=(...z)=>a.handleRefresh&&a.handleRefresh(...z))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",Ch,[e.createElementVNode("div",null,[Sh,e.createElementVNode("div",kh,[l.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[1]||(s[1]=z=>l.advisory=z),class:"editor",height:"120px",onBlur:s[2]||(s[2]=z=>a.handleCommit(z))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[3]||(s[3]=(...z)=>a.handleEdit&&a.handleEdit(...z)),innerHTML:l.advisory},null,40,Bh))])]),e.createElementVNode("div",Ah,[wh,((ge=(fe=o.plan)==null?void 0:fe.speeds)==null?void 0:ge.length)>1?(e.openBlock(),e.createElementBlock("div",Th,Oh)):e.createCommentVNode("",!0),((be=(De=o.plan)==null?void 0:De.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",Fh,Ph)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Wh,[Lh,e.createElementVNode("div",uh,[e.createElementVNode("div",Hh,[(Ce=(xe=o.plan)==null?void 0:xe.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock("table",Mh,[Gh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Se=o.plan)==null?void 0:Se.speeds,(z,we)=>{var He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve;return e.openBlock(),e.createElementBlock("tr",{key:we},[e.createElementVNode("td",null,"Route "+e.toDisplayString(we+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((He=z.speed)==null?void 0:He.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Ue=z.speed)==null?void 0:Ue.label)??"CP"} ${((Ye=z.speed)==null?void 0:Ye.v0)??((Qe=(Ze=z.speed)==null?void 0:Ze.cpCopy)==null?void 0:Qe.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((h=(Je=z.speed)==null?void 0:Je.cpCopy)==null?void 0:h.fo)+" FO / "+e.toDisplayString((Te=(J=z.speed)==null?void 0:J.cpCopy)==null?void 0:Te.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((ue=z.speed)==null?void 0:ue.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=z.speed)==null?void 0:Me.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((he=z.speed)==null?void 0:he.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Ke=z.speed)==null?void 0:Ke.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Xe=z.speed)==null?void 0:Xe.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((ve=z.speed)==null?void 0:ve.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",$h,[Ih,e.createElementVNode("div",Rh,[e.createElementVNode("div",zh,[e.createElementVNode("div",Uh,[Yh,e.createElementVNode("div",Zh,[(Fe=(Oe=o.plan)==null?void 0:Oe.speeds)!=null&&Fe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Pe=(me=(F=(Ee=o.plan)==null?void 0:Ee.speeds[0])==null?void 0:F.speed)==null?void 0:me.sample)==null?void 0:Pe.wps,(z,we)=>(e.openBlock(),e.createElementBlock("div",{key:we,class:"cell-row"},[e.createElementVNode("div",Qh,[e.createElementVNode("div",Jh,[e.createVNode(_,{lat:z.lat,label:""},null,8,["lat"]),qh,e.createVNode(i,{lng:z.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Kh,[z.name?(e.openBlock(),e.createElementBlock("span",jh,e.toDisplayString(z.name),1)):(e.openBlock(),e.createElementBlock("span",Xh,"-"))]),e.createElementVNode("div",vh,e.toDisplayString(a.computeUTCTime(z.eta)),1),we?(e.openBlock(),e.createElementBlock("div",e1,e.toDisplayString(a.computeNav(z)),1)):(e.openBlock(),e.createElementBlock("div",t1)),we?(e.openBlock(),e.createElementBlock("div",o1,e.toDisplayString(a.roundPrecision(z.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",l1)),we?(e.openBlock(),e.createElementBlock("div",a1,e.toDisplayString(a.roundPrecision(z.avgSpd??z.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",n1))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",s1,[i1,e.createElementVNode("div",c1,[(Le=(We=o.plan)==null?void 0:We.speeds)!=null&&Le.length?(e.openBlock(),e.createElementBlock("table",d1,[r1,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ze=(Re=(Ie=(pe=o.plan)==null?void 0:pe.speeds[0])==null?void 0:Ie.speed)==null?void 0:Re.sample)==null?void 0:ze.hours,(z,we)=>{var He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot;return e.openBlock(),e.createElementBlock("tr",{key:we,class:e.normalizeClass(z.isDangerous?"dangerous":z.isSevere?"severe":z.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(z.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",m1,[e.createVNode(_,{lat:z.lat,label:""},null,8,["lat"]),p1,e.createVNode(i,{lng:z.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ue=(He=z.meteo)==null?void 0:He.wind)!=null&&Ue.kts?(e.openBlock(),e.createElementBlock("span",h1,e.toDisplayString((Ze=(Ye=z.meteo)==null?void 0:Ye.wind)==null?void 0:Ze.direction),1)):(e.openBlock(),e.createElementBlock("span",_1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Je=(Qe=z.meteo)==null?void 0:Qe.wind)==null?void 0:Je.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=(J=(h=z.meteo)==null?void 0:h.wave)==null?void 0:J.wd)==null?void 0:Te.height,1)),1),e.createElementVNode("td",null,[(he=(Me=(ue=z.meteo)==null?void 0:ue.wave)==null?void 0:Me.swell)!=null&&he.height?(e.openBlock(),e.createElementBlock("span",E1,e.toDisplayString((ve=(Xe=(Ke=z.meteo)==null?void 0:Ke.wave)==null?void 0:Xe.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",y1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(ot=z.meteo)==null?void 0:ot.wave)==null?void 0:lt.swell)==null?void 0:at.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ht=(pt=(nt=z.meteo)==null?void 0:nt.wave)==null?void 0:pt.swell)==null?void 0:ht.period,1)),1),e.createElementVNode("td",null,[(yt=(Et=(_t=z.meteo)==null?void 0:_t.wave)==null?void 0:Et.sig)!=null&&yt.height?(e.openBlock(),e.createElementBlock("span",N1,e.toDisplayString((ft=(Vt=(Nt=z.meteo)==null?void 0:Nt.wave)==null?void 0:Vt.sig)==null?void 0:ft.direction),1)):(e.openBlock(),e.createElementBlock("span",V1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((bt=(Dt=(gt=z.meteo)==null?void 0:gt.wave)==null?void 0:Dt.sig)==null?void 0:bt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((St=(Ct=(xt=z.meteo)==null?void 0:xt.wave)==null?void 0:Ct.sig)==null?void 0:St.period,1)),1),e.createElementVNode("td",null,[(Bt=(kt=z.meteo)==null?void 0:kt.current)!=null&&Bt.kts?(e.openBlock(),e.createElementBlock("span",f1,e.toDisplayString((wt=(At=z.meteo)==null?void 0:At.current)==null?void 0:wt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",g1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ot=(Tt=z.meteo)==null?void 0:Tt.current)==null?void 0:Ot.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(z.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),D1])}const Nn=ke(up,[["render",b1],["__scopeId","data-v-afd0f0bf"]]),Loe="",x1={name:"OrmRouteReport",components:{Lng:Xa,Lat:va,Editor:Zo,Brand:_o,Loading:tn},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeLTime(){return function(t,s,o){let c=0;return o&&s&&(c=ie.LngLatHelper.guessTimeZoneOffset(s,o)),`${G(t).utcOffset(c).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,s){var o,c,l,a,_;if(s===0)return"-";{const i=G((l=(c=(o=t==null?void 0:t.speeds)==null?void 0:o[s])==null?void 0:c.speed)==null?void 0:l.eta).diff(G((_=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:_.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t,s){const o=[];if(s.length)return s.forEach(c=>{o.push(c),c.suspend&&(t!=null&&t.useRouteParam)&&o.push({etd:c.etd,eta:c.etd,isResume:!0,memo:`Stoppage: ${c.suspend}hrs`})}),o}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t,s=0){var a,_,i,E;const o=(E=(i=(_=(a=t==null?void 0:t.speeds)==null?void 0:a[s])==null?void 0:_.speed)==null?void 0:i.sample)==null?void 0:E.hours,c=o[0],l=o[o.length-1];return Math.round(G(l.eta).diff(G(c.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,s;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((s=this.plan)==null?void 0:s.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Nl.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var E,b,x,y,g,B,r;const t=[],s=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},c={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((S,C)=>{c[S]=Math.PI/8*C});const a=18;let _=4;(B=(g=(y=(x=(b=(E=this.plan)==null?void 0:E.speeds)==null?void 0:b[this.speedIndex])==null?void 0:x.speed)==null?void 0:y.sample)==null?void 0:g.hours)==null||B.forEach(S=>{var O,L,w,T,D,W,Y,Z,I,P;const C=S.meteo;if(C){const V=G(C.utc).utc().format("MMM-DD/HHmm[Z]");t.push(V),_=Math.ceil(((L=(O=C.wave)==null?void 0:O.sig)==null?void 0:L.height)>_?(T=(w=C.wave)==null?void 0:w.sig)==null?void 0:T.height:_),s.push([V,(D=C.wind)==null?void 0:D.kts,(Y=(W=C.wave)==null?void 0:W.sig)==null?void 0:Y.height,(Z=C.wind)==null?void 0:Z.direction,(I=C.wind)==null?void 0:I.degree,(P=C.wind)==null?void 0:P.scale,S.cFactor,S.wFactor,S.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:_,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:s,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:s,z:2},{type:"custom",yAxisIndex:0,renderItem:(S,C)=>{const O=C.coord([C.value(o.dateTime),C.value(o.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-a/2,y:-a/2,width:a,height:a},rotation:c[C.value(o.windDirection)],position:O,style:C.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:s,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:s,z:4}]};(r=this.echart)==null||r.setOption(i)}}},dt=t=>(e.pushScopeId("data-v-0b0e9517"),t=t(),e.popScopeId(),t),C1={class:"voyage-plan"},S1={class:"plan-report"},k1={class:"section voyage-section flex-space"},B1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},A1={class:"flex-start label-block",style:{width:"100%"}},w1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),T1={style:{"text-transform":"uppercase"},class:"text-ellipsis"},O1={class:"flex-start label-block",style:{width:"100%"}},F1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),P1={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},W1={class:"flex-start label-block",style:{width:"100%"}},L1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),u1={class:"flex-end"},H1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},M1={class:"flex-start label-block",style:{width:"100%"}},G1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),$1={key:0,class:"flex-end",style:{flex:"1"}},I1={key:1,class:"flex-end",style:{flex:"1"}},R1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),z1={class:"flex-end",style:{width:"120px"}},U1={class:"flex-space label-block",style:{width:"100%"}},Y1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Z1={key:0,class:"flex-end",style:{flex:"1"}},Q1={key:1,class:"flex-end",style:{flex:"1"}},J1=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),q1={class:"flex-end",style:{width:"120px"}},K1={class:"flex-space label-block",style:{width:"100%"}},j1=dt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),X1={class:"flex-end",style:{"text-transform":"uppercase"}},v1={class:"section chart-section"},e_=dt(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),t_={class:"flex-center"},o_=["src"],l_={class:"legends"},a_=e.createStaticVNode('<div class="legend" data-v-0b0e9517><label style="background-color:var(--idm-dangerous);" data-v-0b0e9517></label><span data-v-0b0e9517>Dangerous</span></div><div class="legend" data-v-0b0e9517><label style="background-color:var(--idm-severe);" data-v-0b0e9517></label><span data-v-0b0e9517>Severe</span></div><div class="legend" data-v-0b0e9517><label style="background-color:var(--idm-heavy);" data-v-0b0e9517></label><span data-v-0b0e9517>Heavy</span></div>',3),n_={class:"legend"},s_=dt(()=>e.createElementVNode("b",{class:"route1"},null,-1)),i_={key:0,class:"legend"},c_=dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),d_={key:1,class:"legend"},r_=dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),m_={key:1,class:"empty"},p_={class:"section comparison-section"},h_={key:0},__=dt(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),E_=dt(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),y_=dt(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),N_=dt(()=>e.createElementVNode("th",null,"*FO",-1)),V_=dt(()=>e.createElementVNode("th",null,"*DO",-1)),f_={colspan:"3"},g_={rowspan:"2"},D_={rowspan:"2"},b_={rowspan:"2"},x_={rowspan:"2"},C_={rowspan:"2"},S_={rowspan:"2"},k_={rowspan:"2"},B_={rowspan:"2"},A_={rowspan:"2"},w_=dt(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),T_={class:"section waypoint-section"},O_={class:"header-block flex-start"},F_=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),P_={class:"title"},W_={key:0,class:"flex-end",style:{flex:"1"}},L_=["onClick"],u_={class:"advisory"},H_=["innerHTML"],M_={class:"major-waypoint"},G_=e.createStaticVNode('<div class="major-header" data-v-0b0e9517><div class="cell-item flex" style="flex:1.5;" data-v-0b0e9517>Major waypoint</div><div class="cell-item flex" data-v-0b0e9517>Time</div><div class="cell-item flex" data-v-0b0e9517>Nav</div><div class="cell-item flex" data-v-0b0e9517>Dist</div><div class="cell-item flex" data-v-0b0e9517>SOG</div><div class="cell-item flex" data-v-0b0e9517>Memo</div></div>',1),$_={class:"major-body"},I_={class:"cell-item flex",style:{flex:"1.5"}},R_={key:0,class:"flex-center"},z_={key:1,class:"flex-center"},U_=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Y_={key:0},Z_={class:"cell-item flex"},Q_={key:0,class:"cell-item flex offset"},J_={key:1,class:"cell-item flex nbsp"},q_={key:2,class:"cell-item flex offset"},K_={key:3,class:"cell-item flex nbsp"},j_={key:4,class:"cell-item flex offset"},X_={key:5,class:"cell-item flex nbsp"},v_={key:6,class:"cell-item flex offset"},eE={key:7,class:"cell-item flex nbsp"},tE={class:"section forecast-section"},oE={class:"header-block flex-start"},lE=dt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),aE={class:"title"},nE={key:0,class:"flex-end",style:{flex:"1"}},sE=["onClick"],iE={class:"echart-block"},cE={ref:"echart",class:"echart"},dE=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),rE={class:"flex-center"},mE=dt(()=>e.createElementVNode("span",null,"/",-1)),pE={key:0,class:"degree-box"},hE={key:1},_E={key:0,class:"degree-box"},EE={key:1},yE={key:0,class:"degree-box"},NE={key:1},VE={key:0,class:"degree-box"},fE={key:1},gE=dt(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function DE(t,s,o,c,l,a){var y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo;const _=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),E=e.resolveComponent("Lat"),b=e.resolveComponent("Lng"),x=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",C1,[e.createElementVNode("div",S1,[e.createVNode(_,{name:"Voyage Planning",issued:(y=o.plan)==null?void 0:y.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=U=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",k1,[e.createElementVNode("div",B1,[e.createElementVNode("div",A1,[w1,e.createElementVNode("span",T1,e.toDisplayString((r=(B=(g=o.plan)==null?void 0:g.voyage)==null?void 0:B.company)==null?void 0:r.name),1)]),e.createElementVNode("div",O1,[F1,e.createElementVNode("span",P1,e.toDisplayString((O=(C=(S=o.plan)==null?void 0:S.voyage)==null?void 0:C.vessel)==null?void 0:O.name)+" ("+e.toDisplayString((D=(T=(w=(L=o.plan)==null?void 0:L.voyage)==null?void 0:w.vessel)==null?void 0:T.vesselType)==null?void 0:D.name)+")",1)]),e.createElementVNode("div",W1,[L1,e.createElementVNode("span",u1,e.toDisplayString((Y=(W=o.plan)==null?void 0:W.voyage)==null?void 0:Y.number),1)])]),e.createElementVNode("div",H1,[e.createElementVNode("div",M1,[G1,(P=(I=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:I.departure)!=null&&P.name?(e.openBlock(),e.createElementBlock("span",$1,e.toDisplayString(($=(V=o.plan)==null?void 0:V.leg)==null?void 0:$.departure.name),1)):(e.openBlock(),e.createElementBlock("div",I1,[e.createVNode(E,{lat:(H=(u=(M=o.plan)==null?void 0:M.leg)==null?void 0:u.departure)==null?void 0:H.lat,label:""},null,8,["lat"]),R1,e.createVNode(b,{lng:(K=(j=(Q=o.plan)==null?void 0:Q.leg)==null?void 0:j.departure)==null?void 0:K.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",z1,e.toDisplayString(a.computeUTCTime(((q=(R=(N=o.plan)==null?void 0:N.leg)==null?void 0:R.departure)==null?void 0:q.atd)||((d=(X=(n=o.plan)==null?void 0:n.leg)==null?void 0:X.departure)==null?void 0:d.etd)||((se=(oe=(te=(v=o.plan)==null?void 0:v.speeds)==null?void 0:te[l.speedIndex])==null?void 0:oe.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",U1,[Y1,(re=(de=(ce=o.plan)==null?void 0:ce.leg)==null?void 0:de.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",Z1,e.toDisplayString((_e=(le=(ye=o.plan)==null?void 0:ye.leg)==null?void 0:le.destination)==null?void 0:_e.name),1)):(e.openBlock(),e.createElementBlock("div",Q1,[e.createVNode(E,{lat:(fe=(Ve=(Ne=o.plan)==null?void 0:Ne.leg)==null?void 0:Ve.destination)==null?void 0:fe.lat,label:""},null,8,["lat"]),J1,e.createVNode(b,{lng:(be=(De=(ge=o.plan)==null?void 0:ge.leg)==null?void 0:De.destination)==null?void 0:be.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",q1,e.toDisplayString(a.computeUTCTime(((Oe=(Se=(Ce=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:Ce[l.speedIndex])==null?void 0:Se.speed)==null?void 0:Oe.ata)||((me=(F=(Ee=(Fe=o.plan)==null?void 0:Fe.speeds)==null?void 0:Ee[l.speedIndex])==null?void 0:F.speed)==null?void 0:me.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",K1,[j1,e.createElementVNode("span",X1,e.toDisplayString((We=(Pe=o.plan)==null?void 0:Pe.voyage)==null?void 0:We.loadCondition),1)])])]),e.createElementVNode("div",v1,[e_,(Le=o.plan)!=null&&Le.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",t_,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,o_)]),e.createElementVNode("div",l_,[a_,e.createElementVNode("div",n_,[s_,e.createElementVNode("span",{class:"btn",onClick:s[1]||(s[1]=U=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((z=(ze=(Re=(Ie=(pe=o.plan)==null?void 0:pe.speeds)==null?void 0:Ie[0])==null?void 0:Re.speed)==null?void 0:ze.lane)==null?void 0:z.name),1)]),((He=(we=o.plan)==null?void 0:we.speeds)==null?void 0:He.length)>1?(e.openBlock(),e.createElementBlock("div",i_,[c_,e.createElementVNode("span",{class:"btn",onClick:s[2]||(s[2]=U=>(l.speedIndex=1,a.renderEchart()))},e.toDisplayString((Je=(Qe=(Ze=(Ye=(Ue=o.plan)==null?void 0:Ue.speeds)==null?void 0:Ye[1])==null?void 0:Ze.speed)==null?void 0:Qe.lane)==null?void 0:Je.name),1)])):e.createCommentVNode("",!0),((J=(h=o.plan)==null?void 0:h.speeds)==null?void 0:J.length)>2?(e.openBlock(),e.createElementBlock("div",d_,[r_,e.createElementVNode("span",{class:"btn",onClick:s[3]||(s[3]=U=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((Ke=(he=(Me=(ue=(Te=o.plan)==null?void 0:Te.speeds)==null?void 0:ue[2])==null?void 0:Me.speed)==null?void 0:he.lane)==null?void 0:Ke.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",m_,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:s[4]||(s[4]=(...U)=>a.handleRefresh&&a.handleRefresh(...U))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",p_,[(ve=(Xe=o.plan)==null?void 0:Xe.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",h_,[e.createElementVNode("thead",null,[__,e.createElementVNode("tr",null,[E_,y_,N_,V_,e.createElementVNode("th",f_,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ot=o.plan)==null?void 0:ot.speeds,(U,tt)=>{var Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co;return e.openBlock(),e.createElementBlock(e.Fragment,{key:tt},[e.createElementVNode("tr",null,[e.createElementVNode("td",g_,e.toDisplayString(tt+1),1),e.createElementVNode("td",D_,e.toDisplayString((Pt=(Ft=U.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Mt=U.speed)==null?void 0:Mt.label)??"CP"} ${((Gt=U.speed)==null?void 0:Gt.v0)??((It=($t=U.speed)==null?void 0:$t.cpCopy)==null?void 0:It.speed)}`),1),e.createElementVNode("td",b_,e.toDisplayString(a.roundPrecision((Rt=U.speed)==null?void 0:Rt.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((zt=U.speed)==null?void 0:zt.eta,(Zt=(Yt=(Ut=o.plan)==null?void 0:Ut.leg)==null?void 0:Yt.destination)==null?void 0:Zt.lng,(qt=(Jt=(Qt=o.plan)==null?void 0:Qt.leg)==null?void 0:Jt.destination)==null?void 0:qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((Kt=U.speed)==null?void 0:Kt.eta))+"]",1)]),e.createElementVNode("td",x_,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",C_,e.toDisplayString(a.roundPrecision((jt=U.speed)==null?void 0:jt.totalFoCons,3)),1),e.createElementVNode("td",S_,e.toDisplayString(a.roundPrecision((Xt=U.speed)==null?void 0:Xt.totalDgoCons,3)),1),e.createElementVNode("td",k_,e.toDisplayString(a.roundPrecision(((vt=U.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",B_,e.toDisplayString(a.roundPrecision(((eo=U.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",A_,e.toDisplayString(a.roundPrecision(((to=U.speed)==null?void 0:to.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((lo=(oo=U.speed)==null?void 0:oo.cpCopy)==null?void 0:lo.fo)+" FO / "+e.toDisplayString((no=(ao=U.speed)==null?void 0:ao.cpCopy)==null?void 0:no.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((so=U.speed)==null?void 0:so.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((io=U.speed)==null?void 0:io.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((co=U.speed)==null?void 0:co.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),w_]),e.createElementVNode("div",T_,[e.createElementVNode("div",O_,[F_,e.createElementVNode("div",P_,"Advisory & Major Waypoint of Route "+e.toDisplayString((pt=(nt=(at=(lt=o.plan.speeds)==null?void 0:lt[l.speedIndex])==null?void 0:at.speed)==null?void 0:nt.lane)==null?void 0:pt.name),1),((_t=(ht=o.plan)==null?void 0:ht.speeds)==null?void 0:_t.length)>1?(e.openBlock(),e.createElementBlock("div",W_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=o.plan)==null?void 0:Et.speeds,(U,tt)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Pt=(Ft=U.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,L_)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",u_,[l.editable?(e.openBlock(),e.createBlock(x,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[5]||(s[5]=U=>l.advisory=U),class:"editor",height:"120px",onBlur:s[6]||(s[6]=U=>a.handleCommit(U))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[7]||(s[7]=(...U)=>a.handleEdit&&a.handleEdit(...U)),innerHTML:l.advisory},null,40,H_))]),e.createElementVNode("div",M_,[G_,e.createElementVNode("div",$_,[(Nt=(yt=o.plan)==null?void 0:yt.speeds)!=null&&Nt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Dt=(gt=(ft=(Vt=o.plan)==null?void 0:Vt.speeds)==null?void 0:ft[l.speedIndex])==null?void 0:gt.speed)==null?void 0:Dt.argv,(kt=(St=(Ct=(xt=(bt=o.plan)==null?void 0:bt.speeds)==null?void 0:xt[l.speedIndex])==null?void 0:Ct.speed)==null?void 0:St.sample)==null?void 0:kt.wps),(U,tt)=>(e.openBlock(),e.createElementBlock("div",{key:tt,class:"cell-row"},[e.createElementVNode("div",I_,[U.isResume?(e.openBlock(),e.createElementBlock("div",R_,"Resume")):(e.openBlock(),e.createElementBlock("div",z_,[e.createVNode(E,{lat:U.lat,label:""},null,8,["lat"]),U_,e.createVNode(b,{lng:U.lng,label:""},null,8,["lng"]),U.pilot?(e.openBlock(),e.createElementBlock("span",Y_," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Z_,e.toDisplayString(a.computeUTCTime(U.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",Q_,e.toDisplayString(a.computeNav(U)),1)):(e.openBlock(),e.createElementBlock("div",J_)),tt?(e.openBlock(),e.createElementBlock("div",q_,e.toDisplayString(a.roundPrecision(U.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",K_)),tt?(e.openBlock(),e.createElementBlock("div",j_,e.toDisplayString(a.roundPrecision(U.avgSpd??U.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",X_)),tt?(e.openBlock(),e.createElementBlock("div",v_,e.toDisplayString(a.computeMemo(U)),1)):(e.openBlock(),e.createElementBlock("div",eE))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",tE,[(At=(Bt=o.plan)==null?void 0:Bt.speeds)!=null&&At.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",oE,[lE,e.createElementVNode("div",aE,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((po=(Ht=(Ot=(Tt=(wt=o.plan)==null?void 0:wt.speeds)==null?void 0:Tt[l.speedIndex])==null?void 0:Ot.speed)==null?void 0:Ht.lane)==null?void 0:po.name),1),((No=(yo=o.plan)==null?void 0:yo.speeds)==null?void 0:No.length)>1?(e.openBlock(),e.createElementBlock("div",nE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Vo=o.plan)==null?void 0:Vo.speeds,(U,tt)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Pt=(Ft=U==null?void 0:U.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,sE)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",iE,[e.createElementVNode("div",cE,null,512)]),e.createElementVNode("table",null,[dE,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((xo=(bo=(Do=(go=(fo=o.plan)==null?void 0:fo.speeds)==null?void 0:go[l.speedIndex])==null?void 0:Do.speed)==null?void 0:bo.sample)==null?void 0:xo.hours,(U,tt)=>{var Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,$o,Io,Ro,zo,Uo,Yo;return e.openBlock(),e.createElementBlock("tr",{key:tt,class:e.normalizeClass(U.isDangerous?"dangerous":U.isSevere?"severe":U.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(U.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",rE,[e.createVNode(E,{lat:U.lat,label:""},null,8,["lat"]),mE,e.createVNode(b,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Pt=(Ft=U.meteo)==null?void 0:Ft.wind)!=null&&Pt.kts?(e.openBlock(),e.createElementBlock("span",pE,[e.createTextVNode(e.toDisplayString((Gt=(Mt=U.meteo)==null?void 0:Mt.wind)==null?void 0:Gt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((It=($t=U.meteo)==null?void 0:$t.wind)==null?void 0:It.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",hE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((zt=(Rt=U.meteo)==null?void 0:Rt.wind)==null?void 0:zt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Zt=(Yt=(Ut=U.meteo)==null?void 0:Ut.wave)==null?void 0:Yt.wd)==null?void 0:Zt.height,1)),1),e.createElementVNode("td",null,[(qt=(Jt=(Qt=U.meteo)==null?void 0:Qt.wave)==null?void 0:Jt.swell)!=null&&qt.height?(e.openBlock(),e.createElementBlock("span",_E,[e.createTextVNode(e.toDisplayString((Xt=(jt=(Kt=U.meteo)==null?void 0:Kt.wave)==null?void 0:jt.swell)==null?void 0:Xt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((to=(eo=(vt=U.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",EE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ao=(lo=(oo=U.meteo)==null?void 0:oo.wave)==null?void 0:lo.swell)==null?void 0:ao.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((io=(so=(no=U.meteo)==null?void 0:no.wave)==null?void 0:so.swell)==null?void 0:io.period,1)),1),e.createElementVNode("td",null,[(So=(Co=(co=U.meteo)==null?void 0:co.wave)==null?void 0:Co.sig)!=null&&So.height?(e.openBlock(),e.createElementBlock("span",yE,[e.createTextVNode(e.toDisplayString((Ao=(Bo=(ko=U.meteo)==null?void 0:ko.wave)==null?void 0:Bo.sig)==null?void 0:Ao.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Oo=(To=(wo=U.meteo)==null?void 0:wo.wave)==null?void 0:To.sig)==null?void 0:Oo.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",NE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Wo=(Po=(Fo=U.meteo)==null?void 0:Fo.wave)==null?void 0:Po.sig)==null?void 0:Wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ho=(uo=(Lo=U.meteo)==null?void 0:Lo.wave)==null?void 0:uo.sig)==null?void 0:Ho.period,1)),1),e.createElementVNode("td",null,[(Go=(Mo=U.meteo)==null?void 0:Mo.current)!=null&&Go.kts?(e.openBlock(),e.createElementBlock("span",VE,[e.createTextVNode(e.toDisplayString((Io=($o=U.meteo)==null?void 0:$o.current)==null?void 0:Io.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((zo=(Ro=U.meteo)==null?void 0:Ro.current)==null?void 0:zo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",fE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Yo=(Uo=U.meteo)==null?void 0:Uo.current)==null?void 0:Yo.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(U.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),gE])])])}const Vn=ke(x1,[["render",DE],["__scopeId","data-v-0b0e9517"]]),bE={install(t){t.component("RouteReport",cn),t.component("OpiPlanReport",cn),t.component("FliPlanReport",Nn),t.component("OrmPlanReport",Vn)}},xE={install(t){t.component("IdmEditor",Zo)}},CE={install(t){t.component("IdmLat",va)}},SE={install(t){t.component("IdmLng",Xa)}},kE={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},BE={class:"logo"},AE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},wE=["fill","fill-opacity"],TE=[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,9 +38,9 @@
38
38
  39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883
39
39
  7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49
40
40
  17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60
41
- -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function OE(t,s,o,d,l,a){return e.openBlock(),e.createElementBlock("i",BE,[(e.openBlock(),e.createElementBlock("svg",AE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},TE,8,wE)]))])}const fn=ke(kE,[["render",OE]]),FE={install(t){t.component("PiLogo",fn)}},Hoe="",Moe="",PE={components:{Editor:Zo,IdmBrand:on},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDB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igIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,bgSrc:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBoAAAAvCAYAAABNJKlSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABBVSURBVHhe7d2Hd1TnnYdx/wm7m91szWart2+yfTdtW5KtySbZTeLuxA3HLU6CCzY4Y9xiwMaFEkMoBkw1TXQVhEACdaEu1NuojEZdM2oz89t773vv3HvnviI4dnBsP99znsPhcECcOULM++Gd4ZqybhGnUrMup5RVibdOt+LMOlJyoSOp7Xx7sKJ0CSlqcyvMrDUh57TNy1mzlmAFTs1uZ5rngl2ak3xNp82azGZ95Tk1uuVm1jBjlbNA2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77u7xe8fc3t59MdVH31oPzcjwlo0AQ0+AMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAGoAFoAB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mIc/s0m4twAYIwxxtj7d0DDe2zmm2fGZ1NW5q2K4amkDE0mpHdE1RaZl+aBOblkVN0za1XWMSvFbTNWpxvjkmeUXR8HGuyABqABaHh/QMNzxu//haxuCwNey+6VTXl9sim3T/YXR6wOlw5JXs2IVVHTmFS0TVg19sakfSBuZb72f2RqXsZivNEfY4wxxthPOqCBycx8SmKzquhkwmpg3LxpMW/VOjgnTf2zVlVdM1aVRudbp6WoWZXXEJecuphkG5lwATQADUAD0ODNhIXVR3rk5WOqjTl9sjW/32rnuUE5VDJklVUWlfy6UbsRCwKq2iel0si8FdAxOG3dDBidmrfiv/RjjDHGGPvZG9DAfqozXy4Sm01ajcWTMjSRSGciRld0zqo9MicN4Zl0lZ3TUt6hKmufloKmWLrcuik5Xu1kAgXQADQADW8HGlYf7ZG1J8PGYxeWDTl9suPsoJUJAEfKo5Jld6Z+TArsTAC42Dlp1RRW7w1g1js8k0YAM8YYY4wx9sEb0MDed5uaSaabmE5KZHzeatCoZ3hOOiKzvhr7ZqS2Z9pXeUdcilu9xSS/YUpy6yZ9ZdeatzbGVeVu+0rHgAagwUYGFxrWneqTjXn9xuNkl9sv289GZE/RkOz2dKRiWE5UjciJyhE5blfQMCaFTeNujeNS1TEltV2qGrs261/8Z3yZLwcwXwrgLZmy/8AwxhhjjDH2Dg9oYOwqbj6RksmZZLBp1dDEvAyMzaXr19Q5NCstAzNXVHVXXCo7YldUhVF5e0wKGidVDbom0p1ZoHyzem/j2k7rqtOX51TrL9fuTMO4lLROSknL5SvOqLY7Jg29cW31Rq0D09IzPCs9UW8z6fpGZ2U8ntA2N89JnjHGGGOMfRAn8v+kbzBftZKigAAAAABJRU5ErkJggg==",self.location).href,date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],noGoodWxDay:"Not available due to no good weather days."}},computed:{computedAvgCf:function(){return function(t){var s,o;return(o=(s=this.reportData)==null?void 0:s.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s==="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s==="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,s){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),d=this.getLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} ${d}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),d=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${s} (${o}) to ${d} (${l})`}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return s==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):s==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,s){let o=t.conclusionStatus,d={conclusion:"",className:"",cons:""};return o==="No"?(s==="FO"?d.conclusion="No FO over/under consumption":d.conclusion="No DO/GO over/under consumption ",d.className="",d.cons=""):o==="Over"?(s==="FO"?d.conclusion="FO over consumption":d.conclusion="DO/GO over consumption",d.className="error",d.cons=`${t.overCons} mt`):(s==="FO"?d.conclusion="FO under consumption":d.conclusion="DO/GO under consumption",d.className="success",d.cons=`${t.saving} mt`),d}},computedUnit(){return function(t,s){return s?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,d="",l=0;return t!=null&&t.waveSwitch?(d+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(d+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(d+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(d+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${o} or less${d}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(s="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),s}},computedColor(){return function(t,s,o){let d="";if(t==="No")return d=o?"bg-color-normal":"color-normal",d;switch(s){case"time":t==="Lost"?d="color-fail":d="color-success";break;case"fuel":t==="Over"?d="color-fail":d="color-success";break;case"pfm":t==="Under"?d="color-fail":d="color-success";break}return o&&(d="bg-"+d),d}}},watch:{reportData:{handler(t,s){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,s;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(s=(t=this.reportData)==null?void 0:t.segments)==null||s.forEach((o,d)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(_=>{let i={time:G(_.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+G(_.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:_.duration,distance:_.distance,fo:_.foCons,dgo:_.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(_=>{a.push(this.computedSeg(_))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(_=>_.type!=="A"&&_.goodWx))})}}},f=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),WE=["src"],LE={class:"voyage-main"},uE={class:"main",style:{"page-break-after":"always"}},HE={class:"main-title",style:{position:"relative !important"}},ME=["src"],GE={class:"main-title-content"},$E=f(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),IE={class:"title-date"},RE={class:"main-subtitle"},zE={class:"white"},UE=f(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),YE={class:"subtitle-main"},ZE=f(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),QE={class:"subtitle-main"},JE={class:"main-box"},qE={class:"main-table"},KE=f(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),jE={class:"bold"},XE=f(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),vE={class:"bold"},ey=f(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),ty={class:"bold"},oy=f(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),ly={class:"bold"},ay={style:{display:"inline-block",width:"50%"}},ny=f(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),sy={class:"bold"},iy={style:{display:"inline-block",width:"50%"}},dy=f(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),cy={class:"tips",style:{display:"flex"}},ry={style:{color:"var(--table-note-color)"}},my={class:"summary-table",style:{"margin-top":"5px"}},py=f(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),hy={style:{width:"15%"}},_y={key:1},Ey=f(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),yy={key:1},Ny=f(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),Vy={key:1},fy=f(()=>e.createElementVNode("div",{style:{color:"var(--table-note-color-2)","font-size":"10.5pt",margin:"10px 0","text-align":"right"}}," *Please see voyage analysis pages for the details. ",-1)),gy=f(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),Dy={class:"weather-definition"},by={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},xy=f(()=>e.createElementVNode("div",null,"Exclusion",-1)),Cy=f(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),Sy={class:"remark-table"},ky=f(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Date/Time"),e.createElementVNode("td",null,"Duration(hrs)"),e.createElementVNode("td",null,"Distance(nm)"),e.createElementVNode("td",null,"FO(mt)"),e.createElementVNode("td",null,"DO/GO(mt)")])],-1)),By=["innerHTML"],Ay={class:"analysis page-title"},wy={class:"analysis-title"},Ty={class:"analysis-title-detail"},Oy=f(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),Fy={class:"page-avoid"},Py={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},Wy=f(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),Ly=f(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),uy=f(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),Hy=f(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),My=f(()=>e.createElementVNode("tr",null,null,-1)),Gy={class:"title"},$y={class:"title"},Iy={class:"title"},Ry={class:"title"},zy=f(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),Uy={class:"page-avoid",style:{"margin-bottom":"15px"}},Yy={class:"analysis-table",cellspacing:"0",cellpadding:"0"},Zy=f(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title",style:{width:"35%"}}),e.createElementVNode("td",{colspan:"2",class:"title"},"Good Weather"),e.createElementVNode("td",{colspan:"2",class:"title"},"All Weather")],-1)),Qy=f(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title"}),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA"),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA")],-1)),Jy=f(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),qy={class:"inGoodWx"},Ky={class:"inGoodWx"},jy=f(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),Xy={class:"inGoodWx"},vy={class:"inGoodWx"},eN=f(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),tN={class:"inGoodWx"},oN={class:"inGoodWx"},lN=f(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),aN={class:"inGoodWx"},nN={class:"inGoodWx"},sN=f(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),iN={class:"inGoodWx"},dN={class:"inGoodWx"},cN=f(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),rN={class:"inGoodWx"},mN={class:"inGoodWx"},pN=f(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),hN={class:"inGoodWx"},_N={class:"inGoodWx"},EN={key:0,class:"analysis-tips"},yN={key:1,class:"analysis-definition"},NN={key:2,class:"analysis-definition"},VN=f(()=>e.createElementVNode("br",null,null,-1)),fN={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},gN=f(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),DN=f(()=>e.createElementVNode("span",null,"= ",-1)),bN={key:0},xN={key:1},CN={key:2},SN={key:3},kN={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},BN=f(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),AN=f(()=>e.createElementVNode("span",null,"=",-1)),wN={key:0},TN={key:1},ON=f(()=>e.createElementVNode("span",null,"-",-1)),FN=f(()=>e.createElementVNode("span",null,"=",-1)),PN={key:0},WN={key:1},LN={key:6,class:"tr-tips tips-color"},uN={class:"formula page-title"},HN={class:"page-avoid"},MN={class:"subtitle",style:{"margin-top":"0"}},GN={key:0},$N={class:"definition"},IN=f(()=>e.createElementVNode("br",null,null,-1)),RN=f(()=>e.createElementVNode("br",null,null,-1)),zN=f(()=>e.createElementVNode("br",null,null,-1)),UN={class:"equation"},YN=f(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),ZN=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),QN={style:{width:"50%"},class:"fraction"},JN=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qN=f(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),KN=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),jN={class:"equation"},XN={style:{width:"35%"}},vN=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),eV={style:{width:"50%"},class:"fraction"},tV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),lV={class:"equation"},aV={style:{width:"35%"}},nV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),sV={style:{width:"50%"},class:"fraction"},iV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),cV=f(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),rV={class:"page-avoid"},mV={key:0,class:"definition",style:{margin:"15px 0"}},pV={class:"equation"},hV=f(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),_V=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EV={style:{width:"35%"},class:"fraction"},yV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),VV={style:{width:"10%","text-align":"center"}},fV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),gV={class:"equation"},DV={style:{width:"35%"}},bV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),xV={style:{width:"35%"},class:"fraction"},CV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kV={style:{width:"10%","text-align":"center"}},BV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),AV={class:"equation"},wV={style:{width:"35%"}},TV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),OV={style:{width:"35%"},class:"fraction"},FV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),WV={style:{width:"10%","text-align":"center"}},LV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),uV=f(()=>e.createElementVNode("span",null,"=",-1)),HV=f(()=>e.createElementVNode("span",null,"=",-1)),MV=f(()=>e.createElementVNode("span",null,"=",-1)),GV=["innerHTML"],$V={class:"page-avoid"},IV={class:"subtitle page-title"},RV={key:0},zV={class:"definition",style:{"margin-bottom":"15px"}},UV=f(()=>e.createElementVNode("br",null,null,-1)),YV=f(()=>e.createElementVNode("br",null,null,-1)),ZV=f(()=>e.createElementVNode("br",null,null,-1)),QV={class:"equation"},JV=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),qV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),KV={style:{width:"25%"},class:"fraction"},jV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XV=f(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),vV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),ef=f(()=>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)),tf=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),of={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},lf=f(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),af={key:0},nf={class:"equation"},sf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),df=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),cf={style:{width:"25%"},class:"fraction"},rf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),pf=f(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),hf=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),_f={class:"equation"},Ef=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),yf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Nf={style:{width:"25%"},class:"fraction"},Vf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),gf=f(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),Df=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),bf=f(()=>e.createElementVNode("div",{style:{"font-weight":"600"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),xf={key:0,class:"equation"},Cf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),Sf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kf={style:{width:"45%"},class:"fraction"},Bf=f(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),Af=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wf={key:1,class:"equation"},Tf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),Of=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"45%"},class:"fraction"},Pf=f(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),Wf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Lf={class:"page-avoid"},uf=f(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),Hf={key:0,class:"definition",style:{margin:"15px 0"}},Mf={class:"equation"},Gf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),$f=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),If={style:{width:"20%"},class:"fraction"},Rf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),zf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Uf={style:{width:"20%"},class:"fraction"},Yf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Zf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Qf={style:{width:"10%","text-align":"center"}},Jf=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),qf={class:"equation"},Kf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),jf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Xf={style:{width:"20%"},class:"fraction"},vf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),e0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t0={style:{width:"20%"},class:"fraction"},o0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l0=f(()=>e.createElementVNode("div",null,"24",-1)),a0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),n0={style:{width:"10%","text-align":"center"}},s0=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),i0={class:"equation"},d0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),c0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),r0={style:{width:"20%"},class:"fraction"},m0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),p0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),h0={style:{width:"20%"},class:"fraction"},_0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),E0=f(()=>e.createElementVNode("div",null,"24",-1)),y0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),N0={style:{width:"10%","text-align":"center"}},V0=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),f0=f(()=>e.createElementVNode("span",null,"=",-1)),g0=f(()=>e.createElementVNode("span",null,"=",-1)),D0=f(()=>e.createElementVNode("span",null,"=",-1)),b0={key:0},x0={key:0,class:"equation"},C0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),S0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),k0={style:{width:"45%"},class:"fraction"},B0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),A0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),w0={style:{width:"10%","text-align":"center"}},T0={key:1,class:"equation"},O0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),F0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),P0={style:{width:"45%"},class:"fraction"},W0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),L0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),u0={style:{width:"10%","text-align":"center"}},H0=["innerHTML"],M0={class:"page-avoid"},G0={key:0},$0=f(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),I0={key:0,class:"definition",style:{margin:"15px 0"}},R0={class:"equation"},z0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),U0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Y0={style:{width:"20%"},class:"fraction"},Z0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Q0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),J0={style:{width:"20%"},class:"fraction"},q0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),K0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),j0={style:{width:"10%","text-align":"center"}},X0=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),v0={class:"equation"},eg=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),tg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),og={style:{width:"20%"},class:"fraction"},lg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ag=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),ng={style:{width:"20%"},class:"fraction"},sg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ig=f(()=>e.createElementVNode("div",null,"24",-1)),dg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),cg={style:{width:"10%","text-align":"center"}},rg=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),mg={class:"equation"},pg=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),hg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_g={style:{width:"20%"},class:"fraction"},Eg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Ng={style:{width:"20%"},class:"fraction"},Vg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fg=f(()=>e.createElementVNode("div",null,"24",-1)),gg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Dg={style:{width:"10%","text-align":"center"}},bg=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),xg=f(()=>e.createElementVNode("span",null,"=",-1)),Cg=f(()=>e.createElementVNode("span",null,"=",-1)),Sg=f(()=>e.createElementVNode("span",null,"=",-1)),kg=["innerHTML"];function Bg(t,s,o,d,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.referenceOnly||(y=(x=o.reportData)==null?void 0:x.weather)!=null&&y.overallAsGoodWx?"watermark":"")},[e.createVNode(_,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,WE),e.createElementVNode("div",LE,[e.createElementVNode("div",uE,[e.createElementVNode("div",HE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,ME),e.createElementVNode("div",GE,[$E,e.createElementVNode("div",IE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",RE,[e.createElementVNode("table",zE,[e.createElementVNode("tr",null,[UE,e.createElementVNode("td",YE,"    "+e.toDisplayString((g=o.reportData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("tr",null,[ZE,e.createElementVNode("td",QE,"    "+e.toDisplayString((r=(B=o.reportData)==null?void 0:B.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",JE,[e.createElementVNode("table",qE,[e.createElementVNode("tr",null,[KE,e.createElementVNode("td",jE,e.toDisplayString((C=(S=o.reportData)==null?void 0:S.vessel)==null?void 0:C.type),1)]),e.createElementVNode("tr",null,[XE,e.createElementVNode("td",vE,e.toDisplayString((L=(O=o.reportData)==null?void 0:O.voyage)==null?void 0:L.loadCondition),1)]),e.createElementVNode("tr",null,[ey,e.createElementVNode("td",ty,e.toDisplayString((T=(w=o.reportData)==null?void 0:w.voyage)==null?void 0:T.number),1)]),e.createElementVNode("tr",null,[oy,e.createElementVNode("td",ly,[e.createElementVNode("span",ay,e.toDisplayString(((W=(D=o.reportData)==null?void 0:D.departure)==null?void 0:W.portName)||a.computedLngLat((Z=(Y=o.reportData)==null?void 0:Y.departure)==null?void 0:Z.lat,(P=(I=o.reportData)==null?void 0:I.departure)==null?void 0:P.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime(($=(V=o.reportData)==null?void 0:V.departure)==null?void 0:$.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[ny,e.createElementVNode("td",sy,[e.createElementVNode("span",iy,e.toDisplayString(((u=(M=o.reportData)==null?void 0:M.arrival)==null?void 0:u.portName)||a.computedLngLat((Q=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:Q.lat,(K=(j=o.reportData)==null?void 0:j.arrival)==null?void 0:K.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((R=(N=o.reportData)==null?void 0:N.arrival)==null?void 0:R.utcTime,"table")),1)])])])]),dy,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=o.reportData)==null?void 0:q.segments,(c,v)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+v},[e.createElementVNode("div",cy,[e.createElementVNode("div",ry,"Seg."+e.toDisplayString(v+1)+"  ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(te,oe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+oe,class:"tips-seg"},e.toDisplayString(te),1))),128))])]),e.createElementVNode("table",my,[e.createElementVNode("tr",null,[py,e.createElementVNode("td",hy,e.toDisplayString(c.allWx.time)+" hrs",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedTimeConclusion(c.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(c.timeConclusion).conclusion),3)):(e.openBlock(),e.createElementBlock("td",_y,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,style:{width:"15%"},class:e.normalizeClass(a.computedTimeConclusion(c.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(c.timeConclusion).timeCon),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[Ey,e.createElementVNode("td",null,e.toDisplayString(c.allWx.sumFoCons)+" mt",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",yy,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").cons),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[Ny,e.createElementVNode("td",null,e.toDisplayString(c.allWx.sumDgoCons)+" mt",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",Vy,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").cons),3)):e.createCommentVNode("",!0)])]),fy]))),128)),gy,e.createElementVNode("div",Dy,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((n=o.reportData)==null?void 0:n.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",by,[xy,e.createElementVNode("div",null,[Cy,e.createElementVNode("table",Sy,[ky,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(c,v)=>(e.openBlock(),e.createElementBlock("tr",{key:v},[e.createElementVNode("td",null,e.toDisplayString(v+1),1),e.createElementVNode("td",null,e.toDisplayString(c.time),1),e.createElementVNode("td",null,e.toDisplayString(c.duration),1),e.createElementVNode("td",null,e.toDisplayString(c.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.fo),1),e.createElementVNode("td",null,e.toDisplayString(c.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=c=>l.advisory=c),height:"320px",onBlur:s[1]||(s[1]=c=>a.handleCommit(c))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:s[2]||(s[2]=(...c)=>a.decideDisable&&a.decideDisable(...c)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,By))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((X=o.reportData)==null?void 0:X.segments,(c,v)=>{var te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",Ay,[e.createElementVNode("div",wy,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",Ty,[e.createElementVNode("div",null,e.toDisplayString((oe=(te=o.reportData)==null?void 0:te.vessel)==null?void 0:oe.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Ht,po)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+po,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),Oy,e.createElementVNode("div",Fy,[e.createElementVNode("table",Py,[e.createElementVNode("tr",null,[Wy,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.type),1),Ly,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.fo),1)]),e.createElementVNode("tr",null,[uy,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.speed),1),Hy,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.dgo),1)]),My,e.createElementVNode("tr",null,[e.createElementVNode("td",Gy,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.timeConclusion.spdOfOver),1),e.createElementVNode("td",$y,"Consumer Over ("+e.toDisplayString(a.computedUnit("cons",c.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.fuelConclusion.consOfOver),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",Iy,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.timeConclusion.spdOfUnder),1),e.createElementVNode("td",Ry,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",c.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.fuelConclusion.consOfUnder),1)])])]),zy,e.createElementVNode("div",Uy,[e.createElementVNode("table",Yy,[Zy,Qy,e.createElementVNode("tr",null,[Jy,e.createElementVNode("td",qy,e.toDisplayString(c.goodWx.outEca.distance),1),e.createElementVNode("td",Ky,e.toDisplayString(c.goodWx.inEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.distance),1)]),e.createElementVNode("tr",null,[jy,e.createElementVNode("td",Xy,e.toDisplayString(c.goodWx.outEca.time),1),e.createElementVNode("td",vy,e.toDisplayString(c.goodWx.inEca.time),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.time),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.time),1)]),e.createElementVNode("tr",null,[eN,e.createElementVNode("td",tN,e.toDisplayString(c.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",oN,e.toDisplayString(c.goodWx.inEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgSpd||"--"),1)]),e.createElementVNode("tr",null,[lN,e.createElementVNode("td",aN,e.toDisplayString(c.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",nN,e.toDisplayString(c.goodWx.inEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.sumFoCons||"--"),1)]),e.createElementVNode("tr",null,[sN,e.createElementVNode("td",iN,e.toDisplayString(c.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",dN,e.toDisplayString(c.goodWx.inEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgFoCons||"--"),1)]),e.createElementVNode("tr",null,[cN,e.createElementVNode("td",rN,e.toDisplayString(c.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",mN,e.toDisplayString(c.goodWx.inEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.sumDgoCons||"--"),1)]),e.createElementVNode("tr",null,[pN,e.createElementVNode("td",hN,e.toDisplayString(c.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",_N,e.toDisplayString(c.goodWx.inEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgDgoCons||"--"),1)])])]),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",EN," The exclusion time, distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation. ")):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",yN," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((de=(se=o.reportData)==null?void 0:se.weather)!=null&&de.favorableCur&&c.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",NN,[e.createTextVNode(" No Charter Party defined good weather was found. "),VN,e.createTextVNode(" All Weather Performance Speed = Average Speed "+e.toDisplayString((re=(ce=o.reportData)==null?void 0:ce.weather)!=null&&re.favorableCur&&c.allWx.avgCf>0?"":"- Current Factor")+" - Weather Factor ",1)])),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",fN,[gN,DN,(le=(ye=o.reportData)==null?void 0:ye.weather)!=null&&le.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",bN,e.toDisplayString(c.goodWx.avgSpd),1)),(Ne=(_e=o.reportData)==null?void 0:_e.weather)!=null&&Ne.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",xN,"-")),(fe=(Ve=o.reportData)==null?void 0:Ve.weather)!=null&&fe.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",CN,e.toDisplayString(`${a.computedPositive(c.goodWx.avgCf)}`),1)),(De=(ge=o.reportData)==null?void 0:ge.weather)!=null&&De.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",SN,"=")),e.createElementVNode("span",null,e.toDisplayString(c.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",kN,[BN,AN,e.createElementVNode("span",null,e.toDisplayString(c.allWx.avgSpd),1),(xe=(be=o.reportData)==null?void 0:be.weather)!=null&&xe.favorableCur&&c.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",wN,"-")),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.favorableCur&&c.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",TN,e.toDisplayString(`${a.computedPositive(c.allWx.avgCf)}`),1)),ON,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(c.allWx.avgWf)}`),1),FN,e.createElementVNode("span",null,e.toDisplayString(c.allWx.pfmSpd)+" (kts)",1)])),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(`tr-tips ${a.computedColor(c.goodWx.pfmStatus,"pfm",!1)}`)},[e.createTextVNode(" Good Weather Performance Speed: "+e.toDisplayString(c.goodWx.pfmSpd)+" (kts) ",1),c.goodWx.pfmStatus==="Under"?(e.openBlock(),e.createElementBlock("span",PN,"(Under-performance)")):e.createCommentVNode("",!0),c.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",WN,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",LN,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",uN,[e.createElementVNode("div",HN,[e.createElementVNode("div",MN,[e.createTextVNode(" Time Analysis "),(Fe=(Oe=o.reportData)==null?void 0:Oe.weather)!=null&&Fe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",GN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",$N,[e.createTextVNode(" Time Lost: Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),IN,e.createTextVNode(" Time Gained: Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),RN,e.createTextVNode(" No Time Lost and Gained: Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),zN,e.createElementVNode("div",UN,[YN,ZN,e.createElementVNode("div",QN,[e.createElementVNode("div",null,e.toDisplayString((F=(Ee=o.reportData)==null?void 0:Ee.weather)!=null&&F.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),JN,qN]),KN]),e.createElementVNode("div",jN,[e.createElementVNode("div",XN," Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),vN,e.createElementVNode("div",eV,[e.createElementVNode("div",null,e.toDisplayString((Pe=(me=o.reportData)==null?void 0:me.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),tV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" kts",1)]),oV]),e.createElementVNode("div",lV,[e.createElementVNode("div",aV," Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),nV,e.createElementVNode("div",sV,[e.createElementVNode("div",null,e.toDisplayString((Le=(We=o.reportData)==null?void 0:We.weather)!=null&&Le.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),iV,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" kts",1)]),dV]),cV])]),e.createElementVNode("div",rV,[c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",mV,[e.createElementVNode("div",pV,[hV,_V,e.createElementVNode("div",EV,[e.createElementVNode("div",null,e.toDisplayString((Ie=(pe=o.reportData)==null?void 0:pe.weather)!=null&&Ie.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),yV,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),NV,e.createElementVNode("div",VV,e.toDisplayString(c.timeConclusion.timeAtPfmSpd)+" (hrs)",1),fV]),e.createElementVNode("div",gV,[e.createElementVNode("div",DV," Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),bV,e.createElementVNode("div",xV,[e.createElementVNode("div",null,e.toDisplayString((ze=(Re=o.reportData)==null?void 0:Re.weather)!=null&&ze.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),CV,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),SV,e.createElementVNode("div",kV,e.toDisplayString(c.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),BV]),e.createElementVNode("div",AV,[e.createElementVNode("div",wV," Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),TV,e.createElementVNode("div",OV,[e.createElementVNode("div",null,e.toDisplayString((we=(z=o.reportData)==null?void 0:z.weather)!=null&&we.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),FV,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.plusAbtSpd),1)]),PV,e.createElementVNode("div",WV,e.toDisplayString(c.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),LV]),e.createElementVNode("div",null,[c.timeConclusion.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.timeConclusion.conclusionStatus,"time",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?"Time Lost":"Time Gained"),1),uV,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),HV,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeAtPfmSpd:c.timeConclusion.timeAtPlusAbtSpd)+" - "+e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeAtMinusAbtSpd:c.timeConclusion.timeAtPfmSpd),1),MV,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeLost:c.timeConclusion.timeGain)+" (hrs)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.timeConclusion.conclusionStatus,"time",!1)} `)}," Conclusion :  "+e.toDisplayString(((He=c.timeConclusion)==null?void 0:He.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,GV))]),e.createElementVNode("div",$V,[e.createElementVNode("div",IV,[e.createTextVNode(" Consumption Analysis "),(Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?(e.openBlock(),e.createElementBlock("span",RV,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",zV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),UV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),YV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),ZV,e.createElementVNode("div",QV,[JV,qV,e.createElementVNode("div",KV,[e.createElementVNode("div",null,e.toDisplayString((Qe=(Ze=o.reportData)==null?void 0:Ze.weather)!=null&&Qe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),jV,XV]),vV,ef,tf]),e.createElementVNode("div",of,[lf,((h=(Je=c.extend)==null?void 0:Je.cp)==null?void 0:h.dgo)>0?(e.openBlock(),e.createElementBlock("div",af,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",nf,[sf,df,e.createElementVNode("div",cf,[e.createElementVNode("div",null,e.toDisplayString((Te=(J=o.reportData)==null?void 0:J.weather)!=null&&Te.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),rf,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage)),1)]),mf,pf,hf]),e.createElementVNode("div",_f,[Ef,yf,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString((Me=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Me.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Vf,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage)),1)]),ff,gf,Df]),bf,((Ke=(he=c.extend)==null?void 0:he.cp)==null?void 0:Ke.dgo)>0?(e.openBlock(),e.createElementBlock("div",xf,[Cf,Sf,e.createElementVNode("div",kf,[Bf,Af,e.createElementVNode("div",null,e.toDisplayString((ve=(Xe=o.reportData)==null?void 0:Xe.weather)!=null&&ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((lt=(ot=c.extend)==null?void 0:ot.cp)==null?void 0:lt.dgo)>0?(e.openBlock(),e.createElementBlock("div",wf,[Tf,Of,e.createElementVNode("div",Ff,[Pf,Wf,e.createElementVNode("div",null,e.toDisplayString((nt=(at=o.reportData)==null?void 0:at.weather)!=null&&nt.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Lf,[uf,c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Hf,[e.createElementVNode("div",Mf,[Gf,$f,e.createElementVNode("div",If,[e.createElementVNode("div",null,e.toDisplayString((ht=(pt=o.reportData)==null?void 0:pt.weather)!=null&&ht.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),Rf,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),zf,e.createElementVNode("div",Uf,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.sumFoCons)+" "+e.toDisplayString(c.allWx.inEca.distance>0?` + ${c.fuelConclusion.fo.dgoAsFoCons}`:""),1),Yf,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.time),1)]),Zf,e.createElementVNode("div",Qf,e.toDisplayString(c.fuelConclusion.fo.entireCons)+" (mt)",1),Jf]),e.createElementVNode("div",qf,[Kf,jf,e.createElementVNode("div",Xf,[e.createElementVNode("div",null,e.toDisplayString((Et=(_t=o.reportData)==null?void 0:_t.weather)!=null&&Et.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),vf,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),e0,e.createElementVNode("div",t0,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.fo.overTolerance),1),o0,l0]),a0,e.createElementVNode("div",n0,e.toDisplayString(c.fuelConclusion.fo.maxCons)+" (mt)",1),s0]),e.createElementVNode("div",i0,[d0,c0,e.createElementVNode("div",r0,[e.createElementVNode("div",null,e.toDisplayString((Nt=(yt=o.reportData)==null?void 0:yt.weather)!=null&&Nt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),m0,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),p0,e.createElementVNode("div",h0,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.fo.underTolerance),1),_0,E0]),y0,e.createElementVNode("div",N0,e.toDisplayString(c.fuelConclusion.fo.minCons)+" (mt)",1),V0]),e.createElementVNode("div",null,[c.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.fuelConclusion.fo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?"Fuel Oil Over-consumption":"Fuel Oil Under-consumption"),1),f0,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),g0,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.entireCons:c.fuelConclusion.fo.minCons)+" - "+e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.maxCons:c.fuelConclusion.fo.entireCons),1),D0,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.overCons:c.fuelConclusion.fo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)]),c.allWx.inEca.distance&&c.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("div",b0,[c.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",x0,[C0,S0,e.createElementVNode("div",k0,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.inEca.distance)+" × "+e.toDisplayString(c.fuelConclusion.fo.overCons),1),B0,e.createElementVNode("div",null,e.toDisplayString((ft=(Vt=o.reportData)==null?void 0:Vt.weather)!=null&&ft.noExtrapolation?c.goodWx.distance:c.allWx.distance),1)]),A0,e.createElementVNode("div",w0,e.toDisplayString(c.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",T0,[O0,F0,e.createElementVNode("div",P0,[e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=o.reportData)==null?void 0:gt.weather)!=null&&Dt.noExtrapolation?c.goodWx.inEca.distance:c.allWx.inEca.distance)+" × "+e.toDisplayString(c.fuelConclusion.fo.saving),1),W0,e.createElementVNode("div",null,e.toDisplayString((xt=(bt=o.reportData)==null?void 0:bt.weather)!=null&&xt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1)]),L0,e.createElementVNode("div",u0,e.toDisplayString(c.fuelConclusion.fo.foSavingInEca)+" (mt)",1)]))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.fuelConclusion.fo.conclusionStatus,"fuel",!1)} `)}," Conclusion: "+e.toDisplayString(c.fuelConclusion.fo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",innerHTML:l.noGoodWxDay},null,8,H0))]),e.createElementVNode("div",M0,[((St=(Ct=c.extend)==null?void 0:Ct.cp)==null?void 0:St.dgo)>0?(e.openBlock(),e.createElementBlock("div",G0,[$0,c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",I0,[e.createElementVNode("div",R0,[z0,U0,e.createElementVNode("div",Y0,[e.createElementVNode("div",null,e.toDisplayString((Bt=(kt=o.reportData)==null?void 0:kt.weather)!=null&&Bt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),Z0,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),Q0,e.createElementVNode("div",J0,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.sumDgoCons)+" "+e.toDisplayString(c.allWx.inEca.distance>0?` - ${c.fuelConclusion.fo.dgoAsFoCons}`:""),1),q0,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.time),1)]),K0,e.createElementVNode("div",j0,e.toDisplayString(c.fuelConclusion.dgo.entireCons)+" (mt)",1),X0]),e.createElementVNode("div",v0,[eg,tg,e.createElementVNode("div",og,[e.createElementVNode("div",null,e.toDisplayString((wt=(At=o.reportData)==null?void 0:At.weather)!=null&&wt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),lg,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),ag,e.createElementVNode("div",ng,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.dgo.overTolerance),1),sg,ig]),dg,e.createElementVNode("div",cg,e.toDisplayString(c.fuelConclusion.dgo.maxCons)+" (mt)",1),rg]),e.createElementVNode("div",mg,[pg,hg,e.createElementVNode("div",_g,[e.createElementVNode("div",null,e.toDisplayString((Ot=(Tt=o.reportData)==null?void 0:Tt.weather)!=null&&Ot.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),Eg,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),yg,e.createElementVNode("div",Ng,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.dgo.underTolerance),1),Vg,fg]),gg,e.createElementVNode("div",Dg,e.toDisplayString(c.fuelConclusion.dgo.minCons)+" (mt)",1),bg]),e.createElementVNode("div",null,[c.fuelConclusion.dgo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.fuelConclusion.dgo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?"Diesel/Gas Oil Over-consumption":"Diesel/Gas Oil Under-consumption"),1),xg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),Cg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.entireCons:c.fuelConclusion.dgo.minCons)+" - "+e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.maxCons:c.fuelConclusion.dgo.entireCons),1),Sg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.overCons:c.fuelConclusion.dgo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.fuelConclusion.dgo.conclusionStatus,"fuel",!1)}`)}," Conclusion: "+e.toDisplayString(c.fuelConclusion.dgo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips color-normal",innerHTML:l.noGoodWxDay},null,8,kg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const Ag=ke(PE,[["render",Bg],["__scopeId","data-v-6f2b44b1"]]),Goe="",wg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,s=2){return t==="--"?"--":ie.roundPrecision(t,s)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,s,o){let d="";return s&&(d=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(d=d+" good-weather"),t.excluded===!0&&!o&&(d=d+" excluded"),d}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,s){return s==="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,d,l,a,_,i,E,b,x,y,g,B;this.showCF=((d=(o=this.reportData)==null?void 0:o.weather)==null?void 0:d.showCF)??!1,this.showAisDistance=((a=(l=this.reportData)==null?void 0:l.weather)==null?void 0:a.showAisDistance)??!0,this.showSig=((i=(_=this.reportData)==null?void 0:_.weather)==null?void 0:i.showSig)??!0,this.showSwell=((b=(E=this.reportData)==null?void 0:E.weather)==null?void 0:b.showSwell)??!0,this.showWave=((y=(x=this.reportData)==null?void 0:x.weather)==null?void 0:y.showWave)??!0;let t=[];(B=(g=this.reportData)==null?void 0:g.segments)==null||B.forEach(r=>{let S=r.extend.cp;r.inventory.sample.hours.forEach(C=>{let O=JSON.parse(JSON.stringify(C));O.cp=S,t.push(O)})}),t.sort(function(r,S){let C=r.date,O=S.date;return C-O});let s="";t.forEach(r=>{r.seg!==s&&(r.isFirstSeg=!0,s=r.seg);let S=r.type.charAt(0);r.abbreviation=S,S==="M"?S="*":S==="A"&&(S=""),r.dateTime=S+" "+G(r.utc).utc().format("MM/DD HHmm[Z]"),r.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(r.lng)),r.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(r.lat))}),this.summaryTable=t}}},Be=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),Tg={class:"table",id:"second-table"},Og=Be(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),Fg={class:"subtitle"},Pg={class:"introduce"},Wg={class:"introduce-ship"},Lg={style:{"margin-bottom":"15px"}},ug=Be(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Hg={rowspan:"4"},Mg=Be(()=>e.createElementVNode("td",null,"Entire Period",-1)),Gg=Be(()=>e.createElementVNode("td",null,"Good weather period",-1)),$g=Be(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),Ig=Be(()=>e.createElementVNode("td",null,"Excluded period",-1)),Rg=e.createStaticVNode('<div class="table-legend" data-v-9fe5beca><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Good Weather Days</div><div style="background-color:var(--table-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Adverse Weather Days</div><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Excluded periods from analysis</div><div style="transform:scale(0.85);" data-v-9fe5beca>B : BOSP report   N : NOON report   E : EOSP report   * : Ship reported position</div></div>',1),zg={class:"summary-table"},Ug=Be(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),Yg=Be(()=>e.createElementVNode("th",{rowspan:"3"},"    Date    ",-1)),Zg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),Qg=Be(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),Jg=["colspan"],qg={key:0,colspan:"2"},Kg=Be(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),jg=Be(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),Xg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),vg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),e2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),o2={key:0,rowspan:"2"},l2=Be(()=>e.createElementVNode("br",null,null,-1)),a2={key:1,rowspan:"2"},n2=Be(()=>e.createElementVNode("br",null,null,-1)),s2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),i2={key:2,rowspan:"2"},d2=Be(()=>e.createElementVNode("br",null,null,-1)),c2={key:3,colspan:"2"},r2={key:4,rowspan:"2"},m2=Be(()=>e.createElementVNode("br",null,null,-1)),p2={key:5,colspan:"2"},h2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),_2={key:6,rowspan:"2"},E2={key:7,rowspan:"2"},y2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),N2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),V2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),f2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),g2=Be(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),D2=Be(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),b2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),x2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),C2=Be(()=>e.createElementVNode("th",null,"FO",-1)),S2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),k2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),B2=Be(()=>e.createElementVNode("th",null,"BF",-1)),A2={key:0},w2={key:1},T2={key:2},O2={key:3},F2=Be(()=>e.createElementVNode("th",null,"RPM",-1)),P2=Be(()=>e.createElementVNode("th",null,"Slip%",-1)),W2=Be(()=>e.createElementVNode("th",null,"FO",-1)),L2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),u2=Be(()=>e.createElementVNode("th",null,"FO",-1)),H2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),M2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),G2=Be(()=>e.createElementVNode("th",null,"BF",-1)),$2={class:"summary-tbody"};function I2(t,s,o,d,l,a){var _,i,E,b,x,y,g,B;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(_=o.reportData)==null?void 0:_.weather)!=null&&i.referenceOnly||(b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",Tg,[Og,e.createElementVNode("div",Fg,e.toDisplayString(a.computedTime((x=o.reportData)==null?void 0:x.createdAt)),1),e.createElementVNode("div",Pg,[e.createElementVNode("div",Wg,[e.createElementVNode("span",null,e.toDisplayString((g=(y=o.reportData)==null?void 0:y.vessel)==null?void 0:g.name),1)])]),e.createElementVNode("div",Lg,[e.createElementVNode("table",null,[ug,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((B=o.reportData)==null?void 0:B.segments,(r,S)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:S},[e.createElementVNode("tr",null,[e.createElementVNode("td",Hg,e.toDisplayString(S+1),1),Mg,e.createElementVNode("td",null,e.toDisplayString(r.allWx.distance?a.computeRoundPrecision(r.allWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.time?a.computeRoundPrecision(r.allWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.avgSpd?a.computeRoundPrecision(r.allWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumFoCons?a.computeRoundPrecision(r.allWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumDgoCons?a.computeRoundPrecision(r.allWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Gg,e.createElementVNode("td",null,e.toDisplayString(r.goodWx.distance?a.computeRoundPrecision(r.goodWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.time?a.computeRoundPrecision(r.goodWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.avgSpd?a.computeRoundPrecision(r.goodWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumFoCons?a.computeRoundPrecision(r.goodWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumDgoCons?a.computeRoundPrecision(r.goodWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[$g,e.createElementVNode("td",null,e.toDisplayString(r.badWx.distance?a.computeRoundPrecision(r.badWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.time?a.computeRoundPrecision(r.badWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.avgSpd?a.computeRoundPrecision(r.badWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumFoCons?a.computeRoundPrecision(r.badWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumDgoCons?a.computeRoundPrecision(r.badWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Ig,e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDistance?a.computeRoundPrecision(r.excluded.sumDistance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDuration?a.computeRoundPrecision(r.excluded.sumDuration,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.avgSpd?a.computeRoundPrecision(r.excluded.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumFoCons?a.computeRoundPrecision(r.excluded.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDgoCons?a.computeRoundPrecision(r.excluded.sumDgoCons,3):"0.000"),1)])],64))),128))])])]),Rg,e.createElementVNode("div",null,[e.createElementVNode("table",zg,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ug,Yg,Zg,Qg,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,Jg),o.isAdmin?(e.openBlock(),e.createElementBlock("th",qg,"meteo")):e.createCommentVNode("",!0),Kg,jg]),e.createElementVNode("tr",null,[Xg,vg,e2,t2,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",o2,[e.createTextVNode("Spd"),l2,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",a2,[e.createTextVNode("Dis"),n2,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),s2,l.showWave?(e.openBlock(),e.createElementBlock("th",i2,[e.createTextVNode("Sea HT"),d2,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",c2,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",r2,[e.createTextVNode("Sig Wave"),m2,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",p2,"Current")):e.createCommentVNode("",!0),h2,o.isAdmin?(e.openBlock(),e.createElementBlock("th",_2,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",E2,"wxFactor")):e.createCommentVNode("",!0),y2,N2,V2,f2,g2,D2,b2,x2]),e.createElementVNode("tr",null,[C2,S2,k2,B2,l.showSwell?(e.openBlock(),e.createElementBlock("th",A2,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",w2,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",T2,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",O2,"CF(kts)")):e.createCommentVNode("",!0),F2,P2,W2,L2,u2,H2,M2,G2])]),e.createElementVNode("tbody",$2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,S)=>{var C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q;return e.openBlock(),e.createElementBlock("tr",{key:S},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(C=l.summaryTable[S+1])!=null&&C.isFirstSeg?"td-bottom":"td-no-bottom")},e.toDisplayString(r.isFirstSeg?r.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.dateTime),3),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.noon.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.speed)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.fo)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.dgo)),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.avgSpdCalc)),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.distanceCalc)),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((L=(O=r.meteo)==null?void 0:O.wind)==null?void 0:L.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((T=(w=r.meteo)==null?void 0:w.wind)==null?void 0:T.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((Y=(W=(D=r.meteo)==null?void 0:D.wave)==null?void 0:W.wd)==null?void 0:Y.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((P=(I=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:I.swell)==null?void 0:P.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((M=($=(V=r.meteo)==null?void 0:V.wave)==null?void 0:$.swell)==null?void 0:M.height)??"--")),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((Q=(H=(u=r.meteo)==null?void 0:u.wave)==null?void 0:H.sig)==null?void 0:Q.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((K=(j=r.meteo)==null?void 0:j.current)==null?void 0:K.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((N=r.meteo)==null?void 0:N.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(r.dailyAvgCf),3),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((R=r.meteo)==null?void 0:R.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((q=r.meteo)==null?void 0:q.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.timeSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.distanceSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.rpm,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.slip,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windDir??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windBF??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.seasHt??"--")),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"||r.inEca===!1?"":"Inside ECA"),3)])}),128))])])])])],2)}const R2=ke(wg,[["render",I2],["__scopeId","data-v-9fe5beca"]]),z2={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,s){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(s)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,s){let o=[];return this.isOilBar=!1,t.forEach(d=>{let l;d.type=="line"?l={name:d.name,data:d.data,type:d.type,itemStyle:{color:d.color},showSymbol:d.showSymbol,smooth:d.smooth?d.smooth:!1,lineStyle:{type:d.lineType?d.lineType:"solid",dashOffset:5,type:d.lineType=="dotted"?[5,10]:"solid"}}:d.type=="markline"?l={name:d.name,markLine:{data:d.data},type:"line",barCategoryGap:-1,itemStyle:{color:d.color}}:d.type=="bar"?(this.isOilBar=!0,l={name:d.name,data:d.data,showSymbol:d.showSymbol,step:"start",type:"line",itemStyle:{color:d.color},areaStyle:{}}):l={name:d.name,data:d.data,type:d.type,barCategoryGap:-.2,itemStyle:{color:d.color}},o.push(l)}),s.forEach(d=>{o.push(d)}),o},getMax(t){if(this.isOilBar)return t.max<1?parseFloat(t.max*1.5).toFixed(1):parseFloat(Math.round(t.max)*1.2).toFixed(1)},initData(){if(!this.chart){let d=document.getElementById(this.id);this.chart=e.markRaw(Nl.init(d))}let t=this,s=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(d){return t.getMax(d)}},series:s};this.$nextTick(()=>{this.chart.setOption(o)})}}},U2=["id"];function Y2(t,s,o,d,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,U2)])}const Z2=ke(z2,[["render",Y2]]),Q2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},J2={class:"logo"},q2=[e.createElementVNode("svg",{t:"1681038956775",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3177",width:"30",height:"30"},[e.createElementVNode("path",{d:"M255.95 98.15h31.26v861.41h-31.26z","p-id":"3178"}),e.createElementVNode("path",{d:"M768.055 64.225v34h-512.1v-34zM576.115 230.225v31.89h-320.16v-31.89z","p-id":"3179"})],-1)];function K2(t,s,o,d,l,a){return e.openBlock(),e.createElementBlock("i",J2,q2)}const j2=ke(Q2,[["render",K2]]),Ioe="",X2={components:{ScCharts:Z2,BrabImg:j2},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let s=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(s.push({num:l,id:a}),o=l)});let d=[];return s.forEach((l,a)=>{let _=0;a==s.length-1?_=t.length-l.id:_=s[a+1].id-l.id+1;let i=[];for(let E=0;E<t.length;E++)(E>l.id||E==l.id)&&_>0?(i.push(l.num),_=_-1):i.push("");d.push(i)}),d}},computedCurrent(){return function(t,s){let o=[],d=null,l=0;t.forEach((_,i)=>{_!=d&&this.computedIsNull(_)!==""?(o.push({num:_,id:i}),d=_,l++):this.computedIsNull(_)!==""&&_==d&&(o[l-1].id=i)});let a=[];return o.forEach((_,i)=>{let E=i?o[i-1].id:-1;for(let b=E;b<_.id;b++)a.push(_.num)}),a}},computedTime(){return function(t,s){return s=="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s=="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,s){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),d=this.getLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} ${d}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const s=/.*(?=<)/,o=t.match(s);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let s=ie.EmailHelper.convert2Html(t);return s=s.replace(/<\/br><\/br>+/g,"</br>"),s=s.replace(/(<\/br> <\/br>)+/g,"</br>"),s}else return"-"}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:"-"}}},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,s){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(s=>s.status===1);this.mailList=t},getTableData(){var j,K;let t=[];(K=(j=this.reportData)==null?void 0:j.segments)==null||K.forEach((N,R)=>{let q=N.extend.cp;N.inventory.sample.hours.forEach((n,X)=>{let c=JSON.parse(JSON.stringify(n));c.cp=q,c.fuelConclusion=N.fuelConclusion,c.timeConclusion=N.timeConclusion,t.push(c)})}),t.sort(function(N,R){let q=N.date,n=R.date;return q-n});let s=[],o=[],d=[],l=[],a=[],_=[],i=[],E=[],b=[],x=[],y=[],g=[],B=[],r=[],S=[],C=[],O=[],L=[],w=[],T=[],D=[],W=[],Y=[],Z=[],I=[],P=[!1,!1],V=[],$=[],M=[!1,!1],u=[],H=[];t.forEach((N,R)=>{var n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me;if(s.push(G(N.utc).utc().format("MM/DD HHmm[Z]")),N.goodWx===!0&&N.excluded!==!0?(P.indexOf(!0)==-1&&(N.type==="BOSP"?V.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}):V.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!0),P.indexOf(!0)!=-1&&R==t.length-1&&(V.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,$.push(V),V=[])):P.indexOf(!0)!==-1&&(V.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,$.push(V),V=[]),N.excluded===!0?(M.indexOf(!0)===-1&&(R===0?u.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}):u.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),M[0]=!0),M.indexOf(!0)!=-1&&R===t.length-1&&(u.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}),M[0]=!1,H.push(u),u=[])):M.indexOf(!0)!==-1&&(u.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),M[0]=!1,H.push(u),u=[]),(N==null?void 0:N.type)==="EOSP"&&((n=t[R+1])==null?void 0:n.type)==="BOSP"){let he=[];he.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}),he.push({xAxis:G(t[R+1].utc).utc().format("MM/DD HHmm[Z]")}),H.push(he)}N.type!="A"&&(N.type==="BOSP"&&R===0?l.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),(X=N==null?void 0:N.noon)==null?void 0:X.avgSpd,N==null?void 0:N.type]):l.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((c=N==null?void 0:N.noon)==null?void 0:c.avgSpd)||"-",N==null?void 0:N.type]),w.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((v=N==null?void 0:N.noon)==null?void 0:v.windBF)||"-"]),Y.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((te=N==null?void 0:N.noon)==null?void 0:te.seasHt)||"-"])),E.push((N==null?void 0:N.type)!="A"?this.computedIsNull((oe=N==null?void 0:N.noon)==null?void 0:oe.foCons):""),B.push((N==null?void 0:N.type)!="A"?this.computedIsNull((se=N==null?void 0:N.noon)==null?void 0:se.dgoCons):""),I.push((N==null?void 0:N.type)!="A"?this.computedIsNull(N==null?void 0:N.dailyAvgCf):""),d.push((N==null?void 0:N.cpSpd)??""),a.push(((de=N==null?void 0:N.timeConclusion)==null?void 0:de.minusAbtSpd)??""),i.push(((ce=N==null?void 0:N.cp)==null?void 0:ce.fo)??""),b.push(((ye=(re=N==null?void 0:N.fuelConclusion)==null?void 0:re.fo)==null?void 0:ye.underTolerance)??""),x.push(((_e=(le=N==null?void 0:N.fuelConclusion)==null?void 0:le.fo)==null?void 0:_e.overTolerance)??""),g.push(((Ne=N==null?void 0:N.cp)==null?void 0:Ne.dgo)??""),r.push(((fe=(Ve=N==null?void 0:N.fuelConclusion)==null?void 0:Ve.dgo)==null?void 0:fe.underTolerance)??""),S.push(((De=(ge=N==null?void 0:N.fuelConclusion)==null?void 0:ge.dgo)==null?void 0:De.overTolerance)??""),O.push(((xe=(be=N==null?void 0:N.meteo)==null?void 0:be.wind)==null?void 0:xe.scale)??""),L.push(((Se=(Ce=this.reportData)==null?void 0:Ce.weather)==null?void 0:Se.windScale)??"");let q="";(Fe=(Oe=this.reportData)==null?void 0:Oe.weather)!=null&&Fe.sigSwitch?(q=(me=(F=(Ee=N.meteo)==null?void 0:Ee.wave)==null?void 0:F.sig)!=null&&me.height?(Le=(We=(Pe=N.meteo)==null?void 0:Pe.wave)==null?void 0:We.sig)==null?void 0:Le.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",W.push(this.reportData.weather.sigHeight)):(Ie=(pe=this.reportData)==null?void 0:pe.weather)!=null&&Ie.waveSwitch?(q=(z=(ze=(Re=N.meteo)==null?void 0:Re.wave)==null?void 0:ze.wd)!=null&&z.height?(Ue=(He=(we=N.meteo)==null?void 0:we.wave)==null?void 0:He.wd)==null?void 0:Ue.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",W.push(this.reportData.weather.waveHeight)):(Ze=(Ye=this.reportData)==null?void 0:Ye.weather)!=null&&Ze.swellSwitch&&(q=(h=(Je=(Qe=N.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&h.height?(ue=(Te=(J=N.meteo)==null?void 0:J.wave)==null?void 0:Te.swell)==null?void 0:ue.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",W.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Me=this.waveDetail)==null?void 0:Me.ytitle.replaceAll("(m)",""),D.push(q)}),this.params={xAxis:s,markArea:[{type:"line",markArea:{data:$},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:H},itemStyle:{color:"#d3d3d3"}}]},l.forEach((N,R)=>{N.indexOf("-")!==-1&&R!==l.length-1&&(N[1]=l[R+1][1])}),d=this.computedArray(d),a=this.computedArray(a),i=this.computedArray(i),b=this.computedArray(b),x=this.computedArray(x),g=this.computedArray(g),r=this.computedArray(r),S=this.computedArray(S),E=this.computedCurrent(E),B=this.computedCurrent(B,"dgotype"),I=this.computedCurrent(I),d.forEach((N,R)=>{let q={name:R==0?"CP speed":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};o.push(q)}),a.forEach((N,R)=>{let q={name:R==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};o.push(q)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((N,R)=>{let q={name:R==0?"CP FO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};_.push(q)}),b.forEach((N,R)=>{let q={name:R==0?"CP FO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};_.push(q)}),x.forEach((N,R)=>{let q={name:R==0?"CP FO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};_.push(q)}),_.push({name:"Daily FO",type:"bar",showSymbol:!1,data:E,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),g.forEach((N,R)=>{let q={name:R==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};y.push(q)}),r.forEach((N,R)=>{let q={name:R==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};y.push(q)}),S.forEach((N,R)=>{let q={name:R==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};y.push(q)}),y.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:B,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),C.push({name:"CP Good Weather",type:"line",data:L,color:"#ff8935",showSymbol:!1,smooth:!0}),C.push({name:"Wind BF",type:"line",data:O,color:"#5eb3e0",showSymbol:!1,smooth:!0}),C.push({name:"Ship Report",type:"scatter",data:w,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),T.push({name:"CP Good Weather",type:"line",data:W,color:"#ff8935",showSymbol:!1,smooth:!0});let Q=this.waveDetail.ytitle.replaceAll("(m)","");T.push({name:Q,type:"line",data:D,color:"#5eb3e0",showSymbol:!1,smooth:!0}),T.push({name:"Ship Report",type:"scatter",data:Y,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:I,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=_,this.DGOChartData=y,this.windSpdChartData=C,this.waveChartData=T,this.currentChartData=Z}}},Ge=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),v2={class:"charts"},eD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),tD={class:"subtitle"},oD=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),lD={class:"weather-eChart"},aD={class:"charts page-title"},nD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),sD={class:"subtitle"},iD=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),dD={class:"weather-eChart"},cD={class:"charts page-title"},rD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),mD={class:"subtitle"},pD={class:"message-table"},hD=Ge(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),_D=Ge(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),ED=Ge(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),yD={style:{display:"inline-block",width:"50%"}},ND=Ge(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),VD={style:{display:"inline-block",width:"50%"}},fD={style:{margin:"15px auto","padding-left":"20px"}},gD=["src"],DD={class:"charts-imgLegend"},bD={style:{position:"relative",left:"-20px"}},xD=Ge(()=>e.createElementVNode("div",{style:{position:"relative",display:"inline-block",top:"-12px",left:"15px",transform:"scale(0.95)"}},[e.createElementVNode("div",null,"7"),e.createElementVNode("br"),e.createElementVNode("div",null,"W 4")],-1)),CD=Ge(()=>e.createElementVNode("div",{style:{display:"inline-block",transform:"scale(0.95)","text-align":"left","margin-left":"5px"}},[e.createTextVNode(" LEGEND: "),e.createElementVNode("br"),e.createTextVNode(" Wind from NE(045) "),e.createElementVNode("br"),e.createTextVNode(" Each barb = 10 kts "),e.createElementVNode("br"),e.createTextVNode(" 1/2 barb = 5 kts "),e.createElementVNode("br")],-1)),SD=Ge(()=>e.createElementVNode("div",{style:{transform:"scale(0.95)"}},[e.createTextVNode(" 7 - DAY OF THE MONTH "),e.createElementVNode("br"),e.createTextVNode(" W 4 - PRIMARY WAVE FROM WEST, 4 METERS"),e.createElementVNode("br"),e.createElementVNode("div",{class:"GoodWxBox"},"Date"),e.createTextVNode(" Good weather days"),e.createElementVNode("br")],-1)),kD={key:0,class:"charts page-title"},BD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),AD={class:"subtitle"},wD={class:"message-table"},TD=Ge(()=>e.createElementVNode("td",null,"Vessel Name",-1)),OD=Ge(()=>e.createElementVNode("td",null,"Prepared For",-1)),FD=Ge(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),PD={style:{display:"inline-block",width:"50%"}},WD=Ge(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),LD={style:{display:"inline-block",width:"50%"}},uD={class:"columns"},HD={class:"title"},MD=["innerHTML"],GD={class:"charts",style:{"page-break-before":"always"}},$D=Ge(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),ID={class:"methodology"},RD=e.createStaticVNode('<div class="noun" data-v-4fb04207>1. Good Weather Method</div><div class="explain" data-v-4fb04207> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-4fb04207> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div><div class="noun" data-v-4fb04207>2. Damage assessment due to ship under-performance</div><div class="explain" data-v-4fb04207> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div><div class="noun" data-v-4fb04207>3. Logbooks description vs. Analysis</div><div class="explain" data-v-4fb04207> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div><div class="noun" data-v-4fb04207>4. “About”</div><div class="explain" data-v-4fb04207> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-4fb04207> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5 % tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div><div class="noun" data-v-4fb04207>5. Time Calculation</div><div class="explain" data-v-4fb04207> Time loss or gained is calculated by comparing (a) Total Time at Good weather Performance Speed to (b) and (c) listed below. Time loss calculation (b) applies allowance for &quot;about&quot;, while no allowance in (c) time gained calculation unless otherwise stipulated . <br data-v-4fb04207> The report conclusion only reflects the Time Lost calculation result only. </div>',10),zD={class:"definition"},UD={class:"equation"},YD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),ZD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),QD={style:{width:"50%"},class:"fraction"},JD=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qD=Ge(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),KD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),jD={class:"equation"},XD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),vD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),e3={style:{width:"50%"},class:"fraction"},t3=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),o3=Ge(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),l3=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),a3={class:"equation"},n3=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),s3=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),i3={style:{width:"50%"},class:"fraction"},d3=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),c3=Ge(()=>e.createElementVNode("div",null,"CP Speed",-1)),r3=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),m3=Ge(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),p3=Ge(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),h3=Ge(()=>e.createElementVNode("div",{class:"explain"},[e.createTextVNode(" The following methodology will be applied to analyze bunker consumption when the bunker type is switched over,such as in ECA/SECA zone . "),e.createElementVNode("br"),e.createTextVNode(" 6-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. "),e.createElementVNode("br"),e.createTextVNode(" 6-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. ")],-1)),_3=Ge(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),E3=Ge(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function y3(t,s,o,d,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe;const _=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.referenceOnly||(y=(x=o.reportData)==null?void 0:x.weather)!=null&&y.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",v2,[eD,e.createElementVNode("div",tD,e.toDisplayString(a.computedTime((g=o.reportData)==null?void 0:g.createdAt)),1),oD,e.createElementVNode("div",lD,[e.createVNode(_,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",aD,[nD,e.createElementVNode("div",sD,e.toDisplayString(a.computedTime((B=o.reportData)==null?void 0:B.createdAt)),1),iD,e.createElementVNode("div",dD,[e.createVNode(_,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",cD,[rD,e.createElementVNode("div",mD,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",pD,[e.createElementVNode("tr",null,[hD,e.createElementVNode("td",null,e.toDisplayString((C=(S=o.reportData)==null?void 0:S.vessel)==null?void 0:C.name),1)]),e.createElementVNode("tr",null,[_D,e.createElementVNode("td",null,e.toDisplayString((O=o.reportData)==null?void 0:O.preparedFor),1)]),e.createElementVNode("tr",null,[ED,e.createElementVNode("td",null,[e.createElementVNode("span",yD,e.toDisplayString(((w=(L=o.reportData)==null?void 0:L.departure)==null?void 0:w.portName)||a.computedLngLat((D=(T=o.reportData)==null?void 0:T.departure)==null?void 0:D.lat,(Y=(W=o.reportData)==null?void 0:W.departure)==null?void 0:Y.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((I=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:I.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[ND,e.createElementVNode("td",null,[e.createElementVNode("span",VD,e.toDisplayString(((V=(P=o.reportData)==null?void 0:P.arrival)==null?void 0:V.portName)||a.computedLngLat((M=($=o.reportData)==null?void 0:$.arrival)==null?void 0:M.lat,(H=(u=o.reportData)==null?void 0:u.arrival)==null?void 0:H.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((j=(Q=o.reportData)==null?void 0:Q.arrival)==null?void 0:j.utcTime,"table")),1)])])])]),e.createElementVNode("div",fD,[e.createElementVNode("img",{style:{width:"100%"},src:(K=o.reportData)==null?void 0:K.chartUrl,alt:""},null,8,gD),e.createElementVNode("div",DD,[e.createElementVNode("div",bD,[xD,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),CD]),SD])])]),(R=(N=o.reportData)==null?void 0:N.weather)!=null&&R.showMails?(e.openBlock(),e.createElementBlock("div",kD,[BD,e.createElementVNode("div",AD,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",wD,[e.createElementVNode("tr",null,[TD,e.createElementVNode("td",null,e.toDisplayString((n=(q=o.reportData)==null?void 0:q.vessel)==null?void 0:n.name),1)]),e.createElementVNode("tr",null,[OD,e.createElementVNode("td",null,e.toDisplayString((X=o.reportData)==null?void 0:X.preparedFor),1)]),e.createElementVNode("tr",null,[FD,e.createElementVNode("td",null,[e.createElementVNode("span",PD,e.toDisplayString(((v=(c=o.reportData)==null?void 0:c.departure)==null?void 0:v.portName)||a.computedLngLat((oe=(te=o.reportData)==null?void 0:te.departure)==null?void 0:oe.lat,(de=(se=o.reportData)==null?void 0:se.departure)==null?void 0:de.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((re=(ce=o.reportData)==null?void 0:ce.departure)==null?void 0:re.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[WD,e.createElementVNode("td",null,[e.createElementVNode("span",LD,e.toDisplayString(((le=(ye=o.reportData)==null?void 0:ye.arrival)==null?void 0:le.portName)||a.computedLngLat((Ne=(_e=o.reportData)==null?void 0:_e.arrival)==null?void 0:Ne.lat,(fe=(Ve=o.reportData)==null?void 0:Ve.arrival)==null?void 0:fe.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((De=(ge=o.reportData)==null?void 0:ge.arrival)==null?void 0:De.utcTime,"table")),1)])])])]),e.createElementVNode("div",uD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(Ee,F)=>(e.openBlock(),e.createElementBlock("div",{key:Ee.id,class:e.normalizeClass(F%2===0?"item":"item bg")},[e.createElementVNode("div",HD,"FROM "+e.toDisplayString(a.computeFrom(Ee.from))+" "+e.toDisplayString(a.computeUTCTime(Ee.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((Ee==null?void 0:Ee.body)??"-")},null,8,MD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",GD,[$D,e.createElementVNode("div",ID,[RD,e.createElementVNode("div",zD,[e.createElementVNode("div",UD,[YD,ZD,e.createElementVNode("div",QD,[e.createElementVNode("div",null,e.toDisplayString((xe=(be=o.reportData)==null?void 0:be.weather)!=null&&xe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),JD,qD]),KD]),e.createElementVNode("div",jD,[XD,vD,e.createElementVNode("div",e3,[e.createElementVNode("div",null,e.toDisplayString((Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t3,o3]),l3]),e.createElementVNode("div",a3,[n3,s3,e.createElementVNode("div",i3,[e.createElementVNode("div",null,e.toDisplayString((Fe=(Oe=o.reportData)==null?void 0:Oe.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),d3,c3]),r3]),m3]),p3,h3,_3,E3])])],2)}const N3=ke(X2,[["render",y3],["__scopeId","data-v-4fb04207"]]),Roe="",V3={components:{firstPart:Ag,secondPart:R2,thirdPart:N3},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},f3={class:"voyage-report"};function g3(t,s,o,d,l,a){const _=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),E=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",f3,[e.createVNode(_,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"]),e.createVNode(E,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const gn=ke(V3,[["render",g3],["__scopeId","data-v-61638416"]]),zoe="",D3={components:{Editor:Zo},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var s,o;return(o=(s=this.reportData)==null?void 0:s.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s=="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?G(t).utc().format("MMMM D, HHmm[Z]"):s?G(t).utc().format(s):G(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,s){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),d=this.getLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} ${d}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),d=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),a=this.computedTime(t.arrival.utcTime,"summary"),_=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:o,fullTime1:d,port2:l,time2:a,fullTime2:_}}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return s=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):s=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,s){let o=t.conclusionStatus,d={conclusion:"",className:"",cons:""};return o==="No"?(d.conclusion="Not Available",d.className="",d.cons=""):o==="Over"?(s==="FO"?d.conclusion="FO Over":d.conclusion="DO/GO Over",d.className="error",d.cons=`${t.overCons} mt`):(s==="FO"?d.conclusion="FO Under":d.conclusion="DO/GO Under",d.className="success",d.cons=`${t.saving} mt`),d}},computedUnit(){return function(t,s){return s?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,d="",l=0;return t!=null&&t.waveSwitch?(d+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(d+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(d+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(d+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${o} or less${d}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(t,s,o){let d="";if(t==="No")return d=o?"bg-color-normal":"color-normal",d;switch(s){case"time":t==="Lost"?d="color-fail":d="color-success";break;case"fuel":t==="Over"?d="color-fail":d="color-success";break;case"pfm":t==="Under"?d="color-fail":d="color-success";break}return o&&(d="bg-"+d),d}},computedAbt4Spd(){return function(t){var s,o,d;return(s=t.timeConclusion)!=null&&s.spdPercentage?ie.roundPrecision(t.extend.cp.speed*(((o=t==null?void 0:t.timeConclusion)==null?void 0:o.spdOfAbout)/100),2):(d=t==null?void 0:t.timeConclusion)==null?void 0:d.spdOfAbout}}},watch:{reportData:{handler(t,s){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(s=this.reportData)==null?void 0:s.segments)==null||o.forEach((d,l)=>{let a=d.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let E={begin:G(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:G(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:G(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+G(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(E)}),!t.includes(d.seg)){t.push(d.seg);let i=Object.assign({},d.extend.cp);i.spdOfOver=`+${d.timeConclusion.spdOfOver}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${d.timeConclusion.spdOfUnder}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,i.over=`+${d.fuelConclusion.consOfOver}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,i.under=`-${d.fuelConclusion.consOfUnder}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let _=[];d.extend.segTimes.forEach(i=>{_.push(this.computedSeg(i))}),this.segDetail.push(_),this.goodDays.push(d.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},p=t=>(e.pushScopeId("data-v-037d24da"),t=t(),e.popScopeId(),t),b3=p(()=>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)),x3={class:"fli-main"},C3=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),S3={class:"card basics"},k3={class:"list flex"},B3={class:"item"},A3=p(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),w3={class:"content flex"},T3={class:"item"},O3=p(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),F3={class:"content flex"},P3={class:"item"},W3=p(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),L3={class:"content flex"},u3={class:"list"},H3={class:"item"},M3=p(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),G3={class:"content flex"},$3={class:"content flex"},I3={class:"item"},R3=p(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),z3={class:"content flex"},U3={class:"content flex"},Y3={class:"item"},Z3=p(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Q3={class:"content flexL"},J3=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),q3={class:"clause"},K3={key:0,class:"definition flex"},j3={key:1,class:"definition flex"},X3={class:"item"},v3=p(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),eb={class:"content"},tb={key:0,class:"item"},ob=p(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),lb={class:"content"},ab={key:1,class:"item"},nb=p(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),sb={class:"content"},ib={key:2,class:"item"},db=p(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),cb={class:"content"},rb={key:3,class:"item"},mb=p(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),pb={class:"content"},hb={key:4,class:"item"},_b=[p(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),p(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Eb={key:5,class:"item"},yb=[p(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),p(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Nb={class:"definition flexM"},Vb={class:"table"},fb=p(()=>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)),gb=p(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),Db={class:"summary"},bb={key:0,class:"summary-overall"},xb=p(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),Cb={class:"summary-overall-row"},Sb={class:"card"},kb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),Bb={class:"main-content"},Ab={key:0},wb={key:1},Tb={class:"card"},Ob=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),Fb={class:"main-content"},Pb={key:0},Wb={key:1},Lb={class:"card"},ub=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),Hb={class:"main-content"},Mb={key:0},Gb={key:1},$b={class:"summary-overall-row"},Ib={class:"card"},Rb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),zb={class:"main-content"},Ub={class:"card"},Yb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Zb={class:"main-content"},Qb={class:"card"},Jb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),qb={class:"main-content"},Kb=p(()=>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)),jb={class:"card",style:{flex:"1.5"}},Xb={class:"card-title"},vb=p(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ex={class:"card-segment"},tx={class:"card-segment"},ox={class:"card-segment"},lx=p(()=>e.createElementVNode("div",null,"Applied",-1)),ax={class:"uppercase"},nx={class:"card summary-card",style:{flex:"1"}},sx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),ix={key:0,class:"main-content"},dx={key:0,class:"iconfont success"},cx={key:1,class:"iconfont error"},rx={key:1,class:"main-content"},mx={class:"card-content",style:{"justify-content":"flex-start"}},px={class:"card summary-card",style:{flex:"1"}},hx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),_x={key:0,class:"main-content"},Ex={key:0,class:"iconfont success"},yx={key:1,class:"iconfont error"},Nx={key:1,class:"main-content"},Vx={class:"card-content",style:{"justify-content":"flex-start"}},fx={class:"card summary-card",style:{flex:"1"}},gx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Dx={key:0,class:"main-content"},bx={key:0,class:"iconfont success"},xx={key:1,class:"iconfont error"},Cx={key:1,class:"main-content"},Sx={class:"card-content",style:{"justify-content":"flex-start"}},kx={style:{"page-break-inside":"avoid"}},Bx=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),Ax={class:"remarks"},wx={class:"item"},Tx=p(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),Ox={class:"speed"},Fx={class:"uppercase"},Px={class:"item"},Wx=p(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),Lx={key:0,class:"remark-detail"},ux={key:1,class:"remark-detail"},Hx={class:"page-avoid"},Mx={class:"dashed"},Gx={class:"card phase-title-card",style:{flex:"0.5"}},$x={class:"card-title"},Ix=p(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Rx={class:"card-segment"},zx={class:"card-segment"},Ux={class:"card-segment"},Yx=p(()=>e.createElementVNode("div",null,"Applied",-1)),Zx={class:"uppercase"},Qx=p(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),Jx={class:"phase-analysis"},qx={class:"card phase-card",style:{flex:"1"}},Kx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),jx={class:"main-content"},Xx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),vx={class:"main-content"},eC={class:"card-content"},tC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),oC=p(()=>e.createElementVNode("span",null,"mt",-1)),lC={class:"card-content"},aC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),nC=p(()=>e.createElementVNode("span",null,"mt",-1)),sC={class:"card-content"},iC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),dC=p(()=>e.createElementVNode("span",null,"mt",-1)),cC={class:"card-content"},rC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),mC=p(()=>e.createElementVNode("span",null,"mt",-1)),pC=p(()=>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)),hC={class:"card phase-card",style:{flex:"1"}},_C=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),EC={class:"main-content"},yC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),NC={class:"main-content"},VC={class:"card-content"},fC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),gC=p(()=>e.createElementVNode("span",null,"mt",-1)),DC={class:"card-content"},bC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),xC=p(()=>e.createElementVNode("span",null,"mt",-1)),CC={class:"card-content"},SC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),kC=p(()=>e.createElementVNode("span",null,"mt",-1)),BC={class:"card-content"},AC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),wC=p(()=>e.createElementVNode("span",null,"mt",-1)),TC=p(()=>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)),OC={class:"phase-analysis"},FC={class:"card phase-card",style:{flex:"1"}},PC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),WC={class:"main-content"},LC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),uC={class:"main-content"},HC={class:"card-content"},MC=p(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),GC=p(()=>e.createElementVNode("span",null,"nm",-1)),$C={class:"card-content"},IC=p(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),RC=p(()=>e.createElementVNode("span",null,"nm",-1)),zC={class:"card-content"},UC=p(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),YC=p(()=>e.createElementVNode("span",null,"nm",-1)),ZC={class:"card-content"},QC=p(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),JC=p(()=>e.createElementVNode("span",null,"nm",-1)),qC={class:"card phase-card",style:{flex:"1"}},KC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),jC={class:"main-content"},XC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),vC={class:"main-content"},eS={class:"card-content"},tS=p(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),oS=p(()=>e.createElementVNode("span",null,"hrs",-1)),lS={class:"card-content"},aS=p(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),nS=p(()=>e.createElementVNode("span",null,"hrs",-1)),sS={class:"card-content"},iS=p(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),dS=p(()=>e.createElementVNode("span",null,"hrs",-1)),cS={class:"card-content"},rS=p(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),mS=p(()=>e.createElementVNode("span",null,"hrs",-1)),pS={class:"card phase-card",style:{flex:"1"}},hS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),_S={class:"main-content"},ES=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),yS={class:"main-content"},NS={class:"card-content"},VS=p(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),fS=p(()=>e.createElementVNode("span",null,"kts",-1)),gS={class:"card-content"},DS=p(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),bS=p(()=>e.createElementVNode("span",null,"kts",-1)),xS={class:"card-content"},CS=p(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),SS=p(()=>e.createElementVNode("span",null,"kts",-1)),kS={class:"card-content"},BS=p(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),AS=p(()=>e.createElementVNode("span",null,"kts",-1)),wS={class:"phase-analysis"},TS={class:"card phase-card",style:{flex:"1"}},OS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),FS={class:"main-content"},PS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),WS={class:"main-content"},LS={class:"card-content"},uS=p(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),HS=p(()=>e.createElementVNode("span",null,"mt",-1)),MS={class:"card-content"},GS=p(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),$S=p(()=>e.createElementVNode("span",null,"mt",-1)),IS={class:"card-content"},RS=p(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),zS=p(()=>e.createElementVNode("span",null,"mt",-1)),US={class:"card-content"},YS=p(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),ZS=p(()=>e.createElementVNode("span",null,"mt",-1)),QS={class:"card phase-card",style:{flex:"1"}},JS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),qS={class:"main-content"},KS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),jS={class:"main-content"},XS={class:"card-content"},vS=p(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),ek=p(()=>e.createElementVNode("span",null,"mt",-1)),tk={class:"card-content"},ok=p(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),lk=p(()=>e.createElementVNode("span",null,"mt",-1)),ak={class:"card-content"},nk=p(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),sk=p(()=>e.createElementVNode("span",null,"mt",-1)),ik={class:"card-content"},dk=p(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),ck=p(()=>e.createElementVNode("span",null,"mt",-1)),rk={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},mk=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),pk={class:"main-content"},hk={class:"card-content"},_k=p(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Ek={key:0},yk=p(()=>e.createElementVNode("span",null,"kts",-1)),Nk={key:1},Vk={class:"phase-card"},fk={class:"card",style:{flex:"1"}},gk=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),Dk={key:0,class:"main-content"},bk={key:0,class:"iconfont success"},xk={key:1,class:"iconfont error"},Ck={key:1,class:"main-content"},Sk={class:"nogwd"},kk={class:"card-content",style:{"justify-content":"flex-start"}},Bk={key:0},Ak={class:"equation"},wk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),Tk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ok={style:{width:"8%"}},Fk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Wk={style:{width:"10%"}},Lk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),uk={class:"equation"},Hk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),Mk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Gk={style:{width:"8%"}},$k=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ik=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Rk={style:{width:"10%"}},zk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Uk={class:"equation"},Yk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),Zk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Qk={style:{width:"8%"}},Jk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Kk={style:{width:"10%"}},jk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),Xk={class:"phase-card"},vk={class:"card",style:{flex:"1"}},e4=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),t4={key:0,class:"main-content"},o4={key:0,class:"iconfont success"},l4={key:1,class:"iconfont error"},a4={key:1,class:"main-content"},n4={class:"nogwd"},s4={class:"card-content",style:{"justify-content":"flex-start"}},i4={key:0},d4={class:"equation"},c4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),r4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),m4={style:{width:"8%"}},p4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),_4={style:{width:"120px"}},E4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),y4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),N4={style:{width:"10%"}},V4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),f4={class:"equation"},g4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),D4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),b4={style:{width:"8%"}},x4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),C4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),S4={style:{width:"120px"}},k4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),B4=p(()=>e.createElementVNode("div",null,"24",-1)),A4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),w4={style:{width:"10%"}},T4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),O4={class:"equation"},F4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),P4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),W4={style:{width:"8%"}},L4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),H4={style:{width:"120px"}},M4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),G4=p(()=>e.createElementVNode("div",null,"24",-1)),$4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),I4={style:{width:"10%"}},R4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),z4={key:0,class:"phase-card"},U4={class:"card",style:{flex:"1"}},Y4=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Z4={key:0,class:"main-content"},Q4={key:0,class:"iconfont success"},J4={key:1,class:"iconfont error"},q4={key:1,class:"main-content"},K4={class:"nogwd"},j4={class:"card-content",style:{"justify-content":"flex-start"}},X4={key:0},v4={class:"equation"},eB=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),tB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),oB={style:{width:"8%"}},lB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),nB={style:{width:"120px"}},sB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),iB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),dB={style:{width:"10%"}},cB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),rB={class:"equation"},mB=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),pB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hB={style:{width:"8%"}},_B=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),yB={style:{width:"120px"}},NB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VB=p(()=>e.createElementVNode("div",null,"24",-1)),fB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gB={style:{width:"10%"}},DB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),bB={class:"equation"},xB=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),CB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),SB={style:{width:"8%"}},kB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),AB={style:{width:"120px"}},wB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TB=p(()=>e.createElementVNode("div",null,"24",-1)),OB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),FB={style:{width:"10%"}},PB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),WB=p(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),LB={class:"formular dashed",style:{"page-break-inside":"avoid"}},uB={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},HB=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),MB={class:""},GB={class:"equation"},$B=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),IB=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),RB={style:{width:"50%"},class:"fraction"},zB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UB=p(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),YB=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),ZB={class:"equation"},QB=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),JB=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),qB={style:{width:"50%"},class:"fraction"},KB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jB=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),XB=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),vB={class:"equation"},e5=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),t5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o5={style:{width:"50%"},class:"fraction"},l5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a5=p(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),n5=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),s5=p(()=>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)),i5={class:"flexL formular-item",style:{"margin-left":"20px"}},d5=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),c5={class:""},r5={class:"equation"},m5=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),p5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),h5={style:{width:"25%"},class:"fraction"},_5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),E5=p(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),y5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),N5=p(()=>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)),V5=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),f5={class:"equation"},g5=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),D5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),b5={style:{width:"25%"},class:"fraction"},x5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),C5=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),S5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),k5=p(()=>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)),B5=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),A5={class:"equation"},w5=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),T5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),O5={style:{width:"25%"},class:"fraction"},F5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),P5=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),W5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),L5=p(()=>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)),u5=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),H5=p(()=>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)),M5=p(()=>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 G5(t,s,o,d,l,a){var _,i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(_=o.reportData)==null?void 0:_.weather)!=null&&i.referenceOnly?"watermark":"")},[b3,e.createElementVNode("div",x3,[C3,e.createElementVNode("div",S3,[e.createElementVNode("div",k3,[e.createElementVNode("div",B3,[A3,e.createElementVNode("div",w3,e.toDisplayString((E=o.reportData)==null?void 0:E.preparedFor),1)]),e.createElementVNode("div",T3,[O3,e.createElementVNode("div",F3,e.toDisplayString((x=(b=o.reportData)==null?void 0:b.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",P3,[W3,e.createElementVNode("div",L3,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",u3,[e.createElementVNode("div",H3,[M3,e.createElementVNode("div",G3,e.toDisplayString(((g=(y=o.reportData)==null?void 0:y.departure)==null?void 0:g.portName)||a.computedLngLat((r=(B=o.reportData)==null?void 0:B.departure)==null?void 0:r.lat,(C=(S=o.reportData)==null?void 0:S.departure)==null?void 0:C.lng)),1),e.createElementVNode("div",$3,e.toDisplayString(a.computedTime((L=(O=o.reportData)==null?void 0:O.departure)==null?void 0:L.utcTime,"table")),1)]),e.createElementVNode("div",I3,[R3,e.createElementVNode("div",z3,e.toDisplayString(((T=(w=o.reportData)==null?void 0:w.arrival)==null?void 0:T.portName)||a.computedLngLat((W=(D=o.reportData)==null?void 0:D.arrival)==null?void 0:W.lat,(Z=(Y=o.reportData)==null?void 0:Y.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",U3,e.toDisplayString(a.computedTime((P=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",Y3,[Z3,e.createElementVNode("div",Q3,e.toDisplayString(($=(V=o.reportData)==null?void 0:V.voyage)==null?void 0:$.loadCondition),1)])])]),J3,e.createElementVNode("div",q3,[(u=(M=o.reportData)==null?void 0:M.weather)!=null&&u.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",K3," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",j3,[e.createElementVNode("div",X3,[v3,e.createElementVNode("div",eb,"BF "+e.toDisplayString(((Q=(H=o.reportData)==null?void 0:H.weather)==null?void 0:Q.windScale)||"-"),1)]),(K=(j=o.reportData)==null?void 0:j.weather)!=null&&K.waveSwitch?(e.openBlock(),e.createElementBlock("div",tb,[ob,e.createElementVNode("div",lb,e.toDisplayString(((R=(N=o.reportData)==null?void 0:N.weather)==null?void 0:R.waveHeight)||"-")+" Meter",1)])):(n=(q=o.reportData)==null?void 0:q.weather)!=null&&n.swellSwitch?(e.openBlock(),e.createElementBlock("div",ab,[nb,e.createElementVNode("div",sb,e.toDisplayString(((c=(X=o.reportData)==null?void 0:X.weather)==null?void 0:c.swellHeight)||"-")+" Meter",1)])):(te=(v=o.reportData)==null?void 0:v.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",ib,[db,e.createElementVNode("div",cb,e.toDisplayString(((se=(oe=o.reportData)==null?void 0:oe.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ce=(de=o.reportData)==null?void 0:de.weather)!=null&&ce.waveSwitch||(ye=(re=o.reportData)==null?void 0:re.weather)!=null&&ye.swellHeight||(_e=(le=o.reportData)==null?void 0:le.weather)!=null&&_e.sigSwitch?(e.openBlock(),e.createElementBlock("div",rb,[mb,e.createElementVNode("div",pb,e.toDisplayString((Ve=(Ne=o.reportData)==null?void 0:Ne.weather)==null?void 0:Ve.seaScale),1)])):e.createCommentVNode("",!0),(ge=(fe=o.reportData)==null?void 0:fe.weather)!=null&&ge.noAdverseCur?(e.openBlock(),e.createElementBlock("div",hb,_b)):e.createCommentVNode("",!0),(be=(De=o.reportData)==null?void 0:De.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",Eb,yb)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Nb,[e.createElementVNode("table",Vb,[fb,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(h,J)=>(e.openBlock(),e.createElementBlock("tr",{key:J},[e.createElementVNode("td",null,e.toDisplayString(h==null?void 0:h.type),1),e.createElementVNode("td",null,e.toDisplayString(`${h==null?void 0:h.speed} | ${h==null?void 0:h.spdOfOver} , ${h.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${h==null?void 0:h.fo} | ${h==null?void 0:h.over} , ${h.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${h==null?void 0:h.dgo} | ${h==null?void 0:h.over} , ${h.under}`),1)]))),128))])])])]),gb,e.createElementVNode("div",Db,[((Ce=(xe=o.reportData)==null?void 0:xe.segments)==null?void 0:Ce.length)>1?(e.openBlock(),e.createElementBlock("div",bb,[xb,e.createElementVNode("div",Cb,[e.createElementVNode("div",Sb,[kb,e.createElementVNode("div",Bb,[(Oe=(Se=o.reportData)==null?void 0:Se.goodWx)!=null&&Oe.avgSpd?(e.openBlock(),e.createElementBlock("div",Ab,e.toDisplayString((Ee=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:Ee.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",wb,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Tb,[Ob,e.createElementVNode("div",Fb,[(me=(F=o.reportData)==null?void 0:F.goodWx)!=null&&me.avgSpd?(e.openBlock(),e.createElementBlock("div",Pb,e.toDisplayString((We=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:We.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Wb,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Lb,[ub,e.createElementVNode("div",Hb,[(pe=(Le=o.reportData)==null?void 0:Le.goodWx)!=null&&pe.avgSpd?(e.openBlock(),e.createElementBlock("div",Mb,e.toDisplayString((Re=(Ie=o.reportData)==null?void 0:Ie.goodWx)==null?void 0:Re.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Gb,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",$b,[e.createElementVNode("div",Ib,[Rb,e.createElementVNode("div",zb,e.toDisplayString((z=(ze=o.reportData)==null?void 0:ze.allWx)==null?void 0:z.avgSpd)+" kts ",1)]),e.createElementVNode("div",Ub,[Yb,e.createElementVNode("div",Zb,e.toDisplayString((He=(we=o.reportData)==null?void 0:we.allWx)==null?void 0:He.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",Qb,[Jb,e.createElementVNode("div",qb,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.allWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)])]),Kb])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=o.reportData)==null?void 0:Ze.segments,(h,J)=>{var Te,ue,Me;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:J},[e.createElementVNode("div",jb,[e.createElementVNode("div",Xb,[vb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(J+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[J],(he,Ke)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ke,class:e.normalizeClass(l.segDetail[J].length>1?"dashed":"")},[e.createElementVNode("div",ex,[e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.port1),1),e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.time1),1)]),e.createElementVNode("div",tx,[e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.port2),1),e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.time2),1)])],2))),128)),e.createElementVNode("div",ox,[lx,e.createElementVNode("div",null,[e.createElementVNode("span",ax,e.toDisplayString(h.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",nx,[sx,(Te=h.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",ix,[a.computedTimeConclusion(h.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",dx,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(h.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",cx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",rx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",mx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(h.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).conclusion),1)])]),e.createElementVNode("div",px,[hx,(ue=h.goodWx)!=null&&ue.distance?(e.openBlock(),e.createElementBlock("div",_x,[a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Ex,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",yx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Nx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Vx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",fx,[gx,(Me=h.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",Dx,[a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",bx,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",xx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Cx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Sx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",kx,[Bx,e.createElementVNode("div",Ax,[e.createElementVNode("div",wx,[Tx,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Qe=o.reportData)==null?void 0:Qe.segments,(h,J)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:J},[e.createElementVNode("div",Ox,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${J+1}. Phase ${J+1} Applied `)+" ",1),e.createElementVNode("span",Fx,e.toDisplayString(h.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[J],(Te,ue)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ue},e.toDisplayString(`${Te.port1} (${Te.fullTime1}) to ${Te.port2} (${Te.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Px,[Wx,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",Lx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(h,J)=>(e.openBlock(),e.createElementBlock("div",{key:J},e.toDisplayString(`From ${h.begin} to ${h.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",ux,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(h,J)=>{var Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,$o,Io,Ro,zo,Uo,Yo,Qo,Jo,qo,Ko,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,pl,hl,_l,El,yl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:J},[e.createElementVNode("div",Hx,[e.createElementVNode("div",Mx,[e.createElementVNode("div",Gx,[e.createElementVNode("div",$x,[Ix,e.createElementVNode("span",null,"Phase "+e.toDisplayString(J+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[J],(Wt,fl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+fl,class:e.normalizeClass(l.segDetail[J].length>1?"dashed":"")},[e.createElementVNode("div",Rx,[e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.port1),1),e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.time1),1)]),e.createElementVNode("div",zx,[e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.port2),1),e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.time2),1)])],2))),128)),e.createElementVNode("div",Ux,[Yx,e.createElementVNode("div",null,[e.createElementVNode("span",Zx,e.toDisplayString(h.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.dgo)+"mt",1)])])])]),Qx,e.createElementVNode("div",Jx,[e.createElementVNode("div",qx,[Kx,e.createElementVNode("div",jx,[e.createElementVNode("span",null,e.toDisplayString(((Te=h.goodWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),Xx,e.createElementVNode("div",vx,[e.createElementVNode("span",null,e.toDisplayString(((ue=h.allWx)==null?void 0:ue.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",eC,[tC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Me=h.goodWx)==null?void 0:Me.outEca.avgFoCons)||"-"),1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((he=h.goodWx)==null?void 0:he.inEca.avgFoEcaCons)||"-"),1),nC])]),e.createElementVNode("div",sC,[iC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ke=h.allWx)==null?void 0:Ke.outEca.avgFoCons)||"-"),1),dC])]),e.createElementVNode("div",cC,[rC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Xe=h.allWx)==null?void 0:Xe.inEca.avgFoEcaCons)||"-"),1),mC])]),pC]),e.createElementVNode("div",hC,[_C,e.createElementVNode("div",EC,[e.createElementVNode("span",null,e.toDisplayString(((ve=h.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),yC,e.createElementVNode("div",NC,[e.createElementVNode("span",null,e.toDisplayString(((ot=h.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",VC,[fC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=h.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),gC])]),e.createElementVNode("div",DC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=h.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),xC])]),e.createElementVNode("div",CC,[SC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=h.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),kC])]),e.createElementVNode("div",BC,[AC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=h.allWx)==null?void 0:pt.inEca.avgDgoEcaCons)||"-"),1),wC])]),TC])]),e.createElementVNode("div",OC,[e.createElementVNode("div",FC,[PC,e.createElementVNode("div",WC,[e.createElementVNode("span",null,e.toDisplayString(((ht=h.goodWx)==null?void 0:ht.distance)||"-")+" nm",1)]),LC,e.createElementVNode("div",uC,[e.createElementVNode("span",null,e.toDisplayString(((_t=h.allWx)==null?void 0:_t.distance)||"-")+" nm",1)]),e.createElementVNode("div",HC,[MC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=h.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),GC])]),e.createElementVNode("div",$C,[IC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=h.goodWx)==null?void 0:yt.inEca.distance)||"-"),1),RC])]),e.createElementVNode("div",zC,[UC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=h.allWx)==null?void 0:Nt.outEca.distance)||"-"),1),YC])]),e.createElementVNode("div",ZC,[QC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=h.allWx)==null?void 0:Vt.inEca.distance)||"-"),1),JC])])]),e.createElementVNode("div",qC,[KC,e.createElementVNode("div",jC,[e.createElementVNode("span",null,e.toDisplayString(((ft=h.goodWx)==null?void 0:ft.time)||"-")+" hrs",1)]),XC,e.createElementVNode("div",vC,[e.createElementVNode("span",null,e.toDisplayString(((gt=h.allWx)==null?void 0:gt.time)||"-")+" hrs",1)]),e.createElementVNode("div",eS,[tS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=h.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),oS])]),e.createElementVNode("div",lS,[aS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=h.goodWx)==null?void 0:bt.inEca.time)||"-"),1),nS])]),e.createElementVNode("div",sS,[iS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=h.allWx)==null?void 0:xt.outEca.time)||"-"),1),dS])]),e.createElementVNode("div",cS,[rS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=h.allWx)==null?void 0:Ct.inEca.time)||"-"),1),mS])])]),e.createElementVNode("div",pS,[hS,e.createElementVNode("div",_S,[e.createElementVNode("span",null,e.toDisplayString(((St=h.goodWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),ES,e.createElementVNode("div",yS,[e.createElementVNode("span",null,e.toDisplayString(((kt=h.allWx)==null?void 0:kt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",NS,[VS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=h.goodWx)==null?void 0:Bt.outEca.avgSpd)||"-"),1),fS])]),e.createElementVNode("div",gS,[DS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=h.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),bS])]),e.createElementVNode("div",xS,[CS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=h.allWx)==null?void 0:wt.outEca.avgSpd)||"-"),1),SS])]),e.createElementVNode("div",kS,[BS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=h.allWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),AS])])])]),e.createElementVNode("div",wS,[e.createElementVNode("div",TS,[OS,e.createElementVNode("div",FS,[e.createElementVNode("span",null,e.toDisplayString(((Ot=h.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),PS,e.createElementVNode("div",WS,[e.createElementVNode("span",null,e.toDisplayString(((Ht=h.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",LS,[uS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=h.goodWx)==null?void 0:po.outEca.sumFoCons)||"-"),1),HS])]),e.createElementVNode("div",MS,[GS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=h.goodWx)==null?void 0:yo.inEca.sumFoCons)||"-"),1),$S])]),e.createElementVNode("div",IS,[RS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=h.allWx)==null?void 0:No.outEca.sumFoCons)||"-"),1),zS])]),e.createElementVNode("div",US,[YS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=h.allWx)==null?void 0:Vo.inEca.sumFoCons)||"-"),1),ZS])])]),e.createElementVNode("div",QS,[JS,e.createElementVNode("div",qS,[e.createElementVNode("span",null,e.toDisplayString(((fo=h.goodWx)==null?void 0:fo.sumDgoCons)||"-")+" mt",1)]),KS,e.createElementVNode("div",jS,[e.createElementVNode("span",null,e.toDisplayString(((go=h.allWx)==null?void 0:go.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",XS,[vS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Do=h.goodWx)==null?void 0:Do.outEca.sumDgoCons)||"-"),1),ek])]),e.createElementVNode("div",tk,[ok,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bo=h.goodWx)==null?void 0:bo.inEca.sumDgoCons)||"-"),1),lk])]),e.createElementVNode("div",ak,[nk,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xo=h.allWx)==null?void 0:xo.outEca.sumDgoCons)||"-"),1),sk])]),e.createElementVNode("div",ik,[dk,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((U=h.allWx)==null?void 0:U.inEca.sumDgoCons)||"-"),1),ck])])]),e.createElementVNode("div",rk,[mk,e.createElementVNode("div",pk,[e.createElementVNode("span",null,e.toDisplayString(((tt=h.goodWx)==null?void 0:tt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",hk,[_k,(Ft=h.goodWx)!=null&&Ft.distance&&!((Mt=(Pt=o.reportData)==null?void 0:Pt.weather)!=null&&Mt.favorableCur&&((Gt=h.goodWx)==null?void 0:Gt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",Ek,[e.createTextVNode(e.toDisplayString(a.computedPositive(($t=h.goodWx)==null?void 0:$t.avgCf)),1),yk])):(e.openBlock(),e.createElementBlock("b",Nk,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",Vk,[e.createElementVNode("div",fk,[gk,(It=h.goodWx)!=null&&It.distance?(e.openBlock(),e.createElementBlock("div",Dk,[a.computedTimeConclusion(h.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",bk,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(h.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",xk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Ck,[e.createElementVNode("span",Sk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",kk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(h.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Rt=h.goodWx)!=null&&Rt.distance?"":"analysis-none"} card analysis-card`)},[(zt=h.goodWx)!=null&&zt.distance?(e.openBlock(),e.createElementBlock("div",Bk,[e.createElementVNode("div",Ak,[wk,Tk,e.createElementVNode("div",Ok,[e.createElementVNode("div",null,e.toDisplayString((Yt=(Ut=o.reportData)==null?void 0:Ut.weather)!=null&&Yt.noExtrapolation?(Zt=h.goodWx)==null?void 0:Zt.distance:(Qt=h.allWx)==null?void 0:Qt.distance),1),Fk,e.createElementVNode("div",null,e.toDisplayString((Jt=h.goodWx)==null?void 0:Jt.pfmSpd),1)]),Pk,e.createElementVNode("div",Wk,e.toDisplayString(h.timeConclusion.timeAtPfmSpd)+" Hrs",1),Lk]),e.createElementVNode("div",uk,[Hk,Mk,e.createElementVNode("div",Gk,[e.createElementVNode("div",null,e.toDisplayString((Kt=(qt=o.reportData)==null?void 0:qt.weather)!=null&&Kt.noExtrapolation?(jt=h.goodWx)==null?void 0:jt.distance:(Xt=h.allWx)==null?void 0:Xt.distance),1),$k,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),Ik,e.createElementVNode("div",Rk,e.toDisplayString(h.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),zk]),e.createElementVNode("div",Uk,[Yk,Zk,e.createElementVNode("div",Qk,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=h.goodWx)==null?void 0:to.distance:(oo=h.allWx)==null?void 0:oo.distance),1),Jk,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.plusAbtSpd),1)]),qk,e.createElementVNode("div",Kk,e.toDisplayString(h.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),jk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Xk,[e.createElementVNode("div",vk,[e4,(lo=h.goodWx)!=null&&lo.distance?(e.openBlock(),e.createElementBlock("div",t4,[a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",o4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",l4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",a4,[e.createElementVNode("span",n4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",s4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ao=h.goodWx)!=null&&ao.distance?"":"analysis-none"} card analysis-card`)},[(no=h.goodWx)!=null&&no.distance?(e.openBlock(),e.createElementBlock("div",i4,[e.createElementVNode("div",d4,[c4,r4,e.createElementVNode("div",m4,[e.createElementVNode("div",null,e.toDisplayString((io=(so=o.reportData)==null?void 0:so.weather)!=null&&io.noExtrapolation?(co=h.goodWx)==null?void 0:co.distance:(Co=h.allWx)==null?void 0:Co.distance),1),p4,e.createElementVNode("div",null,e.toDisplayString((So=h.goodWx)==null?void 0:So.pfmSpd),1)]),h4,e.createElementVNode("div",_4,[e.createElementVNode("div",null,e.toDisplayString((ko=h.goodWx)==null?void 0:ko.sumFoCons)+" "+e.toDisplayString(((Bo=h.allWx)==null?void 0:Bo.inEca.distance)>0?` + ${h.fuelConclusion.fo.dgoAsFoCons}`:""),1),E4,e.createElementVNode("div",null,e.toDisplayString((Ao=h.goodWx)==null?void 0:Ao.time),1)]),y4,e.createElementVNode("div",N4,e.toDisplayString(h.fuelConclusion.fo.entireCons)+" MT",1),V4]),e.createElementVNode("div",f4,[g4,D4,e.createElementVNode("div",b4,[e.createElementVNode("div",null,e.toDisplayString((To=(wo=o.reportData)==null?void 0:wo.weather)!=null&&To.noExtrapolation?(Oo=h.goodWx)==null?void 0:Oo.distance:(Fo=h.allWx)==null?void 0:Fo.distance),1),x4,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),C4,e.createElementVNode("div",S4,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.fo.overTolerance),1),k4,B4]),A4,e.createElementVNode("div",w4,e.toDisplayString(h.fuelConclusion.fo.maxCons)+" MT",1),T4]),e.createElementVNode("div",O4,[F4,P4,e.createElementVNode("div",W4,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Po=o.reportData)==null?void 0:Po.weather)!=null&&Wo.noExtrapolation?(Lo=h.goodWx)==null?void 0:Lo.distance:(uo=h.allWx)==null?void 0:uo.distance),1),L4,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),u4,e.createElementVNode("div",H4,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.fo.underTolerance),1),M4,G4]),$4,e.createElementVNode("div",I4,e.toDisplayString(h.fuelConclusion.fo.minCons)+" MT",1),R4])])):e.createCommentVNode("",!0)],2)]),((Mo=(Ho=h==null?void 0:h.extend)==null?void 0:Ho.cp)==null?void 0:Mo.dgo)>0?(e.openBlock(),e.createElementBlock("div",z4,[e.createElementVNode("div",U4,[Y4,(Go=h.goodWx)!=null&&Go.distance?(e.openBlock(),e.createElementBlock("div",Z4,[a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Q4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",J4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",q4,[e.createElementVNode("span",K4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",j4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($o=h.goodWx)!=null&&$o.distance?"":"analysis-none"} card analysis-card`)},[(Io=h.goodWx)!=null&&Io.distance?(e.openBlock(),e.createElementBlock("div",X4,[e.createElementVNode("div",v4,[eB,tB,e.createElementVNode("div",oB,[e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=o.reportData)==null?void 0:Ro.weather)!=null&&zo.noExtrapolation?(Uo=h.goodWx)==null?void 0:Uo.distance:(Yo=h.allWx)==null?void 0:Yo.distance),1),lB,e.createElementVNode("div",null,e.toDisplayString((Qo=h.goodWx)==null?void 0:Qo.pfmSpd),1)]),aB,e.createElementVNode("div",nB,[e.createElementVNode("div",null,e.toDisplayString((Jo=h.goodWx)==null?void 0:Jo.sumDgoCons)+" "+e.toDisplayString(((qo=h.allWx)==null?void 0:qo.inEca.distance)>0?` - ${h.fuelConclusion.fo.dgoAsFoCons}`:""),1),sB,e.createElementVNode("div",null,e.toDisplayString((Ko=h.goodWx)==null?void 0:Ko.time),1)]),iB,e.createElementVNode("div",dB,e.toDisplayString(h.fuelConclusion.dgo.entireCons)+" MT",1),cB]),e.createElementVNode("div",rB,[mB,pB,e.createElementVNode("div",hB,[e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=o.reportData)==null?void 0:jo.weather)!=null&&Xo.noExtrapolation?(vo=h.goodWx)==null?void 0:vo.distance:(el=h.allWx)==null?void 0:el.distance),1),_B,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),EB,e.createElementVNode("div",yB,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.dgo.overTolerance),1),NB,VB]),fB,e.createElementVNode("div",gB,e.toDisplayString(h.fuelConclusion.dgo.maxCons)+" MT",1),DB]),e.createElementVNode("div",bB,[xB,CB,e.createElementVNode("div",SB,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=o.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?(ll=h.goodWx)==null?void 0:ll.distance:(al=h.allWx)==null?void 0:al.distance),1),kB,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),BB,e.createElementVNode("div",AB,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.dgo.underTolerance),1),wB,TB]),OB,e.createElementVNode("div",FB,e.toDisplayString(h.fuelConclusion.dgo.minCons)+" MT",1),PB])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),WB,e.createElementVNode("div",LB,[e.createElementVNode("div",uB,[HB,e.createElementVNode("div",MB,[e.createElementVNode("div",GB,[$B,IB,e.createElementVNode("div",RB,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=o.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),zB,UB]),YB]),e.createElementVNode("div",ZB,[QB,JB,e.createElementVNode("div",qB,[e.createElementVNode("div",null,e.toDisplayString((dl=(il=o.reportData)==null?void 0:il.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),KB,jB]),XB]),e.createElementVNode("div",vB,[e5,t5,e.createElementVNode("div",o5,[e.createElementVNode("div",null,e.toDisplayString((rl=(cl=o.reportData)==null?void 0:cl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l5,a5]),n5]),s5])]),e.createElementVNode("div",i5,[d5,e.createElementVNode("div",c5,[e.createElementVNode("div",r5,[m5,p5,e.createElementVNode("div",h5,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.reportData)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),_5,E5]),y5,N5,V5]),e.createElementVNode("div",f5,[g5,D5,e.createElementVNode("div",b5,[e.createElementVNode("div",null,e.toDisplayString((_l=(hl=o.reportData)==null?void 0:hl.weather)!=null&&_l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),x5,C5]),S5,k5,B5]),e.createElementVNode("div",A5,[w5,T5,e.createElementVNode("div",O5,[e.createElementVNode("div",null,e.toDisplayString((yl=(El=o.reportData)==null?void 0:El.weather)!=null&&yl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),F5,P5]),W5,L5,u5]),H5,M5])])])])])}),128))])],2)}const $5=ke(D3,[["render",G5],["__scopeId","data-v-037d24da"]]),Joe="",I5={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,s,o,d){var _;let l="";const a=((_=this.summaryTable)==null?void 0:_.length)-1;return o&&s!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!d&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!d&&(l=l+" excluded"),l}},computedSegClass(){return function(t,s){var d,l;const o=((d=this.summaryTable)==null?void 0:d.length)-1;if(o>-1){if(t.isFirstSeg&&s!==o)return"td-no-bottom td-top";if((l=this.summaryTable[s+1])!=null&&l.isFirstSeg)return"td-bottom";if(s!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var s;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(s=t.noon)!=null&&s.port)}},computedTime(){return function(t,s){return s==="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var d,l,a,_;this.showCF=(l=(d=this.reportData)==null?void 0:d.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(_=(a=this.reportData)==null?void 0:a.segments)==null||_.forEach((i,E)=>{let b=i.extend.cp;i.inventory.sample.hours.forEach((x,y)=>{let g=JSON.parse(JSON.stringify(x));g.cp=b,t.push(g)})}),t.sort(function(i,E){let b=i.date,x=E.date;return b-x});let s="",o="";t.forEach((i,E)=>{i.seg!==s&&(i.isFirstSeg=!0,s=i.seg);let b=i.type.charAt(0);i.abbreviation=b;const x=G(i.utc).utc().format("D-MMM");x!==o&&(i.lastdate=x,o=x),b==="A"?i.type="":b==="M"&&(i.type="*"),i.time=G(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},cn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),R5=cn(()=>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)),z5={class:"table",id:"second-table"},U5={class:"summary-table"},Y5=cn(()=>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)),Z5={class:"summary-tbody"},Q5=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-a420dc44><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg gwd" data-v-a420dc44></div></div> Good Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg adverse" data-v-a420dc44></div></div> Adverse Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg excluded" data-v-a420dc44></div></div> Excluded Periods </div></div>',1),J5={class:"voyage-map",style:{"page-break-inside":"avoid"}},q5=cn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),K5=["src"],j5=e.createStaticVNode('<div class="legend-block" data-v-a420dc44><div style="position:relative;left:-20px;" data-v-a420dc44><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-a420dc44><div data-v-a420dc44>7</div><br data-v-a420dc44><div data-v-a420dc44>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-a420dc44></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-a420dc44> LEGEND: <br data-v-a420dc44> Wind from NE(045) <br data-v-a420dc44> Each barb = 10 kts <br data-v-a420dc44> 1/2 barb = 5 kts <br data-v-a420dc44></div></div><div style="transform:scale(0.95);" data-v-a420dc44> 7 - DAY OF THE MONTH <br data-v-a420dc44> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-a420dc44><div class="goodWx" data-v-a420dc44>Date</div> Good weather days<br data-v-a420dc44></div></div>',1);function X5(t,s,o,d,l,a){var _,i,E,b,x;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(_=o.reportData)==null?void 0:_.weather)!=null&&i.referenceOnly||(b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[R5,e.createElementVNode("div",z5,[e.createElementVNode("div",null,[e.createElementVNode("table",U5,[Y5,e.createElementVNode("tbody",Z5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(y,g)=>{var B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K;return e.openBlock(),e.createElementBlock("tr",{key:g},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(y,g))},e.toDisplayString(y.isFirstSeg?y.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.time),3),a.computedPort(y)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(y)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString((B=y.noon)==null?void 0:B.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(r=y.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0))},e.toDisplayString(y.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0))},e.toDisplayString(y.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((C=(S=y.meteo)==null?void 0:S.wind)==null?void 0:C.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((w=(L=(O=y.meteo)==null?void 0:O.wave)==null?void 0:L.swell)==null?void 0:w.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((W=(D=(T=y.meteo)==null?void 0:T.wave)==null?void 0:D.swell)==null?void 0:W.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((I=(Z=(Y=y.meteo)==null?void 0:Y.wave)==null?void 0:Z.sig)==null?void 0:I.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((P=y.meteo)==null?void 0:P.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":y.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":((V=y.noon)==null?void 0:V.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":(($=y.noon)==null?void 0:$.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(M=y.cp)==null?void 0:M.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(u=y.cp)==null?void 0:u.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":((H=y.noon)==null?void 0:H.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":((Q=y.noon)==null?void 0:Q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":(j=y.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":(K=y.noon)==null?void 0:K.dgoBrob),3)])}),128))])])])]),Q5,e.createElementVNode("div",J5,[q5,e.createElementVNode("img",{style:{width:"100%"},src:(x=o.reportData)==null?void 0:x.chartUrl,alt:""},null,8,K5),j5])],2)}const v5=ke(I5,[["render",X5],["__scopeId","data-v-a420dc44"]]),qoe="",eA={components:{Summary:$5,Inventory:v5},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},tA={class:"voyage-report"};function oA(t,s,o,d,l,a){const _=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",tA,[e.createVNode(_,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const Dn=ke(eA,[["render",oA],["__scopeId","data-v-7345a543"]]),Koe="",lA={name:"OrmVoyageSummary",components:{Lng:Xa,Lat:va,Editor:Zo},emits:["commit"],props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeWeatherDef(){return function(t){let s="";t!=null&&t.waveSwitch?s+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?s+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(s+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${s}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(o+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(o+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(o="No specific thresholds for wind/wave/currents are defined in the Charter Party.",t.disableWxFactor&&t.disableCFactor?o+=" Both Wx Factor and Current Factor are ignored.":t.disableWxFactor?o+=" Wx Factor is ignored.":t.disableCFactor&&(o+=" Current Factor is ignored."),o+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),o}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,s,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,s){return t.consPercentage?s==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:s==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(t=this.report)==null?void 0:t.segments)==null||s.forEach((o,d)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const _={time:G(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+G(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(_)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-73235698"),t=t(),e.popScopeId(),t),aA={class:"report-summary"},nA={class:"section voyage-section flex-space"},sA={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},iA={class:"flex-space label-block",style:{width:"100%"}},dA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),cA={style:{"text-transform":"uppercase"}},rA={class:"flex-space label-block",style:{width:"100%"}},mA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),pA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},hA={class:"flex-space label-block",style:{width:"100%"}},_A=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),EA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},yA={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},NA={class:"flex-space label-block",style:{width:"100%"}},VA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),fA={key:0,class:"flex-end",style:{flex:"1"}},gA={key:1,class:"flex-end",style:{flex:"1"}},DA=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),bA={class:"flex-end",style:{width:"150px"}},xA={class:"flex-space label-block",style:{width:"100%"}},CA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),SA={key:0,class:"flex-end",style:{flex:"1"}},kA={key:1,class:"flex-end",style:{flex:"1"}},BA=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),AA={class:"flex-end",style:{width:"150px"}},wA={class:"flex-space label-block",style:{width:"100%"}},TA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),OA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},FA={class:"section weather-section"},PA=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),WA={class:"definition"},LA={class:"txt"},uA={class:"section summary-section"},HA=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),MA={class:"phase-box"},GA={class:"phase-index"},$A={class:"phase-position"},IA={key:0},RA={key:1},zA=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),UA={class:"phase-position"},YA={key:0},ZA={key:1},QA=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),JA={class:"phase-cp flex-space"},qA={class:"cp-box"},KA=m(()=>e.createElementVNode("div",{class:"flex-space"},[e.createElementVNode("label",null,"CP"),e.createElementVNode("label",null,"SPEED (kts)"),e.createElementVNode("label",null,"DAILY FO CONS (mt)"),e.createElementVNode("label",null,"DAILY DO/GO CONS (mt)")],-1)),jA={class:"flex-space"},XA=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),vA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),t8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),o8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),l8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),a8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),n8=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),s8={class:"phase-conclusion flex-space"},i8={class:"item-conclusion"},d8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),c8={class:"value flex-start"},r8=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),m8={key:0,class:"label flex-end"},p8={key:0},h8={key:1},_8={key:2},E8={key:1,class:"label flex-end"},y8={key:2,class:"value flex-end"},N8={key:0},V8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),f8={class:"gain"},g8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),D8={key:1},b8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),x8={class:"lost"},C8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),S8={key:2},k8={class:"item-conclusion"},B8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),A8={class:"value flex-start"},w8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),T8={key:0,class:"label flex-end"},O8={key:0},F8={key:1},P8={key:2},W8={key:1,class:"label flex-end"},L8={key:2,class:"value flex-end"},u8={key:0},H8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),M8={class:"gain"},G8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),$8={key:1},I8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),R8={class:"lost"},z8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),U8={key:2},Y8={class:"item-conclusion"},Z8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),Q8={class:"value flex-start"},J8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),q8={key:0,class:"label flex-end"},K8={key:0},j8={key:1},X8={key:2},v8={key:1,class:"label flex-end"},ew={key:2,class:"value flex-end"},tw={key:0},ow=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),lw={class:"gain"},aw=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),nw={key:1},sw=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),iw={class:"lost"},dw=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),cw={key:2},rw=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),mw=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),pw={key:0,class:"exclusion-block"},hw=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),_w=m(()=>e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null," The voyage analysis does not include following information on time, distance, and consumed fuel. ")],-1)),Ew={style:{margin:"8px 0"}},yw={class:"remark-table"},Nw=m(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),Vw=["innerHTML"],fw={class:"section segment-section"},gw=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),Dw={class:"segment-index flex-center"},bw={class:"segment-position"},xw={key:0},Cw={key:1},Sw=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),kw={class:"segment-position"},Bw={key:0},Aw={key:1},ww=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Tw={style:{margin:"10px 0 0"}},Ow=m(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),Fw=m(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),Pw=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Ww={class:"good-wx"},Lw={class:"good-wx"},uw=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Hw={class:"good-wx"},Mw={class:"good-wx"},Gw=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),$w={class:"good-wx"},Iw={class:"good-wx"},Rw=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),zw={class:"good-wx"},Uw={class:"good-wx"},Yw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Zw={class:"good-wx"},Qw={class:"good-wx"},Jw=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),qw={class:"good-wx"},Kw={class:"good-wx"},jw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Xw={class:"good-wx"},vw={class:"good-wx"},e7={key:0,class:"flex-end tip"},t7={key:1,class:"segment-speed"},o7={class:"flex-center"},l7=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),a7={class:"speed-right flex-space"},n7=m(()=>e.createElementVNode("span",null,"-",-1)),s7=m(()=>e.createElementVNode("label",null,"=",-1)),i7={class:"speed"},d7={key:1,class:"speed"},c7={key:0,class:"speed"},r7=m(()=>e.createElementVNode("span",null,"-",-1)),m7=m(()=>e.createElementVNode("label",null,"=",-1)),p7={class:"speed"},h7=m(()=>e.createElementVNode("span",null,"-",-1)),_7=m(()=>e.createElementVNode("label",null,"=",-1)),E7={class:"speed"},y7=m(()=>e.createElementVNode("span",null,"-",-1)),N7=m(()=>e.createElementVNode("span",null,"-",-1)),V7=m(()=>e.createElementVNode("label",null,"=",-1)),f7={class:"speed"},g7={key:2,class:"under"},D7={key:3,class:"over"},b7={class:"flex-center"},x7=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),C7={class:"speed-right formula flex-space"},S7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),k7=m(()=>e.createElementVNode("label",null,"-",-1)),B7=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),A7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),w7=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),T7={key:0},O7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),F7=m(()=>e.createElementVNode("label",null,"-",-1)),P7=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),W7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),L7=m(()=>e.createElementVNode("label",null,"-",-1)),u7=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),H7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),M7=m(()=>e.createElementVNode("label",null,"-",-1)),G7=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),$7=m(()=>e.createElementVNode("label",null,"-",-1)),I7=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),R7={key:2,class:"segment-speed"},z7={class:"flex-center"},U7=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Y7={class:"speed-right flex-space"},Z7=m(()=>e.createElementVNode("span",null,"-",-1)),Q7=m(()=>e.createElementVNode("span",null,"-",-1)),J7=m(()=>e.createElementVNode("label",null,"=",-1)),q7={class:"speed"},K7=m(()=>e.createElementVNode("span",null,"-",-1)),j7=m(()=>e.createElementVNode("label",null,"=",-1)),X7={class:"speed"},v7={key:2,class:"under"},e6={key:3,class:"over"},t6={class:"flex-center"},o6=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),l6={class:"speed-right formula flex-space"},a6=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),n6=m(()=>e.createElementVNode("label",null,"-",-1)),s6=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),i6=m(()=>e.createElementVNode("label",null,"-",-1)),d6=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),c6=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),r6=m(()=>e.createElementVNode("label",null,"-",-1)),m6=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),p6=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),h6=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),_6={class:"segment-formula"},E6={class:"header-block flex-start"},y6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),N6={class:"title"},V6={key:0,style:{"margin-left":"4px","font-weight":"300"}},f6={class:"formula-block"},g6={class:"flex-evenly"},D6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),b6={class:"formula-right flex-evenly"},x6={class:"fraction",style:{width:"240px"}},C6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),S6=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),k6=m(()=>e.createElementVNode("div",null,"(a)",-1)),B6={class:"flex-center"},A6={class:"formula-left flex-space"},w6=m(()=>e.createElementVNode("label",null,"=",-1)),T6={class:"formula-right flex-evenly"},O6={class:"fraction",style:{width:"240px"}},F6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),P6=m(()=>e.createElementVNode("div",null,"(b)",-1)),W6={class:"flex-center"},L6={class:"formula-left flex-space"},u6=m(()=>e.createElementVNode("label",null,"=",-1)),H6={class:"formula-right flex-evenly"},M6={class:"fraction",style:{width:"240px"}},G6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),$6=m(()=>e.createElementVNode("div",null,"(c)",-1)),I6=e.createStaticVNode('<div class="flex-start" data-v-73235698><div class="flex-space" style="width:300px;font-weight:400;" data-v-73235698><label data-v-73235698>Time Lost</label><div data-v-73235698>=</div><div data-v-73235698>(a)</div><div data-v-73235698>-</div><div data-v-73235698>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-73235698><label data-v-73235698>Time Gained</label><div data-v-73235698>=</div><div data-v-73235698>(c)</div><div data-v-73235698>-</div><div data-v-73235698>(a)</div></div></div>',1),R6={class:"formula-desc"},z6={class:"flex-end"},U6=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),Y6={class:"flex-end"},Z6=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),Q6={class:"flex-end"},J6=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),q6={key:0,class:"formula-block",style:{"font-weight":"400"}},K6={class:"flex-evenly"},j6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),X6={class:"formula-right flex-evenly"},v6={class:"fraction",style:{width:"240px"}},e9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),t9=m(()=>e.createElementVNode("div",null,"=",-1)),o9=m(()=>e.createElementVNode("div",null,"(a')",-1)),l9={class:"flex-center"},a9={class:"formula-left flex-space"},n9=m(()=>e.createElementVNode("label",null,"=",-1)),s9={class:"formula-right flex-evenly"},i9={class:"fraction",style:{width:"240px"}},d9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),c9=m(()=>e.createElementVNode("div",null,"=",-1)),r9=m(()=>e.createElementVNode("div",null,"(b')",-1)),m9={class:"flex-center"},p9={class:"formula-left flex-space"},h9=m(()=>e.createElementVNode("label",null,"=",-1)),_9={class:"formula-right flex-evenly"},E9={class:"fraction",style:{width:"240px"}},y9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),N9=m(()=>e.createElementVNode("div",null,"=",-1)),V9=m(()=>e.createElementVNode("div",null,"(c')",-1)),f9={class:"formula-conclusion",style:{"margin-bottom":"0"}},g9={key:0,class:"flex-evenly",style:{width:"500px"}},D9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),b9=m(()=>e.createElementVNode("div",null,"=",-1)),x9=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),C9=m(()=>e.createElementVNode("div",null,"=",-1)),S9=m(()=>e.createElementVNode("div",null,"-",-1)),k9=m(()=>e.createElementVNode("div",null,"=",-1)),B9={key:1,class:"flex-evenly",style:{width:"500px"}},A9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),w9=m(()=>e.createElementVNode("div",null,"=",-1)),T9=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),O9=m(()=>e.createElementVNode("div",null,"=",-1)),F9=m(()=>e.createElementVNode("div",null,"-",-1)),P9=m(()=>e.createElementVNode("div",null,"=",-1)),W9=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),L9={key:1,class:"formula-conclusion"},u9=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),H9={class:"segment-formula"},M9={class:"header-block flex-start"},G9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),$9={class:"title"},I9={key:0,style:{"margin-left":"4px","font-weight":"300"}},R9={class:"formula-block"},z9={class:"flex-evenly"},U9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),Y9={class:"formula-right flex-evenly"},Z9={class:"fraction",style:{width:"240px"}},Q9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),J9=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),q9=m(()=>e.createElementVNode("div",null,"x",-1)),K9=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),j9=m(()=>e.createElementVNode("div",null,"(d)",-1)),X9={style:{"line-height":"1"}},v9=m(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),eT={key:0,class:"tips flex-end",style:{"font-size":"14px"}},tT={class:"flex-center"},oT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),lT={class:"formula-right flex-evenly"},aT={class:"fraction",style:{width:"240px"}},nT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),sT=m(()=>e.createElementVNode("div",null,"x",-1)),iT=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),dT=m(()=>e.createElementVNode("div",null,"(e)",-1)),cT={class:"flex-center"},rT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),mT={class:"formula-right flex-evenly"},pT={class:"fraction",style:{width:"240px"}},hT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),_T=m(()=>e.createElementVNode("div",null,"x",-1)),ET=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),yT=m(()=>e.createElementVNode("div",null,"(f)",-1)),NT=e.createStaticVNode('<div class="flex-start" data-v-73235698><div class="flex-space" style="width:300px;font-weight:400;" data-v-73235698><label data-v-73235698>Fuel Over-consumption</label><div data-v-73235698>=</div><div data-v-73235698>(d)</div><div data-v-73235698>-</div><div data-v-73235698>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-73235698><label data-v-73235698>Fuel Saving</label><div data-v-73235698>=</div><div data-v-73235698>(f)</div><div data-v-73235698>-</div><div data-v-73235698>(d)</div></div></div>',1),VT={class:"flex-center"},fT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),gT={class:"formula-right flex-evenly"},DT={class:"fraction",style:{width:"270px"}},bT=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),xT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),CT={class:"flex-center"},ST=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),kT={class:"formula-right flex-evenly"},BT={class:"fraction",style:{width:"270px"}},AT=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),wT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),TT=m(()=>e.createElementVNode("div",{class:"formula-desc"},[e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Over-consumption"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Saving"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"No Fuel Over-consumption or Saving"),e.createElementVNode("div",null,"Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption")])],-1)),OT={class:"header-block flex-start",style:{"margin-top":"10px"}},FT=m(()=>e.createElementVNode("i",{class:"iconfont"},"  ",-1)),PT={class:"title"},WT={key:0,class:"formula-block"},LT={key:0,class:"flex-evenly"},uT=m(()=>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)),HT={class:"formula-right flex-evenly"},MT={class:"fraction",style:{width:"60px"}},GT=m(()=>e.createElementVNode("div",null,"-",-1)),$T={class:"fraction",style:{width:"60px"}},IT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),RT=m(()=>e.createElementVNode("div",null,"24",-1)),zT=m(()=>e.createElementVNode("div",null,"*",-1)),UT=m(()=>e.createElementVNode("div",null,"=",-1)),YT={class:"flex-evenly"},ZT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),QT={class:"formula-right flex-evenly"},JT={class:"fraction",style:{width:"240px"}},qT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),KT=m(()=>e.createElementVNode("div",null,"x",-1)),jT={class:"fraction",style:{width:"240px"}},XT={key:0},vT=m(()=>e.createElementVNode("span",null," + ",-1)),eO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),tO=m(()=>e.createElementVNode("div",null,"=",-1)),oO=m(()=>e.createElementVNode("div",null,"(d')",-1)),lO={class:"flex-evenly"},aO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nO={class:"formula-right flex-evenly"},sO={class:"fraction",style:{width:"240px"}},iO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),dO=m(()=>e.createElementVNode("div",null,"x",-1)),cO={class:"fraction",style:{width:"240px"}},rO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),mO=m(()=>e.createElementVNode("div",null,"24",-1)),pO=m(()=>e.createElementVNode("div",null,"=",-1)),hO=m(()=>e.createElementVNode("div",null,"(e')",-1)),_O={class:"flex-evenly"},EO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),yO={class:"formula-right flex-evenly"},NO={class:"fraction",style:{width:"240px"}},VO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),fO=m(()=>e.createElementVNode("div",null,"x",-1)),gO={class:"fraction",style:{width:"240px"}},DO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),bO=m(()=>e.createElementVNode("div",null,"24",-1)),xO=m(()=>e.createElementVNode("div",null,"=",-1)),CO=m(()=>e.createElementVNode("div",null,"(f')",-1)),SO={class:"formula-conclusion",style:{"margin-bottom":"0"}},kO={class:"flex-evenly",style:{width:"500px"}},BO=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),AO=m(()=>e.createElementVNode("div",null,"=",-1)),wO=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),TO=m(()=>e.createElementVNode("div",null,"=",-1)),OO=m(()=>e.createElementVNode("div",null,"-",-1)),FO=m(()=>e.createElementVNode("div",null,"=",-1)),PO={key:0,class:"flex-evenly"},WO=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),LO=m(()=>e.createElementVNode("div",null,"=",-1)),uO={class:"fraction"},HO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),MO=m(()=>e.createElementVNode("div",null,"=",-1)),GO={class:"flex-evenly",style:{width:"700px"}},$O=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),IO=m(()=>e.createElementVNode("div",null,"=",-1)),RO=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),zO=m(()=>e.createElementVNode("div",null,"=",-1)),UO=m(()=>e.createElementVNode("div",null,"-",-1)),YO=m(()=>e.createElementVNode("div",null,"=",-1)),ZO={key:0,class:"flex-evenly",style:{width:"500px"}},QO=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),JO=m(()=>e.createElementVNode("div",null,"=",-1)),qO={class:"fraction",style:{width:"140px"}},KO=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),jO=m(()=>e.createElementVNode("div",null,"=",-1)),XO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),vO={key:1,class:"formula-conclusion"},eF={class:"header-block flex-end",style:{"margin-top":"10px"}},tF=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),oF={class:"title"},lF={key:0,class:"formula-block"},aF={class:"flex-evenly"},nF=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),sF={class:"formula-right flex-evenly"},iF={class:"fraction",style:{width:"240px"}},dF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),cF=m(()=>e.createElementVNode("div",null,"x",-1)),rF={class:"fraction",style:{width:"240px"}},mF={key:0},pF=m(()=>e.createElementVNode("span",null," - ",-1)),hF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),_F=m(()=>e.createElementVNode("div",null,"=",-1)),EF=m(()=>e.createElementVNode("div",null,"(d'')",-1)),yF={class:"flex-evenly"},NF=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VF={class:"formula-right flex-evenly"},fF={class:"fraction",style:{width:"240px"}},gF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),DF=m(()=>e.createElementVNode("div",null,"x",-1)),bF={class:"fraction",style:{width:"240px"}},xF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),CF=m(()=>e.createElementVNode("div",null,"24",-1)),SF=m(()=>e.createElementVNode("div",null,"=",-1)),kF=m(()=>e.createElementVNode("div",null,"(e'')",-1)),BF={class:"flex-evenly"},AF=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),wF={class:"formula-right flex-evenly"},TF={class:"fraction",style:{width:"240px"}},OF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),FF=m(()=>e.createElementVNode("div",null,"x",-1)),PF={class:"fraction",style:{width:"240px"}},WF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),LF=m(()=>e.createElementVNode("div",null,"24",-1)),uF=m(()=>e.createElementVNode("div",null,"=",-1)),HF=m(()=>e.createElementVNode("div",null,"(f'')",-1)),MF={class:"formula-conclusion",style:{"margin-bottom":"0"}},GF={key:0,class:"flex-evenly",style:{width:"500px"}},$F=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),IF=m(()=>e.createElementVNode("div",null,"=",-1)),RF=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),zF=m(()=>e.createElementVNode("div",null,"=",-1)),UF=m(()=>e.createElementVNode("div",null,"-",-1)),YF=m(()=>e.createElementVNode("div",null,"=",-1)),ZF={key:1,class:"flex-evenly",style:{width:"700px"}},QF=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),JF=m(()=>e.createElementVNode("div",null,"=",-1)),qF=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),KF=m(()=>e.createElementVNode("div",null,"=",-1)),jF=m(()=>e.createElementVNode("div",null,"-",-1)),XF=m(()=>e.createElementVNode("div",null,"=",-1)),vF=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),eP={key:1,class:"formula-conclusion"};function tP(t,s,o,d,l,a){var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q;const _=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",aA,[e.createElementVNode("div",nA,[e.createElementVNode("div",sA,[e.createElementVNode("div",iA,[dA,e.createElementVNode("span",cA,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",rA,[mA,e.createElementVNode("span",pA,e.toDisplayString((x=(b=o.report)==null?void 0:b.vessel)==null?void 0:x.name)+" ("+e.toDisplayString((g=(y=o.report)==null?void 0:y.vessel)==null?void 0:g.type)+")",1)]),e.createElementVNode("div",hA,[_A,e.createElementVNode("span",EA,e.toDisplayString((r=(B=o.report)==null?void 0:B.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",yA,[e.createElementVNode("div",NA,[VA,(C=(S=o.report)==null?void 0:S.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",fA,e.toDisplayString((L=(O=o.report)==null?void 0:O.departure)==null?void 0:L.portName),1)):(e.openBlock(),e.createElementBlock("div",gA,[e.createVNode(_,{lat:(T=(w=o.report)==null?void 0:w.departure)==null?void 0:T.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),DA,e.createVNode(i,{lng:(D=o.report.departure)==null?void 0:D.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",bA,e.toDisplayString(a.computeUTCTime((W=o.report.departure)==null?void 0:W.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",xA,[CA,(Z=(Y=o.report)==null?void 0:Y.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",SA,e.toDisplayString((P=(I=o.report)==null?void 0:I.arrival)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",kA,[e.createVNode(_,{lat:($=(V=o.report)==null?void 0:V.arrival)==null?void 0:$.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),BA,e.createVNode(i,{lng:(u=(M=o.report)==null?void 0:M.arrival)==null?void 0:u.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",AA,e.toDisplayString(a.computeUTCTime((Q=(H=o.report)==null?void 0:H.arrival)==null?void 0:Q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",wA,[TA,e.createElementVNode("span",OA,e.toDisplayString((K=(j=o.report)==null?void 0:j.voyage)==null?void 0:K.loadCondition),1)])])]),e.createElementVNode("div",FA,[PA,e.createElementVNode("div",WA,[e.createElementVNode("div",LA,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",uA,[HA,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((N=o.report)==null?void 0:N.segments,(n,X)=>{var c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+X},[e.createElementVNode("div",MA,[e.createElementVNode("div",GA,"Seg."+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((c=n==null?void 0:n.extend)==null?void 0:c.segTimes,(J,Te)=>{var ue,Me,he,Ke,Xe,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Te},[e.createElementVNode("div",$A,[(ue=J==null?void 0:J.departure)!=null&&ue.portName?(e.openBlock(),e.createElementBlock("span",IA,e.toDisplayString((Me=J==null?void 0:J.departure)==null?void 0:Me.portName),1)):(e.openBlock(),e.createElementBlock("span",RA,e.toDisplayString(a.computeLat((he=J==null?void 0:J.departure)==null?void 0:he.lat).pretty)+", "+e.toDisplayString(a.computeLng((Ke=J==null?void 0:J.departure)==null?void 0:Ke.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Xe=J==null?void 0:J.departure)==null?void 0:Xe.utcTime))+")",1)]),zA,e.createElementVNode("div",UA,[(ve=J==null?void 0:J.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",YA,e.toDisplayString((ot=J==null?void 0:J.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",ZA,e.toDisplayString(a.computeLat((lt=J==null?void 0:J.arrival)==null?void 0:lt.lat).pretty)+", "+e.toDisplayString(a.computeLng((at=J==null?void 0:J.arrival)==null?void 0:at.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((nt=J==null?void 0:J.arrival)==null?void 0:nt.utcTime))+")",1)])])}),128)),QA,e.createElementVNode("div",JA,[e.createElementVNode("div",qA,[KA,e.createElementVNode("div",jA,[XA,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(v=n==null?void 0:n.extend)==null?void 0:v.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[vA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(se=(oe=n==null?void 0:n.extend)==null?void 0:oe.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[e8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ce=(de=n==null?void 0:n.extend)==null?void 0:de.cp)==null?void 0:ce.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((ye=(re=n==null?void 0:n.extend)==null?void 0:re.cp)==null?void 0:ye.fo)+" |",1),e.createElementVNode("span",null,[t8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[o8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(le=n==null?void 0:n.extend)==null?void 0:le.cp)==null?void 0:_e.dgo)+" |",1),e.createElementVNode("span",null,[l8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[a8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])])])])]),n8,e.createElementVNode("div",s8,[e.createElementVNode("div",i8,[d8,e.createElementVNode("div",c8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.time),1),r8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",m8,[((Ne=n==null?void 0:n.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",p8," Time Gained ")):((Ve=n==null?void 0:n.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",h8," Time Lost ")):(e.openBlock(),e.createElementBlock("div",_8,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",E8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",y8,[((fe=n==null?void 0:n.timeConclusion)==null?void 0:fe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",N8,[V8,e.createElementVNode("span",f8,e.toDisplayString((ge=n==null?void 0:n.timeConclusion)==null?void 0:ge.timeGain),1),g8])):((De=n==null?void 0:n.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",D8,[b8,e.createElementVNode("span",x8,e.toDisplayString((be=n==null?void 0:n.timeConclusion)==null?void 0:be.timeLost),1),C8])):(e.openBlock(),e.createElementBlock("div",S8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",k8,[B8,e.createElementVNode("div",A8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumFoCons),1),w8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",T8,[((Ce=(xe=n==null?void 0:n.fuelConclusion)==null?void 0:xe.fo)==null?void 0:Ce.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",O8," FO Saving ")):((Oe=(Se=n==null?void 0:n.fuelConclusion)==null?void 0:Se.fo)==null?void 0:Oe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",F8," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",P8,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",W8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",L8,[((Ee=(Fe=n==null?void 0:n.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Ee.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",u8,[H8,e.createElementVNode("span",M8,e.toDisplayString((me=(F=n==null?void 0:n.fuelConclusion)==null?void 0:F.fo)==null?void 0:me.saving),1),G8])):((We=(Pe=n==null?void 0:n.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:We.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",$8,[I8,e.createElementVNode("span",R8,e.toDisplayString((pe=(Le=n==null?void 0:n.fuelConclusion)==null?void 0:Le.fo)==null?void 0:pe.overCons),1),z8])):(e.openBlock(),e.createElementBlock("div",U8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y8,[Z8,e.createElementVNode("div",Q8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumDgoCons),1),J8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",q8,[((Re=(Ie=n==null?void 0:n.fuelConclusion)==null?void 0:Ie.dgo)==null?void 0:Re.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",K8," DO/GO Saving ")):((z=(ze=n==null?void 0:n.fuelConclusion)==null?void 0:ze.dgo)==null?void 0:z.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",j8," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",X8,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",v8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ew,[((He=(we=n==null?void 0:n.fuelConclusion)==null?void 0:we.dgo)==null?void 0:He.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",tw,[ow,e.createElementVNode("span",lw,e.toDisplayString((Ye=(Ue=n==null?void 0:n.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:Ye.saving),1),aw])):((Qe=(Ze=n==null?void 0:n.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",nw,[sw,e.createElementVNode("span",iw,e.toDisplayString((h=(Je=n==null?void 0:n.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:h.overCons),1),dw])):(e.openBlock(),e.createElementBlock("div",cw,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),rw]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((R=o.report)==null?void 0:R.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[mw,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",pw,[hw,_w,e.createElementVNode("div",Ew,[e.createElementVNode("table",yw,[Nw,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(n,X)=>(e.openBlock(),e.createElementBlock("tr",{key:X},[e.createElementVNode("td",null,e.toDisplayString(X+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((q=o.report)==null?void 0:q.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:l.remarks,"onUpdate:modelValue":s[0]||(s[0]=n=>l.remarks=n),class:"editor",height:"120px",onBlur:s[1]||(s[1]=n=>a.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...n)=>a.handleEdit&&a.handleEdit(...n)),innerHTML:l.remarks},null,40,Vw))],2)],2),e.createElementVNode("div",fw,[gw,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(n,X)=>{var c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,$o,Io,Ro,zo,Uo,Yo,Qo,Jo,qo,Ko,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,pl,hl,_l,El,yl,Wt,fl,bl,xl,Cl,Sl,kl,Bl,Al,wl,Tl,Ol,Fl,Pl,Wl,Ll,ul,Hl,Ml,Gl,$l,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,ql,Kl,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,Oa,Fa,Pa,Wa,La,ua,Ha,Ma,Ga,$a,Ia,Ra,za,Ua,ae,ro,Ya,Za,Qa,ne,mo,Ja,qa,Ka,rt,ln,an,nn,sn,Lt,$n,In,Rn,zn,Un,Yn,Zn,Qn,Jn,qn,Kn,jn,Xn,vn,es,ts,os,ls,as,ns,ss,is,ds,cs,rs,ms,ps,hs,_s,Es,ys,Ns,Vs,fs,gs,Ds,bs,xs,Cs,Ss,ks,Bs,As,ws,Ts,Os,Fs,Ps,Ws,Ls,us,Hs,Ms,Gs,$s,Is,Rs,zs,Us,Ys,Zs,Qs,Js,qs,Ks,js,Xs,vs,ei,ti,oi,li,ai,ni,si,ii,di,ci,ri,mi,pi,hi,_i,Ei,yi,Ni,Vi,fi,gi,Di,bi,xi,Ci,Si,ki,Bi,Ai,wi,Ti,Oi,Fi,Pi,Wi,Li,ui,Hi;return e.openBlock(),e.createElementBlock("div",{key:X,class:"segment-block"},[e.createElementVNode("div",Dw,"Voyage Analysis Seg. "+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((c=n==null?void 0:n.extend)==null?void 0:c.segTimes,(je,hoe)=>{var Mi,Gi,$i,Ii,Ri,zi,Ui,Yi,Zi,Qi;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:hoe},[e.createElementVNode("div",bw,[(Mi=je==null?void 0:je.departure)!=null&&Mi.portName?(e.openBlock(),e.createElementBlock("span",xw,e.toDisplayString((Gi=je==null?void 0:je.departure)==null?void 0:Gi.portName),1)):(e.openBlock(),e.createElementBlock("span",Cw,e.toDisplayString(a.computeLat(($i=je==null?void 0:je.departure)==null?void 0:$i.lat).pretty)+", "+e.toDisplayString(a.computeLng((Ii=je==null?void 0:je.departure)==null?void 0:Ii.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ri=je==null?void 0:je.departure)==null?void 0:Ri.utcTime))+")",1)]),Sw,e.createElementVNode("div",kw,[(zi=je==null?void 0:je.arrival)!=null&&zi.portName?(e.openBlock(),e.createElementBlock("span",Bw,e.toDisplayString((Ui=je==null?void 0:je.arrival)==null?void 0:Ui.portName),1)):(e.openBlock(),e.createElementBlock("span",Aw,e.toDisplayString(a.computeLat((Yi=je==null?void 0:je.arrival)==null?void 0:Yi.lat).pretty)+", "+e.toDisplayString(a.computeLng((Zi=je==null?void 0:je.arrival)==null?void 0:Zi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Qi=je==null?void 0:je.arrival)==null?void 0:Qi.utcTime))+")",1)])])}),128)),ww,e.createElementVNode("div",Tw,[e.createElementVNode("table",null,[Ow,Fw,e.createElementVNode("tr",null,[Pw,e.createElementVNode("td",Ww,e.toDisplayString((te=(v=n==null?void 0:n.goodWx)==null?void 0:v.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",Lw,e.toDisplayString((se=(oe=n==null?void 0:n.goodWx)==null?void 0:oe.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((ce=(de=n==null?void 0:n.allWx)==null?void 0:de.outEca)==null?void 0:ce.distance),1),e.createElementVNode("td",null,e.toDisplayString((ye=(re=n==null?void 0:n.allWx)==null?void 0:re.inEca)==null?void 0:ye.distance),1)]),e.createElementVNode("tr",null,[uw,e.createElementVNode("td",Hw,e.toDisplayString((_e=(le=n==null?void 0:n.goodWx)==null?void 0:le.outEca)==null?void 0:_e.time),1),e.createElementVNode("td",Mw,e.toDisplayString((Ve=(Ne=n==null?void 0:n.goodWx)==null?void 0:Ne.inEca)==null?void 0:Ve.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(fe=n==null?void 0:n.allWx)==null?void 0:fe.outEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(De=n==null?void 0:n.allWx)==null?void 0:De.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[Gw,e.createElementVNode("td",$w,e.toDisplayString(((Ce=(xe=n==null?void 0:n.goodWx)==null?void 0:xe.outEca)==null?void 0:Ce.avgSpd)||"--"),1),e.createElementVNode("td",Iw,e.toDisplayString(((Oe=(Se=n==null?void 0:n.goodWx)==null?void 0:Se.inEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ee=(Fe=n==null?void 0:n.allWx)==null?void 0:Fe.outEca)==null?void 0:Ee.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((me=(F=n==null?void 0:n.allWx)==null?void 0:F.inEca)==null?void 0:me.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Rw,e.createElementVNode("td",zw,e.toDisplayString(((We=(Pe=n==null?void 0:n.goodWx)==null?void 0:Pe.outEca)==null?void 0:We.sumFoCons)||"--"),1),e.createElementVNode("td",Uw,e.toDisplayString(((pe=(Le=n==null?void 0:n.goodWx)==null?void 0:Le.inEca)==null?void 0:pe.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Re=(Ie=n==null?void 0:n.allWx)==null?void 0:Ie.outEca)==null?void 0:Re.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((z=(ze=n==null?void 0:n.allWx)==null?void 0:ze.inEca)==null?void 0:z.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Yw,e.createElementVNode("td",Zw,e.toDisplayString(((He=(we=n==null?void 0:n.goodWx)==null?void 0:we.outEca)==null?void 0:He.avgFoCons)||"--"),1),e.createElementVNode("td",Qw,e.toDisplayString(((Ye=(Ue=n==null?void 0:n.goodWx)==null?void 0:Ue.inEca)==null?void 0:Ye.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((h=(Je=n==null?void 0:n.allWx)==null?void 0:Je.inEca)==null?void 0:h.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Jw,e.createElementVNode("td",qw,e.toDisplayString(((Te=(J=n==null?void 0:n.goodWx)==null?void 0:J.outEca)==null?void 0:Te.sumDgoCons)||"--"),1),e.createElementVNode("td",Kw,e.toDisplayString(((Me=(ue=n==null?void 0:n.goodWx)==null?void 0:ue.inEca)==null?void 0:Me.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(he=n==null?void 0:n.allWx)==null?void 0:he.outEca)==null?void 0:Ke.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(Xe=n==null?void 0:n.allWx)==null?void 0:Xe.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[jw,e.createElementVNode("td",Xw,e.toDisplayString(((lt=(ot=n==null?void 0:n.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",vw,e.toDisplayString(((nt=(at=n==null?void 0:n.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ht=(pt=n==null?void 0:n.allWx)==null?void 0:pt.outEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=n==null?void 0:n.allWx)==null?void 0:_t.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(yt=l.exclusion[X])!=null&&yt.time?(e.openBlock(),e.createElementBlock("div",e7," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Nt=n==null?void 0:n.goodWx)!=null&&Nt.distance?(e.openBlock(),e.createElementBlock("div",t7,[e.createElementVNode("div",o7,[l7,e.createElementVNode("div",a7,[(ft=(Vt=o.report)==null?void 0:Vt.weather)!=null&&ft.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Tt=(wt=o.report)==null?void 0:wt.weather)!=null&&Tt.disableWxFactor&&((Ht=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Ht.disableCFactor)?(e.openBlock(),e.createElementBlock("span",c7,e.toDisplayString((po=n==null?void 0:n.goodWx)==null?void 0:po.pfmSpd)+" (kts)",1)):(No=(yo=o.report)==null?void 0:yo.weather)!=null&&No.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Vo=n==null?void 0:n.goodWx)==null?void 0:Vo.avgSpd),1),r7,e.createElementVNode("span",null,e.toDisplayString(((fo=n==null?void 0:n.goodWx)==null?void 0:fo.avgCf)>0?(go=n==null?void 0:n.goodWx)==null?void 0:go.avgCf:`(${(Do=n==null?void 0:n.goodWx)==null?void 0:Do.avgCf})`),1),m7,e.createElementVNode("span",p7,e.toDisplayString((bo=n==null?void 0:n.goodWx)==null?void 0:bo.pfmSpd)+" (kts)",1)],64)):(U=(xo=o.report)==null?void 0:xo.weather)!=null&&U.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((tt=n==null?void 0:n.goodWx)==null?void 0:tt.avgSpd),1),h7,e.createElementVNode("span",null,e.toDisplayString(((Ft=n==null?void 0:n.goodWx)==null?void 0:Ft.avgWf)>0?(Pt=n==null?void 0:n.goodWx)==null?void 0:Pt.avgWf:`(${(Mt=n==null?void 0:n.goodWx)==null?void 0:Mt.avgWf})`),1),_7,e.createElementVNode("span",E7,e.toDisplayString((Gt=n==null?void 0:n.goodWx)==null?void 0:Gt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(($t=n==null?void 0:n.goodWx)==null?void 0:$t.avgSpd),1),y7,e.createElementVNode("span",null,e.toDisplayString(((It=n==null?void 0:n.goodWx)==null?void 0:It.avgWf)>0?(Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgWf:`(${(zt=n==null?void 0:n.goodWx)==null?void 0:zt.avgWf})`),1),N7,e.createElementVNode("span",null,e.toDisplayString(((Ut=n==null?void 0:n.goodWx)==null?void 0:Ut.avgCf)>0?(Yt=n==null?void 0:n.goodWx)==null?void 0:Yt.avgCf:`(${(Zt=n==null?void 0:n.goodWx)==null?void 0:Zt.avgCf})`),1),V7,e.createElementVNode("span",f7,e.toDisplayString((Qt=n==null?void 0:n.goodWx)==null?void 0:Qt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Dt=(gt=o.report)==null?void 0:gt.weather)!=null&&Dt.favorableCur&&((bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",d7,e.toDisplayString((At=n==null?void 0:n.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((xt=n==null?void 0:n.goodWx)==null?void 0:xt.avgSpd),1),n7,e.createElementVNode("span",null,e.toDisplayString(((Ct=n==null?void 0:n.goodWx)==null?void 0:Ct.avgCf)>0?(St=n==null?void 0:n.goodWx)==null?void 0:St.avgCf:`(${(kt=n==null?void 0:n.goodWx)==null?void 0:kt.avgCf})`),1),s7,e.createElementVNode("span",i7,e.toDisplayString((Bt=n==null?void 0:n.goodWx)==null?void 0:Bt.pfmSpd)+" (kts)",1)],64))],64)),((Jt=n==null?void 0:n.goodWx)==null?void 0:Jt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",g7,"(Under-performance)")):e.createCommentVNode("",!0),((qt=n==null?void 0:n.goodWx)==null?void 0:qt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",D7,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",b7,[x7,e.createElementVNode("div",C7,[(jt=(Kt=o.report)==null?void 0:Kt.weather)!=null&&jt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(oo=(to=o.report)==null?void 0:to.weather)!=null&&oo.disableWxFactor&&((ao=(lo=o.report)==null?void 0:lo.weather)!=null&&ao.disableCFactor)?(e.openBlock(),e.createElementBlock("label",T7,"GW Average Speed")):(so=(no=o.report)==null?void 0:no.weather)!=null&&so.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[O7,F7,P7],64)):(co=(io=o.report)==null?void 0:io.weather)!=null&&co.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[W7,L7,u7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[H7,M7,G7,$7,I7],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(vt=(Xt=o.report)==null?void 0:Xt.weather)!=null&&vt.favorableCur&&((eo=n==null?void 0:n.goodWx)==null?void 0:eo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[A7,w7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[S7,k7,B7],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",R7,[e.createElementVNode("div",z7,[U7,e.createElementVNode("div",Y7,[(So=(Co=o.report)==null?void 0:Co.weather)!=null&&So.favorableCur&&((ko=n==null?void 0:n.allWx)==null?void 0:ko.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Lo=n==null?void 0:n.allWx)==null?void 0:Lo.avgSpd),1),K7,e.createElementVNode("span",null,e.toDisplayString(((uo=n==null?void 0:n.allWx)==null?void 0:uo.avgWf)>0?(Ho=n==null?void 0:n.allWx)==null?void 0:Ho.avgWf:`(${(Mo=n==null?void 0:n.allWx)==null?void 0:Mo.avgWf})`),1),j7,e.createElementVNode("span",X7,e.toDisplayString((Go=n==null?void 0:n.allWx)==null?void 0:Go.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Bo=n==null?void 0:n.allWx)==null?void 0:Bo.avgSpd),1),Z7,e.createElementVNode("span",null,e.toDisplayString(((Ao=n==null?void 0:n.allWx)==null?void 0:Ao.avgCf)>0?(wo=n==null?void 0:n.allWx)==null?void 0:wo.avgCf:`(${(To=n==null?void 0:n.allWx)==null?void 0:To.avgCf})`),1),Q7,e.createElementVNode("span",null,e.toDisplayString(((Oo=n==null?void 0:n.allWx)==null?void 0:Oo.avgWf)>0?(Fo=n==null?void 0:n.allWx)==null?void 0:Fo.avgWf:`(${(Po=n==null?void 0:n.allWx)==null?void 0:Po.avgWf})`),1),J7,e.createElementVNode("span",q7,e.toDisplayString((Wo=n==null?void 0:n.allWx)==null?void 0:Wo.pfmSpd)+" (kts)",1)],64)),(($o=n==null?void 0:n.allWx)==null?void 0:$o.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",v7,"(Under-performance)")):e.createCommentVNode("",!0),((Io=n==null?void 0:n.allWx)==null?void 0:Io.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",e6,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",t6,[o6,e.createElementVNode("div",l6,[(zo=(Ro=o.report)==null?void 0:Ro.weather)!=null&&zo.favorableCur&&((Uo=n==null?void 0:n.allWx)==null?void 0:Uo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[c6,r6,m6,p6],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a6,n6,s6,i6,d6],64))])])])),h6,e.createElementVNode("div",_6,[e.createElementVNode("div",E6,[y6,e.createElementVNode("div",N6,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Time Analysis",1),(Qo=(Yo=o.report)==null?void 0:Yo.weather)!=null&&Qo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",V6,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",f6,[e.createElementVNode("div",g6,[D6,e.createElementVNode("div",b6,[e.createElementVNode("div",x6,[e.createElementVNode("div",null,e.toDisplayString((qo=(Jo=o.report)==null?void 0:Jo.weather)!=null&&qo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),C6,S6]),k6])]),e.createElementVNode("div",B6,[e.createElementVNode("div",A6,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(jo=(Ko=n==null?void 0:n.extend)==null?void 0:Ko.cp)==null?void 0:jo.speed,"Under"))+"kts)",1),w6]),e.createElementVNode("div",T6,[e.createElementVNode("div",O6,[e.createElementVNode("div",null,e.toDisplayString((vo=(Xo=o.report)==null?void 0:Xo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),F6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(tl=(el=n==null?void 0:n.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Under"))+"kts",1)]),P6])]),e.createElementVNode("div",W6,[e.createElementVNode("div",L6,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ll=(ol=n==null?void 0:n.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Over"))+"kts)",1),u6]),e.createElementVNode("div",H6,[e.createElementVNode("div",M6,[e.createElementVNode("div",null,e.toDisplayString((nl=(al=o.report)==null?void 0:al.weather)!=null&&nl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),G6,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(il=(sl=n==null?void 0:n.extend)==null?void 0:sl.cp)==null?void 0:il.speed,"Over"))+"kts",1)]),$6])]),I6]),e.createElementVNode("div",R6,[e.createElementVNode("div",z6,[U6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(cl=(dl=n==null?void 0:n.extend)==null?void 0:dl.cp)==null?void 0:cl.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Y6,[Z6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ml=(rl=n==null?void 0:n.extend)==null?void 0:rl.cp)==null?void 0:ml.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",Q6,[J6,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(hl=(pl=n==null?void 0:n.extend)==null?void 0:pl.cp)==null?void 0:hl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(El=(_l=n==null?void 0:n.extend)==null?void 0:_l.cp)==null?void 0:El.speed,"Under"))+" kts)",1)])]),(yl=n==null?void 0:n.goodWx)!=null&&yl.distance?(e.openBlock(),e.createElementBlock("div",q6,[e.createElementVNode("div",K6,[j6,e.createElementVNode("div",X6,[e.createElementVNode("div",v6,[e.createElementVNode("div",null,e.toDisplayString((fl=(Wt=o.report)==null?void 0:Wt.weather)!=null&&fl.noExtrapolation?(bl=n==null?void 0:n.goodWx)==null?void 0:bl.distance:(xl=n==null?void 0:n.allWx)==null?void 0:xl.distance),1),e9,e.createElementVNode("div",null,e.toDisplayString((Cl=n==null?void 0:n.goodWx)==null?void 0:Cl.pfmSpd),1)]),t9,e.createElementVNode("div",null,e.toDisplayString((Sl=n==null?void 0:n.timeConclusion)==null?void 0:Sl.timeAtPfmSpd)+" (hrs)",1),o9])]),e.createElementVNode("div",l9,[e.createElementVNode("div",a9,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Bl=(kl=n==null?void 0:n.extend)==null?void 0:kl.cp)==null?void 0:Bl.speed,"Under"))+"kts)",1),n9]),e.createElementVNode("div",s9,[e.createElementVNode("div",i9,[e.createElementVNode("div",null,e.toDisplayString((wl=(Al=o.report)==null?void 0:Al.weather)!=null&&wl.noExtrapolation?(Tl=n==null?void 0:n.goodWx)==null?void 0:Tl.distance:(Ol=n==null?void 0:n.allWx)==null?void 0:Ol.distance),1),d9,e.createElementVNode("div",null,e.toDisplayString((Fl=n==null?void 0:n.timeConclusion)==null?void 0:Fl.minusAbtSpd),1)]),c9,e.createElementVNode("div",null,e.toDisplayString((Pl=n==null?void 0:n.timeConclusion)==null?void 0:Pl.timeAtMinusAbtSpd)+" (hrs)",1),r9])]),e.createElementVNode("div",m9,[e.createElementVNode("div",p9,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ll=(Wl=n==null?void 0:n.extend)==null?void 0:Wl.cp)==null?void 0:Ll.speed,"Over"))+"kts)",1),h9]),e.createElementVNode("div",_9,[e.createElementVNode("div",E9,[e.createElementVNode("div",null,e.toDisplayString((Hl=(ul=o.report)==null?void 0:ul.weather)!=null&&Hl.noExtrapolation?(Ml=n==null?void 0:n.goodWx)==null?void 0:Ml.distance:(Gl=n==null?void 0:n.allWx)==null?void 0:Gl.distance),1),y9,e.createElementVNode("div",null,e.toDisplayString(($l=n==null?void 0:n.timeConclusion)==null?void 0:$l.plusAbtSpd),1)]),N9,e.createElementVNode("div",null,e.toDisplayString((Il=n==null?void 0:n.timeConclusion)==null?void 0:Il.timeAtPlusAbtSpd)+" (hrs)",1),V9])]),e.createElementVNode("div",f9,[((Rl=n==null?void 0:n.timeConclusion)==null?void 0:Rl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",g9,[D9,b9,x9,C9,e.createElementVNode("div",null,e.toDisplayString((zl=n==null?void 0:n.timeConclusion)==null?void 0:zl.timeAtPfmSpd),1),S9,e.createElementVNode("div",null,e.toDisplayString((Ul=n==null?void 0:n.timeConclusion)==null?void 0:Ul.timeAtMinusAbtSpd),1),k9,e.createElementVNode("div",null,e.toDisplayString((Yl=n==null?void 0:n.timeConclusion)==null?void 0:Yl.timeLost)+" (hrs)",1)])):((Zl=n==null?void 0:n.timeConclusion)==null?void 0:Zl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",B9,[A9,w9,T9,O9,e.createElementVNode("div",null,e.toDisplayString((Ql=n==null?void 0:n.timeConclusion)==null?void 0:Ql.timeAtPlusAbtSpd),1),F9,e.createElementVNode("div",null,e.toDisplayString((Jl=n==null?void 0:n.timeConclusion)==null?void 0:Jl.timeAtPfmSpd),1),P9,e.createElementVNode("div",null,e.toDisplayString((ql=n==null?void 0:n.timeConclusion)==null?void 0:ql.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Kl=n==null?void 0:n.timeConclusion)==null?void 0:Kl.conclusionStatus)==="Lost"?"flex-center lost":((jl=n==null?void 0:n.timeConclusion)==null?void 0:jl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[W9,e.createElementVNode("div",null,e.toDisplayString(((Xl=n==null?void 0:n.timeConclusion)==null?void 0:Xl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",L9,e.toDisplayString(l.noGoodWxDay),1))]),u9,e.createElementVNode("div",H9,[e.createElementVNode("div",M9,[G9,e.createElementVNode("div",$9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Consumption Analysis",1),(ea=(vl=o.report)==null?void 0:vl.weather)!=null&&ea.noExtrapolation?(e.openBlock(),e.createElementBlock("span",I9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",R9,[e.createElementVNode("div",z9,[U9,e.createElementVNode("div",Y9,[e.createElementVNode("div",Z9,[e.createElementVNode("div",null,e.toDisplayString((oa=(ta=o.report)==null?void 0:ta.weather)!=null&&oa.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Q9,J9]),q9,K9,j9])]),e.createElementVNode("div",X9,[v9,((aa=(la=n.extend)==null?void 0:la.cp)==null?void 0:aa.dgo)>0?(e.openBlock(),e.createElementBlock("div",eT,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",tT,[oT,e.createElementVNode("div",lT,[e.createElementVNode("div",aT,[e.createElementVNode("div",null,e.toDisplayString((sa=(na=o.report)==null?void 0:na.weather)!=null&&sa.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),nT,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(da=(ia=n==null?void 0:n.extend)==null?void 0:ia.cp)==null?void 0:da.speed,"Under"))+"kts",1)]),sT,iT,dT])]),e.createElementVNode("div",cT,[rT,e.createElementVNode("div",mT,[e.createElementVNode("div",pT,[e.createElementVNode("div",null,e.toDisplayString((ra=(ca=o.report)==null?void 0:ca.weather)!=null&&ra.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),hT,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(pa=(ma=n==null?void 0:n.extend)==null?void 0:ma.cp)==null?void 0:pa.speed,"Under"))+"kts",1)]),_T,ET,yT])]),NT,((_a=(ha=n.extend)==null?void 0:ha.cp)==null?void 0:_a.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",VT,[fT,e.createElementVNode("div",gT,[e.createElementVNode("div",DT,[bT,xT,e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=o.report)==null?void 0:Ea.weather)!=null&&ya.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",CT,[ST,e.createElementVNode("div",kT,[e.createElementVNode("div",BT,[AT,wT,e.createElementVNode("div",null,e.toDisplayString((Va=(Na=o.report)==null?void 0:Na.weather)!=null&&Va.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),TT,e.createElementVNode("div",OT,[FT,e.createElementVNode("div",PT,"Seg. "+e.toDisplayString(X+1)+" Fuel Oil",1)]),(fa=n==null?void 0:n.goodWx)!=null&&fa.distance?(e.openBlock(),e.createElementBlock("div",WT,[((Da=(ga=n==null?void 0:n.goodWx)==null?void 0:ga.inEca)==null?void 0:Da.distance)>0?(e.openBlock(),e.createElementBlock("div",LT,[uT,e.createElementVNode("div",HT,[e.createElementVNode("div",MT,[e.createElementVNode("div",null,e.toDisplayString((xa=(ba=n==null?void 0:n.goodWx)==null?void 0:ba.inEca)==null?void 0:xa.sumDgoCons),1)]),GT,e.createElementVNode("div",$T,[e.createElementVNode("div",null,e.toDisplayString((Sa=(Ca=n==null?void 0:n.extend)==null?void 0:Ca.cp)==null?void 0:Sa.dgo),1),IT,RT]),zT,e.createElementVNode("div",null,e.toDisplayString((Ba=(ka=n==null?void 0:n.goodWx)==null?void 0:ka.inEca)==null?void 0:Ba.time),1),UT,e.createElementVNode("div",null,e.toDisplayString((wa=(Aa=n==null?void 0:n.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:wa.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",YT,[ZT,e.createElementVNode("div",QT,[e.createElementVNode("div",JT,[e.createElementVNode("div",null,e.toDisplayString((Oa=(Ta=o.report)==null?void 0:Ta.weather)!=null&&Oa.noExtrapolation?(Fa=n==null?void 0:n.goodWx)==null?void 0:Fa.distance:(Pa=n==null?void 0:n.allWx)==null?void 0:Pa.distance),1),qT,e.createElementVNode("div",null,e.toDisplayString((Wa=n==null?void 0:n.goodWx)==null?void 0:Wa.pfmSpd),1)]),KT,e.createElementVNode("div",jT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((La=n==null?void 0:n.goodWx)==null?void 0:La.sumFoCons),1),((Ha=(ua=n==null?void 0:n.goodWx)==null?void 0:ua.inEca)==null?void 0:Ha.distance)>0?(e.openBlock(),e.createElementBlock("span",XT,[vT,e.createElementVNode("span",null,e.toDisplayString((Ga=(Ma=n==null?void 0:n.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ga.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),eO,e.createElementVNode("div",null,e.toDisplayString(($a=n==null?void 0:n.goodWx)==null?void 0:$a.time),1)]),tO,e.createElementVNode("div",null,e.toDisplayString((Ra=(Ia=n.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.entireCons)+" (mt)",1),oO])]),e.createElementVNode("div",lO,[aO,e.createElementVNode("div",nO,[e.createElementVNode("div",sO,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=o.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(ae=n==null?void 0:n.goodWx)==null?void 0:ae.distance:(ro=n==null?void 0:n.allWx)==null?void 0:ro.distance),1),iO,e.createElementVNode("div",null,e.toDisplayString((Ya=n==null?void 0:n.timeConclusion)==null?void 0:Ya.minusAbtSpd),1)]),dO,e.createElementVNode("div",cO,[e.createElementVNode("div",null,e.toDisplayString((Qa=(Za=n==null?void 0:n.fuelConclusion)==null?void 0:Za.fo)==null?void 0:Qa.overTolerance),1),rO,mO]),pO,e.createElementVNode("div",null,e.toDisplayString((mo=(ne=n.fuelConclusion)==null?void 0:ne.fo)==null?void 0:mo.maxCons)+" (mt)",1),hO])]),e.createElementVNode("div",_O,[EO,e.createElementVNode("div",yO,[e.createElementVNode("div",NO,[e.createElementVNode("div",null,e.toDisplayString((qa=(Ja=o.report)==null?void 0:Ja.weather)!=null&&qa.noExtrapolation?(Ka=n==null?void 0:n.goodWx)==null?void 0:Ka.distance:(rt=n==null?void 0:n.allWx)==null?void 0:rt.distance),1),VO,e.createElementVNode("div",null,e.toDisplayString((ln=n==null?void 0:n.timeConclusion)==null?void 0:ln.minusAbtSpd),1)]),fO,e.createElementVNode("div",gO,[e.createElementVNode("div",null,e.toDisplayString((nn=(an=n==null?void 0:n.fuelConclusion)==null?void 0:an.fo)==null?void 0:nn.underTolerance),1),DO,bO]),xO,e.createElementVNode("div",null,e.toDisplayString((Lt=(sn=n.fuelConclusion)==null?void 0:sn.fo)==null?void 0:Lt.minCons)+" (mt)",1),CO])]),e.createElementVNode("div",SO,[((In=($n=n==null?void 0:n.fuelConclusion)==null?void 0:$n.fo)==null?void 0:In.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",kO,[BO,AO,wO,TO,e.createElementVNode("div",null,e.toDisplayString((zn=(Rn=n==null?void 0:n.fuelConclusion)==null?void 0:Rn.fo)==null?void 0:zn.entireCons),1),OO,e.createElementVNode("div",null,e.toDisplayString((Yn=(Un=n==null?void 0:n.fuelConclusion)==null?void 0:Un.fo)==null?void 0:Yn.maxCons),1),FO,e.createElementVNode("div",null,e.toDisplayString((Qn=(Zn=n==null?void 0:n.fuelConclusion)==null?void 0:Zn.fo)==null?void 0:Qn.overCons),1)]),(qn=(Jn=n==null?void 0:n.goodWx)==null?void 0:Jn.inEca)!=null&&qn.distance?(e.openBlock(),e.createElementBlock("div",PO,[WO,LO,e.createElementVNode("div",uO,[e.createElementVNode("div",null,e.toDisplayString((jn=(Kn=n==null?void 0:n.goodWx)==null?void 0:Kn.inEca)==null?void 0:jn.distance)+" * "+e.toDisplayString((vn=(Xn=n==null?void 0:n.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:vn.overCons),1),HO,e.createElementVNode("div",null,e.toDisplayString((ts=(es=o.report)==null?void 0:es.weather)!=null&&ts.noExtrapolation?(os=n==null?void 0:n.goodWx)==null?void 0:os.distance:(ls=n==null?void 0:n.allWx)==null?void 0:ls.distance),1)]),MO,e.createElementVNode("div",null,e.toDisplayString((ns=(as=n==null?void 0:n.fuelConclusion)==null?void 0:as.fo)==null?void 0:ns.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((is=(ss=n==null?void 0:n.fuelConclusion)==null?void 0:ss.fo)==null?void 0:is.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",GO,[$O,IO,RO,zO,e.createElementVNode("div",null,e.toDisplayString((cs=(ds=n==null?void 0:n.fuelConclusion)==null?void 0:ds.fo)==null?void 0:cs.minCons),1),UO,e.createElementVNode("div",null,e.toDisplayString((ms=(rs=n==null?void 0:n.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.entireCons),1),YO,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=n==null?void 0:n.fuelConclusion)==null?void 0:ps.fo)==null?void 0:hs.saving)+" (mt)",1)]),(Es=(_s=n==null?void 0:n.goodWx)==null?void 0:_s.inEca)!=null&&Es.distance?(e.openBlock(),e.createElementBlock("div",ZO,[QO,JO,e.createElementVNode("div",qO,[e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=o.report)==null?void 0:ys.weather)!=null&&Ns.noExtrapolation?(fs=(Vs=n==null?void 0:n.goodWx)==null?void 0:Vs.inEca)==null?void 0:fs.distance:(Ds=(gs=n==null?void 0:n.allWx)==null?void 0:gs.inEca)==null?void 0:Ds.distance)+" * "+e.toDisplayString((xs=(bs=n==null?void 0:n.fuelConclusion)==null?void 0:bs.fo)==null?void 0:xs.saving),1),KO,e.createElementVNode("div",null,e.toDisplayString((Ss=(Cs=o.report)==null?void 0:Cs.weather)!=null&&Ss.noExtrapolation?(ks=n==null?void 0:n.goodWx)==null?void 0:ks.distance:(Bs=n==null?void 0:n.allWx)==null?void 0:Bs.distance),1)]),jO,e.createElementVNode("div",null,e.toDisplayString((ws=(As=n==null?void 0:n.fuelConclusion)==null?void 0:As.fo)==null?void 0:ws.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Os=(Ts=n==null?void 0:n.fuelConclusion)==null?void 0:Ts.fo)==null?void 0:Os.conclusionStatus)==="Over"?"flex-center lost":((Ps=(Fs=n==null?void 0:n.fuelConclusion)==null?void 0:Fs.fo)==null?void 0:Ps.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[XO,e.createElementVNode("div",null,e.toDisplayString(((Ls=(Ws=n==null?void 0:n.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:Ls.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",vO,e.toDisplayString(l.noGoodWxDay),1)),((Hs=(us=n==null?void 0:n.extend)==null?void 0:us.cp)==null?void 0:Hs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",eF,[tF,e.createElementVNode("div",oF,"Seg. "+e.toDisplayString(X+1)+" Diesel/Gas Oil ",1)]),(Ms=n==null?void 0:n.goodWx)!=null&&Ms.distance?(e.openBlock(),e.createElementBlock("div",lF,[e.createElementVNode("div",aF,[nF,e.createElementVNode("div",sF,[e.createElementVNode("div",iF,[e.createElementVNode("div",null,e.toDisplayString(($s=(Gs=o.report)==null?void 0:Gs.weather)!=null&&$s.noExtrapolation?(Is=n==null?void 0:n.goodWx)==null?void 0:Is.distance:(Rs=n==null?void 0:n.allWx)==null?void 0:Rs.distance),1),dF,e.createElementVNode("div",null,e.toDisplayString((zs=n==null?void 0:n.goodWx)==null?void 0:zs.pfmSpd),1)]),cF,e.createElementVNode("div",rF,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Us=n==null?void 0:n.goodWx)==null?void 0:Us.sumDgoCons),1),((Zs=(Ys=n==null?void 0:n.goodWx)==null?void 0:Ys.inEca)==null?void 0:Zs.distance)>0?(e.openBlock(),e.createElementBlock("span",mF,[pF,e.createElementVNode("span",null,e.toDisplayString((Js=(Qs=n==null?void 0:n.fuelConclusion)==null?void 0:Qs.fo)==null?void 0:Js.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),hF,e.createElementVNode("div",null,e.toDisplayString((qs=n==null?void 0:n.goodWx)==null?void 0:qs.time),1)]),_F,e.createElementVNode("div",null,e.toDisplayString((js=(Ks=n.fuelConclusion)==null?void 0:Ks.dgo)==null?void 0:js.entireCons)+" (mt)",1),EF])]),e.createElementVNode("div",yF,[NF,e.createElementVNode("div",VF,[e.createElementVNode("div",fF,[e.createElementVNode("div",null,e.toDisplayString((vs=(Xs=o.report)==null?void 0:Xs.weather)!=null&&vs.noExtrapolation?(ei=n==null?void 0:n.goodWx)==null?void 0:ei.distance:(ti=n==null?void 0:n.allWx)==null?void 0:ti.distance),1),gF,e.createElementVNode("div",null,e.toDisplayString((oi=n==null?void 0:n.timeConclusion)==null?void 0:oi.minusAbtSpd),1)]),DF,e.createElementVNode("div",bF,[e.createElementVNode("div",null,e.toDisplayString((ai=(li=n==null?void 0:n.fuelConclusion)==null?void 0:li.dgo)==null?void 0:ai.overTolerance),1),xF,CF]),SF,e.createElementVNode("div",null,e.toDisplayString((si=(ni=n.fuelConclusion)==null?void 0:ni.dgo)==null?void 0:si.maxCons)+" (mt)",1),kF])]),e.createElementVNode("div",BF,[AF,e.createElementVNode("div",wF,[e.createElementVNode("div",TF,[e.createElementVNode("div",null,e.toDisplayString((di=(ii=o.report)==null?void 0:ii.weather)!=null&&di.noExtrapolation?(ci=n==null?void 0:n.goodWx)==null?void 0:ci.distance:(ri=n==null?void 0:n.allWx)==null?void 0:ri.distance),1),OF,e.createElementVNode("div",null,e.toDisplayString((mi=n==null?void 0:n.timeConclusion)==null?void 0:mi.minusAbtSpd),1)]),FF,e.createElementVNode("div",PF,[e.createElementVNode("div",null,e.toDisplayString((hi=(pi=n==null?void 0:n.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:hi.underTolerance),1),WF,LF]),uF,e.createElementVNode("div",null,e.toDisplayString((Ei=(_i=n.fuelConclusion)==null?void 0:_i.dgo)==null?void 0:Ei.minCons)+" (mt)",1),HF])]),e.createElementVNode("div",MF,[((Ni=(yi=n==null?void 0:n.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ni.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",GF,[$F,IF,RF,zF,e.createElementVNode("div",null,e.toDisplayString((fi=(Vi=n==null?void 0:n.fuelConclusion)==null?void 0:Vi.dgo)==null?void 0:fi.entireCons),1),UF,e.createElementVNode("div",null,e.toDisplayString((Di=(gi=n==null?void 0:n.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:Di.maxCons),1),YF,e.createElementVNode("div",null,e.toDisplayString((xi=(bi=n==null?void 0:n.fuelConclusion)==null?void 0:bi.dgo)==null?void 0:xi.overCons),1)])):((Si=(Ci=n==null?void 0:n.fuelConclusion)==null?void 0:Ci.fo)==null?void 0:Si.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ZF,[QF,JF,qF,KF,e.createElementVNode("div",null,e.toDisplayString((Bi=(ki=n==null?void 0:n.fuelConclusion)==null?void 0:ki.dgo)==null?void 0:Bi.minCons),1),jF,e.createElementVNode("div",null,e.toDisplayString((wi=(Ai=n==null?void 0:n.fuelConclusion)==null?void 0:Ai.dgo)==null?void 0:wi.entireCons),1),XF,e.createElementVNode("div",null,e.toDisplayString((Oi=(Ti=n==null?void 0:n.fuelConclusion)==null?void 0:Ti.dgo)==null?void 0:Oi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Pi=(Fi=n==null?void 0:n.fuelConclusion)==null?void 0:Fi.dgo)==null?void 0:Pi.conclusionStatus)==="Over"?"flex-center lost":((Li=(Wi=n==null?void 0:n.fuelConclusion)==null?void 0:Wi.dgo)==null?void 0:Li.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[vF,e.createElementVNode("div",null,e.toDisplayString(((Hi=(ui=n==null?void 0:n.fuelConclusion)==null?void 0:ui.dgo)==null?void 0:Hi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",eP,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const oP=ke(lA,[["render",tP],["__scopeId","data-v-73235698"]]),joe="",lP={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const s=[];return s.push(t.noonLength?"no-border-bottom":"no-border"),s.push(t.excluded?"excluded":t.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,s=2,o="0.0"){return t?ie.roundPrecision(t,s):o}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s,o,d,l,a,_,i,E,b,x,y;this.showCF=((s=(t=this.report)==null?void 0:t.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((d=(o=this.report)==null?void 0:o.weather)==null?void 0:d.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(_=this.report)==null?void 0:_.weather)==null?void 0:i.showSwell)??!0,this.showWave=((b=(E=this.report)==null?void 0:E.weather)==null?void 0:b.showWave)??!0,this.showWaterTemp=((y=(x=this.report)==null?void 0:x.weather)==null?void 0:y.waterTempSwitch)||!1}}},Ae=t=>(e.pushScopeId("data-v-beebd9b9"),t=t(),e.popScopeId(),t),aP={class:"report-inventory"},nP={class:"section summary-section"},sP=Ae(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),iP={class:"summary-block"},dP=Ae(()=>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)),cP={class:"label",rowspan:"4"},rP=Ae(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),mP=Ae(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),pP=Ae(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),hP=Ae(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),_P={class:"section inventory-section"},EP=e.createStaticVNode('<div class="legends flex-space" data-v-beebd9b9><div class="flex-start" style="flex:1.2;" data-v-beebd9b9><div class="legend good-wx" data-v-beebd9b9></div><div class="label flex-end" data-v-beebd9b9>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-beebd9b9><div class="legend adverse-wx" data-v-beebd9b9></div><div class="label" data-v-beebd9b9>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-beebd9b9><div class="legend excluded" data-v-beebd9b9></div><div class="label" data-v-beebd9b9>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-beebd9b9><div data-v-beebd9b9><label data-v-beebd9b9>B</label><span data-v-beebd9b9>BOSP</span></div><div data-v-beebd9b9><label data-v-beebd9b9>N</label><span data-v-beebd9b9>NOON</span></div><div data-v-beebd9b9><label data-v-beebd9b9>E</label><span data-v-beebd9b9>EOSP</span></div><div data-v-beebd9b9><label data-v-beebd9b9>*</label><span data-v-beebd9b9>Ship Reported Position</span></div></div></div>',1),yP={class:"inventory-block flex-center"},NP={style:{"font-size":"12px"}},VP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),fP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),gP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),DP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),bP=["colspan"],xP={key:0,class:"label",colspan:"2"},CP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),SP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),kP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),BP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),AP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),wP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),TP={key:0,class:"label",rowspan:"2"},OP=Ae(()=>e.createElementVNode("br",null,null,-1)),FP={key:1,class:"label",rowspan:"2"},PP=Ae(()=>e.createElementVNode("br",null,null,-1)),WP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),LP={key:2,class:"label",rowspan:"2"},uP=Ae(()=>e.createElementVNode("br",null,null,-1)),HP={key:3,class:"label",colspan:"2"},MP={key:4,class:"label",rowspan:"2"},GP=Ae(()=>e.createElementVNode("br",null,null,-1)),$P={key:5,class:"label",colspan:"2"},IP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),RP={key:6,class:"label",rowspan:"2"},zP={key:7,class:"label",rowspan:"2"},UP={key:8,class:"label",rowspan:"2"},YP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),ZP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),QP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),JP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),qP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),KP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),jP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),XP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),vP=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),eW=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),tW=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),oW=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),lW={key:0,class:"label"},aW={key:1,class:"label"},nW={key:2,class:"label"},sW={key:3,class:"label"},iW=Ae(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),dW=Ae(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),cW=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),rW=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),mW=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),pW=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),hW=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),_W=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),EW={class:"summary-tbody"};function yW(t,s,o,d,l,a){var _;return e.openBlock(),e.createElementBlock("div",aP,[e.createElementVNode("div",nP,[sP,e.createElementVNode("div",iP,[e.createElementVNode("table",null,[dP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_=o.report)==null?void 0:_.segments,(i,E)=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$;return e.openBlock(),e.createElementBlock(e.Fragment,{key:E},[e.createElementVNode("tr",null,[e.createElementVNode("td",cP,e.toDisplayString(E+1),1),rP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((b=i==null?void 0:i.allWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((y=i==null?void 0:i.allWx)==null?void 0:y.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((g=i==null?void 0:i.allWx)==null?void 0:g.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((B=i==null?void 0:i.allWx)==null?void 0:B.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[mP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((r=i==null?void 0:i.goodWx)==null?void 0:r.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.goodWx)==null?void 0:S.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=i==null?void 0:i.goodWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.goodWx)==null?void 0:L.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[pP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((w=i==null?void 0:i.badWx)==null?void 0:w.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((T=i==null?void 0:i.badWx)==null?void 0:T.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((D=i==null?void 0:i.badWx)==null?void 0:D.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((W=i==null?void 0:i.badWx)==null?void 0:W.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=i==null?void 0:i.badWx)==null?void 0:Y.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[hP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Z=i==null?void 0:i.excluded)==null?void 0:Z.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=i==null?void 0:i.excluded)==null?void 0:I.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((P=i==null?void 0:i.excluded)==null?void 0:P.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=i==null?void 0:i.excluded)==null?void 0:V.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(($=i==null?void 0:i.excluded)==null?void 0:$.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",_P,[EP,e.createElementVNode("div",yP,[e.createElementVNode("table",NP,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[VP,fP,gP,DP,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,bP),o.showFactor?(e.openBlock(),e.createElementBlock("th",xP,"Factor")):e.createCommentVNode("",!0),CP,SP]),e.createElementVNode("tr",null,[kP,BP,AP,wP,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",TP,[e.createTextVNode("Spd"),OP,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",FP,[e.createTextVNode("Dis"),PP,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),WP,l.showWave?(e.openBlock(),e.createElementBlock("th",LP,[e.createTextVNode("Sea HT"),uP,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",HP,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",MP,[e.createTextVNode("Sig Wave"),GP,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",$P,"Current")):e.createCommentVNode("",!0),IP,o.showFactor?(e.openBlock(),e.createElementBlock("th",RP,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",zP,"wxFactor")):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("th",UP,"Water Temp.")):e.createCommentVNode("",!0),YP,ZP,QP,JP,qP,KP,jP,XP]),e.createElementVNode("tr",null,[vP,eW,tW,oW,l.showSwell?(e.openBlock(),e.createElementBlock("th",lW,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",aW,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",nW,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",sW,"CF(kts)")):e.createCommentVNode("",!0),iW,dW,cW,rW,mW,pW,hW,_W])]),e.createElementVNode("tbody",EW,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,E)=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q;return e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((b=i.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((x=i.noon)==null?void 0:x.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.cp.dgo:""),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.avgSpdCalc:""),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((g=(y=i.meteo)==null?void 0:y.wind)==null?void 0:g.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(B=i.meteo)==null?void 0:B.wind)==null?void 0:r.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((O=(C=(S=i.meteo)==null?void 0:S.wave)==null?void 0:C.wd)==null?void 0:O.height)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((T=(w=(L=i.meteo)==null?void 0:L.wave)==null?void 0:w.swell)==null?void 0:T.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Y=(W=(D=i.meteo)==null?void 0:D.wave)==null?void 0:W.swell)==null?void 0:Y.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((P=(I=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:I.sig)==null?void 0:P.height)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString((($=(V=i.meteo)==null?void 0:V.current)==null?void 0:$.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((M=i.meteo)==null?void 0:M.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((u=i.meteo)==null?void 0:u.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.wxFactor)??"--"),3)):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Q=i.meteo)==null?void 0:Q.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const NW=ke(lP,[["render",yW],["__scopeId","data-v-beebd9b9"]]),Xoe="",VW={name:"OrmVoyageChart",components:{Lng:Xa,Lat:va},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}}},watch:{inventory:{handler(t,s){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Nl.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Nl.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Nl.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var E,b,x,y,g,B;const t=[],s=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let d=0,l=0;const a=this.inventory.filter(r=>r.noonLength)||[];a.unshift(a[0]),a.forEach((r,S)=>{var O,L,w,T,D,W,Y,Z,I,P,V,$,M,u;const C=this.computeUTCTime(S===0?r.utc:r.noonUtc,"MM-DD/HHmm[Z]");if(t.push(C),d=Math.ceil(((O=r.noon)==null?void 0:O.foCons)>d?(L=r.noon)==null?void 0:L.foCons:d),d=Math.ceil(((w=r.cp)==null?void 0:w.fo)>d?(T=r.cp)==null?void 0:T.fo:d),l=Math.ceil(((D=r.noon)==null?void 0:D.dgoCons)>l?(W=r.noon)==null?void 0:W.dgoCons:l),l=Math.ceil(((Y=r.cp)==null?void 0:Y.dgo)>l?(Z=r.cp)==null?void 0:Z.dgo:l),s.push([C,(I=r.noon)==null?void 0:I.avgSpd,(P=r.noon)==null?void 0:P.foCons,(V=r.noon)==null?void 0:V.dgoCons,r.avgSpdCalc,r.cp.speed,r.goodWx&&!r.excluded?100:0,r.cp.dgo,r.cp.fo,r.excluded?100:0]),S<a.length-1){const H=a[S+1];s.push([C,($=H.noon)==null?void 0:$.avgSpd,(M=H.noon)==null?void 0:M.foCons,(u=H.noon)==null?void 0:u.dgoCons,H.avgSpdCalc,H.cp.speed,H.goodWx&&!H.excluded?100:0,H.cp.dgo,H.cp.fo,H.excluded?100:0])}});const _={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:d+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.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:o.dateTime,y:o.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(b=(E=this.report)==null?void 0:E.weather)!=null&&b.believeRptDistance?o.noonAvgSpd:o.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:o.dateTime,y:o.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:o.dateTime,y:o.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:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(x=this.spdFoConsChart)==null||x.setOption(_);const i={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:l+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.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:o.dateTime,y:o.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(g=(y=this.report)==null?void 0:y.weather)!=null&&g.believeRptDistance?o.noonAvgSpd:o.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:o.dateTime,y:o.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:o.dateTime,y:o.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:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(B=this.spdDgoConsChart)==null||B.setOption(i)},renderWxCurrChart(){var i;const t=[],s=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let d=4,l=0;const a=this.inventory.filter(E=>E.noonLength)||[];a.unshift(a[0]),a.forEach((E,b)=>{var y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K;l=E.noonLength?E.dailyAvgCf:l;const x=this.computeUTCTime(b===0?E.utc:E.noonUtc,"MM-DD/HHmm[Z]");if(t.push(x),d=Math.ceil(((B=(g=(y=E.meteo)==null?void 0:y.wave)==null?void 0:g.sig)==null?void 0:B.height)>d?(C=(S=(r=E.meteo)==null?void 0:r.wave)==null?void 0:S.sig)==null?void 0:C.height:d),s.push([x,(O=E.noon)==null?void 0:O.windBF,(w=(L=E.meteo)==null?void 0:L.wind)==null?void 0:w.scale,(D=(T=E.meteo)==null?void 0:T.wind)==null?void 0:D.direction,(W=E.noon)==null?void 0:W.seasHt,(I=(Z=(Y=E.meteo)==null?void 0:Y.wave)==null?void 0:Z.sig)==null?void 0:I.height,l,E.goodWx&&!E.excluded?20:0,E.excluded?20:0]),b<a.length-1){const N=a[b+1];s.push([x,(P=N.noon)==null?void 0:P.windBF,($=(V=N.meteo)==null?void 0:V.wind)==null?void 0:$.scale,(u=(M=N.meteo)==null?void 0:M.wind)==null?void 0:u.direction,(H=N.noon)==null?void 0:H.seasHt,(K=(j=(Q=N.meteo)==null?void 0:Q.wave)==null?void 0:j.sig)==null?void 0:K.height,N.noonLength?N.dailyAvgCf:l,N.goodWx&&!N.excluded?20:0,N.excluded?20:0])}});const _={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:o.dateTime,y:o.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:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(i=this.currChart)==null||i.setOption(_)}}},Vl=t=>(e.pushScopeId("data-v-24e80f66"),t=t(),e.popScopeId(),t),fW={class:"report-summary"},gW={class:"section chart-section"},DW=Vl(()=>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)),bW={class:"chart-block"},xW={ref:"spdFoConsChart",class:"chart"},CW={ref:"spdDgoConsChart",class:"chart"},SW={ref:"currChart",class:"chart"},kW={class:"section map-section"},BW=Vl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),AW={class:"map-block"},wW={class:"flex-space"},TW={class:"voyage-block",style:{height:"197px"}},OW={class:"flex-space label-block",style:{width:"100%"}},FW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),PW={style:{"text-transform":"uppercase"}},WW={class:"flex-space label-block",style:{width:"100%"}},LW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),uW={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},HW={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},MW={class:"flex-space label-block",style:{width:"100%"}},GW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),$W={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},IW={class:"flex-space label-block",style:{width:"100%"}},RW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),zW={key:0,class:"flex-end",style:{flex:"1"}},UW={key:1,class:"flex-end",style:{flex:"1"}},YW=Vl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),ZW={class:"flex-end",style:{width:"160px"}},QW={class:"flex-space label-block",style:{width:"100%"}},JW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),qW={key:0,class:"flex-end",style:{flex:"1"}},KW={key:1,class:"flex-end",style:{flex:"1"}},jW=Vl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),XW={class:"flex-end",style:{width:"160px"}},vW={class:"flex-space label-block",style:{width:"100%"}},eL=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),tL={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},oL=e.createStaticVNode('<div class="legend-block" data-v-24e80f66><div style="position:absolute;margin-top:-8px;" data-v-24e80f66>LEGEND</div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66>0812</div><div data-v-24e80f66><div data-v-24e80f66>08 - Day of the month</div><div data-v-24e80f66>12 - Hours of the day</div></div></div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-24e80f66></i></div><div data-v-24e80f66><div data-v-24e80f66>Wind from N (000)</div><div data-v-24e80f66>Each bard = 10 kts</div><div data-v-24e80f66>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66>W 4</div><div data-v-24e80f66> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-24e80f66><div class="good-wx" data-v-24e80f66>Date</div><div data-v-24e80f66>Good weather days</div></div></div>',1),lL=["src"],aL=e.createStaticVNode('<div class="section method-section" data-v-24e80f66><div class="header-block flex-center" data-v-24e80f66><i class="iconfont" data-v-24e80f66></i><div class="title" data-v-24e80f66>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>1. Good Weather Method</div><div class="method-body" data-v-24e80f66> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-24e80f66> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-24e80f66> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>4. “About”</div><div class="method-body" data-v-24e80f66> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-24e80f66> 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-24e80f66> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>6. Further reference materials</div><div class="method-body" data-v-24e80f66>Please send mail to <a href="mailto:op@ormwx.com" data-v-24e80f66>op@ormwx.com</a>.</div></div></div></div>',1);function nL(t,s,o,d,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K;const _=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",fW,[e.createElementVNode("div",gW,[DW,e.createElementVNode("div",bW,[e.createElementVNode("div",xW,null,512),e.createElementVNode("div",CW,null,512),e.createElementVNode("div",SW,null,512)])]),e.createElementVNode("div",kW,[BW,e.createElementVNode("div",AW,[e.createElementVNode("div",wW,[e.createElementVNode("div",TW,[e.createElementVNode("div",OW,[FW,e.createElementVNode("span",PW,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",WW,[LW,e.createElementVNode("span",uW,e.toDisplayString((b=(E=o.report)==null?void 0:E.vessel)==null?void 0:b.name),1),e.createElementVNode("span",HW,"("+e.toDisplayString((y=(x=o.report)==null?void 0:x.vessel)==null?void 0:y.type)+")",1)]),e.createElementVNode("div",MW,[GW,e.createElementVNode("span",$W,e.toDisplayString((B=(g=o.report)==null?void 0:g.voyage)==null?void 0:B.number),1)]),e.createElementVNode("div",IW,[RW,(S=(r=o.report)==null?void 0:r.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",zW,e.toDisplayString((O=(C=o.report)==null?void 0:C.departure)==null?void 0:O.portName),1)):(e.openBlock(),e.createElementBlock("div",UW,[e.createVNode(_,{lat:(w=(L=o.report)==null?void 0:L.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),YW,e.createVNode(i,{lng:(T=o.report.departure)==null?void 0:T.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ZW,e.toDisplayString(a.computeUTCTime((D=o.report.departure)==null?void 0:D.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",QW,[JW,(Y=(W=o.report)==null?void 0:W.arrival)!=null&&Y.portName?(e.openBlock(),e.createElementBlock("span",qW,e.toDisplayString((I=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:I.portName),1)):(e.openBlock(),e.createElementBlock("div",KW,[e.createVNode(_,{lat:(V=(P=o.report)==null?void 0:P.arrival)==null?void 0:V.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),jW,e.createVNode(i,{lng:(M=($=o.report)==null?void 0:$.arrival)==null?void 0:M.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",XW,e.toDisplayString(a.computeUTCTime((H=(u=o.report)==null?void 0:u.arrival)==null?void 0:H.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",vW,[eL,e.createElementVNode("span",tL,e.toDisplayString((j=(Q=o.report)==null?void 0:Q.voyage)==null?void 0:j.loadCondition),1)])]),oL]),e.createElementVNode("img",{src:(K=o.report)==null?void 0:K.chartUrl,alt:""},null,8,lL)])]),aL])}const sL=ke(VW,[["render",nL],["__scopeId","data-v-24e80f66"]]),voe="",iL={components:{Brand:_o,Summary:oP,Inventory:NW,Chart:sL,Loading:tn},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}}},watch:{report:{handler(t,s){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},data(){return{inventory:[],loading:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var s,o;const t=[];(o=(s=this.report)==null?void 0:s.segments)==null||o.forEach(d=>{const l=d.extend.cp;let a,_,i=!1;d.inventory.sample.hours.forEach((E,b)=>{a||(a=E),(!_||i)&&(_=E,i=!1),a.segIndex===E.segIndex?a.segLength=(a.segLength||0)+1:(a=E,a.segLength=1),_.noonLength=(_.noonLength||0)+1;let x=E.type.charAt(0);["N","M","E"].includes(x)&&(i=!0,_.dailyAvgCf=E.dailyAvgCf,_.avgSpdCalc=E.avgSpdCalc,_.distanceCalc=E.distanceCalc,_.noonUtc=E.utc,_.noon=E.noon),E.abbrev=x,x=x==="M"?"*":x==="A"?"":x,E.time=`${x} ${this.computeUTCTime(E.utc,"MMM-DD/HHmm[Z]")}`,E._lng=ie.LngLatHelper.lng2pretty(E.lng),E._lat=ie.LngLatHelper.lat2pretty(E.lat),E.cp=l,t.push(E)})}),t.sort((d,l)=>d.date-l.date),this.inventory=t}}};function dL(t,s,o,d,l,a){var y,g;const _=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),E=e.resolveComponent("Summary"),b=e.resolveComponent("Inventory"),x=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((g=(y=o.report)==null?void 0:y.weather)!=null&&g.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(_,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=B=>l.loading=!1)},null,8,["loading"]),e.createVNode(E,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(b,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(x,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const bn=ke(iL,[["render",dL],["__scopeId","data-v-0b5d13da"]]),cL={install(t){t.component("OpiVoyageReport",gn),t.component("FliVoyageReport",Dn),t.component("OrmVoyageReport",bn)}},ele="",tle="",ole="",rL={name:"IdmTropical",components:{TropicalReport:qi.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(t){this.center=t}}},mL={class:"typhoon-report-container"};function pL(t,s,o,d,l,a){const _=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",mL,[o.report?(e.openBlock(),e.createBlock(_,{key:0,report:o.report,model:o.model,ts:o.ts,token:o.token,onCenter:a.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const xn=ke(rL,[["render",pL],["__scopeId","data-v-e69fc9ed"]]),hL={install(t){t.component("TropicalReport",xn)}},lle="",_L={components:{IdmBrand:on},data(){return{isUSD:!1,type:"CNY",company:{name:{USD:"OCEAN PI TECHNOLOGY Co., Ltd.",CNY:"科湃科技(青岛)有限公司"},address:{USD:"ROOM 1006, BUILDING 5, No. 199, SHANDONG ROAD, QINGDAO, CHINA",CNY:"山东省青岛市市北区山东路 199 号 5 号楼 1006 户"},tel:"053283618328",dutyNumber:"91370203MACDEEJP0Q",bankName:{USD:"Shanghai Pudong Development Bank Qingdao Branch",CNY:"上海浦东发展银行股份有限公司青岛福州路支行"},bankAccount:{USD:"6908 0078 8144 0000 1837",CNY:"6908 0078 8016 0000 1829"},bankAddress:"No. 188, HAIER ROAD, QINGDAO, CHINA",bankSwift:"SPDBCNSH170",interBank:"CITIBANK N.A., NEW YORK",interSwift:"CITIUS33"},breaked:!1}},props:{data:{type:Object,default:()=>({})}},watch:{data:{handler(t){t&&(t.paymentType==="USD"?(this.isUSD=!0,this.type="USD"):(this.isUSD=!1,this.type="CNY"))},immediate:!0}},computed:{computeHtml(){return function(t){return t==null?void 0:t.replaceAll(`
42
- `,"</br>")}},computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t!=="-"?`${G(t).utc().format(s)}`:"-"}},computeItem(){return function(t){if(t){const s=t.indexOf(",");if(s!==-1)return[t.substring(0,s),t.substring(s+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var _;const t=this.$refs.name.offsetHeight,s=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,d=(_=this.data)!=null&&_.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+s+280>l*1123;)l++;const a=l*1123-(t+s+280);this.breaked=a<o+d})}},ho=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),EL={class:"invoice-report"},yL=ho(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),NL={class:"report-title"},VL=ho(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),fL={class:"title-info"},gL=ho(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),DL=ho(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),bL=ho(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),xL=ho(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),CL=ho(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),SL={class:"report-content"},kL={style:{display:"flex"},ref:"name",class:"name"},BL=["innerHTML"],AL={style:{"margin-bottom":"10px"}},wL={class:"table",ref:"table"},TL=ho(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),OL=ho(()=>e.createElementVNode("td",null,null,-1)),FL={class:"total"},PL={class:"total"},WL={key:0,class:"page-break"},LL={ref:"detail",class:"detail"},uL={class:"title"},HL={class:"info"},ML={class:"info"},GL={class:"info"},$L={class:"info"},IL={class:"info"},RL={key:0},zL={class:"info"},UL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),YL={class:"info"},ZL=ho(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),QL={class:"info"},JL=ho(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),qL={class:"info"},KL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),jL={key:1},XL={class:"info"},vL=ho(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),eu={key:1,ref:"memo",class:"detail"},tu=ho(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),ou=["innerHTML"];function lu(t,s,o,d,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I;const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",EL,[e.createVNode(_),yL,e.createElementVNode("div",NL,[VL,e.createElementVNode("div",fL,[gL,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),DL,bL,xL,CL])])]),e.createElementVNode("div",SL,[e.createElementVNode("div",kL,[e.createTextVNode(" To:  "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((E=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:E.name)},null,8,BL)],512),e.createElementVNode("div",null,"Date: "+e.toDisplayString(a.computeUTCTime((b=o.data)==null?void 0:b.paymentDate,"YYYY MMM DD")),1),e.createElementVNode("div",AL,"No: "+e.toDisplayString((x=o.data)==null?void 0:x.number),1),e.createElementVNode("div",wL,[e.createElementVNode("table",null,[TL,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=o.data)==null?void 0:y.reservations,(P,V)=>(e.openBlock(),e.createElementBlock("tr",{key:V},[e.createElementVNode("td",null,e.toDisplayString(V+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(a.computeItem(P==null?void 0:P.items)[0]),1),e.createElementVNode("div",null,e.toDisplayString(a.computeItem(P==null?void 0:P.items)[1]),1)]),e.createElementVNode("td",null,e.toDisplayString(`$ ${P==null?void 0:P.amount}`),1)]))),128)),e.createElementVNode("tr",null,[OL,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((g=o.data)==null?void 0:g.rate)}`)+"  ",1),e.createElementVNode("span",FL,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",PL,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(B=o.data)==null?void 0:B.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",WL)):e.createCommentVNode("",!0),e.createElementVNode("div",LL,[e.createElementVNode("div",uL,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",HL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Beneficiary's Name":"公司名称"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((r=l.company)==null?void 0:r.name[l.type])??"-"),1)]),e.createElementVNode("div",ML,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Add":"地址"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((S=l.company)==null?void 0:S.address[l.type])??"-"),1)]),e.createElementVNode("div",GL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Tel":"电话号码"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((C=l.company)==null?void 0:C.tel)??"-"),1)]),e.createElementVNode("div",$L,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Bank Name":"开户银行"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((O=l.company)==null?void 0:O.bankName[l.type])??"-"),1)]),e.createElementVNode("div",IL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"A/C No":"银行账号"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",RL,[e.createElementVNode("div",zL,[UL,e.createElementVNode("span",null,e.toDisplayString(((w=l.company)==null?void 0:w.bankSwift)??"-"),1)]),e.createElementVNode("div",YL,[ZL,e.createElementVNode("span",null,e.toDisplayString(((T=l.company)==null?void 0:T.bankAddress)??"-"),1)]),e.createElementVNode("div",QL,[JL,e.createElementVNode("span",null,e.toDisplayString(((D=l.company)==null?void 0:D.interBank)??"-"),1)]),e.createElementVNode("div",qL,[KL,e.createElementVNode("span",null,e.toDisplayString(((W=l.company)==null?void 0:W.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",jL,[e.createElementVNode("div",XL,[vL,e.createElementVNode("span",null,e.toDisplayString(((Y=l.company)==null?void 0:Y.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",eu,[tu,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((I=o.data)==null?void 0:I.memo)},null,8,ou)],512)):e.createCommentVNode("",!0)])])}const Cn=ke(_L,[["render",lu],["__scopeId","data-v-db643e45"]]),ale="",au={components:{IdmBrand:_o},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,s,o,d,l,a,_;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(d=(o=this.report)==null?void 0:o.reservations)==null?void 0:d.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,E)=>Math.round((i+E.amount)*100)/100,0),(_=this.reservations4Route)!=null&&_.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${G(t).utcOffset(8).format(s)}`:"-"}}},mounted(){}},mt=t=>(e.pushScopeId("data-v-3894214e"),t=t(),e.popScopeId(),t),nu={class:"invoice-report"},su={class:"section items-section"},iu={class:"flex-start"},du=mt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),cu=["innerHTML"],ru={class:"flex-space"},mu={class:"invoice-item"},pu={key:0,class:"invoice-item"},hu=mt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),_u=mt(()=>e.createElementVNode("td",null,"NO.",-1)),Eu=["colspan"],yu=mt(()=>e.createElementVNode("td",null,"Amounts",-1)),Nu=["colspan"],Vu=["colspan"],fu=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],gu={class:"total"},Du=["colspan"],bu=[mt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],xu={class:"total"},Cu=["colspan"],Su={class:"total"},ku={key:1},Bu=["colspan"],Au=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],wu={class:"total"},Tu={key:0,class:"memo-block"},Ou=mt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),Fu=["innerHTML"],Pu={class:"section company-section"},Wu=mt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),Lu={class:"company-item"},uu=mt(()=>e.createElementVNode("label",null,"Bank",-1)),Hu={class:"company-item"},Mu=mt(()=>e.createElementVNode("label",null,"Account",-1)),Gu={class:"company-item"},$u=mt(()=>e.createElementVNode("label",null,"Title",-1)),Iu={class:"company-item"},Ru=mt(()=>e.createElementVNode("label",null,"Addr",-1)),zu={class:"company-item"},Uu=mt(()=>e.createElementVNode("label",null,"Tel",-1)),Yu={class:"company-item"},Zu=mt(()=>e.createElementVNode("label",null,"Tax ID",-1)),Qu={class:"company-item"},Ju=mt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),qu={class:"company-item"},Ku=mt(()=>e.createElementVNode("label",null,"Bank Name",-1)),ju={class:"company-item"},Xu=mt(()=>e.createElementVNode("label",null,"Bank Address",-1)),vu={class:"company-item"},eH=mt(()=>e.createElementVNode("label",null,"Account No.",-1)),tH={class:"company-item"},oH=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),lH={class:"company-item"},aH=mt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),nH={class:"company-item"},sH=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),iH={class:"company-item"},dH=mt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),cH=e.createStaticVNode('<div class="section sign-section" data-v-3894214e><div class="flex-space" data-v-3894214e><div class="sign-block" data-v-3894214e><div data-v-3894214e>Finance Team</div><div data-v-3894214e>Ocean Right Marine Service Co., Ltd.</div><div data-v-3894214e>Email: <a href="mailto:op@ormwx.com" data-v-3894214e>op@ormwx.com</a></div><div data-v-3894214e>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-3894214e> Thank You </div></div></div>',1);function rH(t,s,o,d,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye;const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",nu,[e.createVNode(_,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",su,[e.createElementVNode("div",iu,[du,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(b=(E=(i=o.report)==null?void 0:i.invoiceTitle)==null?void 0:E.name)==null?void 0:b.replace(`
43
- `,"<br/>")},null,8,cu)]),e.createElementVNode("div",ru,[e.createElementVNode("div",mu,"Invoice No. "+e.toDisplayString(o.report.number),1),(x=o.report)!=null&&x.paymentDate?(e.openBlock(),e.createElementBlock("div",pu,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(y=l.reservations4Route)!=null&&y.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[hu,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(le,_e)=>{var Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He;return e.openBlock(),e.createElementBlock("tr",{key:_e},[e.createElementVNode("td",null,e.toDisplayString((fe=(Ve=(Ne=le.props)==null?void 0:Ne[0])==null?void 0:Ve.voyage)==null?void 0:fe.number),1),e.createElementVNode("td",null,e.toDisplayString(((be=(De=(ge=le.props)==null?void 0:ge[0])==null?void 0:De.voyage)==null?void 0:be.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=(xe=le.props)==null?void 0:xe[0])==null?void 0:Ce.vessel)==null?void 0:Se.name),1),e.createElementVNode("td",null,e.toDisplayString((Ee=(Fe=(Oe=le.props)==null?void 0:Oe[0])==null?void 0:Fe.voyage)==null?void 0:Ee.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((Pe=(me=(F=le.props)==null?void 0:F[0])==null?void 0:me.departure)==null?void 0:Pe.name),1),e.createElementVNode("td",null,e.toDisplayString((pe=(Le=(We=le.props)==null?void 0:We[0])==null?void 0:Le.departure)==null?void 0:pe.atd),1),e.createElementVNode("td",null,e.toDisplayString((ze=(Re=(Ie=le.props)==null?void 0:Ie[0])==null?void 0:Re.destination)==null?void 0:ze.name),1),e.createElementVNode("td",null,e.toDisplayString((He=(we=(z=le.props)==null?void 0:z[0])==null?void 0:we.destination)==null?void 0:He.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(le.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(g=l.reservations4Point)!=null&&g.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[_u,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,Eu),yu])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(le,_e)=>(e.openBlock(),e.createElementBlock("tr",{key:_e},[e.createElementVNode("td",null,e.toDisplayString(le.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(le.items),9,Nu),e.createElementVNode("td",null,"$"+e.toDisplayString(le.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((B=o.report)==null?void 0:B.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},fu,8,Vu),e.createElementVNode("td",gu,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},bu,8,Du),e.createElementVNode("td",xu,[e.createElementVNode("span",null,e.toDisplayString((r=o.report)==null?void 0:r.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,Cu),e.createElementVNode("td",Su,"¥"+e.toDisplayString((S=o.report)==null?void 0:S.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",ku,[e.createElementVNode("td",{colspan:l.maxColspans},Au,8,Bu),e.createElementVNode("td",wu,[e.createElementVNode("span",null,e.toDisplayString(`$${(C=o.report)==null?void 0:C.paymentAmount}`),1)])]))])]),(O=o.report)!=null&&O.memo?(e.openBlock(),e.createElementBlock("div",Tu,[Ou,e.createElementVNode("div",{class:"invoice-item",innerHTML:(w=(L=o.report)==null?void 0:L.memo)==null?void 0:w.replace(`
44
- `,"<br/>")},null,8,Fu)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Pu,[Wu,((T=o.report)==null?void 0:T.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Lu,[uu,e.createElementVNode("span",null,e.toDisplayString((W=l.account[(D=o.report)==null?void 0:D.paymentType])==null?void 0:W.bank),1)]),e.createElementVNode("div",Hu,[Mu,e.createElementVNode("span",null,e.toDisplayString((Z=l.account[(Y=o.report)==null?void 0:Y.paymentType])==null?void 0:Z.number),1)]),e.createElementVNode("div",Gu,[$u,e.createElementVNode("span",null,e.toDisplayString((P=l.account[(I=o.report)==null?void 0:I.paymentType])==null?void 0:P.title),1)]),e.createElementVNode("div",Iu,[Ru,e.createElementVNode("span",null,e.toDisplayString(($=l.account[(V=o.report)==null?void 0:V.paymentType])==null?void 0:$.address),1)]),e.createElementVNode("div",zu,[Uu,e.createElementVNode("span",null,e.toDisplayString((u=l.account[(M=o.report)==null?void 0:M.paymentType])==null?void 0:u.tel),1)]),e.createElementVNode("div",Yu,[Zu,e.createElementVNode("span",null,e.toDisplayString((Q=l.account[(H=o.report)==null?void 0:H.paymentType])==null?void 0:Q.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Qu,[Ju,e.createElementVNode("span",null,e.toDisplayString((K=l.account[(j=o.report)==null?void 0:j.paymentType])==null?void 0:K.title),1)]),e.createElementVNode("div",qu,[Ku,e.createElementVNode("span",null,e.toDisplayString((R=l.account[(N=o.report)==null?void 0:N.paymentType])==null?void 0:R.bank),1)]),e.createElementVNode("div",ju,[Xu,e.createElementVNode("span",null,e.toDisplayString((n=l.account[(q=o.report)==null?void 0:q.paymentType])==null?void 0:n.bankAddr),1)]),e.createElementVNode("div",vu,[eH,e.createElementVNode("span",null,e.toDisplayString((c=l.account[(X=o.report)==null?void 0:X.paymentType])==null?void 0:c.number),1)]),e.createElementVNode("div",tH,[oH,e.createElementVNode("span",null,e.toDisplayString((te=l.account[(v=o.report)==null?void 0:v.paymentType])==null?void 0:te.swift),1)]),e.createElementVNode("div",lH,[aH,e.createElementVNode("span",null,e.toDisplayString((se=l.account[(oe=o.report)==null?void 0:oe.paymentType])==null?void 0:se.intermediaryBank),1)]),e.createElementVNode("div",nH,[sH,e.createElementVNode("span",null,e.toDisplayString((ce=l.account[(de=o.report)==null?void 0:de.paymentType])==null?void 0:ce.intermediaryBankSwift),1)]),e.createElementVNode("div",iH,[dH,e.createElementVNode("span",null,e.toDisplayString((ye=l.account[(re=o.report)==null?void 0:re.paymentType])==null?void 0:ye.intermediaryBankAbaNo),1)])],64))]),cH])}const Sn=ke(au,[["render",rH],["__scopeId","data-v-3894214e"]]),dle="",mH={components:{IdmBrand:_o},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,s,o,d,l,a,_;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(d=(o=this.report)==null?void 0:o.reservations)==null?void 0:d.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,E)=>Math.round((i+E.amount)*100)/100,0),(_=this.reservations4Route)!=null&&_.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${G(t).utcOffset(8).format(s)}`:"-"}}},mounted(){}},Dl=t=>(e.pushScopeId("data-v-744130ab"),t=t(),e.popScopeId(),t),pH={class:"invoice-report"},hH={class:"section items-section"},_H={class:"flex-start"},EH=Dl(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),yH=["innerHTML"],NH={class:"flex-space"},VH={class:"invoice-item"},fH={key:0,class:"invoice-item"},gH=Dl(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),DH=Dl(()=>e.createElementVNode("td",null,"NO.",-1)),bH=["colspan"],xH=Dl(()=>e.createElementVNode("td",null,"Amounts",-1)),CH=["colspan"],SH=["colspan"],kH=[Dl(()=>e.createElementVNode("span",null,"Total in USD",-1))],BH={class:"total"},AH=["colspan"],wH=[Dl(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],TH={class:"total"},OH=["colspan"],FH={class:"total"},PH={key:1},WH=["colspan"],LH=[Dl(()=>e.createElementVNode("span",null,"Total in USD",-1))],uH={class:"total"},HH={key:0,class:"memo-block"},MH=Dl(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),GH=["innerHTML"];function $H(t,s,o,d,l,a){var _,i,E,b,x,y,g,B,r,S,C,O,L;return e.openBlock(),e.createElementBlock("div",pH,[e.createElementVNode("div",hH,[e.createElementVNode("div",_H,[EH,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(E=(i=(_=o.report)==null?void 0:_.invoiceTitle)==null?void 0:i.name)==null?void 0:E.replace(`
45
- `,"<br/>")},null,8,yH)]),e.createElementVNode("div",NH,[e.createElementVNode("div",VH,"Invoice No. "+e.toDisplayString(o.report.number),1),(b=o.report)!=null&&b.paymentDate?(e.openBlock(),e.createElementBlock("div",fH,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(x=l.reservations4Route)!=null&&x.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[gH,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(w,T)=>{var D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se;return e.openBlock(),e.createElementBlock("tr",{key:T},[e.createElementVNode("td",null,e.toDisplayString((Y=(W=(D=w.props)==null?void 0:D[0])==null?void 0:W.voyage)==null?void 0:Y.number),1),e.createElementVNode("td",null,e.toDisplayString(((P=(I=(Z=w.props)==null?void 0:Z[0])==null?void 0:I.voyage)==null?void 0:P.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((M=($=(V=w.props)==null?void 0:V[0])==null?void 0:$.vessel)==null?void 0:M.name),1),e.createElementVNode("td",null,e.toDisplayString((Q=(H=(u=w.props)==null?void 0:u[0])==null?void 0:H.voyage)==null?void 0:Q.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((N=(K=(j=w.props)==null?void 0:j[0])==null?void 0:K.departure)==null?void 0:N.name),1),e.createElementVNode("td",null,e.toDisplayString((n=(q=(R=w.props)==null?void 0:R[0])==null?void 0:q.departure)==null?void 0:n.atd),1),e.createElementVNode("td",null,e.toDisplayString((v=(c=(X=w.props)==null?void 0:X[0])==null?void 0:c.destination)==null?void 0:v.name),1),e.createElementVNode("td",null,e.toDisplayString((se=(oe=(te=w.props)==null?void 0:te[0])==null?void 0:oe.destination)==null?void 0:se.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(w.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(y=l.reservations4Point)!=null&&y.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[DH,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,bH),xH])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(w,T)=>(e.openBlock(),e.createElementBlock("tr",{key:T},[e.createElementVNode("td",null,e.toDisplayString(w.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(w.items),9,CH),e.createElementVNode("td",null,"$"+e.toDisplayString(w.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((g=o.report)==null?void 0:g.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},kH,8,SH),e.createElementVNode("td",BH,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},wH,8,AH),e.createElementVNode("td",TH,[e.createElementVNode("span",null,e.toDisplayString((B=o.report)==null?void 0:B.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,OH),e.createElementVNode("td",FH,"¥"+e.toDisplayString((r=o.report)==null?void 0:r.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",PH,[e.createElementVNode("td",{colspan:l.maxColspans},LH,8,WH),e.createElementVNode("td",uH,[e.createElementVNode("span",null,e.toDisplayString(`$${(S=o.report)==null?void 0:S.paymentAmount}`),1)])]))])]),(C=o.report)!=null&&C.memo?(e.openBlock(),e.createElementBlock("div",HH,[MH,e.createElementVNode("div",{class:"invoice-item",innerHTML:(L=(O=o.report)==null?void 0:O.memo)==null?void 0:L.replace(`
46
- `,"<br/>")},null,8,GH)])):e.createCommentVNode("",!0)])])}const kn=ke(mH,[["render",$H],["__scopeId","data-v-744130ab"]]),IH={install(t){t.component("InvoiceReport",Cn),t.component("OrmInvoiceReport",Sn),t.component("FliInvoiceReport",kn)}},RH=t=>((typeof t=="string"||typeof t=="number")&&(t=G(t)),t),zH=(t,s="MMM-DD,YYYY/HHmm[Z]")=>UH(t,s),UH=(t,s="MMM-DD/HHmm[Z]")=>(t=RH(t),t?`${t.utc().format(s)}`:"-"),ple="",YH={name:"IdmEditableItem",components:{Edit:en.Edit,Close:en.Close,IdmEditor:Zo},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,s){return zH(t,s)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},ZH={class:"idm-editable-item"},QH=["innerHTML"],JH={key:3,class:"buttons"};function qH(t,s,o,d,l,a){const _=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),E=e.resolveComponent("IdmEditor"),b=e.resolveComponent("ElInputNumber"),x=e.resolveComponent("ElDatePicker"),y=e.resolveComponent("ElOption"),g=e.resolveComponent("ElSelect"),B=e.resolveComponent("ElRadio"),r=e.resolveComponent("ElRadioGroup"),S=e.resolveComponent("ElCheckbox"),C=e.resolveComponent("ElCheckboxGroup"),O=e.resolveComponent("Edit"),L=e.resolveComponent("ElIcon"),w=e.resolveComponent("ElButton"),T=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",ZH,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":s[2]||(s[2]=D=>l.model=D),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:l.model,"onUpdate:modelValue":s[3]||(s[3]=D=>l.model=D),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:l.model,"onUpdate:modelValue":s[4]||(s[4]=D=>l.model=D),size:o.size,type:"textarea",rows:4,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="richText"?(e.openBlock(),e.createBlock(E,{key:3,modelValue:l.model,"onUpdate:modelValue":s[5]||(s[5]=D=>l.model=D),onBlur:a.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),o.type==="number"?(e.openBlock(),e.createBlock(b,{key:4,modelValue:l.model,"onUpdate:modelValue":s[6]||(s[6]=D=>l.model=D),size:o.size,controls:o.controls,min:o.min,max:o.max,step:o.step,precision:o.precision,onBlur:a.handleCommit,onChange:a.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),o.type==="datetime"?(e.openBlock(),e.createBlock(x,{key:5,modelValue:l.model,"onUpdate:modelValue":s[7]||(s[7]=D=>l.model=D),size:o.size,type:"datetime",class:"datetime",format:o.format,"value-format":o.valueFormat,onBlur:a.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),o.type==="select"?(e.openBlock(),e.createBlock(g,{key:6,modelValue:l.model,"onUpdate:modelValue":s[8]||(s[8]=D=>l.model=D),size:o.size,filterable:"",style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,D=>(e.openBlock(),e.createBlock(y,{key:D.value,label:D.label,disabled:D.disabled,value:D.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="remoteSelect"?(e.openBlock(),e.createBlock(g,{key:7,modelValue:l.model,"onUpdate:modelValue":s[9]||(s[9]=D=>l.model=D),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,D=>(e.openBlock(),e.createBlock(y,{key:D.value,label:D.label,value:D.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="remotePortSelect"?(e.openBlock(),e.createBlock(g,{key:8,modelValue:l.model,"onUpdate:modelValue":s[10]||(s[10]=D=>l.model=D),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,D=>(e.openBlock(),e.createBlock(y,{key:D.id,label:D.name,value:D.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="radio"?(e.openBlock(),e.createBlock(r,{key:9,modelValue:l.model,"onUpdate:modelValue":s[11]||(s[11]=D=>l.model=D),size:o.size,style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.radios,D=>(e.openBlock(),e.createBlock(B,{key:D.value,label:D.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(D.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="checkbox"?(e.openBlock(),e.createBlock(C,{key:10,modelValue:l.model,"onUpdate:modelValue":s[12]||(s[12]=D=>l.model=D),size:o.size,class:"checkbox",style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.checkboxs,D=>(e.openBlock(),e.createBlock(S,{label:D.value,key:D.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(D.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof o.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.raw?(e.openBlock(),e.createBlock(_,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(_,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...D)=>a.handleEdit&&a.handleEdit(...D))},e.toDisplayString(a.computeUtcTime(o.value,o.format)),33)):o.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.value||""},null,8,QH)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...D)=>a.handleEdit&&a.handleEdit(...D))},[typeof o.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.value||"-"),1)],64))],32))],64))],64)),!o.disabled&&o.iconable&&typeof o.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",JH,[l.editable?(e.openBlock(),e.createBlock(w,{key:1,size:o.size,type:"danger",link:"",style:{display:"block"},onClick:a.handleCancel},{default:e.withCtx(()=>[e.createVNode(L,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(w,{key:0,size:o.size,link:"",onClick:a.handleEdit},{default:e.withCtx(()=>[e.createVNode(L,null,{default:e.withCtx(()=>[e.createVNode(O)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const Bn=ke(YH,[["render",qH]]),hle="",KH={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:en.CirclePlus,Remove:en.Remove,EditableItem:Bn,Editor:Zo,IdmBrand:_o},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){return`${ie.LngLatHelper.lat2pretty(t).pretty} / ${ie.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchData(){var t,s,o,d;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(d=this.report)==null?void 0:d.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const s=await ja.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=s==null?void 0:s.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,d,l,a,_;this.extraPortList.splice(t,1);const s=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=s==null?void 0:s.data)==null?void 0:o.data,this.extraPortList=(l=(d=s==null?void 0:s.data)==null?void 0:d.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(_=this.report)==null?void 0:_.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,s,o,d){var _,i,E,b,x;this.editable=!1;const l=s.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const g=s.substring(0,l),B=s.substring(l+1);B!=="date"&&(o=Number(o)),this.extraPortList[d][g][B]=o}else this.extraPortList[d][s]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=o,a={[s]:o}):(this.extraData[s]=o,a={[s]:Number(o)});const y=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(_=y==null?void 0:y.data)==null?void 0:_.data,this.extraPortList=(E=(i=y==null?void 0:y.data)==null?void 0:i.data)==null?void 0:E.extraPorts,this.advisory=(b=this.report)!=null&&b.comments?(x=this.report)==null?void 0:x.comments:void 0}else mn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},A=t=>(e.pushScopeId("data-v-1413248b"),t=t(),e.popScopeId(),t),jH={class:"deviation-report"},XH={class:"section vessel-section"},vH={class:"report-summary"},eM={class:"summary-item"},tM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),oM={class:"flexL gray"},lM={class:"summary-item"},aM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),nM={class:"flexL gray"},sM={class:"summary-item"},iM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),dM={class:"flexL gray"},cM={class:"summary-item"},rM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),mM={class:"flexL gray"},pM={class:"summary-item"},hM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),_M={class:"flexL gray",style:{display:"flex"}},EM={class:"flex"},yM={class:"flexM"},NM={class:"summary-item"},VM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),fM={class:"flexL gray",style:{display:"flex"}},gM={class:"flex"},DM={class:"flexM"},bM={class:"section summary-section"},xM=A(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),CM={class:"report-summary"},SM={class:"summary-item"},kM=A(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),BM={class:"summary-item"},AM=A(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),wM={class:"summary-item"},TM=A(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),OM={class:"summary-item"},FM=A(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),PM={class:"section map-section"},WM=A(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),LM={class:"report-map"},uM=["src"],HM=e.createStaticVNode('<div class="legend" data-v-1413248b><div class="legend-item" data-v-1413248b><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-1413248b></div><div data-v-1413248b>Actual Route</div></div><div class="legend-item" data-v-1413248b><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-1413248b></div><div data-v-1413248b>Route prior to deviation</div></div></div>',1),MM={key:0,class:"section deviation-section"},GM=A(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),$M={class:"report-summary"},IM=e.createStaticVNode('<div class="summary-item" data-v-1413248b><div class="blue center" style="width:17%;" data-v-1413248b>Deviation</div><div class="blue center" style="width:20%;" data-v-1413248b>Position</div><div class="blue center" style="width:17%;" data-v-1413248b>Date Time</div><div class="flex blue center" data-v-1413248b>FO BROB<br data-v-1413248b>(mt)</div><div class="flex blue center" data-v-1413248b>DO/GO<br data-v-1413248b>BROB (mt)</div><div class="flex blue center" data-v-1413248b>Bunkering<br data-v-1413248b>FO (mt)</div><div class="flex blue center" data-v-1413248b>Bunkering<br data-v-1413248b>DO/GO (mt)</div></div>',1),RM={class:"summary-item"},zM=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),UM={class:"blue center",style:{width:"20%"}},YM={class:"blue center",style:{width:"17%"}},ZM={class:"flex blue center"},QM={class:"flex blue center"},JM=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),qM=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),KM={class:"summary-item"},jM=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),XM={class:"blue center",style:{width:"20%"}},vM={class:"blue center",style:{width:"17%"}},eG={class:"flex blue center"},tG={class:"flex blue center"},oG={class:"flex blue center"},lG={class:"flex blue center"},aG={class:"summary-item"},nG=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),sG=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),iG={class:"blue center",style:{width:"17%"}},dG={class:"flex blue center"},cG={class:"flex blue center"},rG=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),mG=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),pG={class:"section cp-section"},hG=A(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),_G={class:"report-summary"},EG={class:"summary-item"},yG=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),NG={class:"flexL blue center"},VG={class:"summary-item"},fG=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),gG={class:"flexL blue center"},DG={class:"summary-item"},bG=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),xG={class:"flexL blue center"},CG={class:"section port-section"},SG={class:"subtitle port"},kG=A(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),BG={class:"print-hidden"},AG={class:"report-port"},wG=A(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),TG={rowspan:2},OG=A(()=>e.createElementVNode("td",null,"Arrival",-1)),FG=A(()=>e.createElementVNode("td",null,null,-1)),PG=A(()=>e.createElementVNode("td",null,null,-1)),WG={rowspan:2,class:"print-hidden"},LG=A(()=>e.createElementVNode("td",null,"Departure",-1)),uG=A(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),HG=A(()=>e.createElementVNode("td",null,null,-1)),MG=A(()=>e.createElementVNode("td",null,null,-1)),GG=A(()=>e.createElementVNode("td",null,null,-1)),$G=A(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),IG={class:"section distance-section"},RG=A(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),zG={class:"report-summary"},UG=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),YG={class:"summary-item"},ZG=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),QG={class:"flex blue center"},JG={class:"flex blue center"},qG={class:"summary-item"},KG=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),jG={class:"flex blue center"},XG={class:"section time-section"},vG=A(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),e$={key:0,class:"report-formular"},t$={class:"equation"},o$=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1413248b>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-1413248b>=</div><div class="function" style="width:20%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:5%;" data-v-1413248b>=</div>',4),l$={class:"function",style:{width:"20%"}},a$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),n$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),s$={style:{width:"10%"}},i$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),d$={class:"equation"},c$=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:28%;" data-v-1413248b>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-1413248b>+</div><div style="width:23%;" data-v-1413248b>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',6),r$={style:{width:"5%"}},m$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),p$={style:{width:"8%"}},h$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),_$={style:{width:"4%"}},E$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),y$={key:1,class:"report-formular"},N$={class:"equation"},V$=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-1413248b>=</div><div class="function" style="width:20%;" data-v-1413248b><div data-v-1413248b>Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:5%;" data-v-1413248b>=</div>',4),f$={class:"function",style:{width:"20%"}},g$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),D$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),b$={style:{width:"10%"}},x$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),C$={key:0,class:"equation"},S$=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:24%;" data-v-1413248b>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:30%;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',6),k$={style:{width:"5%"}},B$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),A$={style:{width:"5%"}},w$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),T$={style:{width:"5%"}},O$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),F$={key:1,class:"equation"},P$=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:24%;" data-v-1413248b>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>Time spent in port (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',8),W$={style:{width:"5%"}},L$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),u$={style:{width:"5%"}},H$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),M$={style:{width:"5%"}},G$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),$$={style:{width:"5%"}},I$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),R$={key:2,class:"report-summary"},z$={class:"summary-item"},U$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),Y$={class:"flex blue center"},Z$={class:"summary-item"},Q$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),J$={class:"flex blue center"},q$={class:"summary-item"},K$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),j$={class:"flex blue center"},X$={key:3,class:"report-summary"},v$={class:"summary-item"},eI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),tI={class:"flex blue center"},oI={class:"summary-item"},lI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),aI={class:"flex blue center"},nI={key:0,class:"summary-item"},sI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),iI={class:"flex blue center"},dI={class:"summary-item"},cI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),rI={class:"flex blue center"},mI={class:"section consumption-section"},pI=A(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),hI={key:0,class:"report-formular"},_I={class:"equation"},EI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>Daily FO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),yI={class:"function",style:{width:"5%"}},NI=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),fI={class:"function",style:{width:"5%"}},gI=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DI=A(()=>e.createElementVNode("div",null,"24",-1)),bI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),xI={style:{width:"5%"}},CI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),SI={class:"equation"},kI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-1413248b>+</div><div style="width:23%;" data-v-1413248b>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-1413248b>=</div>',6),BI={style:{width:"5%"}},AI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),wI={style:{width:"5%"}},TI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),OI={style:{width:"5%"}},FI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),PI={class:"equation"},WI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>Daily DO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),LI={class:"function",style:{width:"5%"}},uI=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),MI={class:"function",style:{width:"5%"}},GI=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$I=A(()=>e.createElementVNode("div",null,"24",-1)),II=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),RI={style:{width:"5%"}},zI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UI={class:"equation"},YI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-1413248b>=</div>',6),ZI={style:{width:"5%"}},QI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),JI={style:{width:"5%"}},qI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KI={style:{width:"5%"}},jI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),XI={key:1,class:"report-formular"},vI={class:"equation"},eR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Route prior to deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>CP Daily FO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),tR={class:"function",style:{width:"5%"}},oR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),aR={class:"function",style:{width:"5%"}},nR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sR=A(()=>e.createElementVNode("div",null,"24",-1)),iR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),dR={style:{width:"5%"}},cR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),rR={class:"equation"},mR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Route prior to deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>CP Daily DO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),pR={class:"function",style:{width:"5%"}},hR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_R=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),ER={class:"function",style:{width:"5%"}},yR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NR=A(()=>e.createElementVNode("div",null,"24",-1)),VR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),fR={style:{width:"5%"}},gR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),DR={key:0,class:"equation"},bR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>=</div>',6),xR={style:{width:"5%"}},CR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),SR={style:{width:"5%"}},kR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BR={style:{width:"5%"}},AR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wR={key:1,class:"equation"},TR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:15%;" data-v-1413248b>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>FO Consumption in port</div><div style="width:3%;" data-v-1413248b>=</div>',8),OR={style:{width:"5%"}},FR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),PR={style:{width:"5%"}},WR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LR={style:{width:"5%"}},uR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),HR={style:{width:"5%"}},MR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),GR={key:2,class:"equation"},$R=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>=</div>',6),IR={style:{width:"5%"}},RR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),zR={style:{width:"5%"}},UR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),YR={style:{width:"5%"}},ZR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),QR={key:3,class:"equation"},JR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:15%;" data-v-1413248b>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>DO/GO Consumption in port</div><div style="width:3%;" data-v-1413248b>=</div>',8),qR={style:{width:"5%"}},KR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),jR={style:{width:"5%"}},XR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),vR={style:{width:"5%"}},ez=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),tz={style:{width:"5%"}},oz=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),lz={key:2,class:"report-summary"},az=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),nz={class:"summary-item"},sz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),iz={class:"flex blue center"},dz={class:"flex blue center"},cz={class:"summary-item"},rz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),mz={class:"flex blue center"},pz={class:"flex blue center"},hz={class:"summary-item"},_z=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),Ez={key:3,class:"report-summary"},yz=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),Nz={class:"summary-item"},Vz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),fz={class:"flex blue center"},gz={class:"flex blue center"},Dz={class:"summary-item"},bz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),xz={class:"flex blue center"},Cz={class:"flex blue center"},Sz={key:0,class:"summary-item"},kz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),Bz={class:"flex blue center"},Az={class:"flex blue center"},wz={class:"summary-item"},Tz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),Oz={class:"section comment-section"},Fz=["innerHTML"];function Pz(t,s,o,d,l,a){var g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,$o,Io,Ro,zo,Uo,Yo,Qo,Jo,qo,Ko,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,pl,hl,_l,El,yl,Wt,fl,bl,xl,Cl,Sl,kl,Bl,Al,wl,Tl,Ol,Fl,Pl,Wl,Ll,ul,Hl,Ml,Gl,$l,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,ql,Kl,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,Oa,Fa,Pa,Wa,La,ua,Ha,Ma,Ga,$a,Ia,Ra,za,Ua,ae,ro,Ya,Za,Qa;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),E=e.resolveComponent("CirclePlus"),b=e.resolveComponent("el-icon"),x=e.resolveComponent("Remove"),y=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",jH,[e.createVNode(_,{name:"Voyage Deviation Report"}),e.createElementVNode("div",XH,[e.createElementVNode("div",vH,[e.createElementVNode("div",eM,[tM,e.createElementVNode("div",oM,e.toDisplayString((B=(g=l.extraData)==null?void 0:g.vessel)==null?void 0:B.name),1)]),e.createElementVNode("div",lM,[aM,e.createElementVNode("div",nM,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",sM,[iM,e.createElementVNode("div",dM,e.toDisplayString((C=(S=l.extraData)==null?void 0:S.vessel)==null?void 0:C.type),1)]),e.createElementVNode("div",cM,[rM,e.createElementVNode("div",mM,e.toDisplayString((L=(O=l.extraData)==null?void 0:O.voyage)==null?void 0:L.number),1)]),e.createElementVNode("div",pM,[hM,e.createElementVNode("div",_M,[e.createElementVNode("span",EM,e.toDisplayString((T=(w=l.extraData)==null?void 0:w.departure)==null?void 0:T.name),1),e.createElementVNode("span",yM,e.toDisplayString(a.computeUTCTime(((W=(D=l.extraData)==null?void 0:D.departure)==null?void 0:W.atd)||((Z=(Y=l.extraData)==null?void 0:Y.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",NM,[VM,e.createElementVNode("div",fM,[e.createElementVNode("span",gM,e.toDisplayString((P=(I=l.extraData)==null?void 0:I.arrival)==null?void 0:P.name),1),e.createElementVNode("span",DM,e.toDisplayString(a.computeUTCTime((($=(V=l.extraData)==null?void 0:V.arrival)==null?void 0:$.ata)||((u=(M=l.extraData)==null?void 0:M.arrival)==null?void 0:u.eta))),1)])])])]),e.createElementVNode("div",bM,[xM,e.createElementVNode("div",CM,[e.createElementVNode("div",SM,[kM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.extraData)==null?void 0:H.extraDist)} flex blue`)},e.toDisplayString(((Q=l.extraData)==null?void 0:Q.extraDist)??"—"),3)]),e.createElementVNode("div",BM,[AM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:K.totalExtraTime)} flex blue`)},e.toDisplayString(((R=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:R.totalExtraTime)??"—"),3)]),e.createElementVNode("div",wM,[TM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(n=(q=l.extraData)==null?void 0:q.consAnalysis)==null?void 0:n.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(v=(c=l.extraData)==null?void 0:c.consAnalysis)==null?void 0:v.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",OM,[FM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((de=(se=(oe=l.extraData)==null?void 0:oe.consAnalysis)==null?void 0:se.dgo)==null?void 0:de.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(re=(ce=l.extraData)==null?void 0:ce.consAnalysis)==null?void 0:re.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",PM,[WM,e.createElementVNode("div",LM,[e.createElementVNode("img",{style:{width:"100%"},src:(le=l.extraData)==null?void 0:le.chartUrl,alt:""},null,8,uM),HM])]),((_e=o.report)==null?void 0:_e.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",MM,[GM,e.createElementVNode("div",$M,[IM,e.createElementVNode("div",RM,[zM,e.createElementVNode("div",UM,e.toDisplayString(a.computedLngLat((Ne=l.extraData)==null?void 0:Ne.startLat,(Ve=l.extraData)==null?void 0:Ve.startLng)),1),e.createElementVNode("div",YM,e.toDisplayString(a.computeUTCTime((fe=l.extraData)==null?void 0:fe.startTime)),1),e.createElementVNode("div",ZM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",QM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(De=l.extraData)==null?void 0:De.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),JM,qM]),e.createElementVNode("div",KM,[jM,e.createElementVNode("div",XM,e.toDisplayString(a.computedLngLat((be=l.extraData)==null?void 0:be.endLat,(xe=l.extraData)==null?void 0:xe.endLng)),1),e.createElementVNode("div",vM,e.toDisplayString(a.computeUTCTime((Ce=l.extraData)==null?void 0:Ce.endTime)),1),e.createElementVNode("div",eG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",tG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",oG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",lG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ee=l.extraData)==null?void 0:Ee.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",aG,[nG,sG,e.createElementVNode("div",iG,e.toDisplayString(((me=(F=l.extraData)==null?void 0:F.timeAnalysis)==null?void 0:me.actualTime)??"—"),1),e.createElementVNode("div",dG,e.toDisplayString(((Le=(We=(Pe=l.extraData)==null?void 0:Pe.consAnalysis)==null?void 0:We.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",cG,e.toDisplayString(((Re=(Ie=(pe=l.extraData)==null?void 0:pe.consAnalysis)==null?void 0:Ie.dgo)==null?void 0:Re.actualCons)??"—"),1),rG,mG])])])):e.createCommentVNode("",!0),e.createElementVNode("div",pG,[hG,e.createElementVNode("div",_G,[e.createElementVNode("div",EG,[yG,e.createElementVNode("div",NG,e.toDisplayString(((z=(ze=l.extraData)==null?void 0:ze.cp)==null?void 0:z.speed)??"—"),1)]),e.createElementVNode("div",VG,[fG,e.createElementVNode("div",gG,e.toDisplayString(((He=(we=l.extraData)==null?void 0:we.cp)==null?void 0:He.fo)??"—"),1)]),e.createElementVNode("div",DG,[bG,e.createElementVNode("div",xG,e.toDisplayString(((Ye=(Ue=l.extraData)==null?void 0:Ue.cp)==null?void 0:Ye.dgo)??"—"),1)])])]),e.createElementVNode("div",CG,[e.createElementVNode("div",SG,[kG,e.createElementVNode("div",BG,[e.createVNode(b,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(E)]),_:1},8,["onClick"])])]),e.createElementVNode("div",AG,[e.createElementVNode("table",null,[wG,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ne,mo)=>{var Ja,qa,Ka,rt,ln,an,nn,sn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",TG,[e.createVNode(i,{class:"editable-item",value:ne==null?void 0:ne.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:Lt=>a.handleCommit("port","name",Lt,mo)},null,8,["value","options","onSelect","onCommit"])]),OG,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ja=ne==null?void 0:ne.arrival)==null?void 0:Ja.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.date",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(qa=ne==null?void 0:ne.arrival)==null?void 0:qa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.foBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Ka=ne==null?void 0:ne.arrival)==null?void 0:Ka.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.dgoBrob",Lt,mo)},null,8,["value","onCommit"])]),FG,PG,e.createElementVNode("td",WG,[e.createVNode(b,{size:20,onClick:Lt=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(x)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[LG,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(rt=ne==null?void 0:ne.departure)==null?void 0:rt.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Lt=>a.handleCommit("port","departure.date",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(ln=ne==null?void 0:ne.departure)==null?void 0:ln.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.foBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(an=ne==null?void 0:ne.departure)==null?void 0:an.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.dgoBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(nn=ne==null?void 0:ne.departure)==null?void 0:nn.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.bunkeringFo",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(sn=ne==null?void 0:ne.departure)==null?void 0:sn.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.bunkeringDgo",Lt,mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[uG,HG,e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=l.extraData)==null?void 0:Ze.timeAnalysis)==null?void 0:Qe.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((J=(h=(Je=l.extraData)==null?void 0:Je.consAnalysis)==null?void 0:h.fo)==null?void 0:J.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(ue=(Te=l.extraData)==null?void 0:Te.consAnalysis)==null?void 0:ue.dgo)==null?void 0:Me.portCons)??"—"),1),MG,GG,$G])])])])]),e.createElementVNode("div",IG,[RG,e.createElementVNode("div",zG,[UG,e.createElementVNode("div",YG,[ZG,e.createElementVNode("div",QG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(he=l.extraData)==null?void 0:he.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",JG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(Ke=l.extraData)==null?void 0:Ke.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",qG,[KG,e.createElementVNode("div",jG,e.toDisplayString(((Xe=l.extraData)==null?void 0:Xe.extraDist)??"—"),1)])])]),e.createElementVNode("div",XG,[vG,((ve=o.report)==null?void 0:ve.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",e$,[e.createElementVNode("div",t$,[o$,e.createElementVNode("div",l$,[e.createElementVNode("div",null,e.toDisplayString((ot=l.extraData)==null?void 0:ot.extraDist),1),a$,e.createElementVNode("div",null,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),n$,e.createElementVNode("div",s$,e.toDisplayString((pt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:pt.sailingTime),1),i$]),e.createElementVNode("div",d$,[c$,e.createElementVNode("div",r$,e.toDisplayString((_t=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:_t.sailingTime),1),m$,e.createElementVNode("div",p$,e.toDisplayString(a.computeNum((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),h$,e.createElementVNode("div",_$,e.toDisplayString((Vt=(Nt=l.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),E$])])):(e.openBlock(),e.createElementBlock("div",y$,[e.createElementVNode("div",N$,[V$,e.createElementVNode("div",f$,[e.createElementVNode("div",null,e.toDisplayString((ft=l.extraData)==null?void 0:ft.priorDist),1),g$,e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=l.extraData)==null?void 0:gt.cp)==null?void 0:Dt.speed),1)]),D$,e.createElementVNode("div",b$,e.toDisplayString((xt=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:xt.sailingTime),1),x$]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",C$,[S$,e.createElementVNode("div",k$,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.actualTime),1),B$,e.createElementVNode("div",A$,e.toDisplayString((Bt=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:Bt.sailingTime),1),w$,e.createElementVNode("div",T$,e.toDisplayString((wt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:wt.totalExtraTime),1),O$])):(e.openBlock(),e.createElementBlock("div",F$,[P$,e.createElementVNode("div",W$,e.toDisplayString((Ot=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ot.actualTime),1),L$,e.createElementVNode("div",u$,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.sailingTime),1),H$,e.createElementVNode("div",M$,e.toDisplayString((No=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:No.portTime),1),G$,e.createElementVNode("div",$$,e.toDisplayString((fo=(Vo=l.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.totalExtraTime),1),I$]))])),((go=o.report)==null?void 0:go.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",R$,[e.createElementVNode("div",z$,[U$,e.createElementVNode("div",Y$,e.toDisplayString(((bo=(Do=l.extraData)==null?void 0:Do.timeAnalysis)==null?void 0:bo.sailingTime)??"—"),1)]),e.createElementVNode("div",Z$,[Q$,e.createElementVNode("div",J$,e.toDisplayString(((U=(xo=l.extraData)==null?void 0:xo.timeAnalysis)==null?void 0:U.portTime)??"—"),1)]),e.createElementVNode("div",q$,[K$,e.createElementVNode("div",j$,e.toDisplayString(((Ft=(tt=l.extraData)==null?void 0:tt.timeAnalysis)==null?void 0:Ft.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",X$,[e.createElementVNode("div",v$,[eI,e.createElementVNode("div",tI,e.toDisplayString((Mt=(Pt=l.extraData)==null?void 0:Pt.timeAnalysis)==null?void 0:Mt.sailingTime),1)]),e.createElementVNode("div",oI,[lI,e.createElementVNode("div",aI,e.toDisplayString(($t=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:$t.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",nI,[sI,e.createElementVNode("div",iI,e.toDisplayString(((Rt=(It=l.extraData)==null?void 0:It.timeAnalysis)==null?void 0:Rt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",dI,[cI,e.createElementVNode("div",rI,e.toDisplayString((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.totalExtraTime),1)])]))]),e.createElementVNode("div",mI,[pI,((Yt=o.report)==null?void 0:Yt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",hI,[e.createElementVNode("div",_I,[EI,e.createElementVNode("div",yI,[e.createElementVNode("div",null,e.toDisplayString((Zt=l.extraData)==null?void 0:Zt.extraDist),1),NI,e.createElementVNode("div",null,e.toDisplayString((Jt=(Qt=l.extraData)==null?void 0:Qt.cp)==null?void 0:Jt.speed),1)]),VI,e.createElementVNode("div",fI,[e.createElementVNode("div",null,e.toDisplayString((Kt=(qt=l.extraData)==null?void 0:qt.cp)==null?void 0:Kt.fo),1),gI,DI]),bI,e.createElementVNode("div",xI,e.toDisplayString((vt=(Xt=(jt=l.extraData)==null?void 0:jt.consAnalysis)==null?void 0:Xt.fo)==null?void 0:vt.sailingCons),1),CI]),e.createElementVNode("div",SI,[kI,e.createElementVNode("div",BI,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.sailingCons),1),AI,e.createElementVNode("div",wI,e.toDisplayString(a.computeNum((no=(ao=(lo=l.extraData)==null?void 0:lo.consAnalysis)==null?void 0:ao.fo)==null?void 0:no.portCons)),1),TI,e.createElementVNode("div",OI,e.toDisplayString((co=(io=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:io.fo)==null?void 0:co.totalExtraCons),1),FI]),e.createElementVNode("div",PI,[WI,e.createElementVNode("div",LI,[e.createElementVNode("div",null,e.toDisplayString((Co=l.extraData)==null?void 0:Co.extraDist),1),uI,e.createElementVNode("div",null,e.toDisplayString((ko=(So=l.extraData)==null?void 0:So.cp)==null?void 0:ko.speed),1)]),HI,e.createElementVNode("div",MI,[e.createElementVNode("div",null,e.toDisplayString((Ao=(Bo=l.extraData)==null?void 0:Bo.cp)==null?void 0:Ao.dgo),1),GI,$I]),II,e.createElementVNode("div",RI,e.toDisplayString((Oo=(To=(wo=l.extraData)==null?void 0:wo.consAnalysis)==null?void 0:To.dgo)==null?void 0:Oo.sailingCons),1),zI]),e.createElementVNode("div",UI,[YI,e.createElementVNode("div",ZI,e.toDisplayString((Wo=(Po=(Fo=l.extraData)==null?void 0:Fo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Wo.sailingCons),1),QI,e.createElementVNode("div",JI,e.toDisplayString(a.computeNum((Ho=(uo=(Lo=l.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:uo.dgo)==null?void 0:Ho.portCons)),1),qI,e.createElementVNode("div",KI,e.toDisplayString(($o=(Go=(Mo=l.extraData)==null?void 0:Mo.consAnalysis)==null?void 0:Go.dgo)==null?void 0:$o.totalExtraCons),1),jI])])):(e.openBlock(),e.createElementBlock("div",XI,[e.createElementVNode("div",vI,[eR,e.createElementVNode("div",tR,[e.createElementVNode("div",null,e.toDisplayString((Io=l.extraData)==null?void 0:Io.priorDist),1),oR,e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=l.extraData)==null?void 0:Ro.cp)==null?void 0:zo.speed),1)]),lR,e.createElementVNode("div",aR,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=l.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.fo),1),nR,sR]),iR,e.createElementVNode("div",dR,e.toDisplayString((qo=(Jo=(Qo=l.extraData)==null?void 0:Qo.consAnalysis)==null?void 0:Jo.fo)==null?void 0:qo.sailingCons),1),cR]),e.createElementVNode("div",rR,[mR,e.createElementVNode("div",pR,[e.createElementVNode("div",null,e.toDisplayString((Ko=l.extraData)==null?void 0:Ko.priorDist),1),hR,e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=l.extraData)==null?void 0:jo.cp)==null?void 0:Xo.speed),1)]),_R,e.createElementVNode("div",ER,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.extraData)==null?void 0:vo.cp)==null?void 0:el.dgo),1),yR,NR]),VR,e.createElementVNode("div",fR,e.toDisplayString((ll=(ol=(tl=l.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.dgo)==null?void 0:ll.sailingCons),1),gR]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",DR,[bR,e.createElementVNode("div",xR,e.toDisplayString((sl=(nl=(al=l.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.actualCons),1),CR,e.createElementVNode("div",SR,e.toDisplayString(a.computeNum((cl=(dl=(il=l.extraData)==null?void 0:il.consAnalysis)==null?void 0:dl.fo)==null?void 0:cl.sailingCons)),1),kR,e.createElementVNode("div",BR,e.toDisplayString((pl=(ml=(rl=l.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:pl.totalExtraCons),1),AR])):(e.openBlock(),e.createElementBlock("div",wR,[TR,e.createElementVNode("div",OR,e.toDisplayString((El=(_l=(hl=l.extraData)==null?void 0:hl.consAnalysis)==null?void 0:_l.fo)==null?void 0:El.actualCons),1),FR,e.createElementVNode("div",PR,e.toDisplayString(a.computeNum((fl=(Wt=(yl=l.extraData)==null?void 0:yl.consAnalysis)==null?void 0:Wt.fo)==null?void 0:fl.sailingCons)),1),WR,e.createElementVNode("div",LR,e.toDisplayString(a.computeNum((Cl=(xl=(bl=l.extraData)==null?void 0:bl.consAnalysis)==null?void 0:xl.fo)==null?void 0:Cl.portCons)),1),uR,e.createElementVNode("div",HR,e.toDisplayString((Bl=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Bl.totalExtraCons),1),MR])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",GR,[$R,e.createElementVNode("div",IR,e.toDisplayString((Tl=(wl=(Al=l.extraData)==null?void 0:Al.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Tl.actualCons),1),RR,e.createElementVNode("div",zR,e.toDisplayString((Pl=(Fl=(Ol=l.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Pl.sailingCons),1),UR,e.createElementVNode("div",YR,e.toDisplayString((ul=(Ll=(Wl=l.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:ul.totalExtraCons),1),ZR])):(e.openBlock(),e.createElementBlock("div",QR,[JR,e.createElementVNode("div",qR,e.toDisplayString((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.actualCons),1),KR,e.createElementVNode("div",jR,e.toDisplayString(a.computeNum((Rl=(Il=($l=l.extraData)==null?void 0:$l.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Rl.sailingCons)),1),XR,e.createElementVNode("div",vR,e.toDisplayString(a.computeNum((Yl=(Ul=(zl=l.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.dgo)==null?void 0:Yl.portCons)),1),ez,e.createElementVNode("div",tz,e.toDisplayString((Jl=(Ql=(Zl=l.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.dgo)==null?void 0:Jl.totalExtraCons),1),oz]))])),((ql=o.report)==null?void 0:ql.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",lz,[az,e.createElementVNode("div",nz,[sz,e.createElementVNode("div",iz,e.toDisplayString(((Xl=(jl=(Kl=l.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:jl.fo)==null?void 0:Xl.sailingCons)??"—"),1),e.createElementVNode("div",dz,e.toDisplayString(((ta=(ea=(vl=l.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.dgo)==null?void 0:ta.sailingCons)??"—"),1)]),e.createElementVNode("div",cz,[rz,e.createElementVNode("div",mz,e.toDisplayString(((aa=(la=(oa=l.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.fo)==null?void 0:aa.portCons)??"—"),1),e.createElementVNode("div",pz,e.toDisplayString(((ia=(sa=(na=l.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.portCons)??"—"),1)]),e.createElementVNode("div",hz,[_z,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ra=(ca=(da=l.extraData)==null?void 0:da.consAnalysis)==null?void 0:ca.fo)==null?void 0:ra.totalExtraCons)} flex blue center`)},e.toDisplayString(((ha=(pa=(ma=l.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.fo)==null?void 0:ha.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ya=(Ea=(_a=l.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Ea.dgo)==null?void 0:ya.totalExtraCons)} flex blue center`)},e.toDisplayString(((fa=(Va=(Na=l.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",Ez,[yz,e.createElementVNode("div",Nz,[Vz,e.createElementVNode("div",fz,e.toDisplayString((ba=(Da=(ga=l.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.fo)==null?void 0:ba.sailingCons),1),e.createElementVNode("div",gz,e.toDisplayString((Sa=(Ca=(xa=l.extraData)==null?void 0:xa.consAnalysis)==null?void 0:Ca.dgo)==null?void 0:Sa.sailingCons),1)]),e.createElementVNode("div",Dz,[bz,e.createElementVNode("div",xz,e.toDisplayString((Aa=(Ba=(ka=l.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Ba.fo)==null?void 0:Aa.actualCons),1),e.createElementVNode("div",Cz,e.toDisplayString((Oa=(Ta=(wa=l.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Ta.dgo)==null?void 0:Oa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",Sz,[kz,e.createElementVNode("div",Bz,e.toDisplayString((Wa=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.fo)==null?void 0:Wa.portCons),1),e.createElementVNode("div",Az,e.toDisplayString((Ha=(ua=(La=l.extraData)==null?void 0:La.consAnalysis)==null?void 0:ua.dgo)==null?void 0:Ha.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",wz,[Tz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($a=(Ga=(Ma=l.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ga.fo)==null?void 0:$a.totalExtraCons)} flex blue center`)},e.toDisplayString((za=(Ra=(Ia=l.extraData)==null?void 0:Ia.consAnalysis)==null?void 0:Ra.fo)==null?void 0:za.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ro=(ae=(Ua=l.extraData)==null?void 0:Ua.consAnalysis)==null?void 0:ae.dgo)==null?void 0:ro.totalExtraCons)} flex blue center`)},e.toDisplayString((Qa=(Za=(Ya=l.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:Za.dgo)==null?void 0:Qa.totalExtraCons),3)])]))]),e.createElementVNode("div",Oz,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(y,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[8]||(s[8]=ne=>l.advisory=ne),height:"320px",onBlur:s[9]||(s[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,Fz))],2)])])}const An=ke(KH,[["render",Pz],["__scopeId","data-v-1413248b"]]),_le="",Wz={name:"FliDvtRpt",components:{CirclePlus:en.CirclePlus,Remove:en.Remove,EditableItem:Bn,Editor:Zo},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbh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wkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){const o=this.fetchLonLat(ie.LngLatHelper.lat2pretty(t)),d=this.fetchLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} / ${d}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,s,o,d;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(d=this.data)==null?void 0:d.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const s=await ja.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=s==null?void 0:s.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,d,l,a,_;this.extraPortList.splice(t,1);const s=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=s==null?void 0:s.data)==null?void 0:o.data,this.extraPortList=(l=(d=s==null?void 0:s.data)==null?void 0:d.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(_=this.data)==null?void 0:_.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s,o,d){var _,i,E,b,x;this.editable=!1;const l=s.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const g=s.substring(0,l),B=s.substring(l+1);B!=="date"&&(o=Number(o)),this.extraPortList[d][g][B]=o}else this.extraPortList[d][s]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=o,a={[s]:o}):(this.extraData[s]=o,a={[s]:Number(o)});const y=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(_=y==null?void 0:y.data)==null?void 0:_.data,this.extraPortList=(E=(i=y==null?void 0:y.data)==null?void 0:i.data)==null?void 0:E.extraPorts,this.advisory=(b=this.data)!=null&&b.comments?(x=this.data)==null?void 0:x.comments:void 0}else mn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},k=t=>(e.pushScopeId("data-v-77edf8aa"),t=t(),e.popScopeId(),t),Lz={class:"deviation-report"},uz=k(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),Hz={class:"report-header"},Mz={class:"header-title",style:{position:"relative !important"}},Gz={class:"header-title-content"},$z=k(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),Iz={class:"title-date"},Rz={class:"report-summary"},zz={class:"summary-item"},Uz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),Yz={class:"flexL gray"},Zz={class:"summary-item"},Qz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),Jz={class:"flexL gray"},qz={class:"summary-item"},Kz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),jz={class:"flexL gray"},Xz={class:"summary-item"},vz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),eU={class:"flexL gray"},tU={class:"summary-item"},oU=k(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),lU={class:"flexL gray",style:{display:"flex"}},aU={class:"flex"},nU={class:"flexM"},sU={class:"summary-item"},iU=k(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),dU={class:"flexL gray",style:{display:"flex"}},cU={class:"flex"},rU={class:"flexM"},mU=k(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),pU={class:"report-summary"},hU={class:"summary-item"},_U=k(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),EU={class:"summary-item"},yU=k(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),NU={class:"summary-item"},VU=k(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),fU={class:"summary-item"},gU=k(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),DU=k(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),bU={class:"report-map"},xU=["src"],CU=e.createStaticVNode('<div class="legend" data-v-77edf8aa><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Actual Route</div></div><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Route prior to deviation</div></div></div>',1),SU=k(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),kU={key:0,class:"subtitle"},BU={key:1,class:"report-summary"},AU=e.createStaticVNode('<div class="summary-item" data-v-77edf8aa><div class="blue center" style="width:16%;" data-v-77edf8aa>Diversion</div><div class="blue center" style="width:20%;" data-v-77edf8aa>Position</div><div class="blue center" style="width:17%;" data-v-77edf8aa>Date Time</div><div class="flex blue center" data-v-77edf8aa>FO BROB<br data-v-77edf8aa>(mt)</div><div class="flex blue center" data-v-77edf8aa>DO/GO<br data-v-77edf8aa>BROB (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>FO (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>DO/GO (mt)</div></div>',1),wU={class:"summary-item"},TU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),OU={class:"blue center",style:{width:"20%"}},FU={class:"blue center",style:{width:"17%"}},PU={class:"flex blue center"},WU={class:"flex blue center"},LU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),uU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),HU={class:"summary-item"},MU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),GU={class:"blue center",style:{width:"20%"}},$U={class:"blue center",style:{width:"17%"}},IU={class:"flex blue center"},RU={class:"flex blue center"},zU={class:"flex blue center"},UU={class:"flex blue center"},YU={class:"summary-item"},ZU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),QU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),JU={class:"blue center",style:{width:"17%"}},qU={class:"flex blue center"},KU={class:"flex blue center"},jU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),XU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),vU=k(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),eY={class:"report-summary"},tY={class:"summary-item"},oY=k(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),lY={class:"flexL blue center"},aY={class:"summary-item"},nY=k(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),sY={class:"flexL blue center"},iY={class:"summary-item"},dY=k(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),cY={class:"flexL blue center"},rY={class:"subtitle port"},mY=k(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),pY={class:"print-hidden"},hY={class:"report-port"},_Y=k(()=>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)),EY={rowspan:2},yY=k(()=>e.createElementVNode("td",null,"Arrival",-1)),NY=k(()=>e.createElementVNode("td",null,null,-1)),VY=k(()=>e.createElementVNode("td",null,null,-1)),fY={rowspan:2,class:"print-hidden"},gY=k(()=>e.createElementVNode("td",null,"Departure",-1)),DY=k(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),bY=k(()=>e.createElementVNode("td",null,null,-1)),xY=k(()=>e.createElementVNode("td",null,null,-1)),CY=k(()=>e.createElementVNode("td",null,null,-1)),SY=k(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),kY=k(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),BY={class:"report-summary"},AY=k(()=>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)),wY={class:"summary-item"},TY=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),OY={class:"flex blue center"},FY={class:"flex blue center"},PY={class:"summary-item"},WY=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),LY={class:"flex blue center"},uY=k(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),HY={key:2,class:"report-formular"},MY={class:"equation"},GY=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),$Y={class:"function",style:{width:"20%"}},IY=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RY=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zY={style:{width:"10%"}},UY=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),YY={class:"equation"},ZY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:28%;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),QY={style:{width:"5%"}},JY=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),qY={style:{width:"8%"}},KY=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),jY={style:{width:"4%"}},XY=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),vY={key:3,class:"report-formular"},eZ={class:"equation"},tZ=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),oZ={class:"function",style:{width:"20%"}},lZ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aZ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nZ={style:{width:"10%"}},sZ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),iZ={key:0,class:"equation"},dZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:30%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),cZ={style:{width:"5%"}},rZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),mZ={style:{width:"5%"}},pZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),hZ={style:{width:"5%"}},_Z=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),EZ={key:1,class:"equation"},yZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>Time spent in port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',8),NZ={style:{width:"5%"}},VZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),fZ={style:{width:"5%"}},gZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),DZ={style:{width:"5%"}},bZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),xZ={style:{width:"5%"}},CZ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),SZ={key:4,class:"report-summary"},kZ={class:"summary-item"},BZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),AZ={class:"flex blue center"},wZ={class:"summary-item"},TZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),OZ={class:"flex blue center"},FZ={class:"summary-item"},PZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),WZ={class:"flex blue center"},LZ={key:5,class:"report-summary"},uZ={class:"summary-item"},HZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),MZ={class:"flex blue center"},GZ={class:"summary-item"},$Z=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),IZ={class:"flex blue center"},RZ={key:0,class:"summary-item"},zZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),UZ={class:"flex blue center"},YZ={class:"summary-item"},ZZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),QZ={class:"flex blue center"},JZ=k(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),qZ={key:6,class:"report-formular"},KZ={class:"equation"},jZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),XZ={class:"function",style:{width:"5%"}},vZ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),tQ={class:"function",style:{width:"5%"}},oQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lQ=k(()=>e.createElementVNode("div",null,"24",-1)),aQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nQ={style:{width:"5%"}},sQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iQ={class:"equation"},dQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),cQ={style:{width:"5%"}},rQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),mQ={style:{width:"5%"}},pQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),hQ={style:{width:"5%"}},_Q=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),EQ={class:"equation"},yQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),NQ={class:"function",style:{width:"5%"}},VQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),gQ={class:"function",style:{width:"5%"}},DQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bQ=k(()=>e.createElementVNode("div",null,"24",-1)),xQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CQ={style:{width:"5%"}},SQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kQ={class:"equation"},BQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),AQ={style:{width:"5%"}},wQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),TQ={style:{width:"5%"}},OQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),FQ={style:{width:"5%"}},PQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),WQ={key:7,class:"report-formular"},LQ={class:"equation"},uQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),HQ={class:"function",style:{width:"5%"}},MQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),$Q={class:"function",style:{width:"5%"}},IQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RQ=k(()=>e.createElementVNode("div",null,"24",-1)),zQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),UQ={style:{width:"5%"}},YQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ZQ={class:"equation"},QQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),JQ={class:"function",style:{width:"5%"}},qQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),jQ={class:"function",style:{width:"5%"}},XQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vQ=k(()=>e.createElementVNode("div",null,"24",-1)),eJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),tJ={style:{width:"5%"}},oJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),lJ={key:0,class:"equation"},aJ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),nJ={style:{width:"5%"}},sJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),iJ={style:{width:"5%"}},dJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),cJ={style:{width:"5%"}},rJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),mJ={key:1,class:"equation"},pJ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>FO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),hJ={style:{width:"5%"}},_J=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),EJ={style:{width:"5%"}},yJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),NJ={style:{width:"5%"}},VJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),fJ={style:{width:"5%"}},gJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),DJ={key:2,class:"equation"},bJ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),xJ={style:{width:"5%"}},CJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),SJ={style:{width:"5%"}},kJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BJ={style:{width:"5%"}},AJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wJ={key:3,class:"equation"},TJ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>DO/GO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),OJ={style:{width:"5%"}},FJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),PJ={style:{width:"5%"}},WJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LJ={style:{width:"5%"}},uJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),HJ={style:{width:"5%"}},MJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),GJ={key:8,class:"report-summary"},$J=k(()=>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)),IJ={class:"summary-item"},RJ=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),zJ={class:"flex blue center"},UJ={class:"flex blue center"},YJ={class:"summary-item"},ZJ=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),QJ={class:"flex blue center"},JJ={class:"flex blue center"},qJ={class:"summary-item"},KJ=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),jJ={key:9,class:"report-summary"},XJ=k(()=>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)),vJ={class:"summary-item"},eq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),tq={class:"flex blue center"},oq={class:"flex blue center"},lq={class:"summary-item"},aq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),nq={class:"flex blue center"},sq={class:"flex blue center"},iq={key:0,class:"summary-item"},dq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),cq={class:"flex blue center"},rq={class:"flex blue center"},mq={class:"summary-item"},pq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),hq=["innerHTML"];function _q(t,s,o,d,l,a){var y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,$o,Io,Ro,zo,Uo,Yo,Qo,Jo,qo,Ko,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,pl,hl,_l,El,yl,Wt,fl,bl,xl,Cl,Sl,kl,Bl,Al,wl,Tl,Ol,Fl,Pl,Wl,Ll,ul,Hl,Ml,Gl,$l,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,ql,Kl,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,Oa,Fa,Pa,Wa,La,ua,Ha,Ma,Ga,$a,Ia,Ra,za,Ua;const _=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),E=e.resolveComponent("ElIcon"),b=e.resolveComponent("Remove"),x=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Lz,[uz,e.createElementVNode("div",Hz,[e.createElementVNode("div",Mz,[e.createElementVNode("div",Gz,[$z,e.createElementVNode("div",Iz,e.toDisplayString(a.computeUTCTime((y=l.extraData)==null?void 0:y.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",Rz,[e.createElementVNode("div",zz,[Uz,e.createElementVNode("div",Yz,e.toDisplayString((B=(g=l.extraData)==null?void 0:g.vessel)==null?void 0:B.name),1)]),e.createElementVNode("div",Zz,[Qz,e.createElementVNode("div",Jz,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",qz,[Kz,e.createElementVNode("div",jz,e.toDisplayString((C=(S=l.extraData)==null?void 0:S.vessel)==null?void 0:C.type),1)]),e.createElementVNode("div",Xz,[vz,e.createElementVNode("div",eU,e.toDisplayString((L=(O=l.extraData)==null?void 0:O.voyage)==null?void 0:L.number),1)]),e.createElementVNode("div",tU,[oU,e.createElementVNode("div",lU,[e.createElementVNode("span",aU,e.toDisplayString((T=(w=l.extraData)==null?void 0:w.departure)==null?void 0:T.name),1),e.createElementVNode("span",nU,e.toDisplayString(a.computeUTCTime(((W=(D=l.extraData)==null?void 0:D.departure)==null?void 0:W.atd)||((Z=(Y=l.extraData)==null?void 0:Y.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",sU,[iU,e.createElementVNode("div",dU,[e.createElementVNode("span",cU,e.toDisplayString((P=(I=l.extraData)==null?void 0:I.arrival)==null?void 0:P.name),1),e.createElementVNode("span",rU,e.toDisplayString(a.computeUTCTime((($=(V=l.extraData)==null?void 0:V.arrival)==null?void 0:$.ata)||((u=(M=l.extraData)==null?void 0:M.arrival)==null?void 0:u.eta))),1)])])]),mU,e.createElementVNode("div",pU,[e.createElementVNode("div",hU,[_U,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.extraData)==null?void 0:H.extraDist)} flex blue`)},e.toDisplayString(((Q=l.extraData)==null?void 0:Q.extraDist)??"—"),3)]),e.createElementVNode("div",EU,[yU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:K.totalExtraTime)} flex blue`)},e.toDisplayString(((R=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:R.totalExtraTime)??"—"),3)]),e.createElementVNode("div",NU,[VU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(n=(q=l.extraData)==null?void 0:q.consAnalysis)==null?void 0:n.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(v=(c=l.extraData)==null?void 0:c.consAnalysis)==null?void 0:v.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",fU,[gU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((de=(se=(oe=l.extraData)==null?void 0:oe.consAnalysis)==null?void 0:se.dgo)==null?void 0:de.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(re=(ce=l.extraData)==null?void 0:ce.consAnalysis)==null?void 0:re.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])]),DU,e.createElementVNode("div",bU,[e.createElementVNode("img",{style:{width:"100%"},src:(le=l.extraData)==null?void 0:le.chartUrl,alt:""},null,8,xU),CU]),SU,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",kU,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",BU,[AU,e.createElementVNode("div",wU,[TU,e.createElementVNode("div",OU,e.toDisplayString(a.computedLngLat((_e=l.extraData)==null?void 0:_e.startLng,(Ne=l.extraData)==null?void 0:Ne.startLat)),1),e.createElementVNode("div",FU,e.toDisplayString(a.computeUTCTime((Ve=l.extraData)==null?void 0:Ve.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",PU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(fe=l.extraData)==null?void 0:fe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=ae=>a.handleCommit("extra","startFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",WU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=ae=>a.handleCommit("extra","startDgoBrob",ae))},null,8,["value"])]),LU,uU]),e.createElementVNode("div",HU,[MU,e.createElementVNode("div",GU,e.toDisplayString(a.computedLngLat((De=l.extraData)==null?void 0:De.endLng,(be=l.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",$U,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",IU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=ae=>a.handleCommit("extra","endFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",RU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=ae=>a.handleCommit("extra","endDgoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",zU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=ae=>a.handleCommit("extra","endFoBunkering",ae))},null,8,["value"])]),e.createElementVNode("div",UU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=ae=>a.handleCommit("extra","endDgoBunkering",ae))},null,8,["value"])])]),e.createElementVNode("div",YU,[ZU,QU,e.createElementVNode("div",JU,e.toDisplayString(((F=(Ee=l.extraData)==null?void 0:Ee.timeAnalysis)==null?void 0:F.actualTime)??"—"),1),e.createElementVNode("div",qU,e.toDisplayString(((We=(Pe=(me=l.extraData)==null?void 0:me.consAnalysis)==null?void 0:Pe.fo)==null?void 0:We.actualCons)??"—"),1),e.createElementVNode("div",KU,e.toDisplayString(((Ie=(pe=(Le=l.extraData)==null?void 0:Le.consAnalysis)==null?void 0:pe.dgo)==null?void 0:Ie.actualCons)??"—"),1),jU,XU])])),vU,e.createElementVNode("div",eY,[e.createElementVNode("div",tY,[oY,e.createElementVNode("div",lY,e.toDisplayString(((ze=(Re=l.extraData)==null?void 0:Re.cp)==null?void 0:ze.speed)??"—"),1)]),e.createElementVNode("div",aY,[nY,e.createElementVNode("div",sY,e.toDisplayString(((we=(z=l.extraData)==null?void 0:z.cp)==null?void 0:we.fo)??"—"),1)]),e.createElementVNode("div",iY,[dY,e.createElementVNode("div",cY,e.toDisplayString(((Ue=(He=l.extraData)==null?void 0:He.cp)==null?void 0:Ue.dgo)??"—"),1)])]),e.createElementVNode("div",rY,[mY,e.createElementVNode("div",pY,[e.createVNode(E,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",hY,[e.createElementVNode("table",null,[_Y,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ae,ro)=>{var Ya,Za,Qa,ne,mo,Ja,qa,Ka;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ro},[e.createElementVNode("tr",null,[e.createElementVNode("td",EY,[e.createVNode(_,{class:"editable-item",value:ae==null?void 0:ae.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:rt=>a.handleCommit("port","name",rt,ro)},null,8,["value","options","onSelect","onCommit"])]),yY,e.createElementVNode("td",null,[e.createVNode(_,{class:"check editable-item",value:(Ya=ae==null?void 0:ae.arrival)==null?void 0:Ya.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","arrival.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(Za=ae==null?void 0:ae.arrival)==null?void 0:Za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(Qa=ae==null?void 0:ae.arrival)==null?void 0:Qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),NY,VY,e.createElementVNode("td",fY,[e.createVNode(E,{size:20,onClick:rt=>a.handleRemove(ro)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[gY,e.createElementVNode("td",null,[e.createVNode(_,{class:"check editable-item",value:(ne=ae==null?void 0:ae.departure)==null?void 0:ne.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","departure.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(mo=ae==null?void 0:ae.departure)==null?void 0:mo.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(Ja=ae==null?void 0:ae.departure)==null?void 0:Ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(qa=ae==null?void 0:ae.departure)==null?void 0:qa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringFo",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(Ka=ae==null?void 0:ae.departure)==null?void 0:Ka.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringDgo",rt,ro)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[DY,bY,e.createElementVNode("td",null,e.toDisplayString(((Ze=(Ye=l.extraData)==null?void 0:Ye.timeAnalysis)==null?void 0:Ze.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((h=(Je=(Qe=l.extraData)==null?void 0:Qe.consAnalysis)==null?void 0:Je.fo)==null?void 0:h.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((ue=(Te=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:Te.dgo)==null?void 0:ue.portCons)??"—"),1),xY,CY,SY])])])]),kY,e.createElementVNode("div",BY,[AY,e.createElementVNode("div",wY,[TY,e.createElementVNode("div",OY,[e.createVNode(_,{class:"editable-item",style:{padding:"0px"},value:(Me=l.extraData)==null?void 0:Me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=ae=>a.handleCommit("extraData","actualDist",ae,t.index))},null,8,["value"])]),e.createElementVNode("div",FY,[e.createVNode(_,{class:"editable-item",style:{padding:"0px"},value:(he=l.extraData)==null?void 0:he.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=ae=>a.handleCommit("extraData","priorDist",ae,t.index))},null,8,["value"])])]),e.createElementVNode("div",PY,[WY,e.createElementVNode("div",LY,e.toDisplayString(((Ke=l.extraData)==null?void 0:Ke.extraDist)??"—"),1)])]),uY,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",HY,[e.createElementVNode("div",MY,[GY,e.createElementVNode("div",$Y,[e.createElementVNode("div",null,e.toDisplayString((Xe=l.extraData)==null?void 0:Xe.extraDist),1),IY,e.createElementVNode("div",null,e.toDisplayString((ot=(ve=l.extraData)==null?void 0:ve.cp)==null?void 0:ot.speed),1)]),RY,e.createElementVNode("div",zY,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.sailingTime),1),UY]),e.createElementVNode("div",YY,[ZY,e.createElementVNode("div",QY,e.toDisplayString((pt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:pt.sailingTime),1),JY,e.createElementVNode("div",qY,e.toDisplayString(a.computeNum((_t=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:_t.portTime)),1),KY,e.createElementVNode("div",jY,e.toDisplayString((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.totalExtraTime),1),XY])])):(e.openBlock(),e.createElementBlock("div",vY,[e.createElementVNode("div",eZ,[tZ,e.createElementVNode("div",oZ,[e.createElementVNode("div",null,e.toDisplayString((Nt=l.extraData)==null?void 0:Nt.priorDist),1),lZ,e.createElementVNode("div",null,e.toDisplayString((ft=(Vt=l.extraData)==null?void 0:Vt.cp)==null?void 0:ft.speed),1)]),aZ,e.createElementVNode("div",nZ,e.toDisplayString((Dt=(gt=l.extraData)==null?void 0:gt.timeAnalysis)==null?void 0:Dt.sailingTime),1),sZ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",iZ,[dZ,e.createElementVNode("div",cZ,e.toDisplayString((xt=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:xt.actualTime),1),rZ,e.createElementVNode("div",mZ,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.sailingTime),1),pZ,e.createElementVNode("div",hZ,e.toDisplayString((Bt=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:Bt.totalExtraTime),1),_Z])):(e.openBlock(),e.createElementBlock("div",EZ,[yZ,e.createElementVNode("div",NZ,e.toDisplayString((wt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:wt.actualTime),1),VZ,e.createElementVNode("div",fZ,e.toDisplayString((Ot=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ot.sailingTime),1),gZ,e.createElementVNode("div",DZ,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.portTime),1),bZ,e.createElementVNode("div",xZ,e.toDisplayString((No=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:No.totalExtraTime),1),CZ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",SZ,[e.createElementVNode("div",kZ,[BZ,e.createElementVNode("div",AZ,e.toDisplayString(((fo=(Vo=l.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.sailingTime)??"—"),1)]),e.createElementVNode("div",wZ,[TZ,e.createElementVNode("div",OZ,e.toDisplayString(((Do=(go=l.extraData)==null?void 0:go.timeAnalysis)==null?void 0:Do.portTime)??"—"),1)]),e.createElementVNode("div",FZ,[PZ,e.createElementVNode("div",WZ,e.toDisplayString(((xo=(bo=l.extraData)==null?void 0:bo.timeAnalysis)==null?void 0:xo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",LZ,[e.createElementVNode("div",uZ,[HZ,e.createElementVNode("div",MZ,e.toDisplayString((tt=(U=l.extraData)==null?void 0:U.timeAnalysis)==null?void 0:tt.sailingTime),1)]),e.createElementVNode("div",GZ,[$Z,e.createElementVNode("div",IZ,e.toDisplayString((Pt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Pt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",RZ,[zZ,e.createElementVNode("div",UZ,e.toDisplayString(((Gt=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:Gt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",YZ,[ZZ,e.createElementVNode("div",QZ,e.toDisplayString((It=($t=l.extraData)==null?void 0:$t.timeAnalysis)==null?void 0:It.totalExtraTime),1)])])),JZ,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",qZ,[e.createElementVNode("div",KZ,[jZ,e.createElementVNode("div",XZ,[e.createElementVNode("div",null,e.toDisplayString((Rt=l.extraData)==null?void 0:Rt.extraDist),1),vZ,e.createElementVNode("div",null,e.toDisplayString((Ut=(zt=l.extraData)==null?void 0:zt.cp)==null?void 0:Ut.speed),1)]),eQ,e.createElementVNode("div",tQ,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.cp)==null?void 0:Zt.fo),1),oQ,lQ]),aQ,e.createElementVNode("div",nQ,e.toDisplayString((qt=(Jt=(Qt=l.extraData)==null?void 0:Qt.consAnalysis)==null?void 0:Jt.fo)==null?void 0:qt.sailingCons),1),sQ]),e.createElementVNode("div",iQ,[dQ,e.createElementVNode("div",cQ,e.toDisplayString((Xt=(jt=(Kt=l.extraData)==null?void 0:Kt.consAnalysis)==null?void 0:jt.fo)==null?void 0:Xt.sailingCons),1),rQ,e.createElementVNode("div",mQ,e.toDisplayString(a.computeNum((to=(eo=(vt=l.extraData)==null?void 0:vt.consAnalysis)==null?void 0:eo.fo)==null?void 0:to.portCons)),1),pQ,e.createElementVNode("div",hQ,e.toDisplayString((ao=(lo=(oo=l.extraData)==null?void 0:oo.consAnalysis)==null?void 0:lo.fo)==null?void 0:ao.totalExtraCons),1),_Q]),e.createElementVNode("div",EQ,[yQ,e.createElementVNode("div",NQ,[e.createElementVNode("div",null,e.toDisplayString((no=l.extraData)==null?void 0:no.extraDist),1),VQ,e.createElementVNode("div",null,e.toDisplayString((io=(so=l.extraData)==null?void 0:so.cp)==null?void 0:io.speed),1)]),fQ,e.createElementVNode("div",gQ,[e.createElementVNode("div",null,e.toDisplayString((Co=(co=l.extraData)==null?void 0:co.cp)==null?void 0:Co.dgo),1),DQ,bQ]),xQ,e.createElementVNode("div",CQ,e.toDisplayString((Bo=(ko=(So=l.extraData)==null?void 0:So.consAnalysis)==null?void 0:ko.dgo)==null?void 0:Bo.sailingCons),1),SQ]),e.createElementVNode("div",kQ,[BQ,e.createElementVNode("div",AQ,e.toDisplayString((To=(wo=(Ao=l.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:wo.dgo)==null?void 0:To.sailingCons),1),wQ,e.createElementVNode("div",TQ,e.toDisplayString(a.computeNum((Po=(Fo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Fo.dgo)==null?void 0:Po.portCons)),1),OQ,e.createElementVNode("div",FQ,e.toDisplayString((uo=(Lo=(Wo=l.extraData)==null?void 0:Wo.consAnalysis)==null?void 0:Lo.dgo)==null?void 0:uo.totalExtraCons),1),PQ])])):(e.openBlock(),e.createElementBlock("div",WQ,[e.createElementVNode("div",LQ,[uQ,e.createElementVNode("div",HQ,[e.createElementVNode("div",null,e.toDisplayString((Ho=l.extraData)==null?void 0:Ho.priorDist),1),MQ,e.createElementVNode("div",null,e.toDisplayString((Go=(Mo=l.extraData)==null?void 0:Mo.cp)==null?void 0:Go.speed),1)]),GQ,e.createElementVNode("div",$Q,[e.createElementVNode("div",null,e.toDisplayString((Io=($o=l.extraData)==null?void 0:$o.cp)==null?void 0:Io.fo),1),IQ,RQ]),zQ,e.createElementVNode("div",UQ,e.toDisplayString((Uo=(zo=(Ro=l.extraData)==null?void 0:Ro.consAnalysis)==null?void 0:zo.fo)==null?void 0:Uo.sailingCons),1),YQ]),e.createElementVNode("div",ZQ,[QQ,e.createElementVNode("div",JQ,[e.createElementVNode("div",null,e.toDisplayString((Yo=l.extraData)==null?void 0:Yo.priorDist),1),qQ,e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=l.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.speed),1)]),KQ,e.createElementVNode("div",jQ,[e.createElementVNode("div",null,e.toDisplayString((Ko=(qo=l.extraData)==null?void 0:qo.cp)==null?void 0:Ko.dgo),1),XQ,vQ]),eJ,e.createElementVNode("div",tJ,e.toDisplayString((vo=(Xo=(jo=l.extraData)==null?void 0:jo.consAnalysis)==null?void 0:Xo.dgo)==null?void 0:vo.sailingCons),1),oJ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",lJ,[aJ,e.createElementVNode("div",nJ,e.toDisplayString((ol=(tl=(el=l.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.actualCons),1),sJ,e.createElementVNode("div",iJ,e.toDisplayString(a.computeNum((nl=(al=(ll=l.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.sailingCons)),1),dJ,e.createElementVNode("div",cJ,e.toDisplayString((dl=(il=(sl=l.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:dl.totalExtraCons),1),rJ])):(e.openBlock(),e.createElementBlock("div",mJ,[pJ,e.createElementVNode("div",hJ,e.toDisplayString((ml=(rl=(cl=l.extraData)==null?void 0:cl.consAnalysis)==null?void 0:rl.fo)==null?void 0:ml.actualCons),1),_J,e.createElementVNode("div",EJ,e.toDisplayString(a.computeNum((_l=(hl=(pl=l.extraData)==null?void 0:pl.consAnalysis)==null?void 0:hl.fo)==null?void 0:_l.sailingCons)),1),yJ,e.createElementVNode("div",NJ,e.toDisplayString(a.computeNum((Wt=(yl=(El=l.extraData)==null?void 0:El.consAnalysis)==null?void 0:yl.fo)==null?void 0:Wt.portCons)),1),VJ,e.createElementVNode("div",fJ,e.toDisplayString((xl=(bl=(fl=l.extraData)==null?void 0:fl.consAnalysis)==null?void 0:bl.fo)==null?void 0:xl.totalExtraCons),1),gJ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",DJ,[bJ,e.createElementVNode("div",xJ,e.toDisplayString((kl=(Sl=(Cl=l.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.dgo)==null?void 0:kl.actualCons),1),CJ,e.createElementVNode("div",SJ,e.toDisplayString((wl=(Al=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:Al.dgo)==null?void 0:wl.sailingCons),1),kJ,e.createElementVNode("div",BJ,e.toDisplayString((Fl=(Ol=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Fl.totalExtraCons),1),AJ])):(e.openBlock(),e.createElementBlock("div",wJ,[TJ,e.createElementVNode("div",OJ,e.toDisplayString((Ll=(Wl=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Wl.dgo)==null?void 0:Ll.actualCons),1),FJ,e.createElementVNode("div",PJ,e.toDisplayString(a.computeNum((Ml=(Hl=(ul=l.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.sailingCons)),1),WJ,e.createElementVNode("div",LJ,e.toDisplayString(a.computeNum((Il=($l=(Gl=l.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Il.portCons)),1),uJ,e.createElementVNode("div",HJ,e.toDisplayString((Ul=(zl=(Rl=l.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.totalExtraCons),1),MJ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",GJ,[$J,e.createElementVNode("div",IJ,[RJ,e.createElementVNode("div",zJ,e.toDisplayString(((Ql=(Zl=(Yl=l.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.fo)==null?void 0:Ql.sailingCons)??"—"),1),e.createElementVNode("div",UJ,e.toDisplayString(((Kl=(ql=(Jl=l.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:ql.dgo)==null?void 0:Kl.sailingCons)??"—"),1)]),e.createElementVNode("div",YJ,[ZJ,e.createElementVNode("div",QJ,e.toDisplayString(((vl=(Xl=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:vl.portCons)??"—"),1),e.createElementVNode("div",JJ,e.toDisplayString(((oa=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.dgo)==null?void 0:oa.portCons)??"—"),1)]),e.createElementVNode("div",qJ,[KJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((na=(aa=(la=l.extraData)==null?void 0:la.consAnalysis)==null?void 0:aa.fo)==null?void 0:na.totalExtraCons)} flex blue center`)},e.toDisplayString(((da=(ia=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:ia.fo)==null?void 0:da.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ma=(ra=(ca=l.extraData)==null?void 0:ca.consAnalysis)==null?void 0:ra.dgo)==null?void 0:ma.totalExtraCons)} flex blue center`)},e.toDisplayString(((_a=(ha=(pa=l.extraData)==null?void 0:pa.consAnalysis)==null?void 0:ha.dgo)==null?void 0:_a.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",jJ,[XJ,e.createElementVNode("div",vJ,[eq,e.createElementVNode("div",tq,e.toDisplayString((Na=(ya=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:ya.fo)==null?void 0:Na.sailingCons),1),e.createElementVNode("div",oq,e.toDisplayString((ga=(fa=(Va=l.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.dgo)==null?void 0:ga.sailingCons),1)]),e.createElementVNode("div",lq,[aq,e.createElementVNode("div",nq,e.toDisplayString((xa=(ba=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:ba.fo)==null?void 0:xa.actualCons),1),e.createElementVNode("div",sq,e.toDisplayString((ka=(Sa=(Ca=l.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.dgo)==null?void 0:ka.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",iq,[dq,e.createElementVNode("div",cq,e.toDisplayString((wa=(Aa=(Ba=l.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:Aa.fo)==null?void 0:wa.portCons),1),e.createElementVNode("div",rq,e.toDisplayString((Fa=(Oa=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Oa.dgo)==null?void 0:Fa.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",mq,[pq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((La=(Wa=(Pa=l.extraData)==null?void 0:Pa.consAnalysis)==null?void 0:Wa.fo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ma=(Ha=(ua=l.extraData)==null?void 0:ua.consAnalysis)==null?void 0:Ha.fo)==null?void 0:Ma.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ia=($a=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Ia.totalExtraCons)} flex blue center`)},e.toDisplayString((Ua=(za=(Ra=l.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.dgo)==null?void 0:Ua.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(x,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[8]||(s[8]=ae=>l.advisory=ae),height:"320px",onBlur:s[9]||(s[9]=ae=>a.handleCommit("comments","comments",ae))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...ae)=>a.decideDisable&&a.decideDisable(...ae)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,hq))],2)])}const wn=ke(Wz,[["render",_q],["__scopeId","data-v-77edf8aa"]]),Eq={install(t){t.component("DeviationReport",An),t.component("FliDeviationReport",wn)}},Ele="",yq={components:{IdmBrand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2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NYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,s=3){return t==="-"?"-":ie.roundPrecision(t,s)}}}},Eo=t=>(e.pushScopeId("data-v-7a8a2e6d"),t=t(),e.popScopeId(),t),Nq={class:"stoppage-report"},Vq={class:"report-summary"},fq={class:"summary-item"},gq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),Dq={class:"flexL gray"},bq={class:"summary-item"},xq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),Cq={class:"flexL gray"},Sq={class:"summary-item"},kq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),Bq={class:"flexL gray"},Aq={class:"summary-item"},wq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),Tq={class:"flexL gray"},Oq={class:"summary-item"},Fq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),Pq={class:"flexL gray",style:{display:"flex"}},Wq={class:"flex"},Lq={class:"flexM"},uq={class:"summary-item"},Hq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),Mq={class:"flexL gray",style:{display:"flex"}},Gq={class:"flex"},$q={class:"flexM"},Iq=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),Rq={class:"report-summary"},zq={class:"summary-item"},Uq=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),Yq={class:"summary-item"},Zq=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),Qq={class:"summary-item"},Jq=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),qq=Eo(()=>e.createElementVNode("div",{class:"subtitle",style:{"page-break-before":"always"}},"Stoppage Info",-1)),Kq={class:"report-table"},jq=Eo(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2},"Stoppage"),e.createElementVNode("th",{rowspan:2},"Position"),e.createElementVNode("th",{rowspan:2},"Date"),e.createElementVNode("th",{colspan:2},"BROB (mt)"),e.createElementVNode("th",{rowspan:2},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Xq=Eo(()=>e.createElementVNode("td",null,"Stopped",-1)),vq={rowspan:2},eK={rowspan:2},tK={rowspan:2},oK=Eo(()=>e.createElementVNode("td",null,"Resumed",-1)),lK={class:"report-map flex-center"},aK=["src"];function nK(t,s,o,d,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de;const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Nq,[e.createVNode(_,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",Vq,[e.createElementVNode("div",fq,[gq,e.createElementVNode("div",Dq,e.toDisplayString((E=(i=o.report)==null?void 0:i.vessel)==null?void 0:E.name),1)]),e.createElementVNode("div",bq,[xq,e.createElementVNode("div",Cq,e.toDisplayString((b=o.report)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",Sq,[kq,e.createElementVNode("div",Bq,e.toDisplayString((y=(x=o.report)==null?void 0:x.vessel)==null?void 0:y.type),1)]),e.createElementVNode("div",Aq,[wq,e.createElementVNode("div",Tq,e.toDisplayString((B=(g=o.report)==null?void 0:g.voyage)==null?void 0:B.number),1)]),e.createElementVNode("div",Oq,[Fq,e.createElementVNode("div",Pq,[e.createElementVNode("span",Wq,e.toDisplayString((S=(r=o.report)==null?void 0:r.departure)==null?void 0:S.name),1),e.createElementVNode("span",Lq,e.toDisplayString(a.computeUTCTime(((O=(C=o.report)==null?void 0:C.departure)==null?void 0:O.atd)||((w=(L=o.report)==null?void 0:L.departure)==null?void 0:w.etd))),1)])]),e.createElementVNode("div",uq,[Hq,e.createElementVNode("div",Mq,[e.createElementVNode("span",Gq,e.toDisplayString((D=(T=o.report)==null?void 0:T.arrival)==null?void 0:D.name),1),e.createElementVNode("span",$q,e.toDisplayString(a.computeUTCTime(((Y=(W=o.report)==null?void 0:W.arrival)==null?void 0:Y.ata)||((I=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:I.eta))),1)])])]),Iq,e.createElementVNode("div",Rq,[e.createElementVNode("div",zq,[Uq,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((P=o.report)==null?void 0:P.totalTime))},e.toDisplayString(((V=o.report)==null?void 0:V.totalTime)??"—"),5)]),e.createElementVNode("div",Yq,[Zq,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle(($=o.report)==null?void 0:$.totalFoCons))},e.toDisplayString(((M=o.report)==null?void 0:M.totalFoCons)??"—"),5)]),e.createElementVNode("div",Qq,[Jq,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((u=o.report)==null?void 0:u.totalDgoCons))},e.toDisplayString(((H=o.report)==null?void 0:H.totalDgoCons)??"—"),5)])]),qq,e.createElementVNode("div",Kq,[e.createElementVNode("table",null,[jq,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Xq,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((Q=o.report)==null?void 0:Q.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((j=o.report)==null?void 0:j.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((K=o.report)==null?void 0:K.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((N=o.report)==null?void 0:N.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((R=o.report)==null?void 0:R.stopDgoBrob)??"-")),1),e.createElementVNode("td",vq,e.toDisplayString(a.computeRoundPrecision(((q=o.report)==null?void 0:q.totalTime)??"-")),1),e.createElementVNode("td",eK,e.toDisplayString(a.computeRoundPrecision(((n=o.report)==null?void 0:n.totalFoCons)??"-")),1),e.createElementVNode("td",tK,e.toDisplayString(a.computeRoundPrecision(((X=o.report)==null?void 0:X.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[oK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((c=o.report)==null?void 0:c.resumeLat).pretty)+" / "+e.toDisplayString(a.computeLng((v=o.report)==null?void 0:v.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((te=o.report)==null?void 0:te.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((oe=o.report)==null?void 0:oe.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((se=o.report)==null?void 0:se.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",lK,[e.createElementVNode("img",{src:(de=o.report)==null?void 0:de.chartUrl,alt:""},null,8,aK)])])}const Tn=ke(yq,[["render",nK],["__scopeId","data-v-7a8a2e6d"]]),sK={install(t){t.component("StoppageReport",Tn)}},yle="",iK={name:"OrmComparison",components:{Editor:Zo,IdmBrand:_o},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${G(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ie.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let o="";return t>0?s==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:s==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var t,s;(t=this.report)!=null&&t.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(t,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:t,value:s})}}},qe=t=>(e.pushScopeId("data-v-7d3d9d3b"),t=t(),e.popScopeId(),t),dK={class:"comparison-report"},cK={class:"report-summary"},rK={class:"summary-item"},mK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),pK={class:"flexL gray"},hK={class:"summary-item"},_K=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),EK={class:"flexL gray"},yK={class:"summary-item"},NK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),VK={class:"flexL gray"},fK={class:"summary-item"},gK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),DK={class:"flexL gray"},bK={class:"summary-item"},xK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),CK={class:"flexL gray"},SK={class:"summary-item"},kK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),BK={class:"flexL gray",style:{display:"flex"}},AK={class:"flex"},wK={class:"flexM"},TK={class:"summary-item"},OK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),FK={class:"flexL gray",style:{display:"flex"}},PK={class:"flex"},WK={class:"flexM"},LK=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),uK={class:"report-summary"},HK={class:"summary-item"},MK=qe(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),GK={class:"summary-item"},$K=qe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),IK={class:"summary-item"},RK=qe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),zK=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),UK={class:"report-map"},YK=["src"],ZK=e.createStaticVNode('<div class="legend" data-v-7d3d9d3b><div class="legend-item" data-v-7d3d9d3b><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-7d3d9d3b></div><div data-v-7d3d9d3b>Actual Route</div></div><div class="legend-item" data-v-7d3d9d3b><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-7d3d9d3b></div><div data-v-7d3d9d3b>Recommended Route</div></div></div>',1),QK={key:0,class:"subtitle"},JK={key:1,class:"report-summary"},qK={class:"summary-item"},KK=qe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),jK={class:"flexL blue center"},XK={class:"summary-item"},vK=qe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),ej={class:"flexL blue center"},tj={class:"summary-item"},oj=qe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),lj={class:"flexL blue center"},aj=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),nj={class:"report-summary"},sj=qe(()=>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)),ij={class:"summary-item"},dj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),cj={class:"flex blue-light center"},rj={class:"flex blue-light center"},mj={class:"summary-item"},pj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),hj={class:"flex blue-light center"},_j={class:"flex blue-light center"},Ej={class:"summary-item"},yj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Nj={class:"flex blue-light center"},Vj={class:"flex blue-light center"},fj={class:"summary-item"},gj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Dj={class:"flex blue-light center"},bj={class:"flex blue-light center"},xj={class:"summary-item"},Cj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),Sj={class:"flex blue-light center"},kj={class:"flex blue-light center"},Bj={class:"summary-item"},Aj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),wj={class:"flex blue-light center"},Tj={class:"flex blue-light center"},Oj={class:"summary-item"},Fj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Pj={class:"flex blue-light center italic"},Wj=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Lj={class:"report-summary"},uj=qe(()=>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)),Hj={class:"summary-item"},Mj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Gj={class:"flex blue-light center"},$j={class:"flex blue-light center"},Ij={class:"summary-item"},Rj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),zj={class:"flex blue-light center"},Uj={class:"flex blue-light center"},Yj={class:"summary-item"},Zj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),Qj={class:"flex blue-light center"},Jj={class:"flex blue-light center"},qj={class:"summary-item"},Kj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),jj={class:"flex blue-light center"},Xj={class:"flex blue-light center"},vj={class:"summary-item"},eX=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),tX={class:"flex blue-light center italic"},oX={class:"summary-item"},lX=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),aX={class:"flex blue-light center italic"},nX=["innerHTML"];function sX(t,s,o,d,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",dK,[e.createVNode(_,{name:"Voyage Comparison Report"}),e.createElementVNode("div",cK,[e.createElementVNode("div",rK,[mK,e.createElementVNode("div",pK,e.toDisplayString((b=(E=o.report)==null?void 0:E.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",hK,[_K,e.createElementVNode("div",EK,e.toDisplayString((x=o.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",yK,[NK,e.createElementVNode("div",VK,e.toDisplayString((g=(y=o.report)==null?void 0:y.vessel)==null?void 0:g.type),1)]),e.createElementVNode("div",fK,[gK,e.createElementVNode("div",DK,e.toDisplayString((r=(B=o.report)==null?void 0:B.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",bK,[xK,e.createElementVNode("div",CK,e.toDisplayString((C=(S=o.report)==null?void 0:S.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",SK,[kK,e.createElementVNode("div",BK,[e.createElementVNode("span",AK,e.toDisplayString((L=(O=o.report)==null?void 0:O.departure)==null?void 0:L.name),1),e.createElementVNode("span",wK,e.toDisplayString(a.computeUTCTime(((T=(w=o.report)==null?void 0:w.departure)==null?void 0:T.atd)||((W=(D=o.report)==null?void 0:D.departure)==null?void 0:W.etd))),1)])]),e.createElementVNode("div",TK,[OK,e.createElementVNode("div",FK,[e.createElementVNode("span",PK,e.toDisplayString((Z=(Y=o.report)==null?void 0:Y.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",WK,e.toDisplayString(a.computeUTCTime(((P=(I=o.report)==null?void 0:I.arrival)==null?void 0:P.ata)||(($=(V=o.report)==null?void 0:V.arrival)==null?void 0:$.eta))),1)])])]),LK,e.createElementVNode("div",uK,[e.createElementVNode("div",HK,[MK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=o.report)==null?void 0:M.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((u=o.report)==null?void 0:u.diffTime,"time")),3)]),e.createElementVNode("div",GK,[$K,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=o.report)==null?void 0:H.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((Q=o.report)==null?void 0:Q.diffFoCons,"oil")),3)]),e.createElementVNode("div",IK,[RK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=o.report)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((K=o.report)==null?void 0:K.diffDgoCons,"oil")),3)])]),zK,e.createElementVNode("div",UK,[e.createElementVNode("img",{style:{width:"100%"},src:(N=o.report)==null?void 0:N.chartUrl,alt:""},null,8,YK),ZK]),(R=o.report)!=null&&R.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",QK,"CP Terms")),(q=o.report)!=null&&q.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",JK,[e.createElementVNode("div",qK,[KK,e.createElementVNode("div",jK,e.toDisplayString(((X=(n=o.report)==null?void 0:n.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",XK,[vK,e.createElementVNode("div",ej,e.toDisplayString(((v=(c=o.report)==null?void 0:c.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",tj,[oj,e.createElementVNode("div",lj,e.toDisplayString(((oe=(te=o.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),aj,e.createElementVNode("div",nj,[sj,e.createElementVNode("div",ij,[dj,e.createElementVNode("div",cj,e.toDisplayString(((se=o.report)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",rj,e.toDisplayString(((de=o.report)==null?void 0:de.recmdDist)??"—"),1)]),e.createElementVNode("div",mj,[pj,e.createElementVNode("div",hj,e.toDisplayString(((ce=o.report)==null?void 0:ce.actualTime)??"—"),1),e.createElementVNode("div",_j,e.toDisplayString(((re=o.report)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",Ej,[yj,e.createElementVNode("div",Nj,e.toDisplayString(((ye=o.report)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",Vj,e.toDisplayString(((le=o.report)==null?void 0:le.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",fj,[gj,e.createElementVNode("div",Dj,e.toDisplayString(((_e=o.report)==null?void 0:_e.actualAvgCF)??"—"),1),e.createElementVNode("div",bj,e.toDisplayString(((Ne=o.report)==null?void 0:Ne.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",xj,[Cj,e.createElementVNode("div",Sj,e.toDisplayString(((Ve=o.report)==null?void 0:Ve.actualAvgWF)??"—"),1),e.createElementVNode("div",kj,e.toDisplayString(((fe=o.report)==null?void 0:fe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Bj,[Aj,e.createElementVNode("div",wj,e.toDisplayString(((ge=o.report)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",Tj,e.toDisplayString(((De=o.report)==null?void 0:De.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Oj,[Fj,e.createElementVNode("div",Pj,e.toDisplayString(a.compareTime((be=o.report)==null?void 0:be.actualTime,(xe=o.report)==null?void 0:xe.recmdTime)),1)])]),Wj,e.createElementVNode("div",Lj,[uj,e.createElementVNode("div",Hj,[Mj,e.createElementVNode("div",Gj,e.toDisplayString(((Ce=o.report)==null?void 0:Ce.actualAvgFoCons)??"-"),1),e.createElementVNode("div",$j,e.toDisplayString(((Se=o.report)==null?void 0:Se.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Ij,[Rj,e.createElementVNode("div",zj,e.toDisplayString(((Oe=o.report)==null?void 0:Oe.actualFoCons)??"-"),1),e.createElementVNode("div",Uj,e.toDisplayString(((Fe=o.report)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Yj,[Zj,e.createElementVNode("div",Qj,e.toDisplayString(((Ee=o.report)==null?void 0:Ee.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",Jj,e.toDisplayString(((F=o.report)==null?void 0:F.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",qj,[Kj,e.createElementVNode("div",jj,e.toDisplayString(((me=o.report)==null?void 0:me.actualDgoCons)??"-"),1),e.createElementVNode("div",Xj,e.toDisplayString(((Pe=o.report)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",vj,[eX,e.createElementVNode("div",tX,e.toDisplayString(((We=o.report)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",oX,[lX,e.createElementVNode("div",aX,e.toDisplayString(((Le=o.report)==null?void 0:Le.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.computeBlankHtml(l.advisory)?"print-hidden":""}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.computeBlankHtml(l.advisory)?"print-hidden":""}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>l.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>a.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=pe=>l.editable=!l.editable),innerHTML:a.computeBlankHtml(l.advisory)?"Please double click to modify remark":l.advisory},null,40,nX))],2)])}const On=ke(iK,[["render",sX],["__scopeId","data-v-7d3d9d3b"]]),Nle="",iX={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Zo},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJ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FZZC+RaKX9C0qZznyVcg0pdKa6IY9Alh0Evpwo6Zt9bxbJ2nJf0PKKaXO6nknbkU6D83hkRJOViMBLdKUi9mJNC9Hk+D9jB9IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${G(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ie.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let o="";return t>0?s==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:s==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s){this.editable=!1;const o={[t]:s};await ja.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=s}}},$e=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),dX={class:"comparison-report"},cX=$e(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),rX={class:"report-header"},mX={class:"header-title",style:{position:"relative !important"}},pX={class:"header-title-content"},hX=$e(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),_X={class:"title-date"},EX={class:"report-summary"},yX={class:"summary-item"},NX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),VX={class:"flexL gray"},fX={class:"summary-item"},gX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),DX={class:"flexL gray"},bX={class:"summary-item"},xX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),CX={class:"flexL gray"},SX={class:"summary-item"},kX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),BX={class:"flexL gray"},AX={class:"summary-item"},wX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),TX={class:"flexL gray"},OX={class:"summary-item"},FX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),PX={class:"flexL gray",style:{display:"flex"}},WX={class:"flex"},LX={class:"flexM"},uX={class:"summary-item"},HX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),MX={class:"flexL gray",style:{display:"flex"}},GX={class:"flex"},$X={class:"flexM"},IX=$e(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),RX={class:"report-summary"},zX={class:"summary-item"},UX=$e(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),YX={class:"summary-item"},ZX=$e(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),QX={class:"summary-item"},JX=$e(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),qX=$e(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),KX={class:"report-map"},jX=["src"],XX=e.createStaticVNode('<div class="legend" data-v-b2f57055><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-b2f57055></div><div data-v-b2f57055>Actual Route</div></div><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-b2f57055></div><div data-v-b2f57055>Ocean π Recommended Route</div></div></div>',1),vX=$e(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),ev={key:0,class:"subtitle"},tv={key:1,class:"report-summary"},ov={class:"summary-item"},lv=$e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),av={class:"flexL blue center"},nv={class:"summary-item"},sv=$e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),iv={class:"flexL blue center"},dv={class:"summary-item"},cv=$e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),rv={class:"flexL blue center"},mv=$e(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),pv={class:"report-summary"},hv=$e(()=>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)),_v={class:"summary-item"},Ev=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),yv={class:"flex blue-light center"},Nv={class:"flex blue-light center"},Vv={class:"summary-item"},fv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),gv={class:"flex blue-light center"},Dv={class:"flex blue-light center"},bv={class:"summary-item"},xv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Cv={class:"flex blue-light center"},Sv={class:"flex blue-light center"},kv={class:"summary-item"},Bv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Av={class:"flex blue-light center"},wv={class:"flex blue-light center"},Tv={class:"summary-item"},Ov=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),Fv={class:"flex blue-light center"},Pv={class:"flex blue-light center"},Wv={class:"summary-item"},Lv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),uv={class:"flex blue-light center"},Hv={class:"flex blue-light center"},Mv={class:"summary-item"},Gv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),$v={class:"flex blue-light center italic"},Iv=$e(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Rv={class:"report-summary"},zv=$e(()=>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)),Uv={class:"summary-item"},Yv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Zv={class:"flex blue-light center"},Qv={class:"flex blue-light center"},Jv={class:"summary-item"},qv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Kv={class:"flex blue-light center"},jv={class:"flex blue-light center"},Xv={class:"summary-item"},vv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),eee={class:"flex blue-light center"},tee={class:"flex blue-light center"},oee={class:"summary-item"},lee=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),aee={class:"flex blue-light center"},nee={class:"flex blue-light center"},see={class:"summary-item"},iee=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),dee={class:"flex blue-light center italic"},cee={class:"summary-item"},ree=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),mee={class:"flex blue-light center italic"},pee=["innerHTML"];function hee(t,s,o,d,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le;const _=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",dX,[cX,e.createElementVNode("div",rX,[e.createElementVNode("div",mX,[e.createElementVNode("div",pX,[hX,e.createElementVNode("div",_X,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",EX,[e.createElementVNode("div",yX,[NX,e.createElementVNode("div",VX,e.toDisplayString((b=(E=l.comparisonData)==null?void 0:E.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",fX,[gX,e.createElementVNode("div",DX,e.toDisplayString((x=l.comparisonData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",bX,[xX,e.createElementVNode("div",CX,e.toDisplayString((g=(y=l.comparisonData)==null?void 0:y.vessel)==null?void 0:g.type),1)]),e.createElementVNode("div",SX,[kX,e.createElementVNode("div",BX,e.toDisplayString((r=(B=l.comparisonData)==null?void 0:B.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",AX,[wX,e.createElementVNode("div",TX,e.toDisplayString((C=(S=l.comparisonData)==null?void 0:S.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",OX,[FX,e.createElementVNode("div",PX,[e.createElementVNode("span",WX,e.toDisplayString((L=(O=l.comparisonData)==null?void 0:O.departure)==null?void 0:L.name),1),e.createElementVNode("span",LX,e.toDisplayString(a.computeUTCTime(((T=(w=l.comparisonData)==null?void 0:w.departure)==null?void 0:T.atd)||((W=(D=l.comparisonData)==null?void 0:D.departure)==null?void 0:W.etd))),1)])]),e.createElementVNode("div",uX,[HX,e.createElementVNode("div",MX,[e.createElementVNode("span",GX,e.toDisplayString((Z=(Y=l.comparisonData)==null?void 0:Y.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",$X,e.toDisplayString(a.computeUTCTime(((P=(I=l.comparisonData)==null?void 0:I.arrival)==null?void 0:P.ata)||(($=(V=l.comparisonData)==null?void 0:V.arrival)==null?void 0:$.eta))),1)])])]),IX,e.createElementVNode("div",RX,[e.createElementVNode("div",zX,[UX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=l.comparisonData)==null?void 0:M.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((u=l.comparisonData)==null?void 0:u.diffTime,"time")),3)]),e.createElementVNode("div",YX,[ZX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((Q=l.comparisonData)==null?void 0:Q.diffFoCons,"oil")),3)]),e.createElementVNode("div",QX,[JX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=l.comparisonData)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffDgoCons,"oil")),3)])]),qX,e.createElementVNode("div",KX,[e.createElementVNode("img",{style:{width:"100%"},src:(N=l.comparisonData)==null?void 0:N.chartUrl,alt:""},null,8,jX),XX]),vX,(R=l.comparisonData)!=null&&R.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ev,"CP Terms")),(q=l.comparisonData)!=null&&q.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tv,[e.createElementVNode("div",ov,[lv,e.createElementVNode("div",av,e.toDisplayString(((X=(n=l.comparisonData)==null?void 0:n.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",nv,[sv,e.createElementVNode("div",iv,e.toDisplayString(((v=(c=l.comparisonData)==null?void 0:c.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",dv,[cv,e.createElementVNode("div",rv,e.toDisplayString(((oe=(te=l.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),mv,e.createElementVNode("div",pv,[hv,e.createElementVNode("div",_v,[Ev,e.createElementVNode("div",yv,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",Nv,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.recmdDist)??"—"),1)]),e.createElementVNode("div",Vv,[fv,e.createElementVNode("div",gv,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.actualTime)??"—"),1),e.createElementVNode("div",Dv,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",bv,[xv,e.createElementVNode("div",Cv,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",Sv,e.toDisplayString(((le=l.comparisonData)==null?void 0:le.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",kv,[Bv,e.createElementVNode("div",Av,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.actualAvgCF)??"—"),1),e.createElementVNode("div",wv,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Tv,[Ov,e.createElementVNode("div",Fv,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.actualAvgWF)??"—"),1),e.createElementVNode("div",Pv,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Wv,[Lv,e.createElementVNode("div",uv,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",Hv,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Mv,[Gv,e.createElementVNode("div",$v,e.toDisplayString(a.compareTime((be=l.comparisonData)==null?void 0:be.actualTime,(xe=l.comparisonData)==null?void 0:xe.recmdTime)),1)])]),Iv,e.createElementVNode("div",Rv,[zv,e.createElementVNode("div",Uv,[Yv,e.createElementVNode("div",Zv,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Qv,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Jv,[qv,e.createElementVNode("div",Kv,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.actualFoCons)??"-"),1),e.createElementVNode("div",jv,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Xv,[vv,e.createElementVNode("div",eee,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",tee,e.toDisplayString(((F=l.comparisonData)==null?void 0:F.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",oee,[lee,e.createElementVNode("div",aee,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.actualDgoCons)??"-"),1),e.createElementVNode("div",nee,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",see,[iee,e.createElementVNode("div",dee,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",cee,[ree,e.createElementVNode("div",mee,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>l.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>a.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...pe)=>a.decideDisable&&a.decideDisable(...pe)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,pee))],2)])}const Fn=ke(iX,[["render",hee],["__scopeId","data-v-b2f57055"]]),_ee={install(t){t.component("OrmComparisonReport",On),t.component("FliComparisonReport",Fn)}},Eee={install(t){t.component("IdmBrand",_o),t.component("IdmThird",on)}},Vle="",fle="",yee={name:"QuotaReport",components:{Brand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){gl.accessToken=this.mapboxToken,this.map=new gl.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}})}}},Pn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),Nee={class:"quota-report"},Vee=Pn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),fee={class:"section quota-section"},gee=Pn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Dee={class:"label"},bee={class:"label"},xee=["innerHTML"],Cee=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function See(t,s,o,d,l,a){const _=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Nee,[e.createVNode(_,{name:"Quotation Sheet"}),Vee,e.createElementVNode("div",fee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[gee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,E)=>(e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",Dee,e.toDisplayString(i.rank),1),e.createElementVNode("td",bee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[E][b-1]||""},null,8,xee))),128))]))),128))])]),Cee])])}const Wn=ke(yee,[["render",See],["__scopeId","data-v-f3647134"]]),gle="",kee={name:"QuotaReport",components:{Brand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){gl.accessToken=this.mapboxToken,this.map=new gl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Ln=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),Bee={class:"quota-report"},Aee=Ln(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),wee={class:"section quota-section"},Tee=Ln(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Oee={class:"label"},Fee={class:"label"},Pee=["innerHTML"],Wee=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function Lee(t,s,o,d,l,a){const _=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Bee,[e.createVNode(_,{name:"Quotation Sheet"}),Aee,e.createElementVNode("div",wee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Tee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,E)=>(e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",Oee,e.toDisplayString(i.rank),1),e.createElementVNode("td",Fee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[E][b-1]||""},null,8,Pee))),128))]))),128))])]),Wee])])}const un=ke(kee,[["render",Lee],["__scopeId","data-v-e3ab3a93"]]),Dle="",uee={name:"QuotaReport",components:{Brand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){gl.accessToken=this.mapboxToken,this.map=new gl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Hn=t=>(e.pushScopeId("data-v-fecdf217"),t=t(),e.popScopeId(),t),Hee={class:"quota-report"},Mee=Hn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Gee={class:"section quota-section"},$ee=Hn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Iee={class:"label"},Ree={class:"label"},zee=["innerHTML"],Uee=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function Yee(t,s,o,d,l,a){const _=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Hee,[e.createVNode(_,{name:"Quotation Sheet for TONGLI"}),Mee,e.createElementVNode("div",Gee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[$ee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,E)=>(e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",Iee,e.toDisplayString(i.rank),1),e.createElementVNode("td",Ree,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[E][b-1]||""},null,8,zee))),128))]))),128))])]),Uee])])}const Mn=ke(uee,[["render",Yee],["__scopeId","data-v-fecdf217"]]),Zee={install(t){t.component("OrmQuoteReport",Wn),t.component("OrmQuoteReport4SEOA",un),t.component("OrmQuoteReport4TongLi",Mn)}},ble="",Qee={name:"PrecipitationReport",components:{IdmBrand:_o,IdmLoading:tn},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,s,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const d of(s=this.report)==null?void 0:s.rows)this.computeForm(d);this.form=(o=this.report)==null?void 0:o.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,o="MMM-DD/HHmm[LT]"){return`${G(t).utcOffset(s).format(o)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return s||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,_,i,E,b,x;const s=ie.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=s;const o={};for(let y=0;y<((l=t==null?void 0:t.extend)==null?void 0:l.length);y++){const g=t==null?void 0:t.extend[y];if(y===0)g.precip.pacc=0;else{const B=G(g.utc).utcOffset(s),r=(a=g.precip)==null?void 0:a.acc;if(g.precip.pacc=r,r>0){const S=o[B.format("MMM-DD")],C=Math.floor(B.get("hour")/6);S?(S.pacc=this.roundPrecision(S.pacc+r,1),S[`${C}`]?S[`${C}`]+=r:(S[`${C}`]=r,S.colspan+=1)):(o[B.format("MMM-DD")]={pacc:r,colspan:1},o[B.format("MMM-DD")][`${C}`]=r)}}}t.paccInDays=o;let d=0;for(const y of Object.keys(o))d+=(_=o[y])==null?void 0:_.colspan,o[y].level=((i=o[y])==null?void 0:i.pacc)<10?"Light":((E=o[y])==null?void 0:E.pacc)<24.9?"Moderate":((b=o[y])==null?void 0:b.pacc)<49.9?"Heavy":((x=o[y])==null?void 0:x.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=d,t}}},methods:{initEchart(){var t,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Nl.init(this.$refs.echart)));const o=[],d=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(s=(t=this.form)==null?void 0:t.extend)==null||s.forEach(i=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W;const E=G(i.utc).utcOffset((b=this.form)==null?void 0:b.localTZ).format("MMM-DD/HHmm[LT]");o.push(E),a=((y=(x=i.wave)==null?void 0:x.sig)==null?void 0:y.height)>a?(B=(g=i.wave)==null?void 0:g.sig)==null?void 0:B.height:a,d.push([E,(r=i.wind)==null?void 0:r.kts,(S=i.gusts)==null?void 0:S.kts,(O=(C=i.wave)==null?void 0:C.sig)==null?void 0:O.height,(L=i.wind)==null?void 0:L.direction,(w=i.wind)==null?void 0:w.degree,(T=i.wind)==null?void 0:T.scale,(D=i.current)==null?void 0:D.kts,(W=i.precip)==null?void 0:W.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const _={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:o}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:a,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:d,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:d,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:d,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:d,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:d,z:2}]};this.echart.setOption(_)}},async initMap(){this.version==="Pretty"&&!this.map&&(gl.accessToken=this.mapboxToken,this.map=new gl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const s of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var s;(s=this.map)==null||s.flyTo({center:[t.lng,t.lat],zoom:8})}}},ut=t=>(e.pushScopeId("data-v-93671675"),t=t(),e.popScopeId(),t),Jee={class:"precipitation-report"},qee={class:"section area-section"},Kee={class:"area-block"},jee={class:"area-header flex-space"},Xee={class:"flex-start"},vee=["onClick"],ete={class:"flex-end"},tte={class:"area-body"},ote=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-93671675>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-93671675><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-93671675>Heavy Rainstorm (&gt;100mm)</div></div>',2),lte={class:"flex-evenly"},ate={key:0},nte=["colspan"],ste=["colspan"],ite={style:{"font-size":"10px"}},dte={key:0},cte={key:1},rte={key:2},mte={key:3},pte={key:0},hte={key:1,style:{"font-size":"14px"}},_te=ut(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Ete={class:"section echart-section"},yte={ref:"echart",class:"echart"},Nte={class:"section sample-section"},Vte=ut(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),fte=["colspan"],gte=ut(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Dte=ut(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),bte=ut(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),xte=ut(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Cte=ut(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Ste=ut(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),kte={key:0},Bte={key:1},Ate=ut(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),wte=ut(()=>e.createElementVNode("th",null,"Dir",-1)),Tte=ut(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ote=ut(()=>e.createElementVNode("th",null,"BF",-1)),Fte=ut(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Pte=ut(()=>e.createElementVNode("th",null,"Dir",-1)),Wte=ut(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Lte=ut(()=>e.createElementVNode("th",null,"Prd (s)",-1)),ute=ut(()=>e.createElementVNode("th",null,"Dir",-1)),Hte=ut(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Mte=ut(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Gte=ut(()=>e.createElementVNode("th",null,"°C",-1)),$te={width:"120px"},Ite={key:0},Rte={key:1},zte={key:0,class:"degree-box"},Ute={key:1},Yte={key:0,class:"degree-box"},Zte={key:1},Qte={key:0,class:"degree-box"},Jte={key:1},qte={class:"section area-section"},Kte={class:"area-block"},jte={class:"area-header flex-end"},Xte={class:"flex-end"},vte={class:"area-body"},eoe=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-93671675>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-93671675><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-93671675>Heavy Rainstorm (&gt;100mm)</div></div>',2),toe=["colspan"],ooe=["colspan"],loe={style:{"font-size":"10px"}},aoe={key:0},noe={key:1},soe={key:2},ioe={key:3},doe={key:1,style:{"font-size":"14px"}},coe={key:0};function roe(t,s,o,d,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",Jee,[e.createVNode(_,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=V=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",qee,[e.createElementVNode("div",Kee,[e.createElementVNode("div",jee,[e.createElementVNode("div",Xee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=o.report)==null?void 0:E.rows,(V,$)=>(e.openBlock(),e.createElementBlock("div",{key:$,class:e.normalizeClass(l.index===$?"header-item active":"header-item"),onClick:M=>{var u;return l.index=$,l.form=(u=o.report)==null?void 0:u.rows[l.index]}},e.toDisplayString(V.rank)+". "+e.toDisplayString(V.name),11,vee))),128))]),e.createElementVNode("div",ete,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=V=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",tte,[ote,e.createElementVNode("div",lte,[l.form?(e.openBlock(),e.createElementBlock("table",ate,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:l.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((b=l.form)==null?void 0:b.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((x=l.form)==null?void 0:x.name)+" ("+e.toDisplayString(a.computeLat((y=l.form)==null?void 0:y.lat).pretty)+" / "+e.toDisplayString(a.computeLng((g=l.form)==null?void 0:g.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((r=(B=l.form)==null?void 0:B.extend)==null?void 0:r[0].utc,(S=l.form)==null?void 0:S.localTZ))+" to "+e.toDisplayString(a.computeLTime((O=(C=l.form)==null?void 0:C.extend)==null?void 0:O.at(-1).utc,(L=l.form)==null?void 0:L.localTZ))+", "+e.toDisplayString(a.computeTZ((w=l.form)==null?void 0:w.localTZ))+")",1)],8,nte)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((T=l.form)==null?void 0:T.paccInDays),(V,$)=>{var M;return e.openBlock(),e.createElementBlock("th",{key:$,colspan:l.form.paccInDays[V].colspan,class:e.normalizeClass((M=l.form.paccInDays[V])==null?void 0:M.level)},e.toDisplayString(V)+" ("+e.toDisplayString(l.form.paccInDays[V].pacc)+") ",11,ste)}),128))]),e.createElementVNode("tr",ite,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((D=l.form)==null?void 0:D.paccInDays),(V,$)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:$},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((M=l.form)==null?void 0:M.paccInDays[V]),(u,H)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:H},[u==="0"?(e.openBlock(),e.createElementBlock("th",dte,"00-06")):e.createCommentVNode("",!0),u==="1"?(e.openBlock(),e.createElementBlock("th",cte,"06-12")):e.createCommentVNode("",!0),u==="2"?(e.openBlock(),e.createElementBlock("th",rte,"12-18")):e.createCommentVNode("",!0),u==="3"?(e.openBlock(),e.createElementBlock("th",mte,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(Y=Object.keys((W=l.form)==null?void 0:W.paccInDays))!=null&&Y.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((Z=l.form)==null?void 0:Z.paccInDays),(V,$)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:$},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((M=l.form)==null?void 0:M.paccInDays[V]),(u,H)=>{var Q;return e.openBlock(),e.createElementBlock(e.Fragment,{key:H},[["0","1","2","3"].includes(u)?(e.openBlock(),e.createElementBlock("td",pte,e.toDisplayString(a.roundPrecision((Q=l.form)==null?void 0:Q.paccInDays[V][u],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",hte,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),_te,e.createElementVNode("div",Ete,[e.createElementVNode("div",yte,null,512)]),e.createElementVNode("div",Nte,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Vte,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,fte),gte,Dte,bte,xte,Cte,Ste]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",kte,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Bte,"Acc (mm)")):e.createCommentVNode("",!0),Ate,wte,Tte,Ote,Fte,Pte,Wte,Lte,ute,Hte,Mte,Gte])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((I=l.form)==null?void 0:I.extend,(V,$)=>{var M,u,H,Q,j,K,N,R,q,n,X,c,v,te,oe,se,de,ce,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se;return e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",$te,e.toDisplayString(a.computeLTime(V.utc,(M=l.form)==null?void 0:M.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Ite,e.toDisplayString(a.roundPrecision((u=V.precip)==null?void 0:u.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Rte,e.toDisplayString((H=V.precip)==null?void 0:H.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.visibility/1852,0)),1),e.createElementVNode("td",null,[(Q=V.wind)!=null&&Q.kts?(e.openBlock(),e.createElementBlock("span",zte,[e.createTextVNode(e.toDisplayString((j=V.wind)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((K=V.wind)==null?void 0:K.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ute,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=V.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((R=V.wind)==null?void 0:R.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((q=V.gusts)==null?void 0:q.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(n=V.wave)==null?void 0:n.wd)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,[(v=(c=V.wave)==null?void 0:c.swell)!=null&&v.height?(e.openBlock(),e.createElementBlock("span",Yte,[e.createTextVNode(e.toDisplayString((oe=(te=V.wave)==null?void 0:te.swell)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((de=(se=V.wave)==null?void 0:se.swell)==null?void 0:de.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Zte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(ce=V.wave)==null?void 0:ce.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((le=(ye=V.wave)==null?void 0:ye.swell)==null?void 0:le.period,1)),1),e.createElementVNode("td",null,[(Ne=(_e=V.wave)==null?void 0:_e.sig)!=null&&Ne.height?(e.openBlock(),e.createElementBlock("span",Qte,[e.createTextVNode(e.toDisplayString((fe=(Ve=V.wave)==null?void 0:Ve.sig)==null?void 0:fe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((De=(ge=V.wave)==null?void 0:ge.sig)==null?void 0:De.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Jte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((xe=(be=V.wave)==null?void 0:be.sig)==null?void 0:xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Se=(Ce=V.wave)==null?void 0:Ce.sig)==null?void 0:Se.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",qte,[e.createElementVNode("div",Kte,[e.createElementVNode("div",jte,[e.createElementVNode("div",Xte,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=V=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",vte,[eoe,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((P=o.report)==null?void 0:P.rows,(V,$)=>{var M,u,H;return e.openBlock(),e.createElementBlock("div",{key:$,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:V.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(V==null?void 0:V.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(V==null?void 0:V.name)+" ("+e.toDisplayString(a.computeLat(V==null?void 0:V.lat).pretty)+" / "+e.toDisplayString(a.computeLng(V==null?void 0:V.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((M=V==null?void 0:V.extend)==null?void 0:M[0].utc,V==null?void 0:V.localTZ))+" to "+e.toDisplayString(a.computeLTime((u=V==null?void 0:V.extend)==null?void 0:u.at(-1).utc,V==null?void 0:V.localTZ))+", "+e.toDisplayString(a.computeTZ(V==null?void 0:V.localTZ))+")",1)],8,toe)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(V==null?void 0:V.paccInDays),(Q,j)=>{var K;return e.openBlock(),e.createElementBlock("th",{key:j,colspan:V.paccInDays[Q].colspan,class:e.normalizeClass((K=V.paccInDays[Q])==null?void 0:K.level)},e.toDisplayString(Q)+" ("+e.toDisplayString(V.paccInDays[Q].pacc)+") ",11,ooe)}),128))]),e.createElementVNode("tr",loe,[(H=Object.keys(V==null?void 0:V.paccInDays))!=null&&H.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(V==null?void 0:V.paccInDays),(Q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(V==null?void 0:V.paccInDays[Q]),(K,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[K==="0"?(e.openBlock(),e.createElementBlock("th",aoe,"00-06")):e.createCommentVNode("",!0),K==="1"?(e.openBlock(),e.createElementBlock("th",noe,"06-12")):e.createCommentVNode("",!0),K==="2"?(e.openBlock(),e.createElementBlock("th",soe,"12-18")):e.createCommentVNode("",!0),K==="3"?(e.openBlock(),e.createElementBlock("th",ioe,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",doe,"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(V==null?void 0:V.paccInDays),(Q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(V==null?void 0:V.paccInDays[Q]),(K,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[["0","1","2","3"].includes(K)?(e.openBlock(),e.createElementBlock("td",coe,e.toDisplayString(a.roundPrecision(V==null?void 0:V.paccInDays[Q][K],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Gn=ke(Qee,[["render",roe],["__scopeId","data-v-93671675"]]),moe={install(t){t.component("PrecipitationReport",Gn)}},poe={install(t){t.component("IdmLoading",tn)}};ee.BrandPlugin=Eee,ee.ComparisonPlugin=_ee,ee.DeviationPlugin=Eq,ee.DeviationReport=An,ee.FliComparisonReport=Fn,ee.FliDeviationReport=wn,ee.FliInvoiceReport=kn,ee.FliPlanReport=Nn,ee.FliVoyageReport=Dn,ee.HurricanePlugin=hL,ee.IdmBrand=_o,ee.IdmEditor=Zo,ee.IdmEditorPlugin=xE,ee.IdmLat=va,ee.IdmLatPlugin=CE,ee.IdmLng=Xa,ee.IdmLngPlugin=SE,ee.IdmLoading=tn,ee.IdmThird=on,ee.InvoicePlugin=IH,ee.InvoiceReport=Cn,ee.LoadingPlugin=poe,ee.ORMPointReport=hn,ee.OpiPlanReport=dn,ee.OpiVoyageReport=gn,ee.OrmComparisonReport=On,ee.OrmInvoiceReport=Sn,ee.OrmPlanReport=Vn,ee.OrmQuoteReport=Wn,ee.OrmQuoteReport4SEOA=un,ee.OrmQuoteReport4TongLi=Mn,ee.OrmVoyageReport=bn,ee.PiLogo=fn,ee.PiLogoPlugin=FE,ee.PointReport=_n,ee.PointReportPlugin=Er,ee.PrecipitationReport=Gn,ee.PrecipitationReportPlugin=moe,ee.QuoteReportPlugin=Zee,ee.RouteReport=dn,ee.RouteReportPlugin=bE,ee.StoppageReport=Tn,ee.StoppageReportPlugin=sK,ee.TropicalReport=xn,ee.VoyageReportPlugin=cL,Object.defineProperty(ee,Symbol.toStringTag,{value:"Module"})});
41
+ -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function OE(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",BE,[(e.openBlock(),e.createElementBlock("svg",AE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},TE,8,wE)]))])}const fn=ke(kE,[["render",OE]]),FE={install(t){t.component("PiLogo",fn)}},Hoe="",Moe="",PE={components:{Editor:Zo,IdmBrand:on},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd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lM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,bgSrc:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBoAAAAvCAYAAABNJKlSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABBVSURBVHhe7d2Hd1TnnYdx/wm7m91szWart2+yfTdtW5KtySbZTeLuxA3HLU6CCzY4Y9xiwMaFEkMoBkw1TXQVhEACdaEu1NuojEZdM2oz89t773vv3HvnviI4dnBsP99znsPhcECcOULM++Gd4ZqybhGnUrMup5RVibdOt+LMO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P1m95uVX0k0FH5yC1H5Tc0/brZzcF+7eYjbjepflXXjUfkV6yyAv2y2Q3+PuzterPDVr+k6Rev0/eh6w7Jh77u7xe8fc3t59MdVH31oPzcjwlo0AQ0+AMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQ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oMEOaAAargY0mB9/xcFOqxeyumRDTlg2ZIdlc15Y9p0flL1GB0oiklM9bJVfOyLlreNSZnSxY1LaBuJWXUPTMmIc/s0m4twAYIwxxtj7d0DDe2zmm2fGZ1NW5q2K4amkDE0mpHdE1RaZl+aBOblkVN0za1XWMSvFbTNWpxvjkmeUXR8HGuyABqABaHh/QMNzxu//haxuCwNey+6VTXl9sim3T/YXR6wOlw5JXs2IVVHTmFS0TVg19sakfSBuZb72f2RqXsZivNEfY4wxxthPOqCBycx8SmKzquhkwmpg3LxpMW/VOjgnTf2zVlVdM1aVRudbp6WoWZXXEJecuphkG5lwATQADUAD0ODNhIXVR3rk5WOqjTl9sjW/32rnuUE5VDJklVUWlfy6UbsRCwKq2iel0si8FdAxOG3dDBidmrfiv/RjjDHGGPvZG9DAfqozXy4Sm01ajcWTMjSRSGciRld0zqo9MicN4Zl0lZ3TUt6hKmufloKmWLrcuik5Xu1kAgXQADQADW8HGlYf7ZG1J8PGYxeWDTl9suPsoJUJAEfKo5Jld6Z+TArsTAC42Dlp1RRW7w1g1js8k0YAM8YYY4wx9sEb0MDed5uaSaabmE5KZHzeatCoZ3hOOiKzvhr7ZqS2Z9pXeUdcilu9xSS/YUpy6yZ9ZdeatzbGVeVu+0rHgAagwUYGFxrWneqTjXn9xuNkl9sv289GZE/RkOz2dKRiWE5UjciJyhE5blfQMCaFTeNujeNS1TEltV2qGrs261/8Z3yZLwcwXwrgLZmy/8AwxhhjjDH2Dg9oYOwqbj6RksmZZLBp1dDEvAyMzaXr19Q5NCstAzNXVHVXXCo7YldUhVF5e0wKGidVDbom0p1ZoHyzem/j2k7rqtOX51TrL9fuTMO4lLROSknL5SvOqLY7Jg29cW31Rq0D09IzPCs9UW8z6fpGZ2U8ntA2N89JnjHGGGOMfRAn8v+kbzBftZKigAAAAABJRU5ErkJggg==",self.location).href,date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],noGoodWxDay:"Not available due to no good weather days."}},computed:{computedAvgCf:function(){return function(t){var s,o;return(o=(s=this.reportData)==null?void 0:s.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s==="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s==="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,s){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),c=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${s} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return s==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):s==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,s){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(s==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(s==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(s==="FO"?c.conclusion="FO under consumption":c.conclusion="DO/GO under consumption",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,s){return s?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(s="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),s}},computedColor(){return function(t,s,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(s){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}}},watch:{reportData:{handler(t,s){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,s;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(s=(t=this.reportData)==null?void 0:t.segments)==null||s.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(_=>{let i={time:G(_.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+G(_.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:_.duration,distance:_.distance,fo:_.foCons,dgo:_.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(_=>{a.push(this.computedSeg(_))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(_=>_.type!=="A"&&_.goodWx))})}}},f=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),WE=["src"],LE={class:"voyage-main"},uE={class:"main",style:{"page-break-after":"always"}},HE={class:"main-title",style:{position:"relative !important"}},ME=["src"],GE={class:"main-title-content"},$E=f(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),IE={class:"title-date"},RE={class:"main-subtitle"},zE={class:"white"},UE=f(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),YE={class:"subtitle-main"},ZE=f(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),QE={class:"subtitle-main"},JE={class:"main-box"},qE={class:"main-table"},KE=f(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),jE={class:"bold"},XE=f(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),vE={class:"bold"},ey=f(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),ty={class:"bold"},oy=f(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),ly={class:"bold"},ay={style:{display:"inline-block",width:"50%"}},ny=f(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),sy={class:"bold"},iy={style:{display:"inline-block",width:"50%"}},cy=f(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),dy={class:"tips",style:{display:"flex"}},ry={style:{color:"var(--table-note-color)"}},my={class:"summary-table",style:{"margin-top":"5px"}},py=f(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),hy={style:{width:"15%"}},_y={key:1},Ey=f(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),yy={key:1},Ny=f(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),Vy={key:1},fy=f(()=>e.createElementVNode("div",{style:{color:"var(--table-note-color-2)","font-size":"10.5pt",margin:"10px 0","text-align":"right"}}," *Please see voyage analysis pages for the details. ",-1)),gy=f(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),Dy={class:"weather-definition"},by={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},xy=f(()=>e.createElementVNode("div",null,"Exclusion",-1)),Cy=f(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),Sy={class:"remark-table"},ky=f(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Date/Time"),e.createElementVNode("td",null,"Duration(hrs)"),e.createElementVNode("td",null,"Distance(nm)"),e.createElementVNode("td",null,"FO(mt)"),e.createElementVNode("td",null,"DO/GO(mt)")])],-1)),By=["innerHTML"],Ay={class:"analysis page-title"},wy={class:"analysis-title"},Ty={class:"analysis-title-detail"},Oy=f(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),Fy={class:"page-avoid"},Py={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},Wy=f(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),Ly=f(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),uy=f(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),Hy=f(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),My=f(()=>e.createElementVNode("tr",null,null,-1)),Gy={class:"title"},$y={class:"title"},Iy={class:"title"},Ry={class:"title"},zy=f(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),Uy={class:"page-avoid",style:{"margin-bottom":"15px"}},Yy={class:"analysis-table",cellspacing:"0",cellpadding:"0"},Zy=f(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title",style:{width:"35%"}}),e.createElementVNode("td",{colspan:"2",class:"title"},"Good Weather"),e.createElementVNode("td",{colspan:"2",class:"title"},"All Weather")],-1)),Qy=f(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title"}),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA"),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA")],-1)),Jy=f(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),qy={class:"inGoodWx"},Ky={class:"inGoodWx"},jy=f(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),Xy={class:"inGoodWx"},vy={class:"inGoodWx"},eN=f(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),tN={class:"inGoodWx"},oN={class:"inGoodWx"},lN=f(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),aN={class:"inGoodWx"},nN={class:"inGoodWx"},sN=f(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),iN={class:"inGoodWx"},cN={class:"inGoodWx"},dN=f(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),rN={class:"inGoodWx"},mN={class:"inGoodWx"},pN=f(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),hN={class:"inGoodWx"},_N={class:"inGoodWx"},EN={key:0,class:"analysis-tips"},yN={key:1,class:"analysis-definition"},NN={key:2,class:"analysis-definition"},VN=f(()=>e.createElementVNode("br",null,null,-1)),fN={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},gN=f(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),DN=f(()=>e.createElementVNode("span",null,"= ",-1)),bN={key:0},xN={key:1},CN={key:2},SN={key:3},kN={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},BN=f(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),AN=f(()=>e.createElementVNode("span",null,"=",-1)),wN={key:0},TN={key:1},ON=f(()=>e.createElementVNode("span",null,"-",-1)),FN=f(()=>e.createElementVNode("span",null,"=",-1)),PN={key:0},WN={key:1},LN={key:6,class:"tr-tips tips-color"},uN={class:"formula page-title"},HN={class:"page-avoid"},MN={class:"subtitle",style:{"margin-top":"0"}},GN={key:0},$N={class:"definition"},IN=f(()=>e.createElementVNode("br",null,null,-1)),RN=f(()=>e.createElementVNode("br",null,null,-1)),zN=f(()=>e.createElementVNode("br",null,null,-1)),UN={class:"equation"},YN=f(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),ZN=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),QN={style:{width:"50%"},class:"fraction"},JN=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qN=f(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),KN=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),jN={class:"equation"},XN={style:{width:"35%"}},vN=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),eV={style:{width:"50%"},class:"fraction"},tV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),lV={class:"equation"},aV={style:{width:"35%"}},nV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),sV={style:{width:"50%"},class:"fraction"},iV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),dV=f(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),rV={class:"page-avoid"},mV={key:0,class:"definition",style:{margin:"15px 0"}},pV={class:"equation"},hV=f(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),_V=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EV={style:{width:"35%"},class:"fraction"},yV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),VV={style:{width:"10%","text-align":"center"}},fV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),gV={class:"equation"},DV={style:{width:"35%"}},bV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),xV={style:{width:"35%"},class:"fraction"},CV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kV={style:{width:"10%","text-align":"center"}},BV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),AV={class:"equation"},wV={style:{width:"35%"}},TV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),OV={style:{width:"35%"},class:"fraction"},FV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),WV={style:{width:"10%","text-align":"center"}},LV=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),uV=f(()=>e.createElementVNode("span",null,"=",-1)),HV=f(()=>e.createElementVNode("span",null,"=",-1)),MV=f(()=>e.createElementVNode("span",null,"=",-1)),GV=["innerHTML"],$V={class:"page-avoid"},IV={class:"subtitle page-title"},RV={key:0},zV={class:"definition",style:{"margin-bottom":"15px"}},UV=f(()=>e.createElementVNode("br",null,null,-1)),YV=f(()=>e.createElementVNode("br",null,null,-1)),ZV=f(()=>e.createElementVNode("br",null,null,-1)),QV={class:"equation"},JV=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),qV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),KV={style:{width:"25%"},class:"fraction"},jV=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XV=f(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),vV=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),ef=f(()=>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)),tf=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),of={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},lf=f(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),af={key:0},nf={class:"equation"},sf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),cf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),df={style:{width:"25%"},class:"fraction"},rf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),pf=f(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),hf=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),_f={class:"equation"},Ef=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),yf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Nf={style:{width:"25%"},class:"fraction"},Vf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),gf=f(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),Df=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),bf=f(()=>e.createElementVNode("div",{style:{"font-weight":"600"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),xf={key:0,class:"equation"},Cf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),Sf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kf={style:{width:"45%"},class:"fraction"},Bf=f(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),Af=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wf={key:1,class:"equation"},Tf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),Of=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"45%"},class:"fraction"},Pf=f(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),Wf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Lf={class:"page-avoid"},uf=f(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),Hf={key:0,class:"definition",style:{margin:"15px 0"}},Mf={class:"equation"},Gf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),$f=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),If={style:{width:"20%"},class:"fraction"},Rf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),zf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Uf={style:{width:"20%"},class:"fraction"},Yf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Zf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Qf={style:{width:"10%","text-align":"center"}},Jf=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),qf={class:"equation"},Kf=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),jf=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Xf={style:{width:"20%"},class:"fraction"},vf=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),e0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t0={style:{width:"20%"},class:"fraction"},o0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l0=f(()=>e.createElementVNode("div",null,"24",-1)),a0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),n0={style:{width:"10%","text-align":"center"}},s0=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),i0={class:"equation"},c0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),d0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),r0={style:{width:"20%"},class:"fraction"},m0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),p0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),h0={style:{width:"20%"},class:"fraction"},_0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),E0=f(()=>e.createElementVNode("div",null,"24",-1)),y0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),N0={style:{width:"10%","text-align":"center"}},V0=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),f0=f(()=>e.createElementVNode("span",null,"=",-1)),g0=f(()=>e.createElementVNode("span",null,"=",-1)),D0=f(()=>e.createElementVNode("span",null,"=",-1)),b0={key:0},x0={key:0,class:"equation"},C0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),S0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),k0={style:{width:"45%"},class:"fraction"},B0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),A0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),w0={style:{width:"10%","text-align":"center"}},T0={key:1,class:"equation"},O0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),F0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),P0={style:{width:"45%"},class:"fraction"},W0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),L0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),u0={style:{width:"10%","text-align":"center"}},H0=["innerHTML"],M0={class:"page-avoid"},G0={key:0},$0=f(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),I0={key:0,class:"definition",style:{margin:"15px 0"}},R0={class:"equation"},z0=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),U0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Y0={style:{width:"20%"},class:"fraction"},Z0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Q0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),J0={style:{width:"20%"},class:"fraction"},q0=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),K0=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),j0={style:{width:"10%","text-align":"center"}},X0=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),v0={class:"equation"},eg=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),tg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),og={style:{width:"20%"},class:"fraction"},lg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ag=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),ng={style:{width:"20%"},class:"fraction"},sg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ig=f(()=>e.createElementVNode("div",null,"24",-1)),cg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),dg={style:{width:"10%","text-align":"center"}},rg=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),mg={class:"equation"},pg=f(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),hg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_g={style:{width:"20%"},class:"fraction"},Eg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Ng={style:{width:"20%"},class:"fraction"},Vg=f(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fg=f(()=>e.createElementVNode("div",null,"24",-1)),gg=f(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Dg={style:{width:"10%","text-align":"center"}},bg=f(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),xg=f(()=>e.createElementVNode("span",null,"=",-1)),Cg=f(()=>e.createElementVNode("span",null,"=",-1)),Sg=f(()=>e.createElementVNode("span",null,"=",-1)),kg=["innerHTML"];function Bg(t,s,o,c,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.referenceOnly||(y=(x=o.reportData)==null?void 0:x.weather)!=null&&y.overallAsGoodWx?"watermark":"")},[e.createVNode(_,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,WE),e.createElementVNode("div",LE,[e.createElementVNode("div",uE,[e.createElementVNode("div",HE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,ME),e.createElementVNode("div",GE,[$E,e.createElementVNode("div",IE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",RE,[e.createElementVNode("table",zE,[e.createElementVNode("tr",null,[UE,e.createElementVNode("td",YE,"    "+e.toDisplayString((g=o.reportData)==null?void 0:g.preparedFor),1)]),e.createElementVNode("tr",null,[ZE,e.createElementVNode("td",QE,"    "+e.toDisplayString((r=(B=o.reportData)==null?void 0:B.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",JE,[e.createElementVNode("table",qE,[e.createElementVNode("tr",null,[KE,e.createElementVNode("td",jE,e.toDisplayString((C=(S=o.reportData)==null?void 0:S.vessel)==null?void 0:C.type),1)]),e.createElementVNode("tr",null,[XE,e.createElementVNode("td",vE,e.toDisplayString((L=(O=o.reportData)==null?void 0:O.voyage)==null?void 0:L.loadCondition),1)]),e.createElementVNode("tr",null,[ey,e.createElementVNode("td",ty,e.toDisplayString((T=(w=o.reportData)==null?void 0:w.voyage)==null?void 0:T.number),1)]),e.createElementVNode("tr",null,[oy,e.createElementVNode("td",ly,[e.createElementVNode("span",ay,e.toDisplayString(((W=(D=o.reportData)==null?void 0:D.departure)==null?void 0:W.portName)||a.computedLngLat((Z=(Y=o.reportData)==null?void 0:Y.departure)==null?void 0:Z.lat,(P=(I=o.reportData)==null?void 0:I.departure)==null?void 0:P.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime(($=(V=o.reportData)==null?void 0:V.departure)==null?void 0:$.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[ny,e.createElementVNode("td",sy,[e.createElementVNode("span",iy,e.toDisplayString(((u=(M=o.reportData)==null?void 0:M.arrival)==null?void 0:u.portName)||a.computedLngLat((Q=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:Q.lat,(K=(j=o.reportData)==null?void 0:j.arrival)==null?void 0:K.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((R=(N=o.reportData)==null?void 0:N.arrival)==null?void 0:R.utcTime,"table")),1)])])])]),cy,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=o.reportData)==null?void 0:q.segments,(d,v)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+v},[e.createElementVNode("div",dy,[e.createElementVNode("div",ry,"Seg."+e.toDisplayString(v+1)+"  ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(te,oe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+oe,class:"tips-seg"},e.toDisplayString(te),1))),128))])]),e.createElementVNode("table",my,[e.createElementVNode("tr",null,[py,e.createElementVNode("td",hy,e.toDisplayString(d.allWx.time)+" hrs",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedTimeConclusion(d.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(d.timeConclusion).conclusion),3)):(e.openBlock(),e.createElementBlock("td",_y,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,style:{width:"15%"},class:e.normalizeClass(a.computedTimeConclusion(d.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(d.timeConclusion).timeCon),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[Ey,e.createElementVNode("td",null,e.toDisplayString(d.allWx.sumFoCons)+" mt",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",yy,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").cons),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[Ny,e.createElementVNode("td",null,e.toDisplayString(d.allWx.sumDgoCons)+" mt",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",Vy,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").cons),3)):e.createCommentVNode("",!0)])]),fy]))),128)),gy,e.createElementVNode("div",Dy,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((n=o.reportData)==null?void 0:n.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",by,[xy,e.createElementVNode("div",null,[Cy,e.createElementVNode("table",Sy,[ky,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(d,v)=>(e.openBlock(),e.createElementBlock("tr",{key:v},[e.createElementVNode("td",null,e.toDisplayString(v+1),1),e.createElementVNode("td",null,e.toDisplayString(d.time),1),e.createElementVNode("td",null,e.toDisplayString(d.duration),1),e.createElementVNode("td",null,e.toDisplayString(d.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.fo),1),e.createElementVNode("td",null,e.toDisplayString(d.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=d=>l.advisory=d),height:"320px",onBlur:s[1]||(s[1]=d=>a.handleCommit(d))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:s[2]||(s[2]=(...d)=>a.decideDisable&&a.decideDisable(...d)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,By))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((X=o.reportData)==null?void 0:X.segments,(d,v)=>{var te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",Ay,[e.createElementVNode("div",wy,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",Ty,[e.createElementVNode("div",null,e.toDisplayString((oe=(te=o.reportData)==null?void 0:te.vessel)==null?void 0:oe.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Ht,po)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+po,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),Oy,e.createElementVNode("div",Fy,[e.createElementVNode("table",Py,[e.createElementVNode("tr",null,[Wy,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.type),1),Ly,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.fo),1)]),e.createElementVNode("tr",null,[uy,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.speed),1),Hy,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.dgo),1)]),My,e.createElementVNode("tr",null,[e.createElementVNode("td",Gy,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfOver),1),e.createElementVNode("td",$y,"Consumer Over ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfOver),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",Iy,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfUnder),1),e.createElementVNode("td",Ry,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfUnder),1)])])]),zy,e.createElementVNode("div",Uy,[e.createElementVNode("table",Yy,[Zy,Qy,e.createElementVNode("tr",null,[Jy,e.createElementVNode("td",qy,e.toDisplayString(d.goodWx.outEca.distance),1),e.createElementVNode("td",Ky,e.toDisplayString(d.goodWx.inEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.distance),1)]),e.createElementVNode("tr",null,[jy,e.createElementVNode("td",Xy,e.toDisplayString(d.goodWx.outEca.time),1),e.createElementVNode("td",vy,e.toDisplayString(d.goodWx.inEca.time),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.time),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.time),1)]),e.createElementVNode("tr",null,[eN,e.createElementVNode("td",tN,e.toDisplayString(d.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",oN,e.toDisplayString(d.goodWx.inEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgSpd||"--"),1)]),e.createElementVNode("tr",null,[lN,e.createElementVNode("td",aN,e.toDisplayString(d.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",nN,e.toDisplayString(d.goodWx.inEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.sumFoCons||"--"),1)]),e.createElementVNode("tr",null,[sN,e.createElementVNode("td",iN,e.toDisplayString(d.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",cN,e.toDisplayString(d.goodWx.inEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgFoCons||"--"),1)]),e.createElementVNode("tr",null,[dN,e.createElementVNode("td",rN,e.toDisplayString(d.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",mN,e.toDisplayString(d.goodWx.inEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.sumDgoCons||"--"),1)]),e.createElementVNode("tr",null,[pN,e.createElementVNode("td",hN,e.toDisplayString(d.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",_N,e.toDisplayString(d.goodWx.inEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgDgoCons||"--"),1)])])]),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",EN," The exclusion time, distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation. ")):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",yN," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ce=(se=o.reportData)==null?void 0:se.weather)!=null&&ce.favorableCur&&d.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",NN,[e.createTextVNode(" No Charter Party defined good weather was found. "),VN,e.createTextVNode(" All Weather Performance Speed = Average Speed "+e.toDisplayString((re=(de=o.reportData)==null?void 0:de.weather)!=null&&re.favorableCur&&d.allWx.avgCf>0?"":"- Current Factor")+" - Weather Factor ",1)])),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",fN,[gN,DN,(le=(ye=o.reportData)==null?void 0:ye.weather)!=null&&le.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",bN,e.toDisplayString(d.goodWx.avgSpd),1)),(Ne=(_e=o.reportData)==null?void 0:_e.weather)!=null&&Ne.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",xN,"-")),(fe=(Ve=o.reportData)==null?void 0:Ve.weather)!=null&&fe.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",CN,e.toDisplayString(`${a.computedPositive(d.goodWx.avgCf)}`),1)),(De=(ge=o.reportData)==null?void 0:ge.weather)!=null&&De.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",SN,"=")),e.createElementVNode("span",null,e.toDisplayString(d.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",kN,[BN,AN,e.createElementVNode("span",null,e.toDisplayString(d.allWx.avgSpd),1),(xe=(be=o.reportData)==null?void 0:be.weather)!=null&&xe.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",wN,"-")),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",TN,e.toDisplayString(`${a.computedPositive(d.allWx.avgCf)}`),1)),ON,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(d.allWx.avgWf)}`),1),FN,e.createElementVNode("span",null,e.toDisplayString(d.allWx.pfmSpd)+" (kts)",1)])),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(`tr-tips ${a.computedColor(d.goodWx.pfmStatus,"pfm",!1)}`)},[e.createTextVNode(" Good Weather Performance Speed: "+e.toDisplayString(d.goodWx.pfmSpd)+" (kts) ",1),d.goodWx.pfmStatus==="Under"?(e.openBlock(),e.createElementBlock("span",PN,"(Under-performance)")):e.createCommentVNode("",!0),d.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",WN,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",LN,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",uN,[e.createElementVNode("div",HN,[e.createElementVNode("div",MN,[e.createTextVNode(" Time Analysis "),(Fe=(Oe=o.reportData)==null?void 0:Oe.weather)!=null&&Fe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",GN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",$N,[e.createTextVNode(" Time Lost: Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),IN,e.createTextVNode(" Time Gained: Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),RN,e.createTextVNode(" No Time Lost and Gained: Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),zN,e.createElementVNode("div",UN,[YN,ZN,e.createElementVNode("div",QN,[e.createElementVNode("div",null,e.toDisplayString((F=(Ee=o.reportData)==null?void 0:Ee.weather)!=null&&F.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),JN,qN]),KN]),e.createElementVNode("div",jN,[e.createElementVNode("div",XN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),vN,e.createElementVNode("div",eV,[e.createElementVNode("div",null,e.toDisplayString((Pe=(me=o.reportData)==null?void 0:me.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),tV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" kts",1)]),oV]),e.createElementVNode("div",lV,[e.createElementVNode("div",aV," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),nV,e.createElementVNode("div",sV,[e.createElementVNode("div",null,e.toDisplayString((Le=(We=o.reportData)==null?void 0:We.weather)!=null&&Le.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),iV,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" kts",1)]),cV]),dV])]),e.createElementVNode("div",rV,[d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",mV,[e.createElementVNode("div",pV,[hV,_V,e.createElementVNode("div",EV,[e.createElementVNode("div",null,e.toDisplayString((Ie=(pe=o.reportData)==null?void 0:pe.weather)!=null&&Ie.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),yV,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),NV,e.createElementVNode("div",VV,e.toDisplayString(d.timeConclusion.timeAtPfmSpd)+" (hrs)",1),fV]),e.createElementVNode("div",gV,[e.createElementVNode("div",DV," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),bV,e.createElementVNode("div",xV,[e.createElementVNode("div",null,e.toDisplayString((ze=(Re=o.reportData)==null?void 0:Re.weather)!=null&&ze.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),CV,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),SV,e.createElementVNode("div",kV,e.toDisplayString(d.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),BV]),e.createElementVNode("div",AV,[e.createElementVNode("div",wV," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),TV,e.createElementVNode("div",OV,[e.createElementVNode("div",null,e.toDisplayString((we=(z=o.reportData)==null?void 0:z.weather)!=null&&we.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),FV,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.plusAbtSpd),1)]),PV,e.createElementVNode("div",WV,e.toDisplayString(d.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),LV]),e.createElementVNode("div",null,[d.timeConclusion.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.timeConclusion.conclusionStatus,"time",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"Time Lost":"Time Gained"),1),uV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),HV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeAtPfmSpd:d.timeConclusion.timeAtPlusAbtSpd)+" - "+e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeAtMinusAbtSpd:d.timeConclusion.timeAtPfmSpd),1),MV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeLost:d.timeConclusion.timeGain)+" (hrs)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.timeConclusion.conclusionStatus,"time",!1)} `)}," Conclusion :  "+e.toDisplayString(((He=d.timeConclusion)==null?void 0:He.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,GV))]),e.createElementVNode("div",$V,[e.createElementVNode("div",IV,[e.createTextVNode(" Consumption Analysis "),(Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?(e.openBlock(),e.createElementBlock("span",RV,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",zV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),UV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),YV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),ZV,e.createElementVNode("div",QV,[JV,qV,e.createElementVNode("div",KV,[e.createElementVNode("div",null,e.toDisplayString((Qe=(Ze=o.reportData)==null?void 0:Ze.weather)!=null&&Qe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),jV,XV]),vV,ef,tf]),e.createElementVNode("div",of,[lf,((h=(Je=d.extend)==null?void 0:Je.cp)==null?void 0:h.dgo)>0?(e.openBlock(),e.createElementBlock("div",af,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",nf,[sf,cf,e.createElementVNode("div",df,[e.createElementVNode("div",null,e.toDisplayString((Te=(J=o.reportData)==null?void 0:J.weather)!=null&&Te.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),rf,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),mf,pf,hf]),e.createElementVNode("div",_f,[Ef,yf,e.createElementVNode("div",Nf,[e.createElementVNode("div",null,e.toDisplayString((Me=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Me.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Vf,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),ff,gf,Df]),bf,((Ke=(he=d.extend)==null?void 0:he.cp)==null?void 0:Ke.dgo)>0?(e.openBlock(),e.createElementBlock("div",xf,[Cf,Sf,e.createElementVNode("div",kf,[Bf,Af,e.createElementVNode("div",null,e.toDisplayString((ve=(Xe=o.reportData)==null?void 0:Xe.weather)!=null&&ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((lt=(ot=d.extend)==null?void 0:ot.cp)==null?void 0:lt.dgo)>0?(e.openBlock(),e.createElementBlock("div",wf,[Tf,Of,e.createElementVNode("div",Ff,[Pf,Wf,e.createElementVNode("div",null,e.toDisplayString((nt=(at=o.reportData)==null?void 0:at.weather)!=null&&nt.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Lf,[uf,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Hf,[e.createElementVNode("div",Mf,[Gf,$f,e.createElementVNode("div",If,[e.createElementVNode("div",null,e.toDisplayString((ht=(pt=o.reportData)==null?void 0:pt.weather)!=null&&ht.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Rf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),zf,e.createElementVNode("div",Uf,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumFoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` + ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),Yf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),Zf,e.createElementVNode("div",Qf,e.toDisplayString(d.fuelConclusion.fo.entireCons)+" (mt)",1),Jf]),e.createElementVNode("div",qf,[Kf,jf,e.createElementVNode("div",Xf,[e.createElementVNode("div",null,e.toDisplayString((Et=(_t=o.reportData)==null?void 0:_t.weather)!=null&&Et.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),vf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),e0,e.createElementVNode("div",t0,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.overTolerance),1),o0,l0]),a0,e.createElementVNode("div",n0,e.toDisplayString(d.fuelConclusion.fo.maxCons)+" (mt)",1),s0]),e.createElementVNode("div",i0,[c0,d0,e.createElementVNode("div",r0,[e.createElementVNode("div",null,e.toDisplayString((Nt=(yt=o.reportData)==null?void 0:yt.weather)!=null&&Nt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),m0,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),p0,e.createElementVNode("div",h0,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.underTolerance),1),_0,E0]),y0,e.createElementVNode("div",N0,e.toDisplayString(d.fuelConclusion.fo.minCons)+" (mt)",1),V0]),e.createElementVNode("div",null,[d.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.fuelConclusion.fo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"Fuel Oil Over-consumption":"Fuel Oil Under-consumption"),1),f0,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),g0,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.entireCons:d.fuelConclusion.fo.minCons)+" - "+e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.maxCons:d.fuelConclusion.fo.entireCons),1),D0,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.overCons:d.fuelConclusion.fo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)]),d.allWx.inEca.distance&&d.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("div",b0,[d.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",x0,[C0,S0,e.createElementVNode("div",k0,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.overCons),1),B0,e.createElementVNode("div",null,e.toDisplayString((ft=(Vt=o.reportData)==null?void 0:Vt.weather)!=null&&ft.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),A0,e.createElementVNode("div",w0,e.toDisplayString(d.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",T0,[O0,F0,e.createElementVNode("div",P0,[e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=o.reportData)==null?void 0:gt.weather)!=null&&Dt.noExtrapolation?d.goodWx.inEca.distance:d.allWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.saving),1),W0,e.createElementVNode("div",null,e.toDisplayString((xt=(bt=o.reportData)==null?void 0:bt.weather)!=null&&xt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),L0,e.createElementVNode("div",u0,e.toDisplayString(d.fuelConclusion.fo.foSavingInEca)+" (mt)",1)]))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.fuelConclusion.fo.conclusionStatus,"fuel",!1)} `)}," Conclusion: "+e.toDisplayString(d.fuelConclusion.fo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",innerHTML:l.noGoodWxDay},null,8,H0))]),e.createElementVNode("div",M0,[((St=(Ct=d.extend)==null?void 0:Ct.cp)==null?void 0:St.dgo)>0?(e.openBlock(),e.createElementBlock("div",G0,[$0,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",I0,[e.createElementVNode("div",R0,[z0,U0,e.createElementVNode("div",Y0,[e.createElementVNode("div",null,e.toDisplayString((Bt=(kt=o.reportData)==null?void 0:kt.weather)!=null&&Bt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Z0,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),Q0,e.createElementVNode("div",J0,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumDgoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` - ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),q0,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),K0,e.createElementVNode("div",j0,e.toDisplayString(d.fuelConclusion.dgo.entireCons)+" (mt)",1),X0]),e.createElementVNode("div",v0,[eg,tg,e.createElementVNode("div",og,[e.createElementVNode("div",null,e.toDisplayString((wt=(At=o.reportData)==null?void 0:At.weather)!=null&&wt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),lg,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),ag,e.createElementVNode("div",ng,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.overTolerance),1),sg,ig]),cg,e.createElementVNode("div",dg,e.toDisplayString(d.fuelConclusion.dgo.maxCons)+" (mt)",1),rg]),e.createElementVNode("div",mg,[pg,hg,e.createElementVNode("div",_g,[e.createElementVNode("div",null,e.toDisplayString((Ot=(Tt=o.reportData)==null?void 0:Tt.weather)!=null&&Ot.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Eg,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),yg,e.createElementVNode("div",Ng,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.underTolerance),1),Vg,fg]),gg,e.createElementVNode("div",Dg,e.toDisplayString(d.fuelConclusion.dgo.minCons)+" (mt)",1),bg]),e.createElementVNode("div",null,[d.fuelConclusion.dgo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.fuelConclusion.dgo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"Diesel/Gas Oil Over-consumption":"Diesel/Gas Oil Under-consumption"),1),xg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),Cg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.entireCons:d.fuelConclusion.dgo.minCons)+" - "+e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.maxCons:d.fuelConclusion.dgo.entireCons),1),Sg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.overCons:d.fuelConclusion.dgo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.fuelConclusion.dgo.conclusionStatus,"fuel",!1)}`)}," Conclusion: "+e.toDisplayString(d.fuelConclusion.dgo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips color-normal",innerHTML:l.noGoodWxDay},null,8,kg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const Ag=ke(PE,[["render",Bg],["__scopeId","data-v-6f2b44b1"]]),Goe="",wg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,s=2){return t==="--"?"--":ie.roundPrecision(t,s)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,s,o){let c="";return s&&(c=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(c=c+" good-weather"),t.excluded===!0&&!o&&(c=c+" excluded"),c}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,s){return s==="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,c,l,a,_,i,E,b,x,y,g,B;this.showCF=((c=(o=this.reportData)==null?void 0:o.weather)==null?void 0:c.showCF)??!1,this.showAisDistance=((a=(l=this.reportData)==null?void 0:l.weather)==null?void 0:a.showAisDistance)??!0,this.showSig=((i=(_=this.reportData)==null?void 0:_.weather)==null?void 0:i.showSig)??!0,this.showSwell=((b=(E=this.reportData)==null?void 0:E.weather)==null?void 0:b.showSwell)??!0,this.showWave=((y=(x=this.reportData)==null?void 0:x.weather)==null?void 0:y.showWave)??!0;let t=[];(B=(g=this.reportData)==null?void 0:g.segments)==null||B.forEach(r=>{let S=r.extend.cp;r.inventory.sample.hours.forEach(C=>{let O=JSON.parse(JSON.stringify(C));O.cp=S,t.push(O)})}),t.sort(function(r,S){let C=r.date,O=S.date;return C-O});let s="";t.forEach(r=>{r.seg!==s&&(r.isFirstSeg=!0,s=r.seg);let S=r.type.charAt(0);r.abbreviation=S,S==="M"?S="*":S==="A"&&(S=""),r.dateTime=S+" "+G(r.utc).utc().format("MM/DD HHmm[Z]"),r.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(r.lng)),r.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(r.lat))}),this.summaryTable=t}}},Be=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),Tg={class:"table",id:"second-table"},Og=Be(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),Fg={class:"subtitle"},Pg={class:"introduce"},Wg={class:"introduce-ship"},Lg={style:{"margin-bottom":"15px"}},ug=Be(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Hg={rowspan:"4"},Mg=Be(()=>e.createElementVNode("td",null,"Entire Period",-1)),Gg=Be(()=>e.createElementVNode("td",null,"Good weather period",-1)),$g=Be(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),Ig=Be(()=>e.createElementVNode("td",null,"Excluded period",-1)),Rg=e.createStaticVNode('<div class="table-legend" data-v-9fe5beca><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Good Weather Days</div><div style="background-color:var(--table-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Adverse Weather Days</div><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Excluded periods from analysis</div><div style="transform:scale(0.85);" data-v-9fe5beca>B : BOSP report   N : NOON report   E : EOSP report   * : Ship reported position</div></div>',1),zg={class:"summary-table"},Ug=Be(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),Yg=Be(()=>e.createElementVNode("th",{rowspan:"3"},"    Date    ",-1)),Zg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),Qg=Be(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),Jg=["colspan"],qg={key:0,colspan:"2"},Kg=Be(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),jg=Be(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),Xg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),vg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),e2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),o2={key:0,rowspan:"2"},l2=Be(()=>e.createElementVNode("br",null,null,-1)),a2={key:1,rowspan:"2"},n2=Be(()=>e.createElementVNode("br",null,null,-1)),s2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),i2={key:2,rowspan:"2"},c2=Be(()=>e.createElementVNode("br",null,null,-1)),d2={key:3,colspan:"2"},r2={key:4,rowspan:"2"},m2=Be(()=>e.createElementVNode("br",null,null,-1)),p2={key:5,colspan:"2"},h2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),_2={key:6,rowspan:"2"},E2={key:7,rowspan:"2"},y2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),N2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),V2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),f2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),g2=Be(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),D2=Be(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),b2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),x2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),C2=Be(()=>e.createElementVNode("th",null,"FO",-1)),S2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),k2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),B2=Be(()=>e.createElementVNode("th",null,"BF",-1)),A2={key:0},w2={key:1},T2={key:2},O2={key:3},F2=Be(()=>e.createElementVNode("th",null,"RPM",-1)),P2=Be(()=>e.createElementVNode("th",null,"Slip%",-1)),W2=Be(()=>e.createElementVNode("th",null,"FO",-1)),L2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),u2=Be(()=>e.createElementVNode("th",null,"FO",-1)),H2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),M2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),G2=Be(()=>e.createElementVNode("th",null,"BF",-1)),$2={class:"summary-tbody"};function I2(t,s,o,c,l,a){var _,i,E,b,x,y,g,B;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(_=o.reportData)==null?void 0:_.weather)!=null&&i.referenceOnly||(b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",Tg,[Og,e.createElementVNode("div",Fg,e.toDisplayString(a.computedTime((x=o.reportData)==null?void 0:x.createdAt)),1),e.createElementVNode("div",Pg,[e.createElementVNode("div",Wg,[e.createElementVNode("span",null,e.toDisplayString((g=(y=o.reportData)==null?void 0:y.vessel)==null?void 0:g.name),1)])]),e.createElementVNode("div",Lg,[e.createElementVNode("table",null,[ug,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((B=o.reportData)==null?void 0:B.segments,(r,S)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:S},[e.createElementVNode("tr",null,[e.createElementVNode("td",Hg,e.toDisplayString(S+1),1),Mg,e.createElementVNode("td",null,e.toDisplayString(r.allWx.distance?a.computeRoundPrecision(r.allWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.time?a.computeRoundPrecision(r.allWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.avgSpd?a.computeRoundPrecision(r.allWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumFoCons?a.computeRoundPrecision(r.allWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumDgoCons?a.computeRoundPrecision(r.allWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Gg,e.createElementVNode("td",null,e.toDisplayString(r.goodWx.distance?a.computeRoundPrecision(r.goodWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.time?a.computeRoundPrecision(r.goodWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.avgSpd?a.computeRoundPrecision(r.goodWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumFoCons?a.computeRoundPrecision(r.goodWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumDgoCons?a.computeRoundPrecision(r.goodWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[$g,e.createElementVNode("td",null,e.toDisplayString(r.badWx.distance?a.computeRoundPrecision(r.badWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.time?a.computeRoundPrecision(r.badWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.avgSpd?a.computeRoundPrecision(r.badWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumFoCons?a.computeRoundPrecision(r.badWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumDgoCons?a.computeRoundPrecision(r.badWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Ig,e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDistance?a.computeRoundPrecision(r.excluded.sumDistance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDuration?a.computeRoundPrecision(r.excluded.sumDuration,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.avgSpd?a.computeRoundPrecision(r.excluded.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumFoCons?a.computeRoundPrecision(r.excluded.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDgoCons?a.computeRoundPrecision(r.excluded.sumDgoCons,3):"0.000"),1)])],64))),128))])])]),Rg,e.createElementVNode("div",null,[e.createElementVNode("table",zg,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ug,Yg,Zg,Qg,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,Jg),o.isAdmin?(e.openBlock(),e.createElementBlock("th",qg,"meteo")):e.createCommentVNode("",!0),Kg,jg]),e.createElementVNode("tr",null,[Xg,vg,e2,t2,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",o2,[e.createTextVNode("Spd"),l2,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",a2,[e.createTextVNode("Dis"),n2,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),s2,l.showWave?(e.openBlock(),e.createElementBlock("th",i2,[e.createTextVNode("Sea HT"),c2,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",d2,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",r2,[e.createTextVNode("Sig Wave"),m2,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",p2,"Current")):e.createCommentVNode("",!0),h2,o.isAdmin?(e.openBlock(),e.createElementBlock("th",_2,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",E2,"wxFactor")):e.createCommentVNode("",!0),y2,N2,V2,f2,g2,D2,b2,x2]),e.createElementVNode("tr",null,[C2,S2,k2,B2,l.showSwell?(e.openBlock(),e.createElementBlock("th",A2,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",w2,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",T2,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",O2,"CF(kts)")):e.createCommentVNode("",!0),F2,P2,W2,L2,u2,H2,M2,G2])]),e.createElementVNode("tbody",$2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,S)=>{var C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q;return e.openBlock(),e.createElementBlock("tr",{key:S},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(C=l.summaryTable[S+1])!=null&&C.isFirstSeg?"td-bottom":"td-no-bottom")},e.toDisplayString(r.isFirstSeg?r.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.dateTime),3),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.noon.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.speed)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.fo)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.dgo)),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.avgSpdCalc)),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.distanceCalc)),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((L=(O=r.meteo)==null?void 0:O.wind)==null?void 0:L.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((T=(w=r.meteo)==null?void 0:w.wind)==null?void 0:T.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((Y=(W=(D=r.meteo)==null?void 0:D.wave)==null?void 0:W.wd)==null?void 0:Y.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((P=(I=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:I.swell)==null?void 0:P.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((M=($=(V=r.meteo)==null?void 0:V.wave)==null?void 0:$.swell)==null?void 0:M.height)??"--")),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((Q=(H=(u=r.meteo)==null?void 0:u.wave)==null?void 0:H.sig)==null?void 0:Q.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((K=(j=r.meteo)==null?void 0:j.current)==null?void 0:K.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((N=r.meteo)==null?void 0:N.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(r.dailyAvgCf),3),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((R=r.meteo)==null?void 0:R.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((q=r.meteo)==null?void 0:q.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.timeSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.distanceSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.rpm,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.slip,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windDir??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windBF??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.seasHt??"--")),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"||r.inEca===!1?"":"Inside ECA"),3)])}),128))])])])])],2)}const R2=ke(wg,[["render",I2],["__scopeId","data-v-9fe5beca"]]),z2={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,s){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(s)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,s){let o=[];return this.isOilBar=!1,t.forEach(c=>{let l;c.type=="line"?l={name:c.name,data:c.data,type:c.type,itemStyle:{color:c.color},showSymbol:c.showSymbol,smooth:c.smooth?c.smooth:!1,lineStyle:{type:c.lineType?c.lineType:"solid",dashOffset:5,type:c.lineType=="dotted"?[5,10]:"solid"}}:c.type=="markline"?l={name:c.name,markLine:{data:c.data},type:"line",barCategoryGap:-1,itemStyle:{color:c.color}}:c.type=="bar"?(this.isOilBar=!0,l={name:c.name,data:c.data,showSymbol:c.showSymbol,step:"start",type:"line",itemStyle:{color:c.color},areaStyle:{}}):l={name:c.name,data:c.data,type:c.type,barCategoryGap:-.2,itemStyle:{color:c.color}},o.push(l)}),s.forEach(c=>{o.push(c)}),o},getMax(t){if(this.isOilBar)return t.max<1?parseFloat(t.max*1.5).toFixed(1):parseFloat(Math.round(t.max)*1.2).toFixed(1)},initData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Nl.init(c))}let t=this,s=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(c){return t.getMax(c)}},series:s};this.$nextTick(()=>{this.chart.setOption(o)})}}},U2=["id"];function Y2(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,U2)])}const Z2=ke(z2,[["render",Y2]]),Q2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},J2={class:"logo"},q2=[e.createElementVNode("svg",{t:"1681038956775",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3177",width:"30",height:"30"},[e.createElementVNode("path",{d:"M255.95 98.15h31.26v861.41h-31.26z","p-id":"3178"}),e.createElementVNode("path",{d:"M768.055 64.225v34h-512.1v-34zM576.115 230.225v31.89h-320.16v-31.89z","p-id":"3179"})],-1)];function K2(t,s,o,c,l,a){return e.openBlock(),e.createElementBlock("i",J2,q2)}const j2=ke(Q2,[["render",K2]]),Ioe="",X2={components:{ScCharts:Z2,BrabImg:j2},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let s=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(s.push({num:l,id:a}),o=l)});let c=[];return s.forEach((l,a)=>{let _=0;a==s.length-1?_=t.length-l.id:_=s[a+1].id-l.id+1;let i=[];for(let E=0;E<t.length;E++)(E>l.id||E==l.id)&&_>0?(i.push(l.num),_=_-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,s){let o=[],c=null,l=0;t.forEach((_,i)=>{_!=c&&this.computedIsNull(_)!==""?(o.push({num:_,id:i}),c=_,l++):this.computedIsNull(_)!==""&&_==c&&(o[l-1].id=i)});let a=[];return o.forEach((_,i)=>{let E=i?o[i-1].id:-1;for(let b=E;b<_.id;b++)a.push(_.num)}),a}},computedTime(){return function(t,s){return s=="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s=="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,s){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const s=/.*(?=<)/,o=t.match(s);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let s=ie.EmailHelper.convert2Html(t);return s=s.replace(/<\/br><\/br>+/g,"</br>"),s=s.replace(/(<\/br> <\/br>)+/g,"</br>"),s}else return"-"}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:"-"}}},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,s){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(s=>s.status===1);this.mailList=t},getTableData(){var j,K;let t=[];(K=(j=this.reportData)==null?void 0:j.segments)==null||K.forEach((N,R)=>{let q=N.extend.cp;N.inventory.sample.hours.forEach((n,X)=>{let d=JSON.parse(JSON.stringify(n));d.cp=q,d.fuelConclusion=N.fuelConclusion,d.timeConclusion=N.timeConclusion,t.push(d)})}),t.sort(function(N,R){let q=N.date,n=R.date;return q-n});let s=[],o=[],c=[],l=[],a=[],_=[],i=[],E=[],b=[],x=[],y=[],g=[],B=[],r=[],S=[],C=[],O=[],L=[],w=[],T=[],D=[],W=[],Y=[],Z=[],I=[],P=[!1,!1],V=[],$=[],M=[!1,!1],u=[],H=[];t.forEach((N,R)=>{var n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me;if(s.push(G(N.utc).utc().format("MM/DD HHmm[Z]")),N.goodWx===!0&&N.excluded!==!0?(P.indexOf(!0)==-1&&(N.type==="BOSP"?V.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}):V.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!0),P.indexOf(!0)!=-1&&R==t.length-1&&(V.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,$.push(V),V=[])):P.indexOf(!0)!==-1&&(V.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,$.push(V),V=[]),N.excluded===!0?(M.indexOf(!0)===-1&&(R===0?u.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}):u.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),M[0]=!0),M.indexOf(!0)!=-1&&R===t.length-1&&(u.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}),M[0]=!1,H.push(u),u=[])):M.indexOf(!0)!==-1&&(u.push({xAxis:G(t[R-1].utc).utc().format("MM/DD HHmm[Z]")}),M[0]=!1,H.push(u),u=[]),(N==null?void 0:N.type)==="EOSP"&&((n=t[R+1])==null?void 0:n.type)==="BOSP"){let he=[];he.push({xAxis:G(N.utc).utc().format("MM/DD HHmm[Z]")}),he.push({xAxis:G(t[R+1].utc).utc().format("MM/DD HHmm[Z]")}),H.push(he)}N.type!="A"&&(N.type==="BOSP"&&R===0?l.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),(X=N==null?void 0:N.noon)==null?void 0:X.avgSpd,N==null?void 0:N.type]):l.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((d=N==null?void 0:N.noon)==null?void 0:d.avgSpd)||"-",N==null?void 0:N.type]),w.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((v=N==null?void 0:N.noon)==null?void 0:v.windBF)||"-"]),Y.push([G(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((te=N==null?void 0:N.noon)==null?void 0:te.seasHt)||"-"])),E.push((N==null?void 0:N.type)!="A"?this.computedIsNull((oe=N==null?void 0:N.noon)==null?void 0:oe.foCons):""),B.push((N==null?void 0:N.type)!="A"?this.computedIsNull((se=N==null?void 0:N.noon)==null?void 0:se.dgoCons):""),I.push((N==null?void 0:N.type)!="A"?this.computedIsNull(N==null?void 0:N.dailyAvgCf):""),c.push((N==null?void 0:N.cpSpd)??""),a.push(((ce=N==null?void 0:N.timeConclusion)==null?void 0:ce.minusAbtSpd)??""),i.push(((de=N==null?void 0:N.cp)==null?void 0:de.fo)??""),b.push(((ye=(re=N==null?void 0:N.fuelConclusion)==null?void 0:re.fo)==null?void 0:ye.underTolerance)??""),x.push(((_e=(le=N==null?void 0:N.fuelConclusion)==null?void 0:le.fo)==null?void 0:_e.overTolerance)??""),g.push(((Ne=N==null?void 0:N.cp)==null?void 0:Ne.dgo)??""),r.push(((fe=(Ve=N==null?void 0:N.fuelConclusion)==null?void 0:Ve.dgo)==null?void 0:fe.underTolerance)??""),S.push(((De=(ge=N==null?void 0:N.fuelConclusion)==null?void 0:ge.dgo)==null?void 0:De.overTolerance)??""),O.push(((xe=(be=N==null?void 0:N.meteo)==null?void 0:be.wind)==null?void 0:xe.scale)??""),L.push(((Se=(Ce=this.reportData)==null?void 0:Ce.weather)==null?void 0:Se.windScale)??"");let q="";(Fe=(Oe=this.reportData)==null?void 0:Oe.weather)!=null&&Fe.sigSwitch?(q=(me=(F=(Ee=N.meteo)==null?void 0:Ee.wave)==null?void 0:F.sig)!=null&&me.height?(Le=(We=(Pe=N.meteo)==null?void 0:Pe.wave)==null?void 0:We.sig)==null?void 0:Le.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",W.push(this.reportData.weather.sigHeight)):(Ie=(pe=this.reportData)==null?void 0:pe.weather)!=null&&Ie.waveSwitch?(q=(z=(ze=(Re=N.meteo)==null?void 0:Re.wave)==null?void 0:ze.wd)!=null&&z.height?(Ue=(He=(we=N.meteo)==null?void 0:we.wave)==null?void 0:He.wd)==null?void 0:Ue.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",W.push(this.reportData.weather.waveHeight)):(Ze=(Ye=this.reportData)==null?void 0:Ye.weather)!=null&&Ze.swellSwitch&&(q=(h=(Je=(Qe=N.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&h.height?(ue=(Te=(J=N.meteo)==null?void 0:J.wave)==null?void 0:Te.swell)==null?void 0:ue.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",W.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Me=this.waveDetail)==null?void 0:Me.ytitle.replaceAll("(m)",""),D.push(q)}),this.params={xAxis:s,markArea:[{type:"line",markArea:{data:$},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:H},itemStyle:{color:"#d3d3d3"}}]},l.forEach((N,R)=>{N.indexOf("-")!==-1&&R!==l.length-1&&(N[1]=l[R+1][1])}),c=this.computedArray(c),a=this.computedArray(a),i=this.computedArray(i),b=this.computedArray(b),x=this.computedArray(x),g=this.computedArray(g),r=this.computedArray(r),S=this.computedArray(S),E=this.computedCurrent(E),B=this.computedCurrent(B,"dgotype"),I=this.computedCurrent(I),c.forEach((N,R)=>{let q={name:R==0?"CP speed":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};o.push(q)}),a.forEach((N,R)=>{let q={name:R==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};o.push(q)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((N,R)=>{let q={name:R==0?"CP FO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};_.push(q)}),b.forEach((N,R)=>{let q={name:R==0?"CP FO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};_.push(q)}),x.forEach((N,R)=>{let q={name:R==0?"CP FO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};_.push(q)}),_.push({name:"Daily FO",type:"bar",showSymbol:!1,data:E,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),g.forEach((N,R)=>{let q={name:R==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};y.push(q)}),r.forEach((N,R)=>{let q={name:R==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};y.push(q)}),S.forEach((N,R)=>{let q={name:R==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};y.push(q)}),y.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:B,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),C.push({name:"CP Good Weather",type:"line",data:L,color:"#ff8935",showSymbol:!1,smooth:!0}),C.push({name:"Wind BF",type:"line",data:O,color:"#5eb3e0",showSymbol:!1,smooth:!0}),C.push({name:"Ship Report",type:"scatter",data:w,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),T.push({name:"CP Good Weather",type:"line",data:W,color:"#ff8935",showSymbol:!1,smooth:!0});let Q=this.waveDetail.ytitle.replaceAll("(m)","");T.push({name:Q,type:"line",data:D,color:"#5eb3e0",showSymbol:!1,smooth:!0}),T.push({name:"Ship Report",type:"scatter",data:Y,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:I,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=_,this.DGOChartData=y,this.windSpdChartData=C,this.waveChartData=T,this.currentChartData=Z}}},Ge=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),v2={class:"charts"},eD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),tD={class:"subtitle"},oD=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),lD={class:"weather-eChart"},aD={class:"charts page-title"},nD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),sD={class:"subtitle"},iD=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),cD={class:"weather-eChart"},dD={class:"charts page-title"},rD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),mD={class:"subtitle"},pD={class:"message-table"},hD=Ge(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),_D=Ge(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),ED=Ge(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),yD={style:{display:"inline-block",width:"50%"}},ND=Ge(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),VD={style:{display:"inline-block",width:"50%"}},fD={style:{margin:"15px auto","padding-left":"20px"}},gD=["src"],DD={class:"charts-imgLegend"},bD={style:{position:"relative",left:"-20px"}},xD=Ge(()=>e.createElementVNode("div",{style:{position:"relative",display:"inline-block",top:"-12px",left:"15px",transform:"scale(0.95)"}},[e.createElementVNode("div",null,"7"),e.createElementVNode("br"),e.createElementVNode("div",null,"W 4")],-1)),CD=Ge(()=>e.createElementVNode("div",{style:{display:"inline-block",transform:"scale(0.95)","text-align":"left","margin-left":"5px"}},[e.createTextVNode(" LEGEND: "),e.createElementVNode("br"),e.createTextVNode(" Wind from NE(045) "),e.createElementVNode("br"),e.createTextVNode(" Each barb = 10 kts "),e.createElementVNode("br"),e.createTextVNode(" 1/2 barb = 5 kts "),e.createElementVNode("br")],-1)),SD=Ge(()=>e.createElementVNode("div",{style:{transform:"scale(0.95)"}},[e.createTextVNode(" 7 - DAY OF THE MONTH "),e.createElementVNode("br"),e.createTextVNode(" W 4 - PRIMARY WAVE FROM WEST, 4 METERS"),e.createElementVNode("br"),e.createElementVNode("div",{class:"GoodWxBox"},"Date"),e.createTextVNode(" Good weather days"),e.createElementVNode("br")],-1)),kD={key:0,class:"charts page-title"},BD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),AD={class:"subtitle"},wD={class:"message-table"},TD=Ge(()=>e.createElementVNode("td",null,"Vessel Name",-1)),OD=Ge(()=>e.createElementVNode("td",null,"Prepared For",-1)),FD=Ge(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),PD={style:{display:"inline-block",width:"50%"}},WD=Ge(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),LD={style:{display:"inline-block",width:"50%"}},uD={class:"columns"},HD={class:"title"},MD=["innerHTML"],GD={class:"charts",style:{"page-break-before":"always"}},$D=Ge(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),ID={class:"methodology"},RD=e.createStaticVNode('<div class="noun" data-v-4fb04207>1. Good Weather Method</div><div class="explain" data-v-4fb04207> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-4fb04207> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div><div class="noun" data-v-4fb04207>2. Damage assessment due to ship under-performance</div><div class="explain" data-v-4fb04207> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div><div class="noun" data-v-4fb04207>3. Logbooks description vs. Analysis</div><div class="explain" data-v-4fb04207> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div><div class="noun" data-v-4fb04207>4. “About”</div><div class="explain" data-v-4fb04207> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-4fb04207> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5 % tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div><div class="noun" data-v-4fb04207>5. Time Calculation</div><div class="explain" data-v-4fb04207> Time loss or gained is calculated by comparing (a) Total Time at Good weather Performance Speed to (b) and (c) listed below. Time loss calculation (b) applies allowance for &quot;about&quot;, while no allowance in (c) time gained calculation unless otherwise stipulated . <br data-v-4fb04207> The report conclusion only reflects the Time Lost calculation result only. </div>',10),zD={class:"definition"},UD={class:"equation"},YD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),ZD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),QD={style:{width:"50%"},class:"fraction"},JD=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qD=Ge(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),KD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),jD={class:"equation"},XD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),vD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),e3={style:{width:"50%"},class:"fraction"},t3=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),o3=Ge(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),l3=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),a3={class:"equation"},n3=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),s3=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),i3={style:{width:"50%"},class:"fraction"},c3=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),d3=Ge(()=>e.createElementVNode("div",null,"CP Speed",-1)),r3=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),m3=Ge(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),p3=Ge(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),h3=Ge(()=>e.createElementVNode("div",{class:"explain"},[e.createTextVNode(" The following methodology will be applied to analyze bunker consumption when the bunker type is switched over,such as in ECA/SECA zone . "),e.createElementVNode("br"),e.createTextVNode(" 6-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. "),e.createElementVNode("br"),e.createTextVNode(" 6-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. ")],-1)),_3=Ge(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),E3=Ge(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function y3(t,s,o,c,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe;const _=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.referenceOnly||(y=(x=o.reportData)==null?void 0:x.weather)!=null&&y.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",v2,[eD,e.createElementVNode("div",tD,e.toDisplayString(a.computedTime((g=o.reportData)==null?void 0:g.createdAt)),1),oD,e.createElementVNode("div",lD,[e.createVNode(_,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",aD,[nD,e.createElementVNode("div",sD,e.toDisplayString(a.computedTime((B=o.reportData)==null?void 0:B.createdAt)),1),iD,e.createElementVNode("div",cD,[e.createVNode(_,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(_,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",dD,[rD,e.createElementVNode("div",mD,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",pD,[e.createElementVNode("tr",null,[hD,e.createElementVNode("td",null,e.toDisplayString((C=(S=o.reportData)==null?void 0:S.vessel)==null?void 0:C.name),1)]),e.createElementVNode("tr",null,[_D,e.createElementVNode("td",null,e.toDisplayString((O=o.reportData)==null?void 0:O.preparedFor),1)]),e.createElementVNode("tr",null,[ED,e.createElementVNode("td",null,[e.createElementVNode("span",yD,e.toDisplayString(((w=(L=o.reportData)==null?void 0:L.departure)==null?void 0:w.portName)||a.computedLngLat((D=(T=o.reportData)==null?void 0:T.departure)==null?void 0:D.lat,(Y=(W=o.reportData)==null?void 0:W.departure)==null?void 0:Y.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((I=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:I.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[ND,e.createElementVNode("td",null,[e.createElementVNode("span",VD,e.toDisplayString(((V=(P=o.reportData)==null?void 0:P.arrival)==null?void 0:V.portName)||a.computedLngLat((M=($=o.reportData)==null?void 0:$.arrival)==null?void 0:M.lat,(H=(u=o.reportData)==null?void 0:u.arrival)==null?void 0:H.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((j=(Q=o.reportData)==null?void 0:Q.arrival)==null?void 0:j.utcTime,"table")),1)])])])]),e.createElementVNode("div",fD,[e.createElementVNode("img",{style:{width:"100%"},src:(K=o.reportData)==null?void 0:K.chartUrl,alt:""},null,8,gD),e.createElementVNode("div",DD,[e.createElementVNode("div",bD,[xD,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),CD]),SD])])]),(R=(N=o.reportData)==null?void 0:N.weather)!=null&&R.showMails?(e.openBlock(),e.createElementBlock("div",kD,[BD,e.createElementVNode("div",AD,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",wD,[e.createElementVNode("tr",null,[TD,e.createElementVNode("td",null,e.toDisplayString((n=(q=o.reportData)==null?void 0:q.vessel)==null?void 0:n.name),1)]),e.createElementVNode("tr",null,[OD,e.createElementVNode("td",null,e.toDisplayString((X=o.reportData)==null?void 0:X.preparedFor),1)]),e.createElementVNode("tr",null,[FD,e.createElementVNode("td",null,[e.createElementVNode("span",PD,e.toDisplayString(((v=(d=o.reportData)==null?void 0:d.departure)==null?void 0:v.portName)||a.computedLngLat((oe=(te=o.reportData)==null?void 0:te.departure)==null?void 0:oe.lat,(ce=(se=o.reportData)==null?void 0:se.departure)==null?void 0:ce.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((re=(de=o.reportData)==null?void 0:de.departure)==null?void 0:re.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[WD,e.createElementVNode("td",null,[e.createElementVNode("span",LD,e.toDisplayString(((le=(ye=o.reportData)==null?void 0:ye.arrival)==null?void 0:le.portName)||a.computedLngLat((Ne=(_e=o.reportData)==null?void 0:_e.arrival)==null?void 0:Ne.lat,(fe=(Ve=o.reportData)==null?void 0:Ve.arrival)==null?void 0:fe.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((De=(ge=o.reportData)==null?void 0:ge.arrival)==null?void 0:De.utcTime,"table")),1)])])])]),e.createElementVNode("div",uD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(Ee,F)=>(e.openBlock(),e.createElementBlock("div",{key:Ee.id,class:e.normalizeClass(F%2===0?"item":"item bg")},[e.createElementVNode("div",HD,"FROM "+e.toDisplayString(a.computeFrom(Ee.from))+" "+e.toDisplayString(a.computeUTCTime(Ee.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((Ee==null?void 0:Ee.body)??"-")},null,8,MD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",GD,[$D,e.createElementVNode("div",ID,[RD,e.createElementVNode("div",zD,[e.createElementVNode("div",UD,[YD,ZD,e.createElementVNode("div",QD,[e.createElementVNode("div",null,e.toDisplayString((xe=(be=o.reportData)==null?void 0:be.weather)!=null&&xe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),JD,qD]),KD]),e.createElementVNode("div",jD,[XD,vD,e.createElementVNode("div",e3,[e.createElementVNode("div",null,e.toDisplayString((Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t3,o3]),l3]),e.createElementVNode("div",a3,[n3,s3,e.createElementVNode("div",i3,[e.createElementVNode("div",null,e.toDisplayString((Fe=(Oe=o.reportData)==null?void 0:Oe.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),c3,d3]),r3]),m3]),p3,h3,_3,E3])])],2)}const N3=ke(X2,[["render",y3],["__scopeId","data-v-4fb04207"]]),Roe="",V3={components:{firstPart:Ag,secondPart:R2,thirdPart:N3},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},f3={class:"voyage-report"};function g3(t,s,o,c,l,a){const _=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),E=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",f3,[e.createVNode(_,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"]),e.createVNode(E,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const gn=ke(V3,[["render",g3],["__scopeId","data-v-61638416"]]),zoe="",D3={components:{Editor:Zo},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var s,o;return(o=(s=this.reportData)==null?void 0:s.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,s){return s=="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):s=="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):s=="summary"?G(t).utc().format("MMMM D, HHmm[Z]"):s?G(t).utc().format(s):G(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,s){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} ${c}`}},computedSeg(){return function(t){const s=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),c=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),a=this.computedTime(t.arrival.utcTime,"summary"),_=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:s,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:_}}},computedTimeConclusion(){return function(t){let s=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return s=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):s=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,s){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(s==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(s==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,s){return s?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let s="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),s=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(s+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(s+=", No Extrapolation"),s}},computedColor(){return function(t,s,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(s){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}},computedAbt4Spd(){return function(t){var s,o,c;return(s=t.timeConclusion)!=null&&s.spdPercentage?ie.roundPrecision(t.extend.cp.speed*(((o=t==null?void 0:t.timeConclusion)==null?void 0:o.spdOfAbout)/100),2):(c=t==null?void 0:t.timeConclusion)==null?void 0:c.spdOfAbout}}},watch:{reportData:{handler(t,s){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var s,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(s=this.reportData)==null?void 0:s.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let E={begin:G(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:G(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:G(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+G(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(E)}),!t.includes(c.seg)){t.push(c.seg);let i=Object.assign({},c.extend.cp);i.spdOfOver=`+${c.timeConclusion.spdOfOver}${this.computedUnit("speed",c.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${c.timeConclusion.spdOfUnder}${this.computedUnit("speed",c.timeConclusion.spdPercentage)}`,i.over=`+${c.fuelConclusion.consOfOver}${this.computedUnit("cons",c.fuelConclusion.consPercentage)}`,i.under=`-${c.fuelConclusion.consOfUnder}${this.computedUnit("cons",c.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let _=[];c.extend.segTimes.forEach(i=>{_.push(this.computedSeg(i))}),this.segDetail.push(_),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},p=t=>(e.pushScopeId("data-v-037d24da"),t=t(),e.popScopeId(),t),b3=p(()=>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)),x3={class:"fli-main"},C3=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),S3={class:"card basics"},k3={class:"list flex"},B3={class:"item"},A3=p(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),w3={class:"content flex"},T3={class:"item"},O3=p(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),F3={class:"content flex"},P3={class:"item"},W3=p(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),L3={class:"content flex"},u3={class:"list"},H3={class:"item"},M3=p(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),G3={class:"content flex"},$3={class:"content flex"},I3={class:"item"},R3=p(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),z3={class:"content flex"},U3={class:"content flex"},Y3={class:"item"},Z3=p(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Q3={class:"content flexL"},J3=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),q3={class:"clause"},K3={key:0,class:"definition flex"},j3={key:1,class:"definition flex"},X3={class:"item"},v3=p(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),eb={class:"content"},tb={key:0,class:"item"},ob=p(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),lb={class:"content"},ab={key:1,class:"item"},nb=p(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),sb={class:"content"},ib={key:2,class:"item"},cb=p(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),db={class:"content"},rb={key:3,class:"item"},mb=p(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),pb={class:"content"},hb={key:4,class:"item"},_b=[p(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),p(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Eb={key:5,class:"item"},yb=[p(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),p(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Nb={class:"definition flexM"},Vb={class:"table"},fb=p(()=>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)),gb=p(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),Db={class:"summary"},bb={key:0,class:"summary-overall"},xb=p(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),Cb={class:"summary-overall-row"},Sb={class:"card"},kb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),Bb={class:"main-content"},Ab={key:0},wb={key:1},Tb={class:"card"},Ob=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),Fb={class:"main-content"},Pb={key:0},Wb={key:1},Lb={class:"card"},ub=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),Hb={class:"main-content"},Mb={key:0},Gb={key:1},$b={class:"summary-overall-row"},Ib={class:"card"},Rb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),zb={class:"main-content"},Ub={class:"card"},Yb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Zb={class:"main-content"},Qb={class:"card"},Jb=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),qb={class:"main-content"},Kb=p(()=>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)),jb={class:"card",style:{flex:"1.5"}},Xb={class:"card-title"},vb=p(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),ex={class:"card-segment"},tx={class:"card-segment"},ox={class:"card-segment"},lx=p(()=>e.createElementVNode("div",null,"Applied",-1)),ax={class:"uppercase"},nx={class:"card summary-card",style:{flex:"1"}},sx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),ix={key:0,class:"main-content"},cx={key:0,class:"iconfont success"},dx={key:1,class:"iconfont error"},rx={key:1,class:"main-content"},mx={class:"card-content",style:{"justify-content":"flex-start"}},px={class:"card summary-card",style:{flex:"1"}},hx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),_x={key:0,class:"main-content"},Ex={key:0,class:"iconfont success"},yx={key:1,class:"iconfont error"},Nx={key:1,class:"main-content"},Vx={class:"card-content",style:{"justify-content":"flex-start"}},fx={class:"card summary-card",style:{flex:"1"}},gx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Dx={key:0,class:"main-content"},bx={key:0,class:"iconfont success"},xx={key:1,class:"iconfont error"},Cx={key:1,class:"main-content"},Sx={class:"card-content",style:{"justify-content":"flex-start"}},kx={style:{"page-break-inside":"avoid"}},Bx=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),Ax={class:"remarks"},wx={class:"item"},Tx=p(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),Ox={class:"speed"},Fx={class:"uppercase"},Px={class:"item"},Wx=p(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),Lx={key:0,class:"remark-detail"},ux={key:1,class:"remark-detail"},Hx={class:"page-avoid"},Mx={class:"dashed"},Gx={class:"card phase-title-card",style:{flex:"0.5"}},$x={class:"card-title"},Ix=p(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Rx={class:"card-segment"},zx={class:"card-segment"},Ux={class:"card-segment"},Yx=p(()=>e.createElementVNode("div",null,"Applied",-1)),Zx={class:"uppercase"},Qx=p(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),Jx={class:"phase-analysis"},qx={class:"card phase-card",style:{flex:"1"}},Kx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),jx={class:"main-content"},Xx=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),vx={class:"main-content"},eC={class:"card-content"},tC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),oC=p(()=>e.createElementVNode("span",null,"mt",-1)),lC={class:"card-content"},aC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),nC=p(()=>e.createElementVNode("span",null,"mt",-1)),sC={class:"card-content"},iC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),cC=p(()=>e.createElementVNode("span",null,"mt",-1)),dC={class:"card-content"},rC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),mC=p(()=>e.createElementVNode("span",null,"mt",-1)),pC=p(()=>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)),hC={class:"card phase-card",style:{flex:"1"}},_C=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),EC={class:"main-content"},yC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),NC={class:"main-content"},VC={class:"card-content"},fC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),gC=p(()=>e.createElementVNode("span",null,"mt",-1)),DC={class:"card-content"},bC=p(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),xC=p(()=>e.createElementVNode("span",null,"mt",-1)),CC={class:"card-content"},SC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),kC=p(()=>e.createElementVNode("span",null,"mt",-1)),BC={class:"card-content"},AC=p(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),wC=p(()=>e.createElementVNode("span",null,"mt",-1)),TC=p(()=>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)),OC={class:"phase-analysis"},FC={class:"card phase-card",style:{flex:"1"}},PC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),WC={class:"main-content"},LC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),uC={class:"main-content"},HC={class:"card-content"},MC=p(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),GC=p(()=>e.createElementVNode("span",null,"nm",-1)),$C={class:"card-content"},IC=p(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),RC=p(()=>e.createElementVNode("span",null,"nm",-1)),zC={class:"card-content"},UC=p(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),YC=p(()=>e.createElementVNode("span",null,"nm",-1)),ZC={class:"card-content"},QC=p(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),JC=p(()=>e.createElementVNode("span",null,"nm",-1)),qC={class:"card phase-card",style:{flex:"1"}},KC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),jC={class:"main-content"},XC=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),vC={class:"main-content"},eS={class:"card-content"},tS=p(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),oS=p(()=>e.createElementVNode("span",null,"hrs",-1)),lS={class:"card-content"},aS=p(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),nS=p(()=>e.createElementVNode("span",null,"hrs",-1)),sS={class:"card-content"},iS=p(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),cS=p(()=>e.createElementVNode("span",null,"hrs",-1)),dS={class:"card-content"},rS=p(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),mS=p(()=>e.createElementVNode("span",null,"hrs",-1)),pS={class:"card phase-card",style:{flex:"1"}},hS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),_S={class:"main-content"},ES=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),yS={class:"main-content"},NS={class:"card-content"},VS=p(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),fS=p(()=>e.createElementVNode("span",null,"kts",-1)),gS={class:"card-content"},DS=p(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),bS=p(()=>e.createElementVNode("span",null,"kts",-1)),xS={class:"card-content"},CS=p(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),SS=p(()=>e.createElementVNode("span",null,"kts",-1)),kS={class:"card-content"},BS=p(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),AS=p(()=>e.createElementVNode("span",null,"kts",-1)),wS={class:"phase-analysis"},TS={class:"card phase-card",style:{flex:"1"}},OS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),FS={class:"main-content"},PS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),WS={class:"main-content"},LS={class:"card-content"},uS=p(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),HS=p(()=>e.createElementVNode("span",null,"mt",-1)),MS={class:"card-content"},GS=p(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),$S=p(()=>e.createElementVNode("span",null,"mt",-1)),IS={class:"card-content"},RS=p(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),zS=p(()=>e.createElementVNode("span",null,"mt",-1)),US={class:"card-content"},YS=p(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),ZS=p(()=>e.createElementVNode("span",null,"mt",-1)),QS={class:"card phase-card",style:{flex:"1"}},JS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),qS={class:"main-content"},KS=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),jS={class:"main-content"},XS={class:"card-content"},vS=p(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),ek=p(()=>e.createElementVNode("span",null,"mt",-1)),tk={class:"card-content"},ok=p(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),lk=p(()=>e.createElementVNode("span",null,"mt",-1)),ak={class:"card-content"},nk=p(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),sk=p(()=>e.createElementVNode("span",null,"mt",-1)),ik={class:"card-content"},ck=p(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),dk=p(()=>e.createElementVNode("span",null,"mt",-1)),rk={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},mk=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),pk={class:"main-content"},hk={class:"card-content"},_k=p(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Ek={key:0},yk=p(()=>e.createElementVNode("span",null,"kts",-1)),Nk={key:1},Vk={class:"phase-card"},fk={class:"card",style:{flex:"1"}},gk=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),Dk={key:0,class:"main-content"},bk={key:0,class:"iconfont success"},xk={key:1,class:"iconfont error"},Ck={key:1,class:"main-content"},Sk={class:"nogwd"},kk={class:"card-content",style:{"justify-content":"flex-start"}},Bk={key:0},Ak={class:"equation"},wk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),Tk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ok={style:{width:"8%"}},Fk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Pk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Wk={style:{width:"10%"}},Lk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),uk={class:"equation"},Hk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),Mk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Gk={style:{width:"8%"}},$k=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ik=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Rk={style:{width:"10%"}},zk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Uk={class:"equation"},Yk=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),Zk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Qk={style:{width:"8%"}},Jk=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Kk={style:{width:"10%"}},jk=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),Xk={class:"phase-card"},vk={class:"card",style:{flex:"1"}},e4=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),t4={key:0,class:"main-content"},o4={key:0,class:"iconfont success"},l4={key:1,class:"iconfont error"},a4={key:1,class:"main-content"},n4={class:"nogwd"},s4={class:"card-content",style:{"justify-content":"flex-start"}},i4={key:0},c4={class:"equation"},d4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),r4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),m4={style:{width:"8%"}},p4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),_4={style:{width:"120px"}},E4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),y4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),N4={style:{width:"10%"}},V4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),f4={class:"equation"},g4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),D4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),b4={style:{width:"8%"}},x4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),C4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),S4={style:{width:"120px"}},k4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),B4=p(()=>e.createElementVNode("div",null,"24",-1)),A4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),w4={style:{width:"10%"}},T4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),O4={class:"equation"},F4=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),P4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),W4={style:{width:"8%"}},L4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),H4={style:{width:"120px"}},M4=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),G4=p(()=>e.createElementVNode("div",null,"24",-1)),$4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),I4={style:{width:"10%"}},R4=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),z4={key:0,class:"phase-card"},U4={class:"card",style:{flex:"1"}},Y4=p(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Z4={key:0,class:"main-content"},Q4={key:0,class:"iconfont success"},J4={key:1,class:"iconfont error"},q4={key:1,class:"main-content"},K4={class:"nogwd"},j4={class:"card-content",style:{"justify-content":"flex-start"}},X4={key:0},v4={class:"equation"},eB=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),tB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),oB={style:{width:"8%"}},lB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),nB={style:{width:"120px"}},sB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),iB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),cB={style:{width:"10%"}},dB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),rB={class:"equation"},mB=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),pB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hB={style:{width:"8%"}},_B=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),yB={style:{width:"120px"}},NB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VB=p(()=>e.createElementVNode("div",null,"24",-1)),fB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),gB={style:{width:"10%"}},DB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),bB={class:"equation"},xB=p(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),CB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),SB={style:{width:"8%"}},kB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),AB={style:{width:"120px"}},wB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TB=p(()=>e.createElementVNode("div",null,"24",-1)),OB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),FB={style:{width:"10%"}},PB=p(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),WB=p(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),LB={class:"formular dashed",style:{"page-break-inside":"avoid"}},uB={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},HB=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),MB={class:""},GB={class:"equation"},$B=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),IB=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),RB={style:{width:"50%"},class:"fraction"},zB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UB=p(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),YB=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),ZB={class:"equation"},QB=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),JB=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),qB={style:{width:"50%"},class:"fraction"},KB=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jB=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),XB=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),vB={class:"equation"},e5=p(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),t5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),o5={style:{width:"50%"},class:"fraction"},l5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),a5=p(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),n5=p(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),s5=p(()=>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)),i5={class:"flexL formular-item",style:{"margin-left":"20px"}},c5=p(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),d5={class:""},r5={class:"equation"},m5=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),p5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),h5={style:{width:"25%"},class:"fraction"},_5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),E5=p(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),y5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),N5=p(()=>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)),V5=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),f5={class:"equation"},g5=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),D5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),b5={style:{width:"25%"},class:"fraction"},x5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),C5=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),S5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),k5=p(()=>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)),B5=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),A5={class:"equation"},w5=p(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),T5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),O5={style:{width:"25%"},class:"fraction"},F5=p(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),P5=p(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),W5=p(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),L5=p(()=>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)),u5=p(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),H5=p(()=>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)),M5=p(()=>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 G5(t,s,o,c,l,a){var _,i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(_=o.reportData)==null?void 0:_.weather)!=null&&i.referenceOnly?"watermark":"")},[b3,e.createElementVNode("div",x3,[C3,e.createElementVNode("div",S3,[e.createElementVNode("div",k3,[e.createElementVNode("div",B3,[A3,e.createElementVNode("div",w3,e.toDisplayString((E=o.reportData)==null?void 0:E.preparedFor),1)]),e.createElementVNode("div",T3,[O3,e.createElementVNode("div",F3,e.toDisplayString((x=(b=o.reportData)==null?void 0:b.vessel)==null?void 0:x.name),1)]),e.createElementVNode("div",P3,[W3,e.createElementVNode("div",L3,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",u3,[e.createElementVNode("div",H3,[M3,e.createElementVNode("div",G3,e.toDisplayString(((g=(y=o.reportData)==null?void 0:y.departure)==null?void 0:g.portName)||a.computedLngLat((r=(B=o.reportData)==null?void 0:B.departure)==null?void 0:r.lat,(C=(S=o.reportData)==null?void 0:S.departure)==null?void 0:C.lng)),1),e.createElementVNode("div",$3,e.toDisplayString(a.computedTime((L=(O=o.reportData)==null?void 0:O.departure)==null?void 0:L.utcTime,"table")),1)]),e.createElementVNode("div",I3,[R3,e.createElementVNode("div",z3,e.toDisplayString(((T=(w=o.reportData)==null?void 0:w.arrival)==null?void 0:T.portName)||a.computedLngLat((W=(D=o.reportData)==null?void 0:D.arrival)==null?void 0:W.lat,(Z=(Y=o.reportData)==null?void 0:Y.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",U3,e.toDisplayString(a.computedTime((P=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",Y3,[Z3,e.createElementVNode("div",Q3,e.toDisplayString(($=(V=o.reportData)==null?void 0:V.voyage)==null?void 0:$.loadCondition),1)])])]),J3,e.createElementVNode("div",q3,[(u=(M=o.reportData)==null?void 0:M.weather)!=null&&u.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",K3," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",j3,[e.createElementVNode("div",X3,[v3,e.createElementVNode("div",eb,"BF "+e.toDisplayString(((Q=(H=o.reportData)==null?void 0:H.weather)==null?void 0:Q.windScale)||"-"),1)]),(K=(j=o.reportData)==null?void 0:j.weather)!=null&&K.waveSwitch?(e.openBlock(),e.createElementBlock("div",tb,[ob,e.createElementVNode("div",lb,e.toDisplayString(((R=(N=o.reportData)==null?void 0:N.weather)==null?void 0:R.waveHeight)||"-")+" Meter",1)])):(n=(q=o.reportData)==null?void 0:q.weather)!=null&&n.swellSwitch?(e.openBlock(),e.createElementBlock("div",ab,[nb,e.createElementVNode("div",sb,e.toDisplayString(((d=(X=o.reportData)==null?void 0:X.weather)==null?void 0:d.swellHeight)||"-")+" Meter",1)])):(te=(v=o.reportData)==null?void 0:v.weather)!=null&&te.sigSwitch?(e.openBlock(),e.createElementBlock("div",ib,[cb,e.createElementVNode("div",db,e.toDisplayString(((se=(oe=o.reportData)==null?void 0:oe.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ce=o.reportData)==null?void 0:ce.weather)!=null&&de.waveSwitch||(ye=(re=o.reportData)==null?void 0:re.weather)!=null&&ye.swellHeight||(_e=(le=o.reportData)==null?void 0:le.weather)!=null&&_e.sigSwitch?(e.openBlock(),e.createElementBlock("div",rb,[mb,e.createElementVNode("div",pb,e.toDisplayString((Ve=(Ne=o.reportData)==null?void 0:Ne.weather)==null?void 0:Ve.seaScale),1)])):e.createCommentVNode("",!0),(ge=(fe=o.reportData)==null?void 0:fe.weather)!=null&&ge.noAdverseCur?(e.openBlock(),e.createElementBlock("div",hb,_b)):e.createCommentVNode("",!0),(be=(De=o.reportData)==null?void 0:De.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",Eb,yb)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Nb,[e.createElementVNode("table",Vb,[fb,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(h,J)=>(e.openBlock(),e.createElementBlock("tr",{key:J},[e.createElementVNode("td",null,e.toDisplayString(h==null?void 0:h.type),1),e.createElementVNode("td",null,e.toDisplayString(`${h==null?void 0:h.speed} | ${h==null?void 0:h.spdOfOver} , ${h.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${h==null?void 0:h.fo} | ${h==null?void 0:h.over} , ${h.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${h==null?void 0:h.dgo} | ${h==null?void 0:h.over} , ${h.under}`),1)]))),128))])])])]),gb,e.createElementVNode("div",Db,[((Ce=(xe=o.reportData)==null?void 0:xe.segments)==null?void 0:Ce.length)>1?(e.openBlock(),e.createElementBlock("div",bb,[xb,e.createElementVNode("div",Cb,[e.createElementVNode("div",Sb,[kb,e.createElementVNode("div",Bb,[(Oe=(Se=o.reportData)==null?void 0:Se.goodWx)!=null&&Oe.avgSpd?(e.openBlock(),e.createElementBlock("div",Ab,e.toDisplayString((Ee=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:Ee.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",wb,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Tb,[Ob,e.createElementVNode("div",Fb,[(me=(F=o.reportData)==null?void 0:F.goodWx)!=null&&me.avgSpd?(e.openBlock(),e.createElementBlock("div",Pb,e.toDisplayString((We=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:We.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Wb,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Lb,[ub,e.createElementVNode("div",Hb,[(pe=(Le=o.reportData)==null?void 0:Le.goodWx)!=null&&pe.avgSpd?(e.openBlock(),e.createElementBlock("div",Mb,e.toDisplayString((Re=(Ie=o.reportData)==null?void 0:Ie.goodWx)==null?void 0:Re.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Gb,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",$b,[e.createElementVNode("div",Ib,[Rb,e.createElementVNode("div",zb,e.toDisplayString((z=(ze=o.reportData)==null?void 0:ze.allWx)==null?void 0:z.avgSpd)+" kts ",1)]),e.createElementVNode("div",Ub,[Yb,e.createElementVNode("div",Zb,e.toDisplayString((He=(we=o.reportData)==null?void 0:we.allWx)==null?void 0:He.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",Qb,[Jb,e.createElementVNode("div",qb,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.allWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)])]),Kb])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=o.reportData)==null?void 0:Ze.segments,(h,J)=>{var Te,ue,Me;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:J},[e.createElementVNode("div",jb,[e.createElementVNode("div",Xb,[vb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(J+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[J],(he,Ke)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Ke,class:e.normalizeClass(l.segDetail[J].length>1?"dashed":"")},[e.createElementVNode("div",ex,[e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.port1),1),e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.time1),1)]),e.createElementVNode("div",tx,[e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.port2),1),e.createElementVNode("div",null,e.toDisplayString(he==null?void 0:he.time2),1)])],2))),128)),e.createElementVNode("div",ox,[lx,e.createElementVNode("div",null,[e.createElementVNode("span",ax,e.toDisplayString(h.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",nx,[sx,(Te=h.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",ix,[a.computedTimeConclusion(h.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",cx,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(h.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",dx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",rx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",mx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(h.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).conclusion),1)])]),e.createElementVNode("div",px,[hx,(ue=h.goodWx)!=null&&ue.distance?(e.openBlock(),e.createElementBlock("div",_x,[a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Ex,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",yx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Nx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Vx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",fx,[gx,(Me=h.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",Dx,[a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",bx,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",xx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Cx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Sx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",kx,[Bx,e.createElementVNode("div",Ax,[e.createElementVNode("div",wx,[Tx,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Qe=o.reportData)==null?void 0:Qe.segments,(h,J)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:J},[e.createElementVNode("div",Ox,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${J+1}. Phase ${J+1} Applied `)+" ",1),e.createElementVNode("span",Fx,e.toDisplayString(h.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[J],(Te,ue)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ue},e.toDisplayString(`${Te.port1} (${Te.fullTime1}) to ${Te.port2} (${Te.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Px,[Wx,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",Lx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(h,J)=>(e.openBlock(),e.createElementBlock("div",{key:J},e.toDisplayString(`From ${h.begin} to ${h.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",ux,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(h,J)=>{var Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,$o,Io,Ro,zo,Uo,Yo,Qo,Jo,qo,Ko,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,_l,El,yl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:J},[e.createElementVNode("div",Hx,[e.createElementVNode("div",Mx,[e.createElementVNode("div",Gx,[e.createElementVNode("div",$x,[Ix,e.createElementVNode("span",null,"Phase "+e.toDisplayString(J+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[J],(Wt,fl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+fl,class:e.normalizeClass(l.segDetail[J].length>1?"dashed":"")},[e.createElementVNode("div",Rx,[e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.port1),1),e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.time1),1)]),e.createElementVNode("div",zx,[e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.port2),1),e.createElementVNode("div",null,e.toDisplayString(Wt==null?void 0:Wt.time2),1)])],2))),128)),e.createElementVNode("div",Ux,[Yx,e.createElementVNode("div",null,[e.createElementVNode("span",Zx,e.toDisplayString(h.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(h.extend.cp.dgo)+"mt",1)])])])]),Qx,e.createElementVNode("div",Jx,[e.createElementVNode("div",qx,[Kx,e.createElementVNode("div",jx,[e.createElementVNode("span",null,e.toDisplayString(((Te=h.goodWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),Xx,e.createElementVNode("div",vx,[e.createElementVNode("span",null,e.toDisplayString(((ue=h.allWx)==null?void 0:ue.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",eC,[tC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Me=h.goodWx)==null?void 0:Me.outEca.avgFoCons)||"-"),1),oC])]),e.createElementVNode("div",lC,[aC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((he=h.goodWx)==null?void 0:he.inEca.avgFoEcaCons)||"-"),1),nC])]),e.createElementVNode("div",sC,[iC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ke=h.allWx)==null?void 0:Ke.outEca.avgFoCons)||"-"),1),cC])]),e.createElementVNode("div",dC,[rC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Xe=h.allWx)==null?void 0:Xe.inEca.avgFoEcaCons)||"-"),1),mC])]),pC]),e.createElementVNode("div",hC,[_C,e.createElementVNode("div",EC,[e.createElementVNode("span",null,e.toDisplayString(((ve=h.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),yC,e.createElementVNode("div",NC,[e.createElementVNode("span",null,e.toDisplayString(((ot=h.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",VC,[fC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=h.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),gC])]),e.createElementVNode("div",DC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=h.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),xC])]),e.createElementVNode("div",CC,[SC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=h.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),kC])]),e.createElementVNode("div",BC,[AC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=h.allWx)==null?void 0:pt.inEca.avgDgoEcaCons)||"-"),1),wC])]),TC])]),e.createElementVNode("div",OC,[e.createElementVNode("div",FC,[PC,e.createElementVNode("div",WC,[e.createElementVNode("span",null,e.toDisplayString(((ht=h.goodWx)==null?void 0:ht.distance)||"-")+" nm",1)]),LC,e.createElementVNode("div",uC,[e.createElementVNode("span",null,e.toDisplayString(((_t=h.allWx)==null?void 0:_t.distance)||"-")+" nm",1)]),e.createElementVNode("div",HC,[MC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=h.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),GC])]),e.createElementVNode("div",$C,[IC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=h.goodWx)==null?void 0:yt.inEca.distance)||"-"),1),RC])]),e.createElementVNode("div",zC,[UC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=h.allWx)==null?void 0:Nt.outEca.distance)||"-"),1),YC])]),e.createElementVNode("div",ZC,[QC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=h.allWx)==null?void 0:Vt.inEca.distance)||"-"),1),JC])])]),e.createElementVNode("div",qC,[KC,e.createElementVNode("div",jC,[e.createElementVNode("span",null,e.toDisplayString(((ft=h.goodWx)==null?void 0:ft.time)||"-")+" hrs",1)]),XC,e.createElementVNode("div",vC,[e.createElementVNode("span",null,e.toDisplayString(((gt=h.allWx)==null?void 0:gt.time)||"-")+" hrs",1)]),e.createElementVNode("div",eS,[tS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=h.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),oS])]),e.createElementVNode("div",lS,[aS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=h.goodWx)==null?void 0:bt.inEca.time)||"-"),1),nS])]),e.createElementVNode("div",sS,[iS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=h.allWx)==null?void 0:xt.outEca.time)||"-"),1),cS])]),e.createElementVNode("div",dS,[rS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=h.allWx)==null?void 0:Ct.inEca.time)||"-"),1),mS])])]),e.createElementVNode("div",pS,[hS,e.createElementVNode("div",_S,[e.createElementVNode("span",null,e.toDisplayString(((St=h.goodWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),ES,e.createElementVNode("div",yS,[e.createElementVNode("span",null,e.toDisplayString(((kt=h.allWx)==null?void 0:kt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",NS,[VS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=h.goodWx)==null?void 0:Bt.outEca.avgSpd)||"-"),1),fS])]),e.createElementVNode("div",gS,[DS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=h.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),bS])]),e.createElementVNode("div",xS,[CS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=h.allWx)==null?void 0:wt.outEca.avgSpd)||"-"),1),SS])]),e.createElementVNode("div",kS,[BS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=h.allWx)==null?void 0:Tt.inEca.avgSpd)||"-"),1),AS])])])]),e.createElementVNode("div",wS,[e.createElementVNode("div",TS,[OS,e.createElementVNode("div",FS,[e.createElementVNode("span",null,e.toDisplayString(((Ot=h.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),PS,e.createElementVNode("div",WS,[e.createElementVNode("span",null,e.toDisplayString(((Ht=h.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",LS,[uS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((po=h.goodWx)==null?void 0:po.outEca.sumFoCons)||"-"),1),HS])]),e.createElementVNode("div",MS,[GS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=h.goodWx)==null?void 0:yo.inEca.sumFoCons)||"-"),1),$S])]),e.createElementVNode("div",IS,[RS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=h.allWx)==null?void 0:No.outEca.sumFoCons)||"-"),1),zS])]),e.createElementVNode("div",US,[YS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=h.allWx)==null?void 0:Vo.inEca.sumFoCons)||"-"),1),ZS])])]),e.createElementVNode("div",QS,[JS,e.createElementVNode("div",qS,[e.createElementVNode("span",null,e.toDisplayString(((fo=h.goodWx)==null?void 0:fo.sumDgoCons)||"-")+" mt",1)]),KS,e.createElementVNode("div",jS,[e.createElementVNode("span",null,e.toDisplayString(((go=h.allWx)==null?void 0:go.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",XS,[vS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Do=h.goodWx)==null?void 0:Do.outEca.sumDgoCons)||"-"),1),ek])]),e.createElementVNode("div",tk,[ok,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bo=h.goodWx)==null?void 0:bo.inEca.sumDgoCons)||"-"),1),lk])]),e.createElementVNode("div",ak,[nk,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xo=h.allWx)==null?void 0:xo.outEca.sumDgoCons)||"-"),1),sk])]),e.createElementVNode("div",ik,[ck,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((U=h.allWx)==null?void 0:U.inEca.sumDgoCons)||"-"),1),dk])])]),e.createElementVNode("div",rk,[mk,e.createElementVNode("div",pk,[e.createElementVNode("span",null,e.toDisplayString(((tt=h.goodWx)==null?void 0:tt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",hk,[_k,(Ft=h.goodWx)!=null&&Ft.distance&&!((Mt=(Pt=o.reportData)==null?void 0:Pt.weather)!=null&&Mt.favorableCur&&((Gt=h.goodWx)==null?void 0:Gt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",Ek,[e.createTextVNode(e.toDisplayString(a.computedPositive(($t=h.goodWx)==null?void 0:$t.avgCf)),1),yk])):(e.openBlock(),e.createElementBlock("b",Nk,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",Vk,[e.createElementVNode("div",fk,[gk,(It=h.goodWx)!=null&&It.distance?(e.openBlock(),e.createElementBlock("div",Dk,[a.computedTimeConclusion(h.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",bk,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(h.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",xk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Ck,[e.createElementVNode("span",Sk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",kk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(h.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(h.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Rt=h.goodWx)!=null&&Rt.distance?"":"analysis-none"} card analysis-card`)},[(zt=h.goodWx)!=null&&zt.distance?(e.openBlock(),e.createElementBlock("div",Bk,[e.createElementVNode("div",Ak,[wk,Tk,e.createElementVNode("div",Ok,[e.createElementVNode("div",null,e.toDisplayString((Yt=(Ut=o.reportData)==null?void 0:Ut.weather)!=null&&Yt.noExtrapolation?(Zt=h.goodWx)==null?void 0:Zt.distance:(Qt=h.allWx)==null?void 0:Qt.distance),1),Fk,e.createElementVNode("div",null,e.toDisplayString((Jt=h.goodWx)==null?void 0:Jt.pfmSpd),1)]),Pk,e.createElementVNode("div",Wk,e.toDisplayString(h.timeConclusion.timeAtPfmSpd)+" Hrs",1),Lk]),e.createElementVNode("div",uk,[Hk,Mk,e.createElementVNode("div",Gk,[e.createElementVNode("div",null,e.toDisplayString((Kt=(qt=o.reportData)==null?void 0:qt.weather)!=null&&Kt.noExtrapolation?(jt=h.goodWx)==null?void 0:jt.distance:(Xt=h.allWx)==null?void 0:Xt.distance),1),$k,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),Ik,e.createElementVNode("div",Rk,e.toDisplayString(h.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),zk]),e.createElementVNode("div",Uk,[Yk,Zk,e.createElementVNode("div",Qk,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=h.goodWx)==null?void 0:to.distance:(oo=h.allWx)==null?void 0:oo.distance),1),Jk,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.plusAbtSpd),1)]),qk,e.createElementVNode("div",Kk,e.toDisplayString(h.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),jk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Xk,[e.createElementVNode("div",vk,[e4,(lo=h.goodWx)!=null&&lo.distance?(e.openBlock(),e.createElementBlock("div",t4,[a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",o4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",l4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",a4,[e.createElementVNode("span",n4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",s4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ao=h.goodWx)!=null&&ao.distance?"":"analysis-none"} card analysis-card`)},[(no=h.goodWx)!=null&&no.distance?(e.openBlock(),e.createElementBlock("div",i4,[e.createElementVNode("div",c4,[d4,r4,e.createElementVNode("div",m4,[e.createElementVNode("div",null,e.toDisplayString((io=(so=o.reportData)==null?void 0:so.weather)!=null&&io.noExtrapolation?(co=h.goodWx)==null?void 0:co.distance:(Co=h.allWx)==null?void 0:Co.distance),1),p4,e.createElementVNode("div",null,e.toDisplayString((So=h.goodWx)==null?void 0:So.pfmSpd),1)]),h4,e.createElementVNode("div",_4,[e.createElementVNode("div",null,e.toDisplayString((ko=h.goodWx)==null?void 0:ko.sumFoCons)+" "+e.toDisplayString(((Bo=h.allWx)==null?void 0:Bo.inEca.distance)>0?` + ${h.fuelConclusion.fo.dgoAsFoCons}`:""),1),E4,e.createElementVNode("div",null,e.toDisplayString((Ao=h.goodWx)==null?void 0:Ao.time),1)]),y4,e.createElementVNode("div",N4,e.toDisplayString(h.fuelConclusion.fo.entireCons)+" MT",1),V4]),e.createElementVNode("div",f4,[g4,D4,e.createElementVNode("div",b4,[e.createElementVNode("div",null,e.toDisplayString((To=(wo=o.reportData)==null?void 0:wo.weather)!=null&&To.noExtrapolation?(Oo=h.goodWx)==null?void 0:Oo.distance:(Fo=h.allWx)==null?void 0:Fo.distance),1),x4,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),C4,e.createElementVNode("div",S4,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.fo.overTolerance),1),k4,B4]),A4,e.createElementVNode("div",w4,e.toDisplayString(h.fuelConclusion.fo.maxCons)+" MT",1),T4]),e.createElementVNode("div",O4,[F4,P4,e.createElementVNode("div",W4,[e.createElementVNode("div",null,e.toDisplayString((Wo=(Po=o.reportData)==null?void 0:Po.weather)!=null&&Wo.noExtrapolation?(Lo=h.goodWx)==null?void 0:Lo.distance:(uo=h.allWx)==null?void 0:uo.distance),1),L4,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),u4,e.createElementVNode("div",H4,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.fo.underTolerance),1),M4,G4]),$4,e.createElementVNode("div",I4,e.toDisplayString(h.fuelConclusion.fo.minCons)+" MT",1),R4])])):e.createCommentVNode("",!0)],2)]),((Mo=(Ho=h==null?void 0:h.extend)==null?void 0:Ho.cp)==null?void 0:Mo.dgo)>0?(e.openBlock(),e.createElementBlock("div",z4,[e.createElementVNode("div",U4,[Y4,(Go=h.goodWx)!=null&&Go.distance?(e.openBlock(),e.createElementBlock("div",Z4,[a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Q4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",J4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",q4,[e.createElementVNode("span",K4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",j4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(h.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${($o=h.goodWx)!=null&&$o.distance?"":"analysis-none"} card analysis-card`)},[(Io=h.goodWx)!=null&&Io.distance?(e.openBlock(),e.createElementBlock("div",X4,[e.createElementVNode("div",v4,[eB,tB,e.createElementVNode("div",oB,[e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=o.reportData)==null?void 0:Ro.weather)!=null&&zo.noExtrapolation?(Uo=h.goodWx)==null?void 0:Uo.distance:(Yo=h.allWx)==null?void 0:Yo.distance),1),lB,e.createElementVNode("div",null,e.toDisplayString((Qo=h.goodWx)==null?void 0:Qo.pfmSpd),1)]),aB,e.createElementVNode("div",nB,[e.createElementVNode("div",null,e.toDisplayString((Jo=h.goodWx)==null?void 0:Jo.sumDgoCons)+" "+e.toDisplayString(((qo=h.allWx)==null?void 0:qo.inEca.distance)>0?` - ${h.fuelConclusion.fo.dgoAsFoCons}`:""),1),sB,e.createElementVNode("div",null,e.toDisplayString((Ko=h.goodWx)==null?void 0:Ko.time),1)]),iB,e.createElementVNode("div",cB,e.toDisplayString(h.fuelConclusion.dgo.entireCons)+" MT",1),dB]),e.createElementVNode("div",rB,[mB,pB,e.createElementVNode("div",hB,[e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=o.reportData)==null?void 0:jo.weather)!=null&&Xo.noExtrapolation?(vo=h.goodWx)==null?void 0:vo.distance:(el=h.allWx)==null?void 0:el.distance),1),_B,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),EB,e.createElementVNode("div",yB,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.dgo.overTolerance),1),NB,VB]),fB,e.createElementVNode("div",gB,e.toDisplayString(h.fuelConclusion.dgo.maxCons)+" MT",1),DB]),e.createElementVNode("div",bB,[xB,CB,e.createElementVNode("div",SB,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=o.reportData)==null?void 0:tl.weather)!=null&&ol.noExtrapolation?(ll=h.goodWx)==null?void 0:ll.distance:(al=h.allWx)==null?void 0:al.distance),1),kB,e.createElementVNode("div",null,e.toDisplayString(h.timeConclusion.minusAbtSpd),1)]),BB,e.createElementVNode("div",AB,[e.createElementVNode("div",null,e.toDisplayString(h.fuelConclusion.dgo.underTolerance),1),wB,TB]),OB,e.createElementVNode("div",FB,e.toDisplayString(h.fuelConclusion.dgo.minCons)+" MT",1),PB])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),WB,e.createElementVNode("div",LB,[e.createElementVNode("div",uB,[HB,e.createElementVNode("div",MB,[e.createElementVNode("div",GB,[$B,IB,e.createElementVNode("div",RB,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=o.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),zB,UB]),YB]),e.createElementVNode("div",ZB,[QB,JB,e.createElementVNode("div",qB,[e.createElementVNode("div",null,e.toDisplayString((cl=(il=o.reportData)==null?void 0:il.weather)!=null&&cl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),KB,jB]),XB]),e.createElementVNode("div",vB,[e5,t5,e.createElementVNode("div",o5,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=o.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),l5,a5]),n5]),s5])]),e.createElementVNode("div",i5,[c5,e.createElementVNode("div",d5,[e.createElementVNode("div",r5,[m5,p5,e.createElementVNode("div",h5,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.reportData)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),_5,E5]),y5,N5,V5]),e.createElementVNode("div",f5,[g5,D5,e.createElementVNode("div",b5,[e.createElementVNode("div",null,e.toDisplayString((_l=(hl=o.reportData)==null?void 0:hl.weather)!=null&&_l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),x5,C5]),S5,k5,B5]),e.createElementVNode("div",A5,[w5,T5,e.createElementVNode("div",O5,[e.createElementVNode("div",null,e.toDisplayString((yl=(El=o.reportData)==null?void 0:El.weather)!=null&&yl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),F5,P5]),W5,L5,u5]),H5,M5])])])])])}),128))])],2)}const $5=ke(D3,[["render",G5],["__scopeId","data-v-037d24da"]]),Joe="",I5={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,s,o,c){var _;let l="";const a=((_=this.summaryTable)==null?void 0:_.length)-1;return o&&s!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!c&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!c&&(l=l+" excluded"),l}},computedSegClass(){return function(t,s){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&s!==o)return"td-no-bottom td-top";if((l=this.summaryTable[s+1])!=null&&l.isFirstSeg)return"td-bottom";if(s!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var s;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(s=t.noon)!=null&&s.port)}},computedTime(){return function(t,s){return s==="subtitle"?G(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):s==="table"?G(t).utc().format("MMMM-DD/HHmm[Z]"):G(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var c,l,a,_;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(_=(a=this.reportData)==null?void 0:a.segments)==null||_.forEach((i,E)=>{let b=i.extend.cp;i.inventory.sample.hours.forEach((x,y)=>{let g=JSON.parse(JSON.stringify(x));g.cp=b,t.push(g)})}),t.sort(function(i,E){let b=i.date,x=E.date;return b-x});let s="",o="";t.forEach((i,E)=>{i.seg!==s&&(i.isFirstSeg=!0,s=i.seg);let b=i.type.charAt(0);i.abbreviation=b;const x=G(i.utc).utc().format("D-MMM");x!==o&&(i.lastdate=x,o=x),b==="A"?i.type="":b==="M"&&(i.type="*"),i.time=G(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},dn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),R5=dn(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),z5={class:"table",id:"second-table"},U5={class:"summary-table"},Y5=dn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"},"   Date   "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Z5={class:"summary-tbody"},Q5=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-a420dc44><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg gwd" data-v-a420dc44></div></div> Good Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg adverse" data-v-a420dc44></div></div> Adverse Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg excluded" data-v-a420dc44></div></div> Excluded Periods </div></div>',1),J5={class:"voyage-map",style:{"page-break-inside":"avoid"}},q5=dn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),K5=["src"],j5=e.createStaticVNode('<div class="legend-block" data-v-a420dc44><div style="position:relative;left:-20px;" data-v-a420dc44><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-a420dc44><div data-v-a420dc44>7</div><br data-v-a420dc44><div data-v-a420dc44>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-a420dc44></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-a420dc44> LEGEND: <br data-v-a420dc44> Wind from NE(045) <br data-v-a420dc44> Each barb = 10 kts <br data-v-a420dc44> 1/2 barb = 5 kts <br data-v-a420dc44></div></div><div style="transform:scale(0.95);" data-v-a420dc44> 7 - DAY OF THE MONTH <br data-v-a420dc44> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-a420dc44><div class="goodWx" data-v-a420dc44>Date</div> Good weather days<br data-v-a420dc44></div></div>',1);function X5(t,s,o,c,l,a){var _,i,E,b,x;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(_=o.reportData)==null?void 0:_.weather)!=null&&i.referenceOnly||(b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[R5,e.createElementVNode("div",z5,[e.createElementVNode("div",null,[e.createElementVNode("table",U5,[Y5,e.createElementVNode("tbody",Z5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(y,g)=>{var B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K;return e.openBlock(),e.createElementBlock("tr",{key:g},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(y,g))},e.toDisplayString(y.isFirstSeg?y.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.time),3),a.computedPort(y)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(y)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString((B=y.noon)==null?void 0:B.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(r=y.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0))},e.toDisplayString(y.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0))},e.toDisplayString(y.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((C=(S=y.meteo)==null?void 0:S.wind)==null?void 0:C.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((w=(L=(O=y.meteo)==null?void 0:O.wave)==null?void 0:L.swell)==null?void 0:w.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((W=(D=(T=y.meteo)==null?void 0:T.wave)==null?void 0:D.swell)==null?void 0:W.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((I=(Z=(Y=y.meteo)==null?void 0:Y.wave)==null?void 0:Z.sig)==null?void 0:I.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(((P=y.meteo)==null?void 0:P.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":y.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":((V=y.noon)==null?void 0:V.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":(($=y.noon)==null?void 0:$.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(M=y.cp)==null?void 0:M.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g,!0,!0))},e.toDisplayString(y.abbreviation==="A"||y.abbreviation==="B"?"":(u=y.cp)==null?void 0:u.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":((H=y.noon)==null?void 0:H.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":((Q=y.noon)==null?void 0:Q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":(j=y.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(y,g))},e.toDisplayString(y.abbreviation==="A"?"":(K=y.noon)==null?void 0:K.dgoBrob),3)])}),128))])])])]),Q5,e.createElementVNode("div",J5,[q5,e.createElementVNode("img",{style:{width:"100%"},src:(x=o.reportData)==null?void 0:x.chartUrl,alt:""},null,8,K5),j5])],2)}const v5=ke(I5,[["render",X5],["__scopeId","data-v-a420dc44"]]),qoe="",eA={components:{Summary:$5,Inventory:v5},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},tA={class:"voyage-report"};function oA(t,s,o,c,l,a){const _=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",tA,[e.createVNode(_,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const Dn=ke(eA,[["render",oA],["__scopeId","data-v-7345a543"]]),Koe="",lA={name:"OrmVoyageSummary",components:{Lng:Xa,Lat:va,Editor:Zo},emits:["commit"],props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeWeatherDef(){return function(t){let s="";t!=null&&t.waveSwitch?s+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?s+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(s+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${s}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(o+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(o+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(o="No specific thresholds for wind/wave/currents are defined in the Charter Party.",t.disableWxFactor&&t.disableCFactor?o+=" Both Wx Factor and Current Factor are ignored.":t.disableWxFactor?o+=" Wx Factor is ignored.":t.disableCFactor&&(o+=" Current Factor is ignored."),o+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),o}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,s,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,s){return t.consPercentage?s==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:s==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(s=(t=this.report)==null?void 0:t.segments)==null||s.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const _={time:G(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+G(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(_)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-73235698"),t=t(),e.popScopeId(),t),aA={class:"report-summary"},nA={class:"section voyage-section flex-space"},sA={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},iA={class:"flex-space label-block",style:{width:"100%"}},cA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),dA={style:{"text-transform":"uppercase"}},rA={class:"flex-space label-block",style:{width:"100%"}},mA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),pA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},hA={class:"flex-space label-block",style:{width:"100%"}},_A=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),EA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},yA={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},NA={class:"flex-space label-block",style:{width:"100%"}},VA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),fA={key:0,class:"flex-end",style:{flex:"1"}},gA={key:1,class:"flex-end",style:{flex:"1"}},DA=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),bA={class:"flex-end",style:{width:"150px"}},xA={class:"flex-space label-block",style:{width:"100%"}},CA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),SA={key:0,class:"flex-end",style:{flex:"1"}},kA={key:1,class:"flex-end",style:{flex:"1"}},BA=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),AA={class:"flex-end",style:{width:"150px"}},wA={class:"flex-space label-block",style:{width:"100%"}},TA=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),OA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},FA={class:"section weather-section"},PA=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),WA={class:"definition"},LA={class:"txt"},uA={class:"section summary-section"},HA=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),MA={class:"phase-box"},GA={class:"phase-index"},$A={class:"phase-position"},IA={key:0},RA={key:1},zA=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),UA={class:"phase-position"},YA={key:0},ZA={key:1},QA=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),JA={class:"phase-cp flex-space"},qA={class:"cp-box"},KA=m(()=>e.createElementVNode("div",{class:"flex-space"},[e.createElementVNode("label",null,"CP"),e.createElementVNode("label",null,"SPEED (kts)"),e.createElementVNode("label",null,"DAILY FO CONS (mt)"),e.createElementVNode("label",null,"DAILY DO/GO CONS (mt)")],-1)),jA={class:"flex-space"},XA=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),vA=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),t8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),o8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),l8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),a8=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),n8=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),s8={class:"phase-conclusion flex-space"},i8={class:"item-conclusion"},c8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),d8={class:"value flex-start"},r8=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),m8={key:0,class:"label flex-end"},p8={key:0},h8={key:1},_8={key:2},E8={key:1,class:"label flex-end"},y8={key:2,class:"value flex-end"},N8={key:0},V8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),f8={class:"gain"},g8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),D8={key:1},b8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),x8={class:"lost"},C8=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),S8={key:2},k8={class:"item-conclusion"},B8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),A8={class:"value flex-start"},w8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),T8={key:0,class:"label flex-end"},O8={key:0},F8={key:1},P8={key:2},W8={key:1,class:"label flex-end"},L8={key:2,class:"value flex-end"},u8={key:0},H8=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),M8={class:"gain"},G8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),$8={key:1},I8=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),R8={class:"lost"},z8=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),U8={key:2},Y8={class:"item-conclusion"},Z8=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),Q8={class:"value flex-start"},J8=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),q8={key:0,class:"label flex-end"},K8={key:0},j8={key:1},X8={key:2},v8={key:1,class:"label flex-end"},ew={key:2,class:"value flex-end"},tw={key:0},ow=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),lw={class:"gain"},aw=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),nw={key:1},sw=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),iw={class:"lost"},cw=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),dw={key:2},rw=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),mw=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),pw={key:0,class:"exclusion-block"},hw=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),_w=m(()=>e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null," The voyage analysis does not include following information on time, distance, and consumed fuel. ")],-1)),Ew={style:{margin:"8px 0"}},yw={class:"remark-table"},Nw=m(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),Vw=["innerHTML"],fw={class:"section segment-section"},gw=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),Dw={class:"segment-index flex-center"},bw={class:"segment-position"},xw={key:0},Cw={key:1},Sw=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),kw={class:"segment-position"},Bw={key:0},Aw={key:1},ww=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Tw={style:{margin:"10px 0 0"}},Ow=m(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),Fw=m(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),Pw=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Ww={class:"good-wx"},Lw={class:"good-wx"},uw=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Hw={class:"good-wx"},Mw={class:"good-wx"},Gw=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),$w={class:"good-wx"},Iw={class:"good-wx"},Rw=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),zw={class:"good-wx"},Uw={class:"good-wx"},Yw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Zw={class:"good-wx"},Qw={class:"good-wx"},Jw=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),qw={class:"good-wx"},Kw={class:"good-wx"},jw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Xw={class:"good-wx"},vw={class:"good-wx"},e7={key:0,class:"flex-end tip"},t7={key:1,class:"segment-speed"},o7={class:"flex-center"},l7=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),a7={class:"speed-right flex-space"},n7=m(()=>e.createElementVNode("span",null,"-",-1)),s7=m(()=>e.createElementVNode("label",null,"=",-1)),i7={class:"speed"},c7={key:1,class:"speed"},d7={key:0,class:"speed"},r7=m(()=>e.createElementVNode("span",null,"-",-1)),m7=m(()=>e.createElementVNode("label",null,"=",-1)),p7={class:"speed"},h7=m(()=>e.createElementVNode("span",null,"-",-1)),_7=m(()=>e.createElementVNode("label",null,"=",-1)),E7={class:"speed"},y7=m(()=>e.createElementVNode("span",null,"-",-1)),N7=m(()=>e.createElementVNode("span",null,"-",-1)),V7=m(()=>e.createElementVNode("label",null,"=",-1)),f7={class:"speed"},g7={key:2,class:"under"},D7={key:3,class:"over"},b7={class:"flex-center"},x7=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),C7={class:"speed-right formula flex-space"},S7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),k7=m(()=>e.createElementVNode("label",null,"-",-1)),B7=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),A7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),w7=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),T7={key:0},O7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),F7=m(()=>e.createElementVNode("label",null,"-",-1)),P7=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),W7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),L7=m(()=>e.createElementVNode("label",null,"-",-1)),u7=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),H7=m(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),M7=m(()=>e.createElementVNode("label",null,"-",-1)),G7=m(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),$7=m(()=>e.createElementVNode("label",null,"-",-1)),I7=m(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),R7={key:2,class:"segment-speed"},z7={class:"flex-center"},U7=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Y7={class:"speed-right flex-space"},Z7=m(()=>e.createElementVNode("span",null,"-",-1)),Q7=m(()=>e.createElementVNode("span",null,"-",-1)),J7=m(()=>e.createElementVNode("label",null,"=",-1)),q7={class:"speed"},K7=m(()=>e.createElementVNode("span",null,"-",-1)),j7=m(()=>e.createElementVNode("label",null,"=",-1)),X7={class:"speed"},v7={key:2,class:"under"},e6={key:3,class:"over"},t6={class:"flex-center"},o6=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),l6={class:"speed-right formula flex-space"},a6=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),n6=m(()=>e.createElementVNode("label",null,"-",-1)),s6=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),i6=m(()=>e.createElementVNode("label",null,"-",-1)),c6=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),d6=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),r6=m(()=>e.createElementVNode("label",null,"-",-1)),m6=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),p6=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),h6=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),_6={class:"segment-formula"},E6={class:"header-block flex-start"},y6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),N6={class:"title"},V6={key:0,style:{"margin-left":"4px","font-weight":"300"}},f6={class:"formula-block"},g6={class:"flex-evenly"},D6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),b6={class:"formula-right flex-evenly"},x6={class:"fraction",style:{width:"240px"}},C6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),S6=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),k6=m(()=>e.createElementVNode("div",null,"(a)",-1)),B6={class:"flex-center"},A6={class:"formula-left flex-space"},w6=m(()=>e.createElementVNode("label",null,"=",-1)),T6={class:"formula-right flex-evenly"},O6={class:"fraction",style:{width:"240px"}},F6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),P6=m(()=>e.createElementVNode("div",null,"(b)",-1)),W6={class:"flex-center"},L6={class:"formula-left flex-space"},u6=m(()=>e.createElementVNode("label",null,"=",-1)),H6={class:"formula-right flex-evenly"},M6={class:"fraction",style:{width:"240px"}},G6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),$6=m(()=>e.createElementVNode("div",null,"(c)",-1)),I6=e.createStaticVNode('<div class="flex-start" data-v-73235698><div class="flex-space" style="width:300px;font-weight:400;" data-v-73235698><label data-v-73235698>Time Lost</label><div data-v-73235698>=</div><div data-v-73235698>(a)</div><div data-v-73235698>-</div><div data-v-73235698>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-73235698><label data-v-73235698>Time Gained</label><div data-v-73235698>=</div><div data-v-73235698>(c)</div><div data-v-73235698>-</div><div data-v-73235698>(a)</div></div></div>',1),R6={class:"formula-desc"},z6={class:"flex-end"},U6=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),Y6={class:"flex-end"},Z6=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),Q6={class:"flex-end"},J6=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),q6={key:0,class:"formula-block",style:{"font-weight":"400"}},K6={class:"flex-evenly"},j6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),X6={class:"formula-right flex-evenly"},v6={class:"fraction",style:{width:"240px"}},e9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),t9=m(()=>e.createElementVNode("div",null,"=",-1)),o9=m(()=>e.createElementVNode("div",null,"(a')",-1)),l9={class:"flex-center"},a9={class:"formula-left flex-space"},n9=m(()=>e.createElementVNode("label",null,"=",-1)),s9={class:"formula-right flex-evenly"},i9={class:"fraction",style:{width:"240px"}},c9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),d9=m(()=>e.createElementVNode("div",null,"=",-1)),r9=m(()=>e.createElementVNode("div",null,"(b')",-1)),m9={class:"flex-center"},p9={class:"formula-left flex-space"},h9=m(()=>e.createElementVNode("label",null,"=",-1)),_9={class:"formula-right flex-evenly"},E9={class:"fraction",style:{width:"240px"}},y9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),N9=m(()=>e.createElementVNode("div",null,"=",-1)),V9=m(()=>e.createElementVNode("div",null,"(c')",-1)),f9={class:"formula-conclusion",style:{"margin-bottom":"0"}},g9={key:0,class:"flex-evenly",style:{width:"500px"}},D9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),b9=m(()=>e.createElementVNode("div",null,"=",-1)),x9=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),C9=m(()=>e.createElementVNode("div",null,"=",-1)),S9=m(()=>e.createElementVNode("div",null,"-",-1)),k9=m(()=>e.createElementVNode("div",null,"=",-1)),B9={key:1,class:"flex-evenly",style:{width:"500px"}},A9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),w9=m(()=>e.createElementVNode("div",null,"=",-1)),T9=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),O9=m(()=>e.createElementVNode("div",null,"=",-1)),F9=m(()=>e.createElementVNode("div",null,"-",-1)),P9=m(()=>e.createElementVNode("div",null,"=",-1)),W9=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),L9={key:1,class:"formula-conclusion"},u9=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),H9={class:"segment-formula"},M9={class:"header-block flex-start"},G9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),$9={class:"title"},I9={key:0,style:{"margin-left":"4px","font-weight":"300"}},R9={class:"formula-block"},z9={class:"flex-evenly"},U9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),Y9={class:"formula-right flex-evenly"},Z9={class:"fraction",style:{width:"240px"}},Q9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),J9=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),q9=m(()=>e.createElementVNode("div",null,"x",-1)),K9=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),j9=m(()=>e.createElementVNode("div",null,"(d)",-1)),X9={style:{"line-height":"1"}},v9=m(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),eT={key:0,class:"tips flex-end",style:{"font-size":"14px"}},tT={class:"flex-center"},oT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),lT={class:"formula-right flex-evenly"},aT={class:"fraction",style:{width:"240px"}},nT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),sT=m(()=>e.createElementVNode("div",null,"x",-1)),iT=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),cT=m(()=>e.createElementVNode("div",null,"(e)",-1)),dT={class:"flex-center"},rT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),mT={class:"formula-right flex-evenly"},pT={class:"fraction",style:{width:"240px"}},hT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),_T=m(()=>e.createElementVNode("div",null,"x",-1)),ET=m(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),yT=m(()=>e.createElementVNode("div",null,"(f)",-1)),NT=e.createStaticVNode('<div class="flex-start" data-v-73235698><div class="flex-space" style="width:300px;font-weight:400;" data-v-73235698><label data-v-73235698>Fuel Over-consumption</label><div data-v-73235698>=</div><div data-v-73235698>(d)</div><div data-v-73235698>-</div><div data-v-73235698>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-73235698><label data-v-73235698>Fuel Saving</label><div data-v-73235698>=</div><div data-v-73235698>(f)</div><div data-v-73235698>-</div><div data-v-73235698>(d)</div></div></div>',1),VT={class:"flex-center"},fT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),gT={class:"formula-right flex-evenly"},DT={class:"fraction",style:{width:"270px"}},bT=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),xT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),CT={class:"flex-center"},ST=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),kT={class:"formula-right flex-evenly"},BT={class:"fraction",style:{width:"270px"}},AT=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),wT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),TT=m(()=>e.createElementVNode("div",{class:"formula-desc"},[e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Over-consumption"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Saving"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"No Fuel Over-consumption or Saving"),e.createElementVNode("div",null,"Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption")])],-1)),OT={class:"header-block flex-start",style:{"margin-top":"10px"}},FT=m(()=>e.createElementVNode("i",{class:"iconfont"},"  ",-1)),PT={class:"title"},WT={key:0,class:"formula-block"},LT={key:0,class:"flex-evenly"},uT=m(()=>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)),HT={class:"formula-right flex-evenly"},MT={class:"fraction",style:{width:"60px"}},GT=m(()=>e.createElementVNode("div",null,"-",-1)),$T={class:"fraction",style:{width:"60px"}},IT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),RT=m(()=>e.createElementVNode("div",null,"24",-1)),zT=m(()=>e.createElementVNode("div",null,"*",-1)),UT=m(()=>e.createElementVNode("div",null,"=",-1)),YT={class:"flex-evenly"},ZT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),QT={class:"formula-right flex-evenly"},JT={class:"fraction",style:{width:"240px"}},qT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),KT=m(()=>e.createElementVNode("div",null,"x",-1)),jT={class:"fraction",style:{width:"240px"}},XT={key:0},vT=m(()=>e.createElementVNode("span",null," + ",-1)),eO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),tO=m(()=>e.createElementVNode("div",null,"=",-1)),oO=m(()=>e.createElementVNode("div",null,"(d')",-1)),lO={class:"flex-evenly"},aO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),nO={class:"formula-right flex-evenly"},sO={class:"fraction",style:{width:"240px"}},iO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),cO=m(()=>e.createElementVNode("div",null,"x",-1)),dO={class:"fraction",style:{width:"240px"}},rO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),mO=m(()=>e.createElementVNode("div",null,"24",-1)),pO=m(()=>e.createElementVNode("div",null,"=",-1)),hO=m(()=>e.createElementVNode("div",null,"(e')",-1)),_O={class:"flex-evenly"},EO=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),yO={class:"formula-right flex-evenly"},NO={class:"fraction",style:{width:"240px"}},VO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),fO=m(()=>e.createElementVNode("div",null,"x",-1)),gO={class:"fraction",style:{width:"240px"}},DO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),bO=m(()=>e.createElementVNode("div",null,"24",-1)),xO=m(()=>e.createElementVNode("div",null,"=",-1)),CO=m(()=>e.createElementVNode("div",null,"(f')",-1)),SO={class:"formula-conclusion",style:{"margin-bottom":"0"}},kO={class:"flex-evenly",style:{width:"500px"}},BO=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),AO=m(()=>e.createElementVNode("div",null,"=",-1)),wO=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),TO=m(()=>e.createElementVNode("div",null,"=",-1)),OO=m(()=>e.createElementVNode("div",null,"-",-1)),FO=m(()=>e.createElementVNode("div",null,"=",-1)),PO={key:0,class:"flex-evenly"},WO=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),LO=m(()=>e.createElementVNode("div",null,"=",-1)),uO={class:"fraction"},HO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),MO=m(()=>e.createElementVNode("div",null,"=",-1)),GO={class:"flex-evenly",style:{width:"700px"}},$O=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),IO=m(()=>e.createElementVNode("div",null,"=",-1)),RO=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),zO=m(()=>e.createElementVNode("div",null,"=",-1)),UO=m(()=>e.createElementVNode("div",null,"-",-1)),YO=m(()=>e.createElementVNode("div",null,"=",-1)),ZO={key:0,class:"flex-evenly",style:{width:"500px"}},QO=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),JO=m(()=>e.createElementVNode("div",null,"=",-1)),qO={class:"fraction",style:{width:"140px"}},KO=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),jO=m(()=>e.createElementVNode("div",null,"=",-1)),XO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),vO={key:1,class:"formula-conclusion"},eF={class:"header-block flex-end",style:{"margin-top":"10px"}},tF=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),oF={class:"title"},lF={key:0,class:"formula-block"},aF={class:"flex-evenly"},nF=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),sF={class:"formula-right flex-evenly"},iF={class:"fraction",style:{width:"240px"}},cF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),dF=m(()=>e.createElementVNode("div",null,"x",-1)),rF={class:"fraction",style:{width:"240px"}},mF={key:0},pF=m(()=>e.createElementVNode("span",null," - ",-1)),hF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),_F=m(()=>e.createElementVNode("div",null,"=",-1)),EF=m(()=>e.createElementVNode("div",null,"(d'')",-1)),yF={class:"flex-evenly"},NF=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),VF={class:"formula-right flex-evenly"},fF={class:"fraction",style:{width:"240px"}},gF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),DF=m(()=>e.createElementVNode("div",null,"x",-1)),bF={class:"fraction",style:{width:"240px"}},xF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),CF=m(()=>e.createElementVNode("div",null,"24",-1)),SF=m(()=>e.createElementVNode("div",null,"=",-1)),kF=m(()=>e.createElementVNode("div",null,"(e'')",-1)),BF={class:"flex-evenly"},AF=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),wF={class:"formula-right flex-evenly"},TF={class:"fraction",style:{width:"240px"}},OF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),FF=m(()=>e.createElementVNode("div",null,"x",-1)),PF={class:"fraction",style:{width:"240px"}},WF=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),LF=m(()=>e.createElementVNode("div",null,"24",-1)),uF=m(()=>e.createElementVNode("div",null,"=",-1)),HF=m(()=>e.createElementVNode("div",null,"(f'')",-1)),MF={class:"formula-conclusion",style:{"margin-bottom":"0"}},GF={key:0,class:"flex-evenly",style:{width:"500px"}},$F=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),IF=m(()=>e.createElementVNode("div",null,"=",-1)),RF=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),zF=m(()=>e.createElementVNode("div",null,"=",-1)),UF=m(()=>e.createElementVNode("div",null,"-",-1)),YF=m(()=>e.createElementVNode("div",null,"=",-1)),ZF={key:1,class:"flex-evenly",style:{width:"700px"}},QF=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),JF=m(()=>e.createElementVNode("div",null,"=",-1)),qF=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),KF=m(()=>e.createElementVNode("div",null,"=",-1)),jF=m(()=>e.createElementVNode("div",null,"-",-1)),XF=m(()=>e.createElementVNode("div",null,"=",-1)),vF=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),eP={key:1,class:"formula-conclusion"};function tP(t,s,o,c,l,a){var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q;const _=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",aA,[e.createElementVNode("div",nA,[e.createElementVNode("div",sA,[e.createElementVNode("div",iA,[cA,e.createElementVNode("span",dA,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",rA,[mA,e.createElementVNode("span",pA,e.toDisplayString((x=(b=o.report)==null?void 0:b.vessel)==null?void 0:x.name)+" ("+e.toDisplayString((g=(y=o.report)==null?void 0:y.vessel)==null?void 0:g.type)+")",1)]),e.createElementVNode("div",hA,[_A,e.createElementVNode("span",EA,e.toDisplayString((r=(B=o.report)==null?void 0:B.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",yA,[e.createElementVNode("div",NA,[VA,(C=(S=o.report)==null?void 0:S.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",fA,e.toDisplayString((L=(O=o.report)==null?void 0:O.departure)==null?void 0:L.portName),1)):(e.openBlock(),e.createElementBlock("div",gA,[e.createVNode(_,{lat:(T=(w=o.report)==null?void 0:w.departure)==null?void 0:T.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),DA,e.createVNode(i,{lng:(D=o.report.departure)==null?void 0:D.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",bA,e.toDisplayString(a.computeUTCTime((W=o.report.departure)==null?void 0:W.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",xA,[CA,(Z=(Y=o.report)==null?void 0:Y.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",SA,e.toDisplayString((P=(I=o.report)==null?void 0:I.arrival)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",kA,[e.createVNode(_,{lat:($=(V=o.report)==null?void 0:V.arrival)==null?void 0:$.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),BA,e.createVNode(i,{lng:(u=(M=o.report)==null?void 0:M.arrival)==null?void 0:u.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",AA,e.toDisplayString(a.computeUTCTime((Q=(H=o.report)==null?void 0:H.arrival)==null?void 0:Q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",wA,[TA,e.createElementVNode("span",OA,e.toDisplayString((K=(j=o.report)==null?void 0:j.voyage)==null?void 0:K.loadCondition),1)])])]),e.createElementVNode("div",FA,[PA,e.createElementVNode("div",WA,[e.createElementVNode("div",LA,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",uA,[HA,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((N=o.report)==null?void 0:N.segments,(n,X)=>{var d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+X},[e.createElementVNode("div",MA,[e.createElementVNode("div",GA,"Seg."+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=n==null?void 0:n.extend)==null?void 0:d.segTimes,(J,Te)=>{var ue,Me,he,Ke,Xe,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Te},[e.createElementVNode("div",$A,[(ue=J==null?void 0:J.departure)!=null&&ue.portName?(e.openBlock(),e.createElementBlock("span",IA,e.toDisplayString((Me=J==null?void 0:J.departure)==null?void 0:Me.portName),1)):(e.openBlock(),e.createElementBlock("span",RA,e.toDisplayString(a.computeLat((he=J==null?void 0:J.departure)==null?void 0:he.lat).pretty)+", "+e.toDisplayString(a.computeLng((Ke=J==null?void 0:J.departure)==null?void 0:Ke.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Xe=J==null?void 0:J.departure)==null?void 0:Xe.utcTime))+")",1)]),zA,e.createElementVNode("div",UA,[(ve=J==null?void 0:J.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",YA,e.toDisplayString((ot=J==null?void 0:J.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",ZA,e.toDisplayString(a.computeLat((lt=J==null?void 0:J.arrival)==null?void 0:lt.lat).pretty)+", "+e.toDisplayString(a.computeLng((at=J==null?void 0:J.arrival)==null?void 0:at.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((nt=J==null?void 0:J.arrival)==null?void 0:nt.utcTime))+")",1)])])}),128)),QA,e.createElementVNode("div",JA,[e.createElementVNode("div",qA,[KA,e.createElementVNode("div",jA,[XA,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((te=(v=n==null?void 0:n.extend)==null?void 0:v.cp)==null?void 0:te.speed)+" |",1),e.createElementVNode("span",null,[vA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(se=(oe=n==null?void 0:n.extend)==null?void 0:oe.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[e8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(de=(ce=n==null?void 0:n.extend)==null?void 0:ce.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((ye=(re=n==null?void 0:n.extend)==null?void 0:re.cp)==null?void 0:ye.fo)+" |",1),e.createElementVNode("span",null,[t8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[o8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(le=n==null?void 0:n.extend)==null?void 0:le.cp)==null?void 0:_e.dgo)+" |",1),e.createElementVNode("span",null,[l8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[a8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"Under")),1)])])])])]),n8,e.createElementVNode("div",s8,[e.createElementVNode("div",i8,[c8,e.createElementVNode("div",d8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.time),1),r8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",m8,[((Ne=n==null?void 0:n.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",p8," Time Gained ")):((Ve=n==null?void 0:n.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",h8," Time Lost ")):(e.openBlock(),e.createElementBlock("div",_8,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",E8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",y8,[((fe=n==null?void 0:n.timeConclusion)==null?void 0:fe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",N8,[V8,e.createElementVNode("span",f8,e.toDisplayString((ge=n==null?void 0:n.timeConclusion)==null?void 0:ge.timeGain),1),g8])):((De=n==null?void 0:n.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",D8,[b8,e.createElementVNode("span",x8,e.toDisplayString((be=n==null?void 0:n.timeConclusion)==null?void 0:be.timeLost),1),C8])):(e.openBlock(),e.createElementBlock("div",S8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",k8,[B8,e.createElementVNode("div",A8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumFoCons),1),w8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",T8,[((Ce=(xe=n==null?void 0:n.fuelConclusion)==null?void 0:xe.fo)==null?void 0:Ce.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",O8," FO Saving ")):((Oe=(Se=n==null?void 0:n.fuelConclusion)==null?void 0:Se.fo)==null?void 0:Oe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",F8," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",P8,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",W8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",L8,[((Ee=(Fe=n==null?void 0:n.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Ee.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",u8,[H8,e.createElementVNode("span",M8,e.toDisplayString((me=(F=n==null?void 0:n.fuelConclusion)==null?void 0:F.fo)==null?void 0:me.saving),1),G8])):((We=(Pe=n==null?void 0:n.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:We.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",$8,[I8,e.createElementVNode("span",R8,e.toDisplayString((pe=(Le=n==null?void 0:n.fuelConclusion)==null?void 0:Le.fo)==null?void 0:pe.overCons),1),z8])):(e.openBlock(),e.createElementBlock("div",U8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y8,[Z8,e.createElementVNode("div",Q8,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumDgoCons),1),J8]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",q8,[((Re=(Ie=n==null?void 0:n.fuelConclusion)==null?void 0:Ie.dgo)==null?void 0:Re.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",K8," DO/GO Saving ")):((z=(ze=n==null?void 0:n.fuelConclusion)==null?void 0:ze.dgo)==null?void 0:z.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",j8," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",X8,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",v8,e.toDisplayString(l.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ew,[((He=(we=n==null?void 0:n.fuelConclusion)==null?void 0:we.dgo)==null?void 0:He.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",tw,[ow,e.createElementVNode("span",lw,e.toDisplayString((Ye=(Ue=n==null?void 0:n.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:Ye.saving),1),aw])):((Qe=(Ze=n==null?void 0:n.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",nw,[sw,e.createElementVNode("span",iw,e.toDisplayString((h=(Je=n==null?void 0:n.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:h.overCons),1),cw])):(e.openBlock(),e.createElementBlock("div",dw,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),rw]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((R=o.report)==null?void 0:R.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[mw,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",pw,[hw,_w,e.createElementVNode("div",Ew,[e.createElementVNode("table",yw,[Nw,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(n,X)=>(e.openBlock(),e.createElementBlock("tr",{key:X},[e.createElementVNode("td",null,e.toDisplayString(X+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((q=o.report)==null?void 0:q.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:l.remarks,"onUpdate:modelValue":s[0]||(s[0]=n=>l.remarks=n),class:"editor",height:"120px",onBlur:s[1]||(s[1]=n=>a.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:s[2]||(s[2]=(...n)=>a.handleEdit&&a.handleEdit(...n)),innerHTML:l.remarks},null,40,Vw))],2)],2),e.createElementVNode("div",fw,[gw,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(n,X)=>{var d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,$t,It,Rt,z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e)=>{var Mi,Gi,$i,Ii,Ri,zi,Ui,Yi,Zi,Qi;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:hoe},[e.createElementVNode("div",bw,[(Mi=je==null?void 0:je.departure)!=null&&Mi.portName?(e.openBlock(),e.createElementBlock("span",xw,e.toDisplayString((Gi=je==null?void 0:je.departure)==null?void 0:Gi.portName),1)):(e.openBlock(),e.createElementBlock("span",Cw,e.toDisplayString(a.computeLat(($i=je==null?void 0:je.departure)==null?void 0:$i.lat).pretty)+", "+e.toDisplayString(a.computeLng((Ii=je==null?void 0:je.departure)==null?void 0:Ii.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ri=je==null?void 0:je.departure)==null?void 0:Ri.utcTime))+")",1)]),Sw,e.createElementVNode("div",kw,[(zi=je==null?void 0:je.arrival)!=null&&zi.portName?(e.openBlock(),e.createElementBlock("span",Bw,e.toDisplayString((Ui=je==null?void 0:je.arrival)==null?void 0:Ui.portName),1)):(e.openBlock(),e.createElementBlock("span",Aw,e.toDisplayString(a.computeLat((Yi=je==null?void 0:je.arrival)==null?void 0:Yi.lat).pretty)+", "+e.toDisplayString(a.computeLng((Zi=je==null?void 0:je.arrival)==null?void 0:Zi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Qi=je==null?void 0:je.arrival)==null?void 0:Qi.utcTime))+")",1)])])}),128)),ww,e.createElementVNode("div",Tw,[e.createElementVNode("table",null,[Ow,Fw,e.createElementVNode("tr",null,[Pw,e.createElementVNode("td",Ww,e.toDisplayString((te=(v=n==null?void 0:n.goodWx)==null?void 0:v.outEca)==null?void 0:te.distance),1),e.createElementVNode("td",Lw,e.toDisplayString((se=(oe=n==null?void 0:n.goodWx)==null?void 0:oe.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ce=n==null?void 0:n.allWx)==null?void 0:ce.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((ye=(re=n==null?void 0:n.allWx)==null?void 0:re.inEca)==null?void 0:ye.distance),1)]),e.createElementVNode("tr",null,[uw,e.createElementVNode("td",Hw,e.toDisplayString((_e=(le=n==null?void 0:n.goodWx)==null?void 0:le.outEca)==null?void 0:_e.time),1),e.createElementVNode("td",Mw,e.toDisplayString((Ve=(Ne=n==null?void 0:n.goodWx)==null?void 0:Ne.inEca)==null?void 0:Ve.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(fe=n==null?void 0:n.allWx)==null?void 0:fe.outEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(De=n==null?void 0:n.allWx)==null?void 0:De.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[Gw,e.createElementVNode("td",$w,e.toDisplayString(((Ce=(xe=n==null?void 0:n.goodWx)==null?void 0:xe.outEca)==null?void 0:Ce.avgSpd)||"--"),1),e.createElementVNode("td",Iw,e.toDisplayString(((Oe=(Se=n==null?void 0:n.goodWx)==null?void 0:Se.inEca)==null?void 0:Oe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ee=(Fe=n==null?void 0:n.allWx)==null?void 0:Fe.outEca)==null?void 0:Ee.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((me=(F=n==null?void 0:n.allWx)==null?void 0:F.inEca)==null?void 0:me.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Rw,e.createElementVNode("td",zw,e.toDisplayString(((We=(Pe=n==null?void 0:n.goodWx)==null?void 0:Pe.outEca)==null?void 0:We.sumFoCons)||"--"),1),e.createElementVNode("td",Uw,e.toDisplayString(((pe=(Le=n==null?void 0:n.goodWx)==null?void 0:Le.inEca)==null?void 0:pe.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Re=(Ie=n==null?void 0:n.allWx)==null?void 0:Ie.outEca)==null?void 0:Re.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((z=(ze=n==null?void 0:n.allWx)==null?void 0:ze.inEca)==null?void 0:z.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Yw,e.createElementVNode("td",Zw,e.toDisplayString(((He=(we=n==null?void 0:n.goodWx)==null?void 0:we.outEca)==null?void 0:He.avgFoCons)||"--"),1),e.createElementVNode("td",Qw,e.toDisplayString(((Ye=(Ue=n==null?void 0:n.goodWx)==null?void 0:Ue.inEca)==null?void 0:Ye.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((h=(Je=n==null?void 0:n.allWx)==null?void 0:Je.inEca)==null?void 0:h.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Jw,e.createElementVNode("td",qw,e.toDisplayString(((Te=(J=n==null?void 0:n.goodWx)==null?void 0:J.outEca)==null?void 0:Te.sumDgoCons)||"--"),1),e.createElementVNode("td",Kw,e.toDisplayString(((Me=(ue=n==null?void 0:n.goodWx)==null?void 0:ue.inEca)==null?void 0:Me.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(he=n==null?void 0:n.allWx)==null?void 0:he.outEca)==null?void 0:Ke.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=(Xe=n==null?void 0:n.allWx)==null?void 0:Xe.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[jw,e.createElementVNode("td",Xw,e.toDisplayString(((lt=(ot=n==null?void 0:n.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",vw,e.toDisplayString(((nt=(at=n==null?void 0:n.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ht=(pt=n==null?void 0:n.allWx)==null?void 0:pt.outEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(_t=n==null?void 0:n.allWx)==null?void 0:_t.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(yt=l.exclusion[X])!=null&&yt.time?(e.openBlock(),e.createElementBlock("div",e7," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Nt=n==null?void 0:n.goodWx)!=null&&Nt.distance?(e.openBlock(),e.createElementBlock("div",t7,[e.createElementVNode("div",o7,[l7,e.createElementVNode("div",a7,[(ft=(Vt=o.report)==null?void 0:Vt.weather)!=null&&ft.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Tt=(wt=o.report)==null?void 0:wt.weather)!=null&&Tt.disableWxFactor&&((Ht=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Ht.disableCFactor)?(e.openBlock(),e.createElementBlock("span",d7,e.toDisplayString((po=n==null?void 0:n.goodWx)==null?void 0:po.pfmSpd)+" (kts)",1)):(No=(yo=o.report)==null?void 0:yo.weather)!=null&&No.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Vo=n==null?void 0:n.goodWx)==null?void 0:Vo.avgSpd),1),r7,e.createElementVNode("span",null,e.toDisplayString(((fo=n==null?void 0:n.goodWx)==null?void 0:fo.avgCf)>0?(go=n==null?void 0:n.goodWx)==null?void 0:go.avgCf:`(${(Do=n==null?void 0:n.goodWx)==null?void 0:Do.avgCf})`),1),m7,e.createElementVNode("span",p7,e.toDisplayString((bo=n==null?void 0:n.goodWx)==null?void 0:bo.pfmSpd)+" (kts)",1)],64)):(U=(xo=o.report)==null?void 0:xo.weather)!=null&&U.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((tt=n==null?void 0:n.goodWx)==null?void 0:tt.avgSpd),1),h7,e.createElementVNode("span",null,e.toDisplayString(((Ft=n==null?void 0:n.goodWx)==null?void 0:Ft.avgWf)>0?(Pt=n==null?void 0:n.goodWx)==null?void 0:Pt.avgWf:`(${(Mt=n==null?void 0:n.goodWx)==null?void 0:Mt.avgWf})`),1),_7,e.createElementVNode("span",E7,e.toDisplayString((Gt=n==null?void 0:n.goodWx)==null?void 0:Gt.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(($t=n==null?void 0:n.goodWx)==null?void 0:$t.avgSpd),1),y7,e.createElementVNode("span",null,e.toDisplayString(((It=n==null?void 0:n.goodWx)==null?void 0:It.avgWf)>0?(Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgWf:`(${(zt=n==null?void 0:n.goodWx)==null?void 0:zt.avgWf})`),1),N7,e.createElementVNode("span",null,e.toDisplayString(((Ut=n==null?void 0:n.goodWx)==null?void 0:Ut.avgCf)>0?(Yt=n==null?void 0:n.goodWx)==null?void 0:Yt.avgCf:`(${(Zt=n==null?void 0:n.goodWx)==null?void 0:Zt.avgCf})`),1),V7,e.createElementVNode("span",f7,e.toDisplayString((Qt=n==null?void 0:n.goodWx)==null?void 0:Qt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Dt=(gt=o.report)==null?void 0:gt.weather)!=null&&Dt.favorableCur&&((bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgCf)>0?(e.openBlock(),e.createElementBlock("span",c7,e.toDisplayString((At=n==null?void 0:n.goodWx)==null?void 0:At.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((xt=n==null?void 0:n.goodWx)==null?void 0:xt.avgSpd),1),n7,e.createElementVNode("span",null,e.toDisplayString(((Ct=n==null?void 0:n.goodWx)==null?void 0:Ct.avgCf)>0?(St=n==null?void 0:n.goodWx)==null?void 0:St.avgCf:`(${(kt=n==null?void 0:n.goodWx)==null?void 0:kt.avgCf})`),1),s7,e.createElementVNode("span",i7,e.toDisplayString((Bt=n==null?void 0:n.goodWx)==null?void 0:Bt.pfmSpd)+" (kts)",1)],64))],64)),((Jt=n==null?void 0:n.goodWx)==null?void 0:Jt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",g7,"(Under-performance)")):e.createCommentVNode("",!0),((qt=n==null?void 0:n.goodWx)==null?void 0:qt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",D7,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",b7,[x7,e.createElementVNode("div",C7,[(jt=(Kt=o.report)==null?void 0:Kt.weather)!=null&&jt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(oo=(to=o.report)==null?void 0:to.weather)!=null&&oo.disableWxFactor&&((ao=(lo=o.report)==null?void 0:lo.weather)!=null&&ao.disableCFactor)?(e.openBlock(),e.createElementBlock("label",T7,"GW Average Speed")):(so=(no=o.report)==null?void 0:no.weather)!=null&&so.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[O7,F7,P7],64)):(co=(io=o.report)==null?void 0:io.weather)!=null&&co.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[W7,L7,u7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[H7,M7,G7,$7,I7],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(vt=(Xt=o.report)==null?void 0:Xt.weather)!=null&&vt.favorableCur&&((eo=n==null?void 0:n.goodWx)==null?void 0:eo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[A7,w7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[S7,k7,B7],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",R7,[e.createElementVNode("div",z7,[U7,e.createElementVNode("div",Y7,[(So=(Co=o.report)==null?void 0:Co.weather)!=null&&So.favorableCur&&((ko=n==null?void 0:n.allWx)==null?void 0:ko.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Lo=n==null?void 0:n.allWx)==null?void 0:Lo.avgSpd),1),K7,e.createElementVNode("span",null,e.toDisplayString(((uo=n==null?void 0:n.allWx)==null?void 0:uo.avgWf)>0?(Ho=n==null?void 0:n.allWx)==null?void 0:Ho.avgWf:`(${(Mo=n==null?void 0:n.allWx)==null?void 0:Mo.avgWf})`),1),j7,e.createElementVNode("span",X7,e.toDisplayString((Go=n==null?void 0:n.allWx)==null?void 0:Go.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Bo=n==null?void 0:n.allWx)==null?void 0:Bo.avgSpd),1),Z7,e.createElementVNode("span",null,e.toDisplayString(((Ao=n==null?void 0:n.allWx)==null?void 0:Ao.avgCf)>0?(wo=n==null?void 0:n.allWx)==null?void 0:wo.avgCf:`(${(To=n==null?void 0:n.allWx)==null?void 0:To.avgCf})`),1),Q7,e.createElementVNode("span",null,e.toDisplayString(((Oo=n==null?void 0:n.allWx)==null?void 0:Oo.avgWf)>0?(Fo=n==null?void 0:n.allWx)==null?void 0:Fo.avgWf:`(${(Po=n==null?void 0:n.allWx)==null?void 0:Po.avgWf})`),1),J7,e.createElementVNode("span",q7,e.toDisplayString((Wo=n==null?void 0:n.allWx)==null?void 0:Wo.pfmSpd)+" (kts)",1)],64)),(($o=n==null?void 0:n.allWx)==null?void 0:$o.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",v7,"(Under-performance)")):e.createCommentVNode("",!0),((Io=n==null?void 0:n.allWx)==null?void 0:Io.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",e6,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",t6,[o6,e.createElementVNode("div",l6,[(zo=(Ro=o.report)==null?void 0:Ro.weather)!=null&&zo.favorableCur&&((Uo=n==null?void 0:n.allWx)==null?void 0:Uo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d6,r6,m6,p6],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a6,n6,s6,i6,c6],64))])])])),h6,e.createElementVNode("div",_6,[e.createElementVNode("div",E6,[y6,e.createElementVNode("div",N6,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Time Analysis",1),(Qo=(Yo=o.report)==null?void 0:Yo.weather)!=null&&Qo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",V6,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",f6,[e.createElementVNode("div",g6,[D6,e.createElementVNode("div",b6,[e.createElementVNode("div",x6,[e.createElementVNode("div",null,e.toDisplayString((qo=(Jo=o.report)==null?void 0:Jo.weather)!=null&&qo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),C6,S6]),k6])]),e.createElementVNode("div",B6,[e.createElementVNode("div",A6,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(jo=(Ko=n==null?void 0:n.extend)==null?void 0:Ko.cp)==null?void 0:jo.speed,"Under"))+"kts)",1),w6]),e.createElementVNode("div",T6,[e.createElementVNode("div",O6,[e.createElementVNode("div",null,e.toDisplayString((vo=(Xo=o.report)==null?void 0:Xo.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),F6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(tl=(el=n==null?void 0:n.extend)==null?void 0:el.cp)==null?void 0:tl.speed,"Under"))+"kts",1)]),P6])]),e.createElementVNode("div",W6,[e.createElementVNode("div",L6,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ll=(ol=n==null?void 0:n.extend)==null?void 0:ol.cp)==null?void 0:ll.speed,"Over"))+"kts)",1),u6]),e.createElementVNode("div",H6,[e.createElementVNode("div",M6,[e.createElementVNode("div",null,e.toDisplayString((nl=(al=o.report)==null?void 0:al.weather)!=null&&nl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),G6,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(il=(sl=n==null?void 0:n.extend)==null?void 0:sl.cp)==null?void 0:il.speed,"Over"))+"kts",1)]),$6])]),I6]),e.createElementVNode("div",R6,[e.createElementVNode("div",z6,[U6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(dl=(cl=n==null?void 0:n.extend)==null?void 0:cl.cp)==null?void 0:dl.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",Y6,[Z6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ml=(rl=n==null?void 0:n.extend)==null?void 0:rl.cp)==null?void 0:ml.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",Q6,[J6,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(hl=(pl=n==null?void 0:n.extend)==null?void 0:pl.cp)==null?void 0:hl.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(El=(_l=n==null?void 0:n.extend)==null?void 0:_l.cp)==null?void 0:El.speed,"Under"))+" kts)",1)])]),(yl=n==null?void 0:n.goodWx)!=null&&yl.distance?(e.openBlock(),e.createElementBlock("div",q6,[e.createElementVNode("div",K6,[j6,e.createElementVNode("div",X6,[e.createElementVNode("div",v6,[e.createElementVNode("div",null,e.toDisplayString((fl=(Wt=o.report)==null?void 0:Wt.weather)!=null&&fl.noExtrapolation?(bl=n==null?void 0:n.goodWx)==null?void 0:bl.distance:(xl=n==null?void 0:n.allWx)==null?void 0:xl.distance),1),e9,e.createElementVNode("div",null,e.toDisplayString((Cl=n==null?void 0:n.goodWx)==null?void 0:Cl.pfmSpd),1)]),t9,e.createElementVNode("div",null,e.toDisplayString((Sl=n==null?void 0:n.timeConclusion)==null?void 0:Sl.timeAtPfmSpd)+" (hrs)",1),o9])]),e.createElementVNode("div",l9,[e.createElementVNode("div",a9,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Bl=(kl=n==null?void 0:n.extend)==null?void 0:kl.cp)==null?void 0:Bl.speed,"Under"))+"kts)",1),n9]),e.createElementVNode("div",s9,[e.createElementVNode("div",i9,[e.createElementVNode("div",null,e.toDisplayString((wl=(Al=o.report)==null?void 0:Al.weather)!=null&&wl.noExtrapolation?(Tl=n==null?void 0:n.goodWx)==null?void 0:Tl.distance:(Ol=n==null?void 0:n.allWx)==null?void 0:Ol.distance),1),c9,e.createElementVNode("div",null,e.toDisplayString((Fl=n==null?void 0:n.timeConclusion)==null?void 0:Fl.minusAbtSpd),1)]),d9,e.createElementVNode("div",null,e.toDisplayString((Pl=n==null?void 0:n.timeConclusion)==null?void 0:Pl.timeAtMinusAbtSpd)+" (hrs)",1),r9])]),e.createElementVNode("div",m9,[e.createElementVNode("div",p9,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Ll=(Wl=n==null?void 0:n.extend)==null?void 0:Wl.cp)==null?void 0:Ll.speed,"Over"))+"kts)",1),h9]),e.createElementVNode("div",_9,[e.createElementVNode("div",E9,[e.createElementVNode("div",null,e.toDisplayString((Hl=(ul=o.report)==null?void 0:ul.weather)!=null&&Hl.noExtrapolation?(Ml=n==null?void 0:n.goodWx)==null?void 0:Ml.distance:(Gl=n==null?void 0:n.allWx)==null?void 0:Gl.distance),1),y9,e.createElementVNode("div",null,e.toDisplayString(($l=n==null?void 0:n.timeConclusion)==null?void 0:$l.plusAbtSpd),1)]),N9,e.createElementVNode("div",null,e.toDisplayString((Il=n==null?void 0:n.timeConclusion)==null?void 0:Il.timeAtPlusAbtSpd)+" (hrs)",1),V9])]),e.createElementVNode("div",f9,[((Rl=n==null?void 0:n.timeConclusion)==null?void 0:Rl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",g9,[D9,b9,x9,C9,e.createElementVNode("div",null,e.toDisplayString((zl=n==null?void 0:n.timeConclusion)==null?void 0:zl.timeAtPfmSpd),1),S9,e.createElementVNode("div",null,e.toDisplayString((Ul=n==null?void 0:n.timeConclusion)==null?void 0:Ul.timeAtMinusAbtSpd),1),k9,e.createElementVNode("div",null,e.toDisplayString((Yl=n==null?void 0:n.timeConclusion)==null?void 0:Yl.timeLost)+" (hrs)",1)])):((Zl=n==null?void 0:n.timeConclusion)==null?void 0:Zl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",B9,[A9,w9,T9,O9,e.createElementVNode("div",null,e.toDisplayString((Ql=n==null?void 0:n.timeConclusion)==null?void 0:Ql.timeAtPlusAbtSpd),1),F9,e.createElementVNode("div",null,e.toDisplayString((Jl=n==null?void 0:n.timeConclusion)==null?void 0:Jl.timeAtPfmSpd),1),P9,e.createElementVNode("div",null,e.toDisplayString((ql=n==null?void 0:n.timeConclusion)==null?void 0:ql.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Kl=n==null?void 0:n.timeConclusion)==null?void 0:Kl.conclusionStatus)==="Lost"?"flex-center lost":((jl=n==null?void 0:n.timeConclusion)==null?void 0:jl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[W9,e.createElementVNode("div",null,e.toDisplayString(((Xl=n==null?void 0:n.timeConclusion)==null?void 0:Xl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",L9,e.toDisplayString(l.noGoodWxDay),1))]),u9,e.createElementVNode("div",H9,[e.createElementVNode("div",M9,[G9,e.createElementVNode("div",$9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Consumption Analysis",1),(ea=(vl=o.report)==null?void 0:vl.weather)!=null&&ea.noExtrapolation?(e.openBlock(),e.createElementBlock("span",I9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",R9,[e.createElementVNode("div",z9,[U9,e.createElementVNode("div",Y9,[e.createElementVNode("div",Z9,[e.createElementVNode("div",null,e.toDisplayString((oa=(ta=o.report)==null?void 0:ta.weather)!=null&&oa.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Q9,J9]),q9,K9,j9])]),e.createElementVNode("div",X9,[v9,((aa=(la=n.extend)==null?void 0:la.cp)==null?void 0:aa.dgo)>0?(e.openBlock(),e.createElementBlock("div",eT,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",tT,[oT,e.createElementVNode("div",lT,[e.createElementVNode("div",aT,[e.createElementVNode("div",null,e.toDisplayString((sa=(na=o.report)==null?void 0:na.weather)!=null&&sa.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),nT,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ca=(ia=n==null?void 0:n.extend)==null?void 0:ia.cp)==null?void 0:ca.speed,"Under"))+"kts",1)]),sT,iT,cT])]),e.createElementVNode("div",dT,[rT,e.createElementVNode("div",mT,[e.createElementVNode("div",pT,[e.createElementVNode("div",null,e.toDisplayString((ra=(da=o.report)==null?void 0:da.weather)!=null&&ra.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),hT,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(pa=(ma=n==null?void 0:n.extend)==null?void 0:ma.cp)==null?void 0:pa.speed,"Under"))+"kts",1)]),_T,ET,yT])]),NT,((_a=(ha=n.extend)==null?void 0:ha.cp)==null?void 0:_a.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",VT,[fT,e.createElementVNode("div",gT,[e.createElementVNode("div",DT,[bT,xT,e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=o.report)==null?void 0:Ea.weather)!=null&&ya.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",CT,[ST,e.createElementVNode("div",kT,[e.createElementVNode("div",BT,[AT,wT,e.createElementVNode("div",null,e.toDisplayString((Va=(Na=o.report)==null?void 0:Na.weather)!=null&&Va.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),TT,e.createElementVNode("div",OT,[FT,e.createElementVNode("div",PT,"Seg. "+e.toDisplayString(X+1)+" Fuel Oil",1)]),(fa=n==null?void 0:n.goodWx)!=null&&fa.distance?(e.openBlock(),e.createElementBlock("div",WT,[((Da=(ga=n==null?void 0:n.goodWx)==null?void 0:ga.inEca)==null?void 0:Da.distance)>0?(e.openBlock(),e.createElementBlock("div",LT,[uT,e.createElementVNode("div",HT,[e.createElementVNode("div",MT,[e.createElementVNode("div",null,e.toDisplayString((xa=(ba=n==null?void 0:n.goodWx)==null?void 0:ba.inEca)==null?void 0:xa.sumDgoCons),1)]),GT,e.createElementVNode("div",$T,[e.createElementVNode("div",null,e.toDisplayString((Sa=(Ca=n==null?void 0:n.extend)==null?void 0:Ca.cp)==null?void 0:Sa.dgo),1),IT,RT]),zT,e.createElementVNode("div",null,e.toDisplayString((Ba=(ka=n==null?void 0:n.goodWx)==null?void 0:ka.inEca)==null?void 0:Ba.time),1),UT,e.createElementVNode("div",null,e.toDisplayString((wa=(Aa=n==null?void 0:n.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:wa.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",YT,[ZT,e.createElementVNode("div",QT,[e.createElementVNode("div",JT,[e.createElementVNode("div",null,e.toDisplayString((Oa=(Ta=o.report)==null?void 0:Ta.weather)!=null&&Oa.noExtrapolation?(Fa=n==null?void 0:n.goodWx)==null?void 0:Fa.distance:(Pa=n==null?void 0:n.allWx)==null?void 0:Pa.distance),1),qT,e.createElementVNode("div",null,e.toDisplayString((Wa=n==null?void 0:n.goodWx)==null?void 0:Wa.pfmSpd),1)]),KT,e.createElementVNode("div",jT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((La=n==null?void 0:n.goodWx)==null?void 0:La.sumFoCons),1),((Ha=(ua=n==null?void 0:n.goodWx)==null?void 0:ua.inEca)==null?void 0:Ha.distance)>0?(e.openBlock(),e.createElementBlock("span",XT,[vT,e.createElementVNode("span",null,e.toDisplayString((Ga=(Ma=n==null?void 0:n.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ga.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),eO,e.createElementVNode("div",null,e.toDisplayString(($a=n==null?void 0:n.goodWx)==null?void 0:$a.time),1)]),tO,e.createElementVNode("div",null,e.toDisplayString((Ra=(Ia=n.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.entireCons)+" (mt)",1),oO])]),e.createElementVNode("div",lO,[aO,e.createElementVNode("div",nO,[e.createElementVNode("div",sO,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=o.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(ae=n==null?void 0:n.goodWx)==null?void 0:ae.distance:(ro=n==null?void 0:n.allWx)==null?void 0:ro.distance),1),iO,e.createElementVNode("div",null,e.toDisplayString((Ya=n==null?void 0:n.timeConclusion)==null?void 0:Ya.minusAbtSpd),1)]),cO,e.createElementVNode("div",dO,[e.createElementVNode("div",null,e.toDisplayString((Qa=(Za=n==null?void 0:n.fuelConclusion)==null?void 0:Za.fo)==null?void 0:Qa.overTolerance),1),rO,mO]),pO,e.createElementVNode("div",null,e.toDisplayString((mo=(ne=n.fuelConclusion)==null?void 0:ne.fo)==null?void 0:mo.maxCons)+" (mt)",1),hO])]),e.createElementVNode("div",_O,[EO,e.createElementVNode("div",yO,[e.createElementVNode("div",NO,[e.createElementVNode("div",null,e.toDisplayString((qa=(Ja=o.report)==null?void 0:Ja.weather)!=null&&qa.noExtrapolation?(Ka=n==null?void 0:n.goodWx)==null?void 0:Ka.distance:(rt=n==null?void 0:n.allWx)==null?void 0:rt.distance),1),VO,e.createElementVNode("div",null,e.toDisplayString((ln=n==null?void 0:n.timeConclusion)==null?void 0:ln.minusAbtSpd),1)]),fO,e.createElementVNode("div",gO,[e.createElementVNode("div",null,e.toDisplayString((nn=(an=n==null?void 0:n.fuelConclusion)==null?void 0:an.fo)==null?void 0:nn.underTolerance),1),DO,bO]),xO,e.createElementVNode("div",null,e.toDisplayString((Lt=(sn=n.fuelConclusion)==null?void 0:sn.fo)==null?void 0:Lt.minCons)+" (mt)",1),CO])]),e.createElementVNode("div",SO,[((In=($n=n==null?void 0:n.fuelConclusion)==null?void 0:$n.fo)==null?void 0:In.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",kO,[BO,AO,wO,TO,e.createElementVNode("div",null,e.toDisplayString((zn=(Rn=n==null?void 0:n.fuelConclusion)==null?void 0:Rn.fo)==null?void 0:zn.entireCons),1),OO,e.createElementVNode("div",null,e.toDisplayString((Yn=(Un=n==null?void 0:n.fuelConclusion)==null?void 0:Un.fo)==null?void 0:Yn.maxCons),1),FO,e.createElementVNode("div",null,e.toDisplayString((Qn=(Zn=n==null?void 0:n.fuelConclusion)==null?void 0:Zn.fo)==null?void 0:Qn.overCons),1)]),(qn=(Jn=n==null?void 0:n.goodWx)==null?void 0:Jn.inEca)!=null&&qn.distance?(e.openBlock(),e.createElementBlock("div",PO,[WO,LO,e.createElementVNode("div",uO,[e.createElementVNode("div",null,e.toDisplayString((jn=(Kn=n==null?void 0:n.goodWx)==null?void 0:Kn.inEca)==null?void 0:jn.distance)+" * "+e.toDisplayString((vn=(Xn=n==null?void 0:n.fuelConclusion)==null?void 0:Xn.fo)==null?void 0:vn.overCons),1),HO,e.createElementVNode("div",null,e.toDisplayString((ts=(es=o.report)==null?void 0:es.weather)!=null&&ts.noExtrapolation?(os=n==null?void 0:n.goodWx)==null?void 0:os.distance:(ls=n==null?void 0:n.allWx)==null?void 0:ls.distance),1)]),MO,e.createElementVNode("div",null,e.toDisplayString((ns=(as=n==null?void 0:n.fuelConclusion)==null?void 0:as.fo)==null?void 0:ns.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((is=(ss=n==null?void 0:n.fuelConclusion)==null?void 0:ss.fo)==null?void 0:is.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",GO,[$O,IO,RO,zO,e.createElementVNode("div",null,e.toDisplayString((ds=(cs=n==null?void 0:n.fuelConclusion)==null?void 0:cs.fo)==null?void 0:ds.minCons),1),UO,e.createElementVNode("div",null,e.toDisplayString((ms=(rs=n==null?void 0:n.fuelConclusion)==null?void 0:rs.fo)==null?void 0:ms.entireCons),1),YO,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=n==null?void 0:n.fuelConclusion)==null?void 0:ps.fo)==null?void 0:hs.saving)+" (mt)",1)]),(Es=(_s=n==null?void 0:n.goodWx)==null?void 0:_s.inEca)!=null&&Es.distance?(e.openBlock(),e.createElementBlock("div",ZO,[QO,JO,e.createElementVNode("div",qO,[e.createElementVNode("div",null,e.toDisplayString((Ns=(ys=o.report)==null?void 0:ys.weather)!=null&&Ns.noExtrapolation?(fs=(Vs=n==null?void 0:n.goodWx)==null?void 0:Vs.inEca)==null?void 0:fs.distance:(Ds=(gs=n==null?void 0:n.allWx)==null?void 0:gs.inEca)==null?void 0:Ds.distance)+" * "+e.toDisplayString((xs=(bs=n==null?void 0:n.fuelConclusion)==null?void 0:bs.fo)==null?void 0:xs.saving),1),KO,e.createElementVNode("div",null,e.toDisplayString((Ss=(Cs=o.report)==null?void 0:Cs.weather)!=null&&Ss.noExtrapolation?(ks=n==null?void 0:n.goodWx)==null?void 0:ks.distance:(Bs=n==null?void 0:n.allWx)==null?void 0:Bs.distance),1)]),jO,e.createElementVNode("div",null,e.toDisplayString((ws=(As=n==null?void 0:n.fuelConclusion)==null?void 0:As.fo)==null?void 0:ws.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Os=(Ts=n==null?void 0:n.fuelConclusion)==null?void 0:Ts.fo)==null?void 0:Os.conclusionStatus)==="Over"?"flex-center lost":((Ps=(Fs=n==null?void 0:n.fuelConclusion)==null?void 0:Fs.fo)==null?void 0:Ps.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[XO,e.createElementVNode("div",null,e.toDisplayString(((Ls=(Ws=n==null?void 0:n.fuelConclusion)==null?void 0:Ws.fo)==null?void 0:Ls.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",vO,e.toDisplayString(l.noGoodWxDay),1)),((Hs=(us=n==null?void 0:n.extend)==null?void 0:us.cp)==null?void 0:Hs.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",eF,[tF,e.createElementVNode("div",oF,"Seg. "+e.toDisplayString(X+1)+" Diesel/Gas Oil ",1)]),(Ms=n==null?void 0:n.goodWx)!=null&&Ms.distance?(e.openBlock(),e.createElementBlock("div",lF,[e.createElementVNode("div",aF,[nF,e.createElementVNode("div",sF,[e.createElementVNode("div",iF,[e.createElementVNode("div",null,e.toDisplayString(($s=(Gs=o.report)==null?void 0:Gs.weather)!=null&&$s.noExtrapolation?(Is=n==null?void 0:n.goodWx)==null?void 0:Is.distance:(Rs=n==null?void 0:n.allWx)==null?void 0:Rs.distance),1),cF,e.createElementVNode("div",null,e.toDisplayString((zs=n==null?void 0:n.goodWx)==null?void 0:zs.pfmSpd),1)]),dF,e.createElementVNode("div",rF,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Us=n==null?void 0:n.goodWx)==null?void 0:Us.sumDgoCons),1),((Zs=(Ys=n==null?void 0:n.goodWx)==null?void 0:Ys.inEca)==null?void 0:Zs.distance)>0?(e.openBlock(),e.createElementBlock("span",mF,[pF,e.createElementVNode("span",null,e.toDisplayString((Js=(Qs=n==null?void 0:n.fuelConclusion)==null?void 0:Qs.fo)==null?void 0:Js.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),hF,e.createElementVNode("div",null,e.toDisplayString((qs=n==null?void 0:n.goodWx)==null?void 0:qs.time),1)]),_F,e.createElementVNode("div",null,e.toDisplayString((js=(Ks=n.fuelConclusion)==null?void 0:Ks.dgo)==null?void 0:js.entireCons)+" (mt)",1),EF])]),e.createElementVNode("div",yF,[NF,e.createElementVNode("div",VF,[e.createElementVNode("div",fF,[e.createElementVNode("div",null,e.toDisplayString((vs=(Xs=o.report)==null?void 0:Xs.weather)!=null&&vs.noExtrapolation?(ei=n==null?void 0:n.goodWx)==null?void 0:ei.distance:(ti=n==null?void 0:n.allWx)==null?void 0:ti.distance),1),gF,e.createElementVNode("div",null,e.toDisplayString((oi=n==null?void 0:n.timeConclusion)==null?void 0:oi.minusAbtSpd),1)]),DF,e.createElementVNode("div",bF,[e.createElementVNode("div",null,e.toDisplayString((ai=(li=n==null?void 0:n.fuelConclusion)==null?void 0:li.dgo)==null?void 0:ai.overTolerance),1),xF,CF]),SF,e.createElementVNode("div",null,e.toDisplayString((si=(ni=n.fuelConclusion)==null?void 0:ni.dgo)==null?void 0:si.maxCons)+" (mt)",1),kF])]),e.createElementVNode("div",BF,[AF,e.createElementVNode("div",wF,[e.createElementVNode("div",TF,[e.createElementVNode("div",null,e.toDisplayString((ci=(ii=o.report)==null?void 0:ii.weather)!=null&&ci.noExtrapolation?(di=n==null?void 0:n.goodWx)==null?void 0:di.distance:(ri=n==null?void 0:n.allWx)==null?void 0:ri.distance),1),OF,e.createElementVNode("div",null,e.toDisplayString((mi=n==null?void 0:n.timeConclusion)==null?void 0:mi.minusAbtSpd),1)]),FF,e.createElementVNode("div",PF,[e.createElementVNode("div",null,e.toDisplayString((hi=(pi=n==null?void 0:n.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:hi.underTolerance),1),WF,LF]),uF,e.createElementVNode("div",null,e.toDisplayString((Ei=(_i=n.fuelConclusion)==null?void 0:_i.dgo)==null?void 0:Ei.minCons)+" (mt)",1),HF])]),e.createElementVNode("div",MF,[((Ni=(yi=n==null?void 0:n.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ni.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",GF,[$F,IF,RF,zF,e.createElementVNode("div",null,e.toDisplayString((fi=(Vi=n==null?void 0:n.fuelConclusion)==null?void 0:Vi.dgo)==null?void 0:fi.entireCons),1),UF,e.createElementVNode("div",null,e.toDisplayString((Di=(gi=n==null?void 0:n.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:Di.maxCons),1),YF,e.createElementVNode("div",null,e.toDisplayString((xi=(bi=n==null?void 0:n.fuelConclusion)==null?void 0:bi.dgo)==null?void 0:xi.overCons),1)])):((Si=(Ci=n==null?void 0:n.fuelConclusion)==null?void 0:Ci.fo)==null?void 0:Si.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ZF,[QF,JF,qF,KF,e.createElementVNode("div",null,e.toDisplayString((Bi=(ki=n==null?void 0:n.fuelConclusion)==null?void 0:ki.dgo)==null?void 0:Bi.minCons),1),jF,e.createElementVNode("div",null,e.toDisplayString((wi=(Ai=n==null?void 0:n.fuelConclusion)==null?void 0:Ai.dgo)==null?void 0:wi.entireCons),1),XF,e.createElementVNode("div",null,e.toDisplayString((Oi=(Ti=n==null?void 0:n.fuelConclusion)==null?void 0:Ti.dgo)==null?void 0:Oi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Pi=(Fi=n==null?void 0:n.fuelConclusion)==null?void 0:Fi.dgo)==null?void 0:Pi.conclusionStatus)==="Over"?"flex-center lost":((Li=(Wi=n==null?void 0:n.fuelConclusion)==null?void 0:Wi.dgo)==null?void 0:Li.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[vF,e.createElementVNode("div",null,e.toDisplayString(((Hi=(ui=n==null?void 0:n.fuelConclusion)==null?void 0:ui.dgo)==null?void 0:Hi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",eP,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const oP=ke(lA,[["render",tP],["__scopeId","data-v-73235698"]]),joe="",lP={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const s=[];return s.push(t.noonLength?"no-border-bottom":"no-border"),s.push(t.excluded?"excluded":t.goodWx?"good-wx":""),s.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,s=2,o="0.0"){return t?ie.roundPrecision(t,s):o}}},watch:{report:{handler(t,s){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,s,o,c,l,a,_,i,E,b,x,y;this.showCF=((s=(t=this.report)==null?void 0:t.weather)==null?void 0:s.showCF)??!1,this.showAisDistance=((c=(o=this.report)==null?void 0:o.weather)==null?void 0:c.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(_=this.report)==null?void 0:_.weather)==null?void 0:i.showSwell)??!0,this.showWave=((b=(E=this.report)==null?void 0:E.weather)==null?void 0:b.showWave)??!0,this.showWaterTemp=((y=(x=this.report)==null?void 0:x.weather)==null?void 0:y.waterTempSwitch)||!1}}},Ae=t=>(e.pushScopeId("data-v-beebd9b9"),t=t(),e.popScopeId(),t),aP={class:"report-inventory"},nP={class:"section summary-section"},sP=Ae(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),iP={class:"summary-block"},cP=Ae(()=>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)),dP={class:"label",rowspan:"4"},rP=Ae(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),mP=Ae(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),pP=Ae(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),hP=Ae(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),_P={class:"section inventory-section"},EP=e.createStaticVNode('<div class="legends flex-space" data-v-beebd9b9><div class="flex-start" style="flex:1.2;" data-v-beebd9b9><div class="legend good-wx" data-v-beebd9b9></div><div class="label flex-end" data-v-beebd9b9>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-beebd9b9><div class="legend adverse-wx" data-v-beebd9b9></div><div class="label" data-v-beebd9b9>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-beebd9b9><div class="legend excluded" data-v-beebd9b9></div><div class="label" data-v-beebd9b9>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-beebd9b9><div data-v-beebd9b9><label data-v-beebd9b9>B</label><span data-v-beebd9b9>BOSP</span></div><div data-v-beebd9b9><label data-v-beebd9b9>N</label><span data-v-beebd9b9>NOON</span></div><div data-v-beebd9b9><label data-v-beebd9b9>E</label><span data-v-beebd9b9>EOSP</span></div><div data-v-beebd9b9><label data-v-beebd9b9>*</label><span data-v-beebd9b9>Ship Reported Position</span></div></div></div>',1),yP={class:"inventory-block flex-center"},NP={style:{"font-size":"12px"}},VP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),fP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),gP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),DP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),bP=["colspan"],xP={key:0,class:"label",colspan:"2"},CP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),SP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),kP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),BP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),AP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),wP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),TP={key:0,class:"label",rowspan:"2"},OP=Ae(()=>e.createElementVNode("br",null,null,-1)),FP={key:1,class:"label",rowspan:"2"},PP=Ae(()=>e.createElementVNode("br",null,null,-1)),WP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),LP={key:2,class:"label",rowspan:"2"},uP=Ae(()=>e.createElementVNode("br",null,null,-1)),HP={key:3,class:"label",colspan:"2"},MP={key:4,class:"label",rowspan:"2"},GP=Ae(()=>e.createElementVNode("br",null,null,-1)),$P={key:5,class:"label",colspan:"2"},IP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),RP={key:6,class:"label",rowspan:"2"},zP={key:7,class:"label",rowspan:"2"},UP={key:8,class:"label",rowspan:"2"},YP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),ZP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),QP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),JP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),qP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),KP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),jP=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),XP=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),vP=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),eW=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),tW=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),oW=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),lW={key:0,class:"label"},aW={key:1,class:"label"},nW={key:2,class:"label"},sW={key:3,class:"label"},iW=Ae(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),cW=Ae(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),dW=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),rW=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),mW=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),pW=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),hW=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),_W=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),EW={class:"summary-tbody"};function yW(t,s,o,c,l,a){var _;return e.openBlock(),e.createElementBlock("div",aP,[e.createElementVNode("div",nP,[sP,e.createElementVNode("div",iP,[e.createElementVNode("table",null,[cP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_=o.report)==null?void 0:_.segments,(i,E)=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$;return e.openBlock(),e.createElementBlock(e.Fragment,{key:E},[e.createElementVNode("tr",null,[e.createElementVNode("td",dP,e.toDisplayString(E+1),1),rP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((b=i==null?void 0:i.allWx)==null?void 0:b.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.allWx)==null?void 0:x.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((y=i==null?void 0:i.allWx)==null?void 0:y.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((g=i==null?void 0:i.allWx)==null?void 0:g.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((B=i==null?void 0:i.allWx)==null?void 0:B.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[mP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((r=i==null?void 0:i.goodWx)==null?void 0:r.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.goodWx)==null?void 0:S.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=i==null?void 0:i.goodWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.goodWx)==null?void 0:L.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[pP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((w=i==null?void 0:i.badWx)==null?void 0:w.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((T=i==null?void 0:i.badWx)==null?void 0:T.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((D=i==null?void 0:i.badWx)==null?void 0:D.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((W=i==null?void 0:i.badWx)==null?void 0:W.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=i==null?void 0:i.badWx)==null?void 0:Y.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[hP,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Z=i==null?void 0:i.excluded)==null?void 0:Z.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=i==null?void 0:i.excluded)==null?void 0:I.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((P=i==null?void 0:i.excluded)==null?void 0:P.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=i==null?void 0:i.excluded)==null?void 0:V.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(($=i==null?void 0:i.excluded)==null?void 0:$.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",_P,[EP,e.createElementVNode("div",yP,[e.createElementVNode("table",NP,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[VP,fP,gP,DP,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,bP),o.showFactor?(e.openBlock(),e.createElementBlock("th",xP,"Factor")):e.createCommentVNode("",!0),CP,SP]),e.createElementVNode("tr",null,[kP,BP,AP,wP,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",TP,[e.createTextVNode("Spd"),OP,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",FP,[e.createTextVNode("Dis"),PP,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),WP,l.showWave?(e.openBlock(),e.createElementBlock("th",LP,[e.createTextVNode("Sea HT"),uP,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",HP,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",MP,[e.createTextVNode("Sig Wave"),GP,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",$P,"Current")):e.createCommentVNode("",!0),IP,o.showFactor?(e.openBlock(),e.createElementBlock("th",RP,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",zP,"wxFactor")):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("th",UP,"Water Temp.")):e.createCommentVNode("",!0),YP,ZP,QP,JP,qP,KP,jP,XP]),e.createElementVNode("tr",null,[vP,eW,tW,oW,l.showSwell?(e.openBlock(),e.createElementBlock("th",lW,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",aW,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",nW,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",sW,"CF(kts)")):e.createCommentVNode("",!0),iW,cW,dW,rW,mW,pW,hW,_W])]),e.createElementVNode("tbody",EW,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,E)=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q;return e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((b=i.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((x=i.noon)==null?void 0:x.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.cp.dgo:""),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.avgSpdCalc:""),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((g=(y=i.meteo)==null?void 0:y.wind)==null?void 0:g.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(B=i.meteo)==null?void 0:B.wind)==null?void 0:r.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((O=(C=(S=i.meteo)==null?void 0:S.wave)==null?void 0:C.wd)==null?void 0:O.height)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((T=(w=(L=i.meteo)==null?void 0:L.wave)==null?void 0:w.swell)==null?void 0:T.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Y=(W=(D=i.meteo)==null?void 0:D.wave)==null?void 0:W.swell)==null?void 0:Y.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((P=(I=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:I.sig)==null?void 0:P.height)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString((($=(V=i.meteo)==null?void 0:V.current)==null?void 0:$.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((M=i.meteo)==null?void 0:M.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((u=i.meteo)==null?void 0:u.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.wxFactor)??"--"),3)):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Q=i.meteo)==null?void 0:Q.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&E?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const NW=ke(lP,[["render",yW],["__scopeId","data-v-beebd9b9"]]),Xoe="",VW={name:"OrmVoyageChart",components:{Lng:Xa,Lat:va},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}}},watch:{inventory:{handler(t,s){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Nl.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Nl.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Nl.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var E,b,x,y,g,B;const t=[],s=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let c=0,l=0;const a=this.inventory.filter(r=>r.noonLength)||[];a.unshift(a[0]),a.forEach((r,S)=>{var O,L,w,T,D,W,Y,Z,I,P,V,$,M,u;const C=this.computeUTCTime(S===0?r.utc:r.noonUtc,"MM-DD/HHmm[Z]");if(t.push(C),c=Math.ceil(((O=r.noon)==null?void 0:O.foCons)>c?(L=r.noon)==null?void 0:L.foCons:c),c=Math.ceil(((w=r.cp)==null?void 0:w.fo)>c?(T=r.cp)==null?void 0:T.fo:c),l=Math.ceil(((D=r.noon)==null?void 0:D.dgoCons)>l?(W=r.noon)==null?void 0:W.dgoCons:l),l=Math.ceil(((Y=r.cp)==null?void 0:Y.dgo)>l?(Z=r.cp)==null?void 0:Z.dgo:l),s.push([C,(I=r.noon)==null?void 0:I.avgSpd,(P=r.noon)==null?void 0:P.foCons,(V=r.noon)==null?void 0:V.dgoCons,r.avgSpdCalc,r.cp.speed,r.goodWx&&!r.excluded?100:0,r.cp.dgo,r.cp.fo,r.excluded?100:0]),S<a.length-1){const H=a[S+1];s.push([C,($=H.noon)==null?void 0:$.avgSpd,(M=H.noon)==null?void 0:M.foCons,(u=H.noon)==null?void 0:u.dgoCons,H.avgSpdCalc,H.cp.speed,H.goodWx&&!H.excluded?100:0,H.cp.dgo,H.cp.fo,H.excluded?100:0])}});const _={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:c+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.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:o.dateTime,y:o.fo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(b=(E=this.report)==null?void 0:E.weather)!=null&&b.believeRptDistance?o.noonAvgSpd:o.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:o.dateTime,y:o.noonFoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:o.dateTime,y:o.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:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(x=this.spdFoConsChart)==null||x.setOption(_);const i={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:l+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.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:o.dateTime,y:o.dgo},data:s,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(g=(y=this.report)==null?void 0:y.weather)!=null&&g.believeRptDistance?o.noonAvgSpd:o.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:o.dateTime,y:o.noonDgoCons},data:s,z:5},{name:"Good Weather Days",type:"line",encode:{x:o.dateTime,y:o.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:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(B=this.spdDgoConsChart)==null||B.setOption(i)},renderWxCurrChart(){var i;const t=[],s=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let c=4,l=0;const a=this.inventory.filter(E=>E.noonLength)||[];a.unshift(a[0]),a.forEach((E,b)=>{var y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K;l=E.noonLength?E.dailyAvgCf:l;const x=this.computeUTCTime(b===0?E.utc:E.noonUtc,"MM-DD/HHmm[Z]");if(t.push(x),c=Math.ceil(((B=(g=(y=E.meteo)==null?void 0:y.wave)==null?void 0:g.sig)==null?void 0:B.height)>c?(C=(S=(r=E.meteo)==null?void 0:r.wave)==null?void 0:S.sig)==null?void 0:C.height:c),s.push([x,(O=E.noon)==null?void 0:O.windBF,(w=(L=E.meteo)==null?void 0:L.wind)==null?void 0:w.scale,(D=(T=E.meteo)==null?void 0:T.wind)==null?void 0:D.direction,(W=E.noon)==null?void 0:W.seasHt,(I=(Z=(Y=E.meteo)==null?void 0:Y.wave)==null?void 0:Z.sig)==null?void 0:I.height,l,E.goodWx&&!E.excluded?20:0,E.excluded?20:0]),b<a.length-1){const N=a[b+1];s.push([x,(P=N.noon)==null?void 0:P.windBF,($=(V=N.meteo)==null?void 0:V.wind)==null?void 0:$.scale,(u=(M=N.meteo)==null?void 0:M.wind)==null?void 0:u.direction,(H=N.noon)==null?void 0:H.seasHt,(K=(j=(Q=N.meteo)==null?void 0:Q.wave)==null?void 0:j.sig)==null?void 0:K.height,N.noonLength?N.dailyAvgCf:l,N.goodWx&&!N.excluded?20:0,N.excluded?20:0])}});const _={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.anlyCurFct},itemStyle:{color:"#a362f9"},data:s,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:o.dateTime,y:o.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:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:s,z:1}]};(i=this.currChart)==null||i.setOption(_)}}},Vl=t=>(e.pushScopeId("data-v-24e80f66"),t=t(),e.popScopeId(),t),fW={class:"report-summary"},gW={class:"section chart-section"},DW=Vl(()=>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)),bW={class:"chart-block"},xW={ref:"spdFoConsChart",class:"chart"},CW={ref:"spdDgoConsChart",class:"chart"},SW={ref:"currChart",class:"chart"},kW={class:"section map-section"},BW=Vl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),AW={class:"map-block"},wW={class:"flex-space"},TW={class:"voyage-block",style:{height:"197px"}},OW={class:"flex-space label-block",style:{width:"100%"}},FW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),PW={style:{"text-transform":"uppercase"}},WW={class:"flex-space label-block",style:{width:"100%"}},LW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),uW={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},HW={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},MW={class:"flex-space label-block",style:{width:"100%"}},GW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),$W={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},IW={class:"flex-space label-block",style:{width:"100%"}},RW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),zW={key:0,class:"flex-end",style:{flex:"1"}},UW={key:1,class:"flex-end",style:{flex:"1"}},YW=Vl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),ZW={class:"flex-end",style:{width:"160px"}},QW={class:"flex-space label-block",style:{width:"100%"}},JW=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),qW={key:0,class:"flex-end",style:{flex:"1"}},KW={key:1,class:"flex-end",style:{flex:"1"}},jW=Vl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),XW={class:"flex-end",style:{width:"160px"}},vW={class:"flex-space label-block",style:{width:"100%"}},eL=Vl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),tL={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},oL=e.createStaticVNode('<div class="legend-block" data-v-24e80f66><div style="position:absolute;margin-top:-8px;" data-v-24e80f66>LEGEND</div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66>0812</div><div data-v-24e80f66><div data-v-24e80f66>08 - Day of the month</div><div data-v-24e80f66>12 - Hours of the day</div></div></div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-24e80f66></i></div><div data-v-24e80f66><div data-v-24e80f66>Wind from N (000)</div><div data-v-24e80f66>Each bard = 10 kts</div><div data-v-24e80f66>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-24e80f66><div data-v-24e80f66>W 4</div><div data-v-24e80f66> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-24e80f66><div class="good-wx" data-v-24e80f66>Date</div><div data-v-24e80f66>Good weather days</div></div></div>',1),lL=["src"],aL=e.createStaticVNode('<div class="section method-section" data-v-24e80f66><div class="header-block flex-center" data-v-24e80f66><i class="iconfont" data-v-24e80f66></i><div class="title" data-v-24e80f66>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>1. Good Weather Method</div><div class="method-body" data-v-24e80f66> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-24e80f66> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-24e80f66> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-24e80f66><div class="method-title" data-v-24e80f66>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>4. “About”</div><div class="method-body" data-v-24e80f66> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-24e80f66> 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-24e80f66> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-24e80f66> 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-24e80f66><div class="method-title" data-v-24e80f66>6. Further reference materials</div><div class="method-body" data-v-24e80f66>Please send mail to <a href="mailto:op@ormwx.com" data-v-24e80f66>op@ormwx.com</a>.</div></div></div></div>',1);function nL(t,s,o,c,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K;const _=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",fW,[e.createElementVNode("div",gW,[DW,e.createElementVNode("div",bW,[e.createElementVNode("div",xW,null,512),e.createElementVNode("div",CW,null,512),e.createElementVNode("div",SW,null,512)])]),e.createElementVNode("div",kW,[BW,e.createElementVNode("div",AW,[e.createElementVNode("div",wW,[e.createElementVNode("div",TW,[e.createElementVNode("div",OW,[FW,e.createElementVNode("span",PW,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",WW,[LW,e.createElementVNode("span",uW,e.toDisplayString((b=(E=o.report)==null?void 0:E.vessel)==null?void 0:b.name),1),e.createElementVNode("span",HW,"("+e.toDisplayString((y=(x=o.report)==null?void 0:x.vessel)==null?void 0:y.type)+")",1)]),e.createElementVNode("div",MW,[GW,e.createElementVNode("span",$W,e.toDisplayString((B=(g=o.report)==null?void 0:g.voyage)==null?void 0:B.number),1)]),e.createElementVNode("div",IW,[RW,(S=(r=o.report)==null?void 0:r.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",zW,e.toDisplayString((O=(C=o.report)==null?void 0:C.departure)==null?void 0:O.portName),1)):(e.openBlock(),e.createElementBlock("div",UW,[e.createVNode(_,{lat:(w=(L=o.report)==null?void 0:L.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),YW,e.createVNode(i,{lng:(T=o.report.departure)==null?void 0:T.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ZW,e.toDisplayString(a.computeUTCTime((D=o.report.departure)==null?void 0:D.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",QW,[JW,(Y=(W=o.report)==null?void 0:W.arrival)!=null&&Y.portName?(e.openBlock(),e.createElementBlock("span",qW,e.toDisplayString((I=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:I.portName),1)):(e.openBlock(),e.createElementBlock("div",KW,[e.createVNode(_,{lat:(V=(P=o.report)==null?void 0:P.arrival)==null?void 0:V.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),jW,e.createVNode(i,{lng:(M=($=o.report)==null?void 0:$.arrival)==null?void 0:M.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",XW,e.toDisplayString(a.computeUTCTime((H=(u=o.report)==null?void 0:u.arrival)==null?void 0:H.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",vW,[eL,e.createElementVNode("span",tL,e.toDisplayString((j=(Q=o.report)==null?void 0:Q.voyage)==null?void 0:j.loadCondition),1)])]),oL]),e.createElementVNode("img",{src:(K=o.report)==null?void 0:K.chartUrl,alt:""},null,8,lL)])]),aL])}const sL=ke(VW,[["render",nL],["__scopeId","data-v-24e80f66"]]),voe="",iL={components:{Brand:_o,Summary:oP,Inventory:NW,Chart:sL,Loading:tn},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return`${G(t).utc().format(s)}`}}},watch:{report:{handler(t,s){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},data(){return{inventory:[],loading:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var s,o;const t=[];(o=(s=this.report)==null?void 0:s.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,_,i=!1;c.inventory.sample.hours.forEach((E,b)=>{a||(a=E),(!_||i)&&(_=E,i=!1),a.segIndex===E.segIndex?a.segLength=(a.segLength||0)+1:(a=E,a.segLength=1),_.noonLength=(_.noonLength||0)+1;let x=E.type.charAt(0);["N","M","E"].includes(x)&&(i=!0,_.dailyAvgCf=E.dailyAvgCf,_.avgSpdCalc=E.avgSpdCalc,_.distanceCalc=E.distanceCalc,_.noonUtc=E.utc,_.noon=E.noon),E.abbrev=x,x=x==="M"?"*":x==="A"?"":x,E.time=`${x} ${this.computeUTCTime(E.utc,"MMM-DD/HHmm[Z]")}`,E._lng=ie.LngLatHelper.lng2pretty(E.lng),E._lat=ie.LngLatHelper.lat2pretty(E.lat),E.cp=l,t.push(E)})}),t.sort((c,l)=>c.date-l.date),this.inventory=t}}};function cL(t,s,o,c,l,a){var y,g;const _=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),E=e.resolveComponent("Summary"),b=e.resolveComponent("Inventory"),x=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((g=(y=o.report)==null?void 0:y.weather)!=null&&g.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(_,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=B=>l.loading=!1)},null,8,["loading"]),e.createVNode(E,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(b,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(x,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const bn=ke(iL,[["render",cL],["__scopeId","data-v-0b5d13da"]]),dL={install(t){t.component("OpiVoyageReport",gn),t.component("FliVoyageReport",Dn),t.component("OrmVoyageReport",bn)}},ele="",tle="",ole="",rL={name:"IdmTropical",components:{TropicalReport:qi.TropicalReport},props:{token:{type:String,default:""},report:{type:Object,default:()=>{}},model:{type:String,default:""},ts:{type:String,default:""}},emits:["center"],data(){return{center:void 0}},computed:{},watch:{},methods:{handleHurricanceCenter(t){this.center=t}}},mL={class:"typhoon-report-container"};function pL(t,s,o,c,l,a){const _=e.resolveComponent("TropicalReport");return e.openBlock(),e.createElementBlock("div",mL,[o.report?(e.openBlock(),e.createBlock(_,{key:0,report:o.report,model:o.model,ts:o.ts,token:o.token,onCenter:a.handleHurricanceCenter},null,8,["report","model","ts","token","onCenter"])):e.createCommentVNode("",!0)])}const xn=ke(rL,[["render",pL],["__scopeId","data-v-e69fc9ed"]]),hL={install(t){t.component("TropicalReport",xn)}},lle="",_L={components:{IdmBrand:on},data(){return{isUSD:!1,type:"CNY",company:{name:{USD:"OCEAN PI TECHNOLOGY Co., Ltd.",CNY:"科湃科技(青岛)有限公司"},address:{USD:"ROOM 1006, BUILDING 5, No. 199, SHANDONG ROAD, QINGDAO, CHINA",CNY:"山东省青岛市市北区山东路 199 号 5 号楼 1006 户"},tel:"053283618328",dutyNumber:"91370203MACDEEJP0Q",bankName:{USD:"Shanghai Pudong Development Bank Qingdao Branch",CNY:"上海浦东发展银行股份有限公司青岛福州路支行"},bankAccount:{USD:"6908 0078 8144 0000 1837",CNY:"6908 0078 8016 0000 1829"},bankAddress:"No. 188, HAIER ROAD, QINGDAO, CHINA",bankSwift:"SPDBCNSH170",interBank:"CITIBANK N.A., NEW YORK",interSwift:"CITIUS33"},breaked:!1}},props:{data:{type:Object,default:()=>({})}},watch:{data:{handler(t){t&&(t.paymentType==="USD"?(this.isUSD=!0,this.type="USD"):(this.isUSD=!1,this.type="CNY"))},immediate:!0}},computed:{computeHtml(){return function(t){return t==null?void 0:t.replaceAll(`
42
+ `,"</br>")}},computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t!=="-"?`${G(t).utc().format(s)}`:"-"}},computeItem(){return function(t){if(t){const s=t.indexOf(",");if(s!==-1)return[t.substring(0,s),t.substring(s+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var _;const t=this.$refs.name.offsetHeight,s=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,c=(_=this.data)!=null&&_.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+s+280>l*1123;)l++;const a=l*1123-(t+s+280);this.breaked=a<o+c})}},ho=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),EL={class:"invoice-report"},yL=ho(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),NL={class:"report-title"},VL=ho(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),fL={class:"title-info"},gL=ho(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),DL=ho(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),bL=ho(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),xL=ho(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),CL=ho(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),SL={class:"report-content"},kL={style:{display:"flex"},ref:"name",class:"name"},BL=["innerHTML"],AL={style:{"margin-bottom":"10px"}},wL={class:"table",ref:"table"},TL=ho(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),OL=ho(()=>e.createElementVNode("td",null,null,-1)),FL={class:"total"},PL={class:"total"},WL={key:0,class:"page-break"},LL={ref:"detail",class:"detail"},uL={class:"title"},HL={class:"info"},ML={class:"info"},GL={class:"info"},$L={class:"info"},IL={class:"info"},RL={key:0},zL={class:"info"},UL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),YL={class:"info"},ZL=ho(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),QL={class:"info"},JL=ho(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),qL={class:"info"},KL=ho(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),jL={key:1},XL={class:"info"},vL=ho(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),eu={key:1,ref:"memo",class:"detail"},tu=ho(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),ou=["innerHTML"];function lu(t,s,o,c,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I;const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",EL,[e.createVNode(_),yL,e.createElementVNode("div",NL,[VL,e.createElementVNode("div",fL,[gL,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),DL,bL,xL,CL])])]),e.createElementVNode("div",SL,[e.createElementVNode("div",kL,[e.createTextVNode(" To:  "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((E=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:E.name)},null,8,BL)],512),e.createElementVNode("div",null,"Date: "+e.toDisplayString(a.computeUTCTime((b=o.data)==null?void 0:b.paymentDate,"YYYY MMM DD")),1),e.createElementVNode("div",AL,"No: "+e.toDisplayString((x=o.data)==null?void 0:x.number),1),e.createElementVNode("div",wL,[e.createElementVNode("table",null,[TL,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=o.data)==null?void 0:y.reservations,(P,V)=>(e.openBlock(),e.createElementBlock("tr",{key:V},[e.createElementVNode("td",null,e.toDisplayString(V+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(a.computeItem(P==null?void 0:P.items)[0]),1),e.createElementVNode("div",null,e.toDisplayString(a.computeItem(P==null?void 0:P.items)[1]),1)]),e.createElementVNode("td",null,e.toDisplayString(`$ ${P==null?void 0:P.amount}`),1)]))),128)),e.createElementVNode("tr",null,[OL,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((g=o.data)==null?void 0:g.rate)}`)+"  ",1),e.createElementVNode("span",FL,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",PL,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(B=o.data)==null?void 0:B.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",WL)):e.createCommentVNode("",!0),e.createElementVNode("div",LL,[e.createElementVNode("div",uL,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",HL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Beneficiary's Name":"公司名称"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((r=l.company)==null?void 0:r.name[l.type])??"-"),1)]),e.createElementVNode("div",ML,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Add":"地址"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((S=l.company)==null?void 0:S.address[l.type])??"-"),1)]),e.createElementVNode("div",GL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Tel":"电话号码"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((C=l.company)==null?void 0:C.tel)??"-"),1)]),e.createElementVNode("div",$L,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Bank Name":"开户银行"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((O=l.company)==null?void 0:O.bankName[l.type])??"-"),1)]),e.createElementVNode("div",IL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"A/C No":"银行账号"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",RL,[e.createElementVNode("div",zL,[UL,e.createElementVNode("span",null,e.toDisplayString(((w=l.company)==null?void 0:w.bankSwift)??"-"),1)]),e.createElementVNode("div",YL,[ZL,e.createElementVNode("span",null,e.toDisplayString(((T=l.company)==null?void 0:T.bankAddress)??"-"),1)]),e.createElementVNode("div",QL,[JL,e.createElementVNode("span",null,e.toDisplayString(((D=l.company)==null?void 0:D.interBank)??"-"),1)]),e.createElementVNode("div",qL,[KL,e.createElementVNode("span",null,e.toDisplayString(((W=l.company)==null?void 0:W.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",jL,[e.createElementVNode("div",XL,[vL,e.createElementVNode("span",null,e.toDisplayString(((Y=l.company)==null?void 0:Y.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",eu,[tu,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((I=o.data)==null?void 0:I.memo)},null,8,ou)],512)):e.createCommentVNode("",!0)])])}const Cn=ke(_L,[["render",lu],["__scopeId","data-v-db643e45"]]),ale="",au={name:"OrmInvoice",components:{IdmBrand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${G(t).utcOffset(8).format(s)}`:"-"}}},watch:{report:{handler(){var t,s,o,c,l,a,_;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(c=(o=this.report)==null?void 0:o.reservations)==null?void 0:c.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,E)=>Math.round((i+E.amount)*100)/100,0),(_=this.reservations4Route)!=null&&_.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}}},mt=t=>(e.pushScopeId("data-v-95c80c22"),t=t(),e.popScopeId(),t),nu={class:"invoice-report"},su={class:"section items-section"},iu={class:"flex-start"},cu=mt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),du=["innerHTML"],ru={class:"flex-space"},mu={class:"invoice-item"},pu={key:0,class:"invoice-item"},hu=mt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),_u=mt(()=>e.createElementVNode("td",null,"NO.",-1)),Eu=["colspan"],yu=mt(()=>e.createElementVNode("td",null,"Amounts",-1)),Nu=["colspan"],Vu=["colspan"],fu=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],gu={class:"total"},Du=["colspan"],bu=[mt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],xu={class:"total"},Cu=["colspan"],Su={class:"total"},ku={key:1},Bu=["colspan"],Au=[mt(()=>e.createElementVNode("span",null,"Total in USD",-1))],wu={class:"total"},Tu={key:0,class:"memo-block"},Ou=mt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),Fu=["innerHTML"],Pu={class:"section company-section"},Wu=mt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),Lu={class:"company-item"},uu=mt(()=>e.createElementVNode("label",null,"Bank",-1)),Hu={class:"company-item"},Mu=mt(()=>e.createElementVNode("label",null,"Account",-1)),Gu={class:"company-item"},$u=mt(()=>e.createElementVNode("label",null,"Title",-1)),Iu={class:"company-item"},Ru=mt(()=>e.createElementVNode("label",null,"Addr",-1)),zu={class:"company-item"},Uu=mt(()=>e.createElementVNode("label",null,"Tel",-1)),Yu={class:"company-item"},Zu=mt(()=>e.createElementVNode("label",null,"Tax ID",-1)),Qu={class:"company-item"},Ju=mt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),qu={class:"company-item"},Ku=mt(()=>e.createElementVNode("label",null,"Bank Name",-1)),ju={class:"company-item"},Xu=mt(()=>e.createElementVNode("label",null,"Bank Address",-1)),vu={class:"company-item"},eH=mt(()=>e.createElementVNode("label",null,"Account No.",-1)),tH={class:"company-item"},oH=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),lH={class:"company-item"},aH=mt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),nH={class:"company-item"},sH=mt(()=>e.createElementVNode("label",null,"SWIFT",-1)),iH={class:"company-item"},cH=mt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),dH=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 rH(t,s,o,c,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye;const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",nu,[e.createVNode(_,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",su,[e.createElementVNode("div",iu,[cu,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(b=(E=(i=o.report)==null?void 0:i.invoiceTitle)==null?void 0:E.name)==null?void 0:b.replace(`
43
+ `,"<br/>")},null,8,du)]),e.createElementVNode("div",ru,[e.createElementVNode("div",mu,"Invoice No. "+e.toDisplayString(o.report.number),1),(x=o.report)!=null&&x.paymentDate?(e.openBlock(),e.createElementBlock("div",pu,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(y=l.reservations4Route)!=null&&y.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[hu,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(le,_e)=>{var Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He;return e.openBlock(),e.createElementBlock("tr",{key:_e},[e.createElementVNode("td",null,e.toDisplayString((fe=(Ve=(Ne=le.props)==null?void 0:Ne[0])==null?void 0:Ve.voyage)==null?void 0:fe.number),1),e.createElementVNode("td",null,e.toDisplayString(((be=(De=(ge=le.props)==null?void 0:ge[0])==null?void 0:De.voyage)==null?void 0:be.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=(xe=le.props)==null?void 0:xe[0])==null?void 0:Ce.vessel)==null?void 0:Se.name),1),e.createElementVNode("td",null,e.toDisplayString((Ee=(Fe=(Oe=le.props)==null?void 0:Oe[0])==null?void 0:Fe.voyage)==null?void 0:Ee.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((Pe=(me=(F=le.props)==null?void 0:F[0])==null?void 0:me.departure)==null?void 0:Pe.name),1),e.createElementVNode("td",null,e.toDisplayString((pe=(Le=(We=le.props)==null?void 0:We[0])==null?void 0:Le.departure)==null?void 0:pe.atd),1),e.createElementVNode("td",null,e.toDisplayString((ze=(Re=(Ie=le.props)==null?void 0:Ie[0])==null?void 0:Re.destination)==null?void 0:ze.name),1),e.createElementVNode("td",null,e.toDisplayString((He=(we=(z=le.props)==null?void 0:z[0])==null?void 0:we.destination)==null?void 0:He.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(le.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(g=l.reservations4Point)!=null&&g.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[_u,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,Eu),yu])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(le,_e)=>(e.openBlock(),e.createElementBlock("tr",{key:_e},[e.createElementVNode("td",null,e.toDisplayString(le.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(le.items),9,Nu),e.createElementVNode("td",null,"$"+e.toDisplayString(le.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tbody",null,[((B=o.report)==null?void 0:B.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},fu,8,Vu),e.createElementVNode("td",gu,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},bu,8,Du),e.createElementVNode("td",xu,[e.createElementVNode("span",null,e.toDisplayString((r=o.report)==null?void 0:r.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,Cu),e.createElementVNode("td",Su,"¥"+e.toDisplayString((S=o.report)==null?void 0:S.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",ku,[e.createElementVNode("td",{colspan:l.maxColspans},Au,8,Bu),e.createElementVNode("td",wu,[e.createElementVNode("span",null,e.toDisplayString(`$${(C=o.report)==null?void 0:C.paymentAmount}`),1)])]))])]),(O=o.report)!=null&&O.memo?(e.openBlock(),e.createElementBlock("div",Tu,[Ou,e.createElementVNode("div",{class:"invoice-item",innerHTML:(w=(L=o.report)==null?void 0:L.memo)==null?void 0:w.replace(`
44
+ `,"<br/>")},null,8,Fu)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Pu,[Wu,((T=o.report)==null?void 0:T.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Lu,[uu,e.createElementVNode("span",null,e.toDisplayString((W=l.account[(D=o.report)==null?void 0:D.paymentType])==null?void 0:W.bank),1)]),e.createElementVNode("div",Hu,[Mu,e.createElementVNode("span",null,e.toDisplayString((Z=l.account[(Y=o.report)==null?void 0:Y.paymentType])==null?void 0:Z.number),1)]),e.createElementVNode("div",Gu,[$u,e.createElementVNode("span",null,e.toDisplayString((P=l.account[(I=o.report)==null?void 0:I.paymentType])==null?void 0:P.title),1)]),e.createElementVNode("div",Iu,[Ru,e.createElementVNode("span",null,e.toDisplayString(($=l.account[(V=o.report)==null?void 0:V.paymentType])==null?void 0:$.address),1)]),e.createElementVNode("div",zu,[Uu,e.createElementVNode("span",null,e.toDisplayString((u=l.account[(M=o.report)==null?void 0:M.paymentType])==null?void 0:u.tel),1)]),e.createElementVNode("div",Yu,[Zu,e.createElementVNode("span",null,e.toDisplayString((Q=l.account[(H=o.report)==null?void 0:H.paymentType])==null?void 0:Q.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Qu,[Ju,e.createElementVNode("span",null,e.toDisplayString((K=l.account[(j=o.report)==null?void 0:j.paymentType])==null?void 0:K.title),1)]),e.createElementVNode("div",qu,[Ku,e.createElementVNode("span",null,e.toDisplayString((R=l.account[(N=o.report)==null?void 0:N.paymentType])==null?void 0:R.bank),1)]),e.createElementVNode("div",ju,[Xu,e.createElementVNode("span",null,e.toDisplayString((n=l.account[(q=o.report)==null?void 0:q.paymentType])==null?void 0:n.bankAddr),1)]),e.createElementVNode("div",vu,[eH,e.createElementVNode("span",null,e.toDisplayString((d=l.account[(X=o.report)==null?void 0:X.paymentType])==null?void 0:d.number),1)]),e.createElementVNode("div",tH,[oH,e.createElementVNode("span",null,e.toDisplayString((te=l.account[(v=o.report)==null?void 0:v.paymentType])==null?void 0:te.swift),1)]),e.createElementVNode("div",lH,[aH,e.createElementVNode("span",null,e.toDisplayString((se=l.account[(oe=o.report)==null?void 0:oe.paymentType])==null?void 0:se.intermediaryBank),1)]),e.createElementVNode("div",nH,[sH,e.createElementVNode("span",null,e.toDisplayString((de=l.account[(ce=o.report)==null?void 0:ce.paymentType])==null?void 0:de.intermediaryBankSwift),1)]),e.createElementVNode("div",iH,[cH,e.createElementVNode("span",null,e.toDisplayString((ye=l.account[(re=o.report)==null?void 0:re.paymentType])==null?void 0:ye.intermediaryBankAbaNo),1)])],64))]),dH])}const Sn=ke(au,[["render",rH],["__scopeId","data-v-95c80c22"]]),cle="",mH={components:{IdmBrand:_o},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,s,o,c,l,a,_;this.reservations4Route=(s=(t=this.report)==null?void 0:t.reservations)==null?void 0:s.filter(i=>i.props),this.reservations4Point=(c=(o=this.report)==null?void 0:o.reservations)==null?void 0:c.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,E)=>Math.round((i+E.amount)*100)/100,0),(_=this.reservations4Route)!=null&&_.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,s="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${G(t).utcOffset(8).format(s)}`:"-"}}},mounted(){}},Dl=t=>(e.pushScopeId("data-v-744130ab"),t=t(),e.popScopeId(),t),pH={class:"invoice-report"},hH={class:"section items-section"},_H={class:"flex-start"},EH=Dl(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),yH=["innerHTML"],NH={class:"flex-space"},VH={class:"invoice-item"},fH={key:0,class:"invoice-item"},gH=Dl(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),DH=Dl(()=>e.createElementVNode("td",null,"NO.",-1)),bH=["colspan"],xH=Dl(()=>e.createElementVNode("td",null,"Amounts",-1)),CH=["colspan"],SH=["colspan"],kH=[Dl(()=>e.createElementVNode("span",null,"Total in USD",-1))],BH={class:"total"},AH=["colspan"],wH=[Dl(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],TH={class:"total"},OH=["colspan"],FH={class:"total"},PH={key:1},WH=["colspan"],LH=[Dl(()=>e.createElementVNode("span",null,"Total in USD",-1))],uH={class:"total"},HH={key:0,class:"memo-block"},MH=Dl(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),GH=["innerHTML"];function $H(t,s,o,c,l,a){var _,i,E,b,x,y,g,B,r,S,C,O,L;return e.openBlock(),e.createElementBlock("div",pH,[e.createElementVNode("div",hH,[e.createElementVNode("div",_H,[EH,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(E=(i=(_=o.report)==null?void 0:_.invoiceTitle)==null?void 0:i.name)==null?void 0:E.replace(`
45
+ `,"<br/>")},null,8,yH)]),e.createElementVNode("div",NH,[e.createElementVNode("div",VH,"Invoice No. "+e.toDisplayString(o.report.number),1),(b=o.report)!=null&&b.paymentDate?(e.openBlock(),e.createElementBlock("div",fH,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(x=l.reservations4Route)!=null&&x.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[gH,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(w,T)=>{var D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se;return e.openBlock(),e.createElementBlock("tr",{key:T},[e.createElementVNode("td",null,e.toDisplayString((Y=(W=(D=w.props)==null?void 0:D[0])==null?void 0:W.voyage)==null?void 0:Y.number),1),e.createElementVNode("td",null,e.toDisplayString(((P=(I=(Z=w.props)==null?void 0:Z[0])==null?void 0:I.voyage)==null?void 0:P.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((M=($=(V=w.props)==null?void 0:V[0])==null?void 0:$.vessel)==null?void 0:M.name),1),e.createElementVNode("td",null,e.toDisplayString((Q=(H=(u=w.props)==null?void 0:u[0])==null?void 0:H.voyage)==null?void 0:Q.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((N=(K=(j=w.props)==null?void 0:j[0])==null?void 0:K.departure)==null?void 0:N.name),1),e.createElementVNode("td",null,e.toDisplayString((n=(q=(R=w.props)==null?void 0:R[0])==null?void 0:q.departure)==null?void 0:n.atd),1),e.createElementVNode("td",null,e.toDisplayString((v=(d=(X=w.props)==null?void 0:X[0])==null?void 0:d.destination)==null?void 0:v.name),1),e.createElementVNode("td",null,e.toDisplayString((se=(oe=(te=w.props)==null?void 0:te[0])==null?void 0:oe.destination)==null?void 0:se.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(w.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(y=l.reservations4Point)!=null&&y.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[DH,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,bH),xH])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(w,T)=>(e.openBlock(),e.createElementBlock("tr",{key:T},[e.createElementVNode("td",null,e.toDisplayString(w.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(w.items),9,CH),e.createElementVNode("td",null,"$"+e.toDisplayString(w.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((g=o.report)==null?void 0:g.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},kH,8,SH),e.createElementVNode("td",BH,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},wH,8,AH),e.createElementVNode("td",TH,[e.createElementVNode("span",null,e.toDisplayString((B=o.report)==null?void 0:B.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,OH),e.createElementVNode("td",FH,"¥"+e.toDisplayString((r=o.report)==null?void 0:r.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",PH,[e.createElementVNode("td",{colspan:l.maxColspans},LH,8,WH),e.createElementVNode("td",uH,[e.createElementVNode("span",null,e.toDisplayString(`$${(S=o.report)==null?void 0:S.paymentAmount}`),1)])]))])]),(C=o.report)!=null&&C.memo?(e.openBlock(),e.createElementBlock("div",HH,[MH,e.createElementVNode("div",{class:"invoice-item",innerHTML:(L=(O=o.report)==null?void 0:O.memo)==null?void 0:L.replace(`
46
+ `,"<br/>")},null,8,GH)])):e.createCommentVNode("",!0)])])}const kn=ke(mH,[["render",$H],["__scopeId","data-v-744130ab"]]),IH={install(t){t.component("InvoiceReport",Cn),t.component("OrmInvoiceReport",Sn),t.component("FliInvoiceReport",kn)}},RH=t=>((typeof t=="string"||typeof t=="number")&&(t=G(t)),t),zH=(t,s="MMM-DD,YYYY/HHmm[Z]")=>UH(t,s),UH=(t,s="MMM-DD/HHmm[Z]")=>(t=RH(t),t?`${t.utc().format(s)}`:"-"),ple="",YH={name:"IdmEditableItem",components:{Edit:en.Edit,Close:en.Close,IdmEditor:Zo},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,s){return zH(t,s)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},ZH={class:"idm-editable-item"},QH=["innerHTML"],JH={key:3,class:"buttons"};function qH(t,s,o,c,l,a){const _=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),E=e.resolveComponent("IdmEditor"),b=e.resolveComponent("ElInputNumber"),x=e.resolveComponent("ElDatePicker"),y=e.resolveComponent("ElOption"),g=e.resolveComponent("ElSelect"),B=e.resolveComponent("ElRadio"),r=e.resolveComponent("ElRadioGroup"),S=e.resolveComponent("ElCheckbox"),C=e.resolveComponent("ElCheckboxGroup"),O=e.resolveComponent("Edit"),L=e.resolveComponent("ElIcon"),w=e.resolveComponent("ElButton"),T=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",ZH,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":s[2]||(s[2]=D=>l.model=D),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:l.model,"onUpdate:modelValue":s[3]||(s[3]=D=>l.model=D),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:l.model,"onUpdate:modelValue":s[4]||(s[4]=D=>l.model=D),size:o.size,type:"textarea",rows:4,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="richText"?(e.openBlock(),e.createBlock(E,{key:3,modelValue:l.model,"onUpdate:modelValue":s[5]||(s[5]=D=>l.model=D),onBlur:a.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),o.type==="number"?(e.openBlock(),e.createBlock(b,{key:4,modelValue:l.model,"onUpdate:modelValue":s[6]||(s[6]=D=>l.model=D),size:o.size,controls:o.controls,min:o.min,max:o.max,step:o.step,precision:o.precision,onBlur:a.handleCommit,onChange:a.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),o.type==="datetime"?(e.openBlock(),e.createBlock(x,{key:5,modelValue:l.model,"onUpdate:modelValue":s[7]||(s[7]=D=>l.model=D),size:o.size,type:"datetime",class:"datetime",format:o.format,"value-format":o.valueFormat,onBlur:a.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),o.type==="select"?(e.openBlock(),e.createBlock(g,{key:6,modelValue:l.model,"onUpdate:modelValue":s[8]||(s[8]=D=>l.model=D),size:o.size,filterable:"",style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,D=>(e.openBlock(),e.createBlock(y,{key:D.value,label:D.label,disabled:D.disabled,value:D.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="remoteSelect"?(e.openBlock(),e.createBlock(g,{key:7,modelValue:l.model,"onUpdate:modelValue":s[9]||(s[9]=D=>l.model=D),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,D=>(e.openBlock(),e.createBlock(y,{key:D.value,label:D.label,value:D.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="remotePortSelect"?(e.openBlock(),e.createBlock(g,{key:8,modelValue:l.model,"onUpdate:modelValue":s[10]||(s[10]=D=>l.model=D),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,D=>(e.openBlock(),e.createBlock(y,{key:D.id,label:D.name,value:D.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="radio"?(e.openBlock(),e.createBlock(r,{key:9,modelValue:l.model,"onUpdate:modelValue":s[11]||(s[11]=D=>l.model=D),size:o.size,style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.radios,D=>(e.openBlock(),e.createBlock(B,{key:D.value,label:D.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(D.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="checkbox"?(e.openBlock(),e.createBlock(C,{key:10,modelValue:l.model,"onUpdate:modelValue":s[12]||(s[12]=D=>l.model=D),size:o.size,class:"checkbox",style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.checkboxs,D=>(e.openBlock(),e.createBlock(S,{label:D.value,key:D.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(D.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof o.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.raw?(e.openBlock(),e.createBlock(_,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(_,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:s[0]||(s[0]=(...D)=>a.handleEdit&&a.handleEdit(...D))},e.toDisplayString(a.computeUtcTime(o.value,o.format)),33)):o.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.value||""},null,8,QH)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:s[1]||(s[1]=(...D)=>a.handleEdit&&a.handleEdit(...D))},[typeof o.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.value||"-"),1)],64))],32))],64))],64)),!o.disabled&&o.iconable&&typeof o.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",JH,[l.editable?(e.openBlock(),e.createBlock(w,{key:1,size:o.size,type:"danger",link:"",style:{display:"block"},onClick:a.handleCancel},{default:e.withCtx(()=>[e.createVNode(L,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(w,{key:0,size:o.size,link:"",onClick:a.handleEdit},{default:e.withCtx(()=>[e.createVNode(L,null,{default:e.withCtx(()=>[e.createVNode(O)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const Bn=ke(YH,[["render",qH]]),hle="",KH={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:en.CirclePlus,Remove:en.Remove,EditableItem:Bn,Editor:Zo,IdmBrand:_o},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){return`${ie.LngLatHelper.lat2pretty(t).pretty} / ${ie.LngLatHelper.lng2pretty(s).pretty}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchData(){var t,s,o,c;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(s=this.report)==null?void 0:s.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(c=this.report)==null?void 0:c.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const s=await ja.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=s==null?void 0:s.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,_;this.extraPortList.splice(t,1);const s=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=s==null?void 0:s.data)==null?void 0:o.data,this.extraPortList=(l=(c=s==null?void 0:s.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(_=this.report)==null?void 0:_.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,s,o,c){var _,i,E,b,x;this.editable=!1;const l=s.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const g=s.substring(0,l),B=s.substring(l+1);B!=="date"&&(o=Number(o)),this.extraPortList[c][g][B]=o}else this.extraPortList[c][s]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=o,a={[s]:o}):(this.extraData[s]=o,a={[s]:Number(o)});const y=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(_=y==null?void 0:y.data)==null?void 0:_.data,this.extraPortList=(E=(i=y==null?void 0:y.data)==null?void 0:i.data)==null?void 0:E.extraPorts,this.advisory=(b=this.report)!=null&&b.comments?(x=this.report)==null?void 0:x.comments:void 0}else mn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},A=t=>(e.pushScopeId("data-v-1413248b"),t=t(),e.popScopeId(),t),jH={class:"deviation-report"},XH={class:"section vessel-section"},vH={class:"report-summary"},eM={class:"summary-item"},tM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),oM={class:"flexL gray"},lM={class:"summary-item"},aM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),nM={class:"flexL gray"},sM={class:"summary-item"},iM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),cM={class:"flexL gray"},dM={class:"summary-item"},rM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),mM={class:"flexL gray"},pM={class:"summary-item"},hM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),_M={class:"flexL gray",style:{display:"flex"}},EM={class:"flex"},yM={class:"flexM"},NM={class:"summary-item"},VM=A(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),fM={class:"flexL gray",style:{display:"flex"}},gM={class:"flex"},DM={class:"flexM"},bM={class:"section summary-section"},xM=A(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),CM={class:"report-summary"},SM={class:"summary-item"},kM=A(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),BM={class:"summary-item"},AM=A(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),wM={class:"summary-item"},TM=A(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),OM={class:"summary-item"},FM=A(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),PM={class:"section map-section"},WM=A(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),LM={class:"report-map"},uM=["src"],HM=e.createStaticVNode('<div class="legend" data-v-1413248b><div class="legend-item" data-v-1413248b><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-1413248b></div><div data-v-1413248b>Actual Route</div></div><div class="legend-item" data-v-1413248b><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-1413248b></div><div data-v-1413248b>Route prior to deviation</div></div></div>',1),MM={key:0,class:"section deviation-section"},GM=A(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),$M={class:"report-summary"},IM=e.createStaticVNode('<div class="summary-item" data-v-1413248b><div class="blue center" style="width:17%;" data-v-1413248b>Deviation</div><div class="blue center" style="width:20%;" data-v-1413248b>Position</div><div class="blue center" style="width:17%;" data-v-1413248b>Date Time</div><div class="flex blue center" data-v-1413248b>FO BROB<br data-v-1413248b>(mt)</div><div class="flex blue center" data-v-1413248b>DO/GO<br data-v-1413248b>BROB (mt)</div><div class="flex blue center" data-v-1413248b>Bunkering<br data-v-1413248b>FO (mt)</div><div class="flex blue center" data-v-1413248b>Bunkering<br data-v-1413248b>DO/GO (mt)</div></div>',1),RM={class:"summary-item"},zM=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),UM={class:"blue center",style:{width:"20%"}},YM={class:"blue center",style:{width:"17%"}},ZM={class:"flex blue center"},QM={class:"flex blue center"},JM=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),qM=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),KM={class:"summary-item"},jM=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),XM={class:"blue center",style:{width:"20%"}},vM={class:"blue center",style:{width:"17%"}},eG={class:"flex blue center"},tG={class:"flex blue center"},oG={class:"flex blue center"},lG={class:"flex blue center"},aG={class:"summary-item"},nG=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),sG=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),iG={class:"blue center",style:{width:"17%"}},cG={class:"flex blue center"},dG={class:"flex blue center"},rG=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),mG=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),pG={class:"section cp-section"},hG=A(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),_G={class:"report-summary"},EG={class:"summary-item"},yG=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),NG={class:"flexL blue center"},VG={class:"summary-item"},fG=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),gG={class:"flexL blue center"},DG={class:"summary-item"},bG=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),xG={class:"flexL blue center"},CG={class:"section port-section"},SG={class:"subtitle port"},kG=A(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),BG={class:"print-hidden"},AG={class:"report-port"},wG=A(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),TG={rowspan:2},OG=A(()=>e.createElementVNode("td",null,"Arrival",-1)),FG=A(()=>e.createElementVNode("td",null,null,-1)),PG=A(()=>e.createElementVNode("td",null,null,-1)),WG={rowspan:2,class:"print-hidden"},LG=A(()=>e.createElementVNode("td",null,"Departure",-1)),uG=A(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),HG=A(()=>e.createElementVNode("td",null,null,-1)),MG=A(()=>e.createElementVNode("td",null,null,-1)),GG=A(()=>e.createElementVNode("td",null,null,-1)),$G=A(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),IG={class:"section distance-section"},RG=A(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),zG={class:"report-summary"},UG=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),YG={class:"summary-item"},ZG=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),QG={class:"flex blue center"},JG={class:"flex blue center"},qG={class:"summary-item"},KG=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),jG={class:"flex blue center"},XG={class:"section time-section"},vG=A(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),e$={key:0,class:"report-formular"},t$={class:"equation"},o$=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1413248b>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-1413248b>=</div><div class="function" style="width:20%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:5%;" data-v-1413248b>=</div>',4),l$={class:"function",style:{width:"20%"}},a$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),n$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),s$={style:{width:"10%"}},i$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),c$={class:"equation"},d$=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:28%;" data-v-1413248b>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-1413248b>+</div><div style="width:23%;" data-v-1413248b>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',6),r$={style:{width:"5%"}},m$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),p$={style:{width:"8%"}},h$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),_$={style:{width:"4%"}},E$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),y$={key:1,class:"report-formular"},N$={class:"equation"},V$=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-1413248b>=</div><div class="function" style="width:20%;" data-v-1413248b><div data-v-1413248b>Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:5%;" data-v-1413248b>=</div>',4),f$={class:"function",style:{width:"20%"}},g$=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),D$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),b$={style:{width:"10%"}},x$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),C$={key:0,class:"equation"},S$=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:24%;" data-v-1413248b>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:30%;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',6),k$={style:{width:"5%"}},B$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),A$={style:{width:"5%"}},w$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),T$={style:{width:"5%"}},O$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),F$={key:1,class:"equation"},P$=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:24%;" data-v-1413248b>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>Time spent in port (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',8),W$={style:{width:"5%"}},L$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),u$={style:{width:"5%"}},H$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),M$={style:{width:"5%"}},G$=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),$$={style:{width:"5%"}},I$=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),R$={key:2,class:"report-summary"},z$={class:"summary-item"},U$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),Y$={class:"flex blue center"},Z$={class:"summary-item"},Q$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),J$={class:"flex blue center"},q$={class:"summary-item"},K$=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),j$={class:"flex blue center"},X$={key:3,class:"report-summary"},v$={class:"summary-item"},eI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),tI={class:"flex blue center"},oI={class:"summary-item"},lI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),aI={class:"flex blue center"},nI={key:0,class:"summary-item"},sI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),iI={class:"flex blue center"},cI={class:"summary-item"},dI=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),rI={class:"flex blue center"},mI={class:"section consumption-section"},pI=A(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),hI={key:0,class:"report-formular"},_I={class:"equation"},EI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>Daily FO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),yI={class:"function",style:{width:"5%"}},NI=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),fI={class:"function",style:{width:"5%"}},gI=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),DI=A(()=>e.createElementVNode("div",null,"24",-1)),bI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),xI={style:{width:"5%"}},CI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),SI={class:"equation"},kI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-1413248b>+</div><div style="width:23%;" data-v-1413248b>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-1413248b>=</div>',6),BI={style:{width:"5%"}},AI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),wI={style:{width:"5%"}},TI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),OI={style:{width:"5%"}},FI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),PI={class:"equation"},WI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>Daily DO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),LI={class:"function",style:{width:"5%"}},uI=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),MI={class:"function",style:{width:"5%"}},GI=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$I=A(()=>e.createElementVNode("div",null,"24",-1)),II=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),RI={style:{width:"5%"}},zI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UI={class:"equation"},YI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-1413248b>=</div>',6),ZI={style:{width:"5%"}},QI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),JI={style:{width:"5%"}},qI=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KI={style:{width:"5%"}},jI=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),XI={key:1,class:"report-formular"},vI={class:"equation"},eR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Route prior to deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>CP Daily FO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),tR={class:"function",style:{width:"5%"}},oR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),aR={class:"function",style:{width:"5%"}},nR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sR=A(()=>e.createElementVNode("div",null,"24",-1)),iR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),cR={style:{width:"5%"}},dR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),rR={class:"equation"},mR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Route prior to deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>CP Daily DO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),pR={class:"function",style:{width:"5%"}},hR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_R=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),ER={class:"function",style:{width:"5%"}},yR=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NR=A(()=>e.createElementVNode("div",null,"24",-1)),VR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),fR={style:{width:"5%"}},gR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),DR={key:0,class:"equation"},bR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>=</div>',6),xR={style:{width:"5%"}},CR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),SR={style:{width:"5%"}},kR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BR={style:{width:"5%"}},AR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wR={key:1,class:"equation"},TR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:15%;" data-v-1413248b>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>FO Consumption in port</div><div style="width:3%;" data-v-1413248b>=</div>',8),OR={style:{width:"5%"}},FR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),PR={style:{width:"5%"}},WR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LR={style:{width:"5%"}},uR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),HR={style:{width:"5%"}},MR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),GR={key:2,class:"equation"},$R=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>=</div>',6),IR={style:{width:"5%"}},RR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),zR={style:{width:"5%"}},UR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),YR={style:{width:"5%"}},ZR=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),QR={key:3,class:"equation"},JR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:15%;" data-v-1413248b>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>DO/GO Consumption in port</div><div style="width:3%;" data-v-1413248b>=</div>',8),qR={style:{width:"5%"}},KR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),jR={style:{width:"5%"}},XR=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),vR={style:{width:"5%"}},ez=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),tz={style:{width:"5%"}},oz=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),lz={key:2,class:"report-summary"},az=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),nz={class:"summary-item"},sz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),iz={class:"flex blue center"},cz={class:"flex blue center"},dz={class:"summary-item"},rz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),mz={class:"flex blue center"},pz={class:"flex blue center"},hz={class:"summary-item"},_z=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),Ez={key:3,class:"report-summary"},yz=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),Nz={class:"summary-item"},Vz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),fz={class:"flex blue center"},gz={class:"flex blue center"},Dz={class:"summary-item"},bz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),xz={class:"flex blue center"},Cz={class:"flex blue center"},Sz={key:0,class:"summary-item"},kz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),Bz={class:"flex blue center"},Az={class:"flex blue center"},wz={class:"summary-item"},Tz=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),Oz={class:"section comment-section"},Fz=["innerHTML"];function Pz(t,s,o,c,l,a){var g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,$o,Io,Ro,zo,Uo,Yo,Qo,Jo,qo,Ko,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,_l,El,yl,Wt,fl,bl,xl,Cl,Sl,kl,Bl,Al,wl,Tl,Ol,Fl,Pl,Wl,Ll,ul,Hl,Ml,Gl,$l,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,ql,Kl,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,Oa,Fa,Pa,Wa,La,ua,Ha,Ma,Ga,$a,Ia,Ra,za,Ua,ae,ro,Ya,Za,Qa;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),E=e.resolveComponent("CirclePlus"),b=e.resolveComponent("el-icon"),x=e.resolveComponent("Remove"),y=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",jH,[e.createVNode(_,{name:"Voyage Deviation Report"}),e.createElementVNode("div",XH,[e.createElementVNode("div",vH,[e.createElementVNode("div",eM,[tM,e.createElementVNode("div",oM,e.toDisplayString((B=(g=l.extraData)==null?void 0:g.vessel)==null?void 0:B.name),1)]),e.createElementVNode("div",lM,[aM,e.createElementVNode("div",nM,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",sM,[iM,e.createElementVNode("div",cM,e.toDisplayString((C=(S=l.extraData)==null?void 0:S.vessel)==null?void 0:C.type),1)]),e.createElementVNode("div",dM,[rM,e.createElementVNode("div",mM,e.toDisplayString((L=(O=l.extraData)==null?void 0:O.voyage)==null?void 0:L.number),1)]),e.createElementVNode("div",pM,[hM,e.createElementVNode("div",_M,[e.createElementVNode("span",EM,e.toDisplayString((T=(w=l.extraData)==null?void 0:w.departure)==null?void 0:T.name),1),e.createElementVNode("span",yM,e.toDisplayString(a.computeUTCTime(((W=(D=l.extraData)==null?void 0:D.departure)==null?void 0:W.atd)||((Z=(Y=l.extraData)==null?void 0:Y.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",NM,[VM,e.createElementVNode("div",fM,[e.createElementVNode("span",gM,e.toDisplayString((P=(I=l.extraData)==null?void 0:I.arrival)==null?void 0:P.name),1),e.createElementVNode("span",DM,e.toDisplayString(a.computeUTCTime((($=(V=l.extraData)==null?void 0:V.arrival)==null?void 0:$.ata)||((u=(M=l.extraData)==null?void 0:M.arrival)==null?void 0:u.eta))),1)])])])]),e.createElementVNode("div",bM,[xM,e.createElementVNode("div",CM,[e.createElementVNode("div",SM,[kM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.extraData)==null?void 0:H.extraDist)} flex blue`)},e.toDisplayString(((Q=l.extraData)==null?void 0:Q.extraDist)??"—"),3)]),e.createElementVNode("div",BM,[AM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:K.totalExtraTime)} flex blue`)},e.toDisplayString(((R=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:R.totalExtraTime)??"—"),3)]),e.createElementVNode("div",wM,[TM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(n=(q=l.extraData)==null?void 0:q.consAnalysis)==null?void 0:n.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",OM,[FM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(se=(oe=l.extraData)==null?void 0:oe.consAnalysis)==null?void 0:se.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",PM,[WM,e.createElementVNode("div",LM,[e.createElementVNode("img",{style:{width:"100%"},src:(le=l.extraData)==null?void 0:le.chartUrl,alt:""},null,8,uM),HM])]),((_e=o.report)==null?void 0:_e.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",MM,[GM,e.createElementVNode("div",$M,[IM,e.createElementVNode("div",RM,[zM,e.createElementVNode("div",UM,e.toDisplayString(a.computedLngLat((Ne=l.extraData)==null?void 0:Ne.startLat,(Ve=l.extraData)==null?void 0:Ve.startLng)),1),e.createElementVNode("div",YM,e.toDisplayString(a.computeUTCTime((fe=l.extraData)==null?void 0:fe.startTime)),1),e.createElementVNode("div",ZM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",QM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(De=l.extraData)==null?void 0:De.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),JM,qM]),e.createElementVNode("div",KM,[jM,e.createElementVNode("div",XM,e.toDisplayString(a.computedLngLat((be=l.extraData)==null?void 0:be.endLat,(xe=l.extraData)==null?void 0:xe.endLng)),1),e.createElementVNode("div",vM,e.toDisplayString(a.computeUTCTime((Ce=l.extraData)==null?void 0:Ce.endTime)),1),e.createElementVNode("div",eG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",tG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",oG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",lG,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ee=l.extraData)==null?void 0:Ee.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",aG,[nG,sG,e.createElementVNode("div",iG,e.toDisplayString(((me=(F=l.extraData)==null?void 0:F.timeAnalysis)==null?void 0:me.actualTime)??"—"),1),e.createElementVNode("div",cG,e.toDisplayString(((Le=(We=(Pe=l.extraData)==null?void 0:Pe.consAnalysis)==null?void 0:We.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",dG,e.toDisplayString(((Re=(Ie=(pe=l.extraData)==null?void 0:pe.consAnalysis)==null?void 0:Ie.dgo)==null?void 0:Re.actualCons)??"—"),1),rG,mG])])])):e.createCommentVNode("",!0),e.createElementVNode("div",pG,[hG,e.createElementVNode("div",_G,[e.createElementVNode("div",EG,[yG,e.createElementVNode("div",NG,e.toDisplayString(((z=(ze=l.extraData)==null?void 0:ze.cp)==null?void 0:z.speed)??"—"),1)]),e.createElementVNode("div",VG,[fG,e.createElementVNode("div",gG,e.toDisplayString(((He=(we=l.extraData)==null?void 0:we.cp)==null?void 0:He.fo)??"—"),1)]),e.createElementVNode("div",DG,[bG,e.createElementVNode("div",xG,e.toDisplayString(((Ye=(Ue=l.extraData)==null?void 0:Ue.cp)==null?void 0:Ye.dgo)??"—"),1)])])]),e.createElementVNode("div",CG,[e.createElementVNode("div",SG,[kG,e.createElementVNode("div",BG,[e.createVNode(b,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(E)]),_:1},8,["onClick"])])]),e.createElementVNode("div",AG,[e.createElementVNode("table",null,[wG,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ne,mo)=>{var Ja,qa,Ka,rt,ln,an,nn,sn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",TG,[e.createVNode(i,{class:"editable-item",value:ne==null?void 0:ne.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:Lt=>a.handleCommit("port","name",Lt,mo)},null,8,["value","options","onSelect","onCommit"])]),OG,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ja=ne==null?void 0:ne.arrival)==null?void 0:Ja.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.date",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(qa=ne==null?void 0:ne.arrival)==null?void 0:qa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.foBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Ka=ne==null?void 0:ne.arrival)==null?void 0:Ka.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","arrival.dgoBrob",Lt,mo)},null,8,["value","onCommit"])]),FG,PG,e.createElementVNode("td",WG,[e.createVNode(b,{size:20,onClick:Lt=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(x)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[LG,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(rt=ne==null?void 0:ne.departure)==null?void 0:rt.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Lt=>a.handleCommit("port","departure.date",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(ln=ne==null?void 0:ne.departure)==null?void 0:ln.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.foBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(an=ne==null?void 0:ne.departure)==null?void 0:an.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.dgoBrob",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(nn=ne==null?void 0:ne.departure)==null?void 0:nn.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.bunkeringFo",Lt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(sn=ne==null?void 0:ne.departure)==null?void 0:sn.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Lt=>a.handleCommit("port","departure.bunkeringDgo",Lt,mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[uG,HG,e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=l.extraData)==null?void 0:Ze.timeAnalysis)==null?void 0:Qe.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((J=(h=(Je=l.extraData)==null?void 0:Je.consAnalysis)==null?void 0:h.fo)==null?void 0:J.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(ue=(Te=l.extraData)==null?void 0:Te.consAnalysis)==null?void 0:ue.dgo)==null?void 0:Me.portCons)??"—"),1),MG,GG,$G])])])])]),e.createElementVNode("div",IG,[RG,e.createElementVNode("div",zG,[UG,e.createElementVNode("div",YG,[ZG,e.createElementVNode("div",QG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(he=l.extraData)==null?void 0:he.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",JG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(Ke=l.extraData)==null?void 0:Ke.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",qG,[KG,e.createElementVNode("div",jG,e.toDisplayString(((Xe=l.extraData)==null?void 0:Xe.extraDist)??"—"),1)])])]),e.createElementVNode("div",XG,[vG,((ve=o.report)==null?void 0:ve.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",e$,[e.createElementVNode("div",t$,[o$,e.createElementVNode("div",l$,[e.createElementVNode("div",null,e.toDisplayString((ot=l.extraData)==null?void 0:ot.extraDist),1),a$,e.createElementVNode("div",null,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),n$,e.createElementVNode("div",s$,e.toDisplayString((pt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:pt.sailingTime),1),i$]),e.createElementVNode("div",c$,[d$,e.createElementVNode("div",r$,e.toDisplayString((_t=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:_t.sailingTime),1),m$,e.createElementVNode("div",p$,e.toDisplayString(a.computeNum((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),h$,e.createElementVNode("div",_$,e.toDisplayString((Vt=(Nt=l.extraData)==null?void 0:Nt.timeAnalysis)==null?void 0:Vt.totalExtraTime),1),E$])])):(e.openBlock(),e.createElementBlock("div",y$,[e.createElementVNode("div",N$,[V$,e.createElementVNode("div",f$,[e.createElementVNode("div",null,e.toDisplayString((ft=l.extraData)==null?void 0:ft.priorDist),1),g$,e.createElementVNode("div",null,e.toDisplayString((Dt=(gt=l.extraData)==null?void 0:gt.cp)==null?void 0:Dt.speed),1)]),D$,e.createElementVNode("div",b$,e.toDisplayString((xt=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:xt.sailingTime),1),x$]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",C$,[S$,e.createElementVNode("div",k$,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.actualTime),1),B$,e.createElementVNode("div",A$,e.toDisplayString((Bt=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:Bt.sailingTime),1),w$,e.createElementVNode("div",T$,e.toDisplayString((wt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:wt.totalExtraTime),1),O$])):(e.openBlock(),e.createElementBlock("div",F$,[P$,e.createElementVNode("div",W$,e.toDisplayString((Ot=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ot.actualTime),1),L$,e.createElementVNode("div",u$,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.sailingTime),1),H$,e.createElementVNode("div",M$,e.toDisplayString((No=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:No.portTime),1),G$,e.createElementVNode("div",$$,e.toDisplayString((fo=(Vo=l.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.totalExtraTime),1),I$]))])),((go=o.report)==null?void 0:go.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",R$,[e.createElementVNode("div",z$,[U$,e.createElementVNode("div",Y$,e.toDisplayString(((bo=(Do=l.extraData)==null?void 0:Do.timeAnalysis)==null?void 0:bo.sailingTime)??"—"),1)]),e.createElementVNode("div",Z$,[Q$,e.createElementVNode("div",J$,e.toDisplayString(((U=(xo=l.extraData)==null?void 0:xo.timeAnalysis)==null?void 0:U.portTime)??"—"),1)]),e.createElementVNode("div",q$,[K$,e.createElementVNode("div",j$,e.toDisplayString(((Ft=(tt=l.extraData)==null?void 0:tt.timeAnalysis)==null?void 0:Ft.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",X$,[e.createElementVNode("div",v$,[eI,e.createElementVNode("div",tI,e.toDisplayString((Mt=(Pt=l.extraData)==null?void 0:Pt.timeAnalysis)==null?void 0:Mt.sailingTime),1)]),e.createElementVNode("div",oI,[lI,e.createElementVNode("div",aI,e.toDisplayString(($t=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:$t.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",nI,[sI,e.createElementVNode("div",iI,e.toDisplayString(((Rt=(It=l.extraData)==null?void 0:It.timeAnalysis)==null?void 0:Rt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",cI,[dI,e.createElementVNode("div",rI,e.toDisplayString((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.totalExtraTime),1)])]))]),e.createElementVNode("div",mI,[pI,((Yt=o.report)==null?void 0:Yt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",hI,[e.createElementVNode("div",_I,[EI,e.createElementVNode("div",yI,[e.createElementVNode("div",null,e.toDisplayString((Zt=l.extraData)==null?void 0:Zt.extraDist),1),NI,e.createElementVNode("div",null,e.toDisplayString((Jt=(Qt=l.extraData)==null?void 0:Qt.cp)==null?void 0:Jt.speed),1)]),VI,e.createElementVNode("div",fI,[e.createElementVNode("div",null,e.toDisplayString((Kt=(qt=l.extraData)==null?void 0:qt.cp)==null?void 0:Kt.fo),1),gI,DI]),bI,e.createElementVNode("div",xI,e.toDisplayString((vt=(Xt=(jt=l.extraData)==null?void 0:jt.consAnalysis)==null?void 0:Xt.fo)==null?void 0:vt.sailingCons),1),CI]),e.createElementVNode("div",SI,[kI,e.createElementVNode("div",BI,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.sailingCons),1),AI,e.createElementVNode("div",wI,e.toDisplayString(a.computeNum((no=(ao=(lo=l.extraData)==null?void 0:lo.consAnalysis)==null?void 0:ao.fo)==null?void 0:no.portCons)),1),TI,e.createElementVNode("div",OI,e.toDisplayString((co=(io=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:io.fo)==null?void 0:co.totalExtraCons),1),FI]),e.createElementVNode("div",PI,[WI,e.createElementVNode("div",LI,[e.createElementVNode("div",null,e.toDisplayString((Co=l.extraData)==null?void 0:Co.extraDist),1),uI,e.createElementVNode("div",null,e.toDisplayString((ko=(So=l.extraData)==null?void 0:So.cp)==null?void 0:ko.speed),1)]),HI,e.createElementVNode("div",MI,[e.createElementVNode("div",null,e.toDisplayString((Ao=(Bo=l.extraData)==null?void 0:Bo.cp)==null?void 0:Ao.dgo),1),GI,$I]),II,e.createElementVNode("div",RI,e.toDisplayString((Oo=(To=(wo=l.extraData)==null?void 0:wo.consAnalysis)==null?void 0:To.dgo)==null?void 0:Oo.sailingCons),1),zI]),e.createElementVNode("div",UI,[YI,e.createElementVNode("div",ZI,e.toDisplayString((Wo=(Po=(Fo=l.extraData)==null?void 0:Fo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Wo.sailingCons),1),QI,e.createElementVNode("div",JI,e.toDisplayString(a.computeNum((Ho=(uo=(Lo=l.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:uo.dgo)==null?void 0:Ho.portCons)),1),qI,e.createElementVNode("div",KI,e.toDisplayString(($o=(Go=(Mo=l.extraData)==null?void 0:Mo.consAnalysis)==null?void 0:Go.dgo)==null?void 0:$o.totalExtraCons),1),jI])])):(e.openBlock(),e.createElementBlock("div",XI,[e.createElementVNode("div",vI,[eR,e.createElementVNode("div",tR,[e.createElementVNode("div",null,e.toDisplayString((Io=l.extraData)==null?void 0:Io.priorDist),1),oR,e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=l.extraData)==null?void 0:Ro.cp)==null?void 0:zo.speed),1)]),lR,e.createElementVNode("div",aR,[e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=l.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.fo),1),nR,sR]),iR,e.createElementVNode("div",cR,e.toDisplayString((qo=(Jo=(Qo=l.extraData)==null?void 0:Qo.consAnalysis)==null?void 0:Jo.fo)==null?void 0:qo.sailingCons),1),dR]),e.createElementVNode("div",rR,[mR,e.createElementVNode("div",pR,[e.createElementVNode("div",null,e.toDisplayString((Ko=l.extraData)==null?void 0:Ko.priorDist),1),hR,e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=l.extraData)==null?void 0:jo.cp)==null?void 0:Xo.speed),1)]),_R,e.createElementVNode("div",ER,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.extraData)==null?void 0:vo.cp)==null?void 0:el.dgo),1),yR,NR]),VR,e.createElementVNode("div",fR,e.toDisplayString((ll=(ol=(tl=l.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.dgo)==null?void 0:ll.sailingCons),1),gR]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",DR,[bR,e.createElementVNode("div",xR,e.toDisplayString((sl=(nl=(al=l.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.actualCons),1),CR,e.createElementVNode("div",SR,e.toDisplayString(a.computeNum((dl=(cl=(il=l.extraData)==null?void 0:il.consAnalysis)==null?void 0:cl.fo)==null?void 0:dl.sailingCons)),1),kR,e.createElementVNode("div",BR,e.toDisplayString((pl=(ml=(rl=l.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:pl.totalExtraCons),1),AR])):(e.openBlock(),e.createElementBlock("div",wR,[TR,e.createElementVNode("div",OR,e.toDisplayString((El=(_l=(hl=l.extraData)==null?void 0:hl.consAnalysis)==null?void 0:_l.fo)==null?void 0:El.actualCons),1),FR,e.createElementVNode("div",PR,e.toDisplayString(a.computeNum((fl=(Wt=(yl=l.extraData)==null?void 0:yl.consAnalysis)==null?void 0:Wt.fo)==null?void 0:fl.sailingCons)),1),WR,e.createElementVNode("div",LR,e.toDisplayString(a.computeNum((Cl=(xl=(bl=l.extraData)==null?void 0:bl.consAnalysis)==null?void 0:xl.fo)==null?void 0:Cl.portCons)),1),uR,e.createElementVNode("div",HR,e.toDisplayString((Bl=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Bl.totalExtraCons),1),MR])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",GR,[$R,e.createElementVNode("div",IR,e.toDisplayString((Tl=(wl=(Al=l.extraData)==null?void 0:Al.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Tl.actualCons),1),RR,e.createElementVNode("div",zR,e.toDisplayString((Pl=(Fl=(Ol=l.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Pl.sailingCons),1),UR,e.createElementVNode("div",YR,e.toDisplayString((ul=(Ll=(Wl=l.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:ul.totalExtraCons),1),ZR])):(e.openBlock(),e.createElementBlock("div",QR,[JR,e.createElementVNode("div",qR,e.toDisplayString((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.actualCons),1),KR,e.createElementVNode("div",jR,e.toDisplayString(a.computeNum((Rl=(Il=($l=l.extraData)==null?void 0:$l.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Rl.sailingCons)),1),XR,e.createElementVNode("div",vR,e.toDisplayString(a.computeNum((Yl=(Ul=(zl=l.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.dgo)==null?void 0:Yl.portCons)),1),ez,e.createElementVNode("div",tz,e.toDisplayString((Jl=(Ql=(Zl=l.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.dgo)==null?void 0:Jl.totalExtraCons),1),oz]))])),((ql=o.report)==null?void 0:ql.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",lz,[az,e.createElementVNode("div",nz,[sz,e.createElementVNode("div",iz,e.toDisplayString(((Xl=(jl=(Kl=l.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:jl.fo)==null?void 0:Xl.sailingCons)??"—"),1),e.createElementVNode("div",cz,e.toDisplayString(((ta=(ea=(vl=l.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.dgo)==null?void 0:ta.sailingCons)??"—"),1)]),e.createElementVNode("div",dz,[rz,e.createElementVNode("div",mz,e.toDisplayString(((aa=(la=(oa=l.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.fo)==null?void 0:aa.portCons)??"—"),1),e.createElementVNode("div",pz,e.toDisplayString(((ia=(sa=(na=l.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.portCons)??"—"),1)]),e.createElementVNode("div",hz,[_z,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ra=(da=(ca=l.extraData)==null?void 0:ca.consAnalysis)==null?void 0:da.fo)==null?void 0:ra.totalExtraCons)} flex blue center`)},e.toDisplayString(((ha=(pa=(ma=l.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.fo)==null?void 0:ha.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ya=(Ea=(_a=l.extraData)==null?void 0:_a.consAnalysis)==null?void 0:Ea.dgo)==null?void 0:ya.totalExtraCons)} flex blue center`)},e.toDisplayString(((fa=(Va=(Na=l.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",Ez,[yz,e.createElementVNode("div",Nz,[Vz,e.createElementVNode("div",fz,e.toDisplayString((ba=(Da=(ga=l.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.fo)==null?void 0:ba.sailingCons),1),e.createElementVNode("div",gz,e.toDisplayString((Sa=(Ca=(xa=l.extraData)==null?void 0:xa.consAnalysis)==null?void 0:Ca.dgo)==null?void 0:Sa.sailingCons),1)]),e.createElementVNode("div",Dz,[bz,e.createElementVNode("div",xz,e.toDisplayString((Aa=(Ba=(ka=l.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Ba.fo)==null?void 0:Aa.actualCons),1),e.createElementVNode("div",Cz,e.toDisplayString((Oa=(Ta=(wa=l.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Ta.dgo)==null?void 0:Oa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",Sz,[kz,e.createElementVNode("div",Bz,e.toDisplayString((Wa=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.fo)==null?void 0:Wa.portCons),1),e.createElementVNode("div",Az,e.toDisplayString((Ha=(ua=(La=l.extraData)==null?void 0:La.consAnalysis)==null?void 0:ua.dgo)==null?void 0:Ha.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",wz,[Tz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($a=(Ga=(Ma=l.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ga.fo)==null?void 0:$a.totalExtraCons)} flex blue center`)},e.toDisplayString((za=(Ra=(Ia=l.extraData)==null?void 0:Ia.consAnalysis)==null?void 0:Ra.fo)==null?void 0:za.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ro=(ae=(Ua=l.extraData)==null?void 0:Ua.consAnalysis)==null?void 0:ae.dgo)==null?void 0:ro.totalExtraCons)} flex blue center`)},e.toDisplayString((Qa=(Za=(Ya=l.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:Za.dgo)==null?void 0:Qa.totalExtraCons),3)])]))]),e.createElementVNode("div",Oz,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(y,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[8]||(s[8]=ne=>l.advisory=ne),height:"320px",onBlur:s[9]||(s[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,Fz))],2)])])}const An=ke(KH,[["render",Pz],["__scopeId","data-v-1413248b"]]),_le="",Wz={name:"FliDvtRpt",components:{CirclePlus:en.CirclePlus,Remove:en.Remove,EditableItem:Bn,Editor:Zo},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugW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HkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:"-"}},computedLngLat(){return function(t,s){const o=this.fetchLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(ie.LngLatHelper.lng2pretty(s));return`${o} / ${c}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,s,o,c;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(s=this.data)==null?void 0:s.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(c=this.data)==null?void 0:c.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const s=await ja.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=s==null?void 0:s.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,_;this.extraPortList.splice(t,1);const s=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=s==null?void 0:s.data)==null?void 0:o.data,this.extraPortList=(l=(c=s==null?void 0:s.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(_=this.data)==null?void 0:_.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s,o,c){var _,i,E,b,x;this.editable=!1;const l=s.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const g=s.substring(0,l),B=s.substring(l+1);B!=="date"&&(o=Number(o)),this.extraPortList[c][g][B]=o}else this.extraPortList[c][s]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[s]=o,a={[s]:o}):(this.extraData[s]=o,a={[s]:Number(o)});const y=await ja.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(_=y==null?void 0:y.data)==null?void 0:_.data,this.extraPortList=(E=(i=y==null?void 0:y.data)==null?void 0:i.data)==null?void 0:E.extraPorts,this.advisory=(b=this.data)!=null&&b.comments?(x=this.data)==null?void 0:x.comments:void 0}else mn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},k=t=>(e.pushScopeId("data-v-77edf8aa"),t=t(),e.popScopeId(),t),Lz={class:"deviation-report"},uz=k(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),Hz={class:"report-header"},Mz={class:"header-title",style:{position:"relative !important"}},Gz={class:"header-title-content"},$z=k(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),Iz={class:"title-date"},Rz={class:"report-summary"},zz={class:"summary-item"},Uz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),Yz={class:"flexL gray"},Zz={class:"summary-item"},Qz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),Jz={class:"flexL gray"},qz={class:"summary-item"},Kz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),jz={class:"flexL gray"},Xz={class:"summary-item"},vz=k(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),eU={class:"flexL gray"},tU={class:"summary-item"},oU=k(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),lU={class:"flexL gray",style:{display:"flex"}},aU={class:"flex"},nU={class:"flexM"},sU={class:"summary-item"},iU=k(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),cU={class:"flexL gray",style:{display:"flex"}},dU={class:"flex"},rU={class:"flexM"},mU=k(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),pU={class:"report-summary"},hU={class:"summary-item"},_U=k(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),EU={class:"summary-item"},yU=k(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),NU={class:"summary-item"},VU=k(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),fU={class:"summary-item"},gU=k(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),DU=k(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),bU={class:"report-map"},xU=["src"],CU=e.createStaticVNode('<div class="legend" data-v-77edf8aa><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Actual Route</div></div><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Route prior to deviation</div></div></div>',1),SU=k(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),kU={key:0,class:"subtitle"},BU={key:1,class:"report-summary"},AU=e.createStaticVNode('<div class="summary-item" data-v-77edf8aa><div class="blue center" style="width:16%;" data-v-77edf8aa>Diversion</div><div class="blue center" style="width:20%;" data-v-77edf8aa>Position</div><div class="blue center" style="width:17%;" data-v-77edf8aa>Date Time</div><div class="flex blue center" data-v-77edf8aa>FO BROB<br data-v-77edf8aa>(mt)</div><div class="flex blue center" data-v-77edf8aa>DO/GO<br data-v-77edf8aa>BROB (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>FO (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>DO/GO (mt)</div></div>',1),wU={class:"summary-item"},TU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),OU={class:"blue center",style:{width:"20%"}},FU={class:"blue center",style:{width:"17%"}},PU={class:"flex blue center"},WU={class:"flex blue center"},LU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),uU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),HU={class:"summary-item"},MU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),GU={class:"blue center",style:{width:"20%"}},$U={class:"blue center",style:{width:"17%"}},IU={class:"flex blue center"},RU={class:"flex blue center"},zU={class:"flex blue center"},UU={class:"flex blue center"},YU={class:"summary-item"},ZU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),QU=k(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),JU={class:"blue center",style:{width:"17%"}},qU={class:"flex blue center"},KU={class:"flex blue center"},jU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),XU=k(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),vU=k(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),eY={class:"report-summary"},tY={class:"summary-item"},oY=k(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),lY={class:"flexL blue center"},aY={class:"summary-item"},nY=k(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),sY={class:"flexL blue center"},iY={class:"summary-item"},cY=k(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),dY={class:"flexL blue center"},rY={class:"subtitle port"},mY=k(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),pY={class:"print-hidden"},hY={class:"report-port"},_Y=k(()=>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)),EY={rowspan:2},yY=k(()=>e.createElementVNode("td",null,"Arrival",-1)),NY=k(()=>e.createElementVNode("td",null,null,-1)),VY=k(()=>e.createElementVNode("td",null,null,-1)),fY={rowspan:2,class:"print-hidden"},gY=k(()=>e.createElementVNode("td",null,"Departure",-1)),DY=k(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),bY=k(()=>e.createElementVNode("td",null,null,-1)),xY=k(()=>e.createElementVNode("td",null,null,-1)),CY=k(()=>e.createElementVNode("td",null,null,-1)),SY=k(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),kY=k(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),BY={class:"report-summary"},AY=k(()=>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)),wY={class:"summary-item"},TY=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),OY={class:"flex blue center"},FY={class:"flex blue center"},PY={class:"summary-item"},WY=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),LY={class:"flex blue center"},uY=k(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),HY={key:2,class:"report-formular"},MY={class:"equation"},GY=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),$Y={class:"function",style:{width:"20%"}},IY=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RY=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zY={style:{width:"10%"}},UY=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),YY={class:"equation"},ZY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:28%;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),QY={style:{width:"5%"}},JY=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),qY={style:{width:"8%"}},KY=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),jY={style:{width:"4%"}},XY=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),vY={key:3,class:"report-formular"},eZ={class:"equation"},tZ=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),oZ={class:"function",style:{width:"20%"}},lZ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aZ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nZ={style:{width:"10%"}},sZ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),iZ={key:0,class:"equation"},cZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:30%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),dZ={style:{width:"5%"}},rZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),mZ={style:{width:"5%"}},pZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),hZ={style:{width:"5%"}},_Z=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),EZ={key:1,class:"equation"},yZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>Time spent in port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',8),NZ={style:{width:"5%"}},VZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),fZ={style:{width:"5%"}},gZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),DZ={style:{width:"5%"}},bZ=k(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),xZ={style:{width:"5%"}},CZ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),SZ={key:4,class:"report-summary"},kZ={class:"summary-item"},BZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),AZ={class:"flex blue center"},wZ={class:"summary-item"},TZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),OZ={class:"flex blue center"},FZ={class:"summary-item"},PZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),WZ={class:"flex blue center"},LZ={key:5,class:"report-summary"},uZ={class:"summary-item"},HZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),MZ={class:"flex blue center"},GZ={class:"summary-item"},$Z=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),IZ={class:"flex blue center"},RZ={key:0,class:"summary-item"},zZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),UZ={class:"flex blue center"},YZ={class:"summary-item"},ZZ=k(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),QZ={class:"flex blue center"},JZ=k(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),qZ={key:6,class:"report-formular"},KZ={class:"equation"},jZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),XZ={class:"function",style:{width:"5%"}},vZ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),tQ={class:"function",style:{width:"5%"}},oQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lQ=k(()=>e.createElementVNode("div",null,"24",-1)),aQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nQ={style:{width:"5%"}},sQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iQ={class:"equation"},cQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),dQ={style:{width:"5%"}},rQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),mQ={style:{width:"5%"}},pQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),hQ={style:{width:"5%"}},_Q=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),EQ={class:"equation"},yQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),NQ={class:"function",style:{width:"5%"}},VQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),gQ={class:"function",style:{width:"5%"}},DQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bQ=k(()=>e.createElementVNode("div",null,"24",-1)),xQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),CQ={style:{width:"5%"}},SQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),kQ={class:"equation"},BQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),AQ={style:{width:"5%"}},wQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),TQ={style:{width:"5%"}},OQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),FQ={style:{width:"5%"}},PQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),WQ={key:7,class:"report-formular"},LQ={class:"equation"},uQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),HQ={class:"function",style:{width:"5%"}},MQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),$Q={class:"function",style:{width:"5%"}},IQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RQ=k(()=>e.createElementVNode("div",null,"24",-1)),zQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),UQ={style:{width:"5%"}},YQ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ZQ={class:"equation"},QQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),JQ={class:"function",style:{width:"5%"}},qQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KQ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),jQ={class:"function",style:{width:"5%"}},XQ=k(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vQ=k(()=>e.createElementVNode("div",null,"24",-1)),eJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),tJ={style:{width:"5%"}},oJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),lJ={key:0,class:"equation"},aJ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),nJ={style:{width:"5%"}},sJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),iJ={style:{width:"5%"}},cJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),dJ={style:{width:"5%"}},rJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),mJ={key:1,class:"equation"},pJ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>FO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),hJ={style:{width:"5%"}},_J=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),EJ={style:{width:"5%"}},yJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),NJ={style:{width:"5%"}},VJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),fJ={style:{width:"5%"}},gJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),DJ={key:2,class:"equation"},bJ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),xJ={style:{width:"5%"}},CJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),SJ={style:{width:"5%"}},kJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BJ={style:{width:"5%"}},AJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),wJ={key:3,class:"equation"},TJ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>DO/GO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),OJ={style:{width:"5%"}},FJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),PJ={style:{width:"5%"}},WJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LJ={style:{width:"5%"}},uJ=k(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),HJ={style:{width:"5%"}},MJ=k(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),GJ={key:8,class:"report-summary"},$J=k(()=>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)),IJ={class:"summary-item"},RJ=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),zJ={class:"flex blue center"},UJ={class:"flex blue center"},YJ={class:"summary-item"},ZJ=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),QJ={class:"flex blue center"},JJ={class:"flex blue center"},qJ={class:"summary-item"},KJ=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),jJ={key:9,class:"report-summary"},XJ=k(()=>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)),vJ={class:"summary-item"},eq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),tq={class:"flex blue center"},oq={class:"flex blue center"},lq={class:"summary-item"},aq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),nq={class:"flex blue center"},sq={class:"flex blue center"},iq={key:0,class:"summary-item"},cq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),dq={class:"flex blue center"},rq={class:"flex blue center"},mq={class:"summary-item"},pq=k(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),hq=["innerHTML"];function _q(t,s,o,c,l,a){var y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le,pe,Ie,Re,ze,z,we,He,Ue,Ye,Ze,Qe,Je,h,J,Te,ue,Me,he,Ke,Xe,ve,ot,lt,at,nt,pt,ht,_t,Et,yt,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,Ot,Ht,po,yo,No,Vo,fo,go,Do,bo,xo,U,tt,Ft,Pt,Mt,Gt,$t,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,qt,Kt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,Co,So,ko,Bo,Ao,wo,To,Oo,Fo,Po,Wo,Lo,uo,Ho,Mo,Go,$o,Io,Ro,zo,Uo,Yo,Qo,Jo,qo,Ko,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,_l,El,yl,Wt,fl,bl,xl,Cl,Sl,kl,Bl,Al,wl,Tl,Ol,Fl,Pl,Wl,Ll,ul,Hl,Ml,Gl,$l,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,ql,Kl,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,_a,Ea,ya,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,Oa,Fa,Pa,Wa,La,ua,Ha,Ma,Ga,$a,Ia,Ra,za,Ua;const _=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),E=e.resolveComponent("ElIcon"),b=e.resolveComponent("Remove"),x=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Lz,[uz,e.createElementVNode("div",Hz,[e.createElementVNode("div",Mz,[e.createElementVNode("div",Gz,[$z,e.createElementVNode("div",Iz,e.toDisplayString(a.computeUTCTime((y=l.extraData)==null?void 0:y.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",Rz,[e.createElementVNode("div",zz,[Uz,e.createElementVNode("div",Yz,e.toDisplayString((B=(g=l.extraData)==null?void 0:g.vessel)==null?void 0:B.name),1)]),e.createElementVNode("div",Zz,[Qz,e.createElementVNode("div",Jz,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",qz,[Kz,e.createElementVNode("div",jz,e.toDisplayString((C=(S=l.extraData)==null?void 0:S.vessel)==null?void 0:C.type),1)]),e.createElementVNode("div",Xz,[vz,e.createElementVNode("div",eU,e.toDisplayString((L=(O=l.extraData)==null?void 0:O.voyage)==null?void 0:L.number),1)]),e.createElementVNode("div",tU,[oU,e.createElementVNode("div",lU,[e.createElementVNode("span",aU,e.toDisplayString((T=(w=l.extraData)==null?void 0:w.departure)==null?void 0:T.name),1),e.createElementVNode("span",nU,e.toDisplayString(a.computeUTCTime(((W=(D=l.extraData)==null?void 0:D.departure)==null?void 0:W.atd)||((Z=(Y=l.extraData)==null?void 0:Y.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",sU,[iU,e.createElementVNode("div",cU,[e.createElementVNode("span",dU,e.toDisplayString((P=(I=l.extraData)==null?void 0:I.arrival)==null?void 0:P.name),1),e.createElementVNode("span",rU,e.toDisplayString(a.computeUTCTime((($=(V=l.extraData)==null?void 0:V.arrival)==null?void 0:$.ata)||((u=(M=l.extraData)==null?void 0:M.arrival)==null?void 0:u.eta))),1)])])]),mU,e.createElementVNode("div",pU,[e.createElementVNode("div",hU,[_U,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.extraData)==null?void 0:H.extraDist)} flex blue`)},e.toDisplayString(((Q=l.extraData)==null?void 0:Q.extraDist)??"—"),3)]),e.createElementVNode("div",EU,[yU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:K.totalExtraTime)} flex blue`)},e.toDisplayString(((R=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:R.totalExtraTime)??"—"),3)]),e.createElementVNode("div",NU,[VU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(n=(q=l.extraData)==null?void 0:q.consAnalysis)==null?void 0:n.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((te=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:te.totalExtraCons)??"—"),3)]),e.createElementVNode("div",fU,[gU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(se=(oe=l.extraData)==null?void 0:oe.consAnalysis)==null?void 0:se.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((ye=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:ye.totalExtraCons)??"—"),3)])]),DU,e.createElementVNode("div",bU,[e.createElementVNode("img",{style:{width:"100%"},src:(le=l.extraData)==null?void 0:le.chartUrl,alt:""},null,8,xU),CU]),SU,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",kU,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",BU,[AU,e.createElementVNode("div",wU,[TU,e.createElementVNode("div",OU,e.toDisplayString(a.computedLngLat((_e=l.extraData)==null?void 0:_e.startLng,(Ne=l.extraData)==null?void 0:Ne.startLat)),1),e.createElementVNode("div",FU,e.toDisplayString(a.computeUTCTime((Ve=l.extraData)==null?void 0:Ve.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",PU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(fe=l.extraData)==null?void 0:fe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[0]||(s[0]=ae=>a.handleCommit("extra","startFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",WU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[1]||(s[1]=ae=>a.handleCommit("extra","startDgoBrob",ae))},null,8,["value"])]),LU,uU]),e.createElementVNode("div",HU,[MU,e.createElementVNode("div",GU,e.toDisplayString(a.computedLngLat((De=l.extraData)==null?void 0:De.endLng,(be=l.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",$U,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",IU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[2]||(s[2]=ae=>a.handleCommit("extra","endFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",RU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[3]||(s[3]=ae=>a.handleCommit("extra","endDgoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",zU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[4]||(s[4]=ae=>a.handleCommit("extra","endFoBunkering",ae))},null,8,["value"])]),e.createElementVNode("div",UU,[e.createVNode(_,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[5]||(s[5]=ae=>a.handleCommit("extra","endDgoBunkering",ae))},null,8,["value"])])]),e.createElementVNode("div",YU,[ZU,QU,e.createElementVNode("div",JU,e.toDisplayString(((F=(Ee=l.extraData)==null?void 0:Ee.timeAnalysis)==null?void 0:F.actualTime)??"—"),1),e.createElementVNode("div",qU,e.toDisplayString(((We=(Pe=(me=l.extraData)==null?void 0:me.consAnalysis)==null?void 0:Pe.fo)==null?void 0:We.actualCons)??"—"),1),e.createElementVNode("div",KU,e.toDisplayString(((Ie=(pe=(Le=l.extraData)==null?void 0:Le.consAnalysis)==null?void 0:pe.dgo)==null?void 0:Ie.actualCons)??"—"),1),jU,XU])])),vU,e.createElementVNode("div",eY,[e.createElementVNode("div",tY,[oY,e.createElementVNode("div",lY,e.toDisplayString(((ze=(Re=l.extraData)==null?void 0:Re.cp)==null?void 0:ze.speed)??"—"),1)]),e.createElementVNode("div",aY,[nY,e.createElementVNode("div",sY,e.toDisplayString(((we=(z=l.extraData)==null?void 0:z.cp)==null?void 0:we.fo)??"—"),1)]),e.createElementVNode("div",iY,[cY,e.createElementVNode("div",dY,e.toDisplayString(((Ue=(He=l.extraData)==null?void 0:He.cp)==null?void 0:Ue.dgo)??"—"),1)])]),e.createElementVNode("div",rY,[mY,e.createElementVNode("div",pY,[e.createVNode(E,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",hY,[e.createElementVNode("table",null,[_Y,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ae,ro)=>{var Ya,Za,Qa,ne,mo,Ja,qa,Ka;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ro},[e.createElementVNode("tr",null,[e.createElementVNode("td",EY,[e.createVNode(_,{class:"editable-item",value:ae==null?void 0:ae.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:rt=>a.handleCommit("port","name",rt,ro)},null,8,["value","options","onSelect","onCommit"])]),yY,e.createElementVNode("td",null,[e.createVNode(_,{class:"check editable-item",value:(Ya=ae==null?void 0:ae.arrival)==null?void 0:Ya.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","arrival.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(Za=ae==null?void 0:ae.arrival)==null?void 0:Za.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(Qa=ae==null?void 0:ae.arrival)==null?void 0:Qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),NY,VY,e.createElementVNode("td",fY,[e.createVNode(E,{size:20,onClick:rt=>a.handleRemove(ro)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[gY,e.createElementVNode("td",null,[e.createVNode(_,{class:"check editable-item",value:(ne=ae==null?void 0:ae.departure)==null?void 0:ne.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","departure.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(mo=ae==null?void 0:ae.departure)==null?void 0:mo.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(Ja=ae==null?void 0:ae.departure)==null?void 0:Ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(qa=ae==null?void 0:ae.departure)==null?void 0:qa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringFo",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(_,{class:"editable-item",value:(Ka=ae==null?void 0:ae.departure)==null?void 0:Ka.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringDgo",rt,ro)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[DY,bY,e.createElementVNode("td",null,e.toDisplayString(((Ze=(Ye=l.extraData)==null?void 0:Ye.timeAnalysis)==null?void 0:Ze.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((h=(Je=(Qe=l.extraData)==null?void 0:Qe.consAnalysis)==null?void 0:Je.fo)==null?void 0:h.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((ue=(Te=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:Te.dgo)==null?void 0:ue.portCons)??"—"),1),xY,CY,SY])])])]),kY,e.createElementVNode("div",BY,[AY,e.createElementVNode("div",wY,[TY,e.createElementVNode("div",OY,[e.createVNode(_,{class:"editable-item",style:{padding:"0px"},value:(Me=l.extraData)==null?void 0:Me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[6]||(s[6]=ae=>a.handleCommit("extraData","actualDist",ae,t.index))},null,8,["value"])]),e.createElementVNode("div",FY,[e.createVNode(_,{class:"editable-item",style:{padding:"0px"},value:(he=l.extraData)==null?void 0:he.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:s[7]||(s[7]=ae=>a.handleCommit("extraData","priorDist",ae,t.index))},null,8,["value"])])]),e.createElementVNode("div",PY,[WY,e.createElementVNode("div",LY,e.toDisplayString(((Ke=l.extraData)==null?void 0:Ke.extraDist)??"—"),1)])]),uY,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",HY,[e.createElementVNode("div",MY,[GY,e.createElementVNode("div",$Y,[e.createElementVNode("div",null,e.toDisplayString((Xe=l.extraData)==null?void 0:Xe.extraDist),1),IY,e.createElementVNode("div",null,e.toDisplayString((ot=(ve=l.extraData)==null?void 0:ve.cp)==null?void 0:ot.speed),1)]),RY,e.createElementVNode("div",zY,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.sailingTime),1),UY]),e.createElementVNode("div",YY,[ZY,e.createElementVNode("div",QY,e.toDisplayString((pt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:pt.sailingTime),1),JY,e.createElementVNode("div",qY,e.toDisplayString(a.computeNum((_t=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:_t.portTime)),1),KY,e.createElementVNode("div",jY,e.toDisplayString((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.totalExtraTime),1),XY])])):(e.openBlock(),e.createElementBlock("div",vY,[e.createElementVNode("div",eZ,[tZ,e.createElementVNode("div",oZ,[e.createElementVNode("div",null,e.toDisplayString((Nt=l.extraData)==null?void 0:Nt.priorDist),1),lZ,e.createElementVNode("div",null,e.toDisplayString((ft=(Vt=l.extraData)==null?void 0:Vt.cp)==null?void 0:ft.speed),1)]),aZ,e.createElementVNode("div",nZ,e.toDisplayString((Dt=(gt=l.extraData)==null?void 0:gt.timeAnalysis)==null?void 0:Dt.sailingTime),1),sZ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",iZ,[cZ,e.createElementVNode("div",dZ,e.toDisplayString((xt=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:xt.actualTime),1),rZ,e.createElementVNode("div",mZ,e.toDisplayString((St=(Ct=l.extraData)==null?void 0:Ct.timeAnalysis)==null?void 0:St.sailingTime),1),pZ,e.createElementVNode("div",hZ,e.toDisplayString((Bt=(kt=l.extraData)==null?void 0:kt.timeAnalysis)==null?void 0:Bt.totalExtraTime),1),_Z])):(e.openBlock(),e.createElementBlock("div",EZ,[yZ,e.createElementVNode("div",NZ,e.toDisplayString((wt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:wt.actualTime),1),VZ,e.createElementVNode("div",fZ,e.toDisplayString((Ot=(Tt=l.extraData)==null?void 0:Tt.timeAnalysis)==null?void 0:Ot.sailingTime),1),gZ,e.createElementVNode("div",DZ,e.toDisplayString((po=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:po.portTime),1),bZ,e.createElementVNode("div",xZ,e.toDisplayString((No=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:No.totalExtraTime),1),CZ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",SZ,[e.createElementVNode("div",kZ,[BZ,e.createElementVNode("div",AZ,e.toDisplayString(((fo=(Vo=l.extraData)==null?void 0:Vo.timeAnalysis)==null?void 0:fo.sailingTime)??"—"),1)]),e.createElementVNode("div",wZ,[TZ,e.createElementVNode("div",OZ,e.toDisplayString(((Do=(go=l.extraData)==null?void 0:go.timeAnalysis)==null?void 0:Do.portTime)??"—"),1)]),e.createElementVNode("div",FZ,[PZ,e.createElementVNode("div",WZ,e.toDisplayString(((xo=(bo=l.extraData)==null?void 0:bo.timeAnalysis)==null?void 0:xo.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",LZ,[e.createElementVNode("div",uZ,[HZ,e.createElementVNode("div",MZ,e.toDisplayString((tt=(U=l.extraData)==null?void 0:U.timeAnalysis)==null?void 0:tt.sailingTime),1)]),e.createElementVNode("div",GZ,[$Z,e.createElementVNode("div",IZ,e.toDisplayString((Pt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Pt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",RZ,[zZ,e.createElementVNode("div",UZ,e.toDisplayString(((Gt=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:Gt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",YZ,[ZZ,e.createElementVNode("div",QZ,e.toDisplayString((It=($t=l.extraData)==null?void 0:$t.timeAnalysis)==null?void 0:It.totalExtraTime),1)])])),JZ,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",qZ,[e.createElementVNode("div",KZ,[jZ,e.createElementVNode("div",XZ,[e.createElementVNode("div",null,e.toDisplayString((Rt=l.extraData)==null?void 0:Rt.extraDist),1),vZ,e.createElementVNode("div",null,e.toDisplayString((Ut=(zt=l.extraData)==null?void 0:zt.cp)==null?void 0:Ut.speed),1)]),eQ,e.createElementVNode("div",tQ,[e.createElementVNode("div",null,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.cp)==null?void 0:Zt.fo),1),oQ,lQ]),aQ,e.createElementVNode("div",nQ,e.toDisplayString((qt=(Jt=(Qt=l.extraData)==null?void 0:Qt.consAnalysis)==null?void 0:Jt.fo)==null?void 0:qt.sailingCons),1),sQ]),e.createElementVNode("div",iQ,[cQ,e.createElementVNode("div",dQ,e.toDisplayString((Xt=(jt=(Kt=l.extraData)==null?void 0:Kt.consAnalysis)==null?void 0:jt.fo)==null?void 0:Xt.sailingCons),1),rQ,e.createElementVNode("div",mQ,e.toDisplayString(a.computeNum((to=(eo=(vt=l.extraData)==null?void 0:vt.consAnalysis)==null?void 0:eo.fo)==null?void 0:to.portCons)),1),pQ,e.createElementVNode("div",hQ,e.toDisplayString((ao=(lo=(oo=l.extraData)==null?void 0:oo.consAnalysis)==null?void 0:lo.fo)==null?void 0:ao.totalExtraCons),1),_Q]),e.createElementVNode("div",EQ,[yQ,e.createElementVNode("div",NQ,[e.createElementVNode("div",null,e.toDisplayString((no=l.extraData)==null?void 0:no.extraDist),1),VQ,e.createElementVNode("div",null,e.toDisplayString((io=(so=l.extraData)==null?void 0:so.cp)==null?void 0:io.speed),1)]),fQ,e.createElementVNode("div",gQ,[e.createElementVNode("div",null,e.toDisplayString((Co=(co=l.extraData)==null?void 0:co.cp)==null?void 0:Co.dgo),1),DQ,bQ]),xQ,e.createElementVNode("div",CQ,e.toDisplayString((Bo=(ko=(So=l.extraData)==null?void 0:So.consAnalysis)==null?void 0:ko.dgo)==null?void 0:Bo.sailingCons),1),SQ]),e.createElementVNode("div",kQ,[BQ,e.createElementVNode("div",AQ,e.toDisplayString((To=(wo=(Ao=l.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:wo.dgo)==null?void 0:To.sailingCons),1),wQ,e.createElementVNode("div",TQ,e.toDisplayString(a.computeNum((Po=(Fo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Fo.dgo)==null?void 0:Po.portCons)),1),OQ,e.createElementVNode("div",FQ,e.toDisplayString((uo=(Lo=(Wo=l.extraData)==null?void 0:Wo.consAnalysis)==null?void 0:Lo.dgo)==null?void 0:uo.totalExtraCons),1),PQ])])):(e.openBlock(),e.createElementBlock("div",WQ,[e.createElementVNode("div",LQ,[uQ,e.createElementVNode("div",HQ,[e.createElementVNode("div",null,e.toDisplayString((Ho=l.extraData)==null?void 0:Ho.priorDist),1),MQ,e.createElementVNode("div",null,e.toDisplayString((Go=(Mo=l.extraData)==null?void 0:Mo.cp)==null?void 0:Go.speed),1)]),GQ,e.createElementVNode("div",$Q,[e.createElementVNode("div",null,e.toDisplayString((Io=($o=l.extraData)==null?void 0:$o.cp)==null?void 0:Io.fo),1),IQ,RQ]),zQ,e.createElementVNode("div",UQ,e.toDisplayString((Uo=(zo=(Ro=l.extraData)==null?void 0:Ro.consAnalysis)==null?void 0:zo.fo)==null?void 0:Uo.sailingCons),1),YQ]),e.createElementVNode("div",ZQ,[QQ,e.createElementVNode("div",JQ,[e.createElementVNode("div",null,e.toDisplayString((Yo=l.extraData)==null?void 0:Yo.priorDist),1),qQ,e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=l.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.speed),1)]),KQ,e.createElementVNode("div",jQ,[e.createElementVNode("div",null,e.toDisplayString((Ko=(qo=l.extraData)==null?void 0:qo.cp)==null?void 0:Ko.dgo),1),XQ,vQ]),eJ,e.createElementVNode("div",tJ,e.toDisplayString((vo=(Xo=(jo=l.extraData)==null?void 0:jo.consAnalysis)==null?void 0:Xo.dgo)==null?void 0:vo.sailingCons),1),oJ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",lJ,[aJ,e.createElementVNode("div",nJ,e.toDisplayString((ol=(tl=(el=l.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.actualCons),1),sJ,e.createElementVNode("div",iJ,e.toDisplayString(a.computeNum((nl=(al=(ll=l.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.sailingCons)),1),cJ,e.createElementVNode("div",dJ,e.toDisplayString((cl=(il=(sl=l.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:cl.totalExtraCons),1),rJ])):(e.openBlock(),e.createElementBlock("div",mJ,[pJ,e.createElementVNode("div",hJ,e.toDisplayString((ml=(rl=(dl=l.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:ml.actualCons),1),_J,e.createElementVNode("div",EJ,e.toDisplayString(a.computeNum((_l=(hl=(pl=l.extraData)==null?void 0:pl.consAnalysis)==null?void 0:hl.fo)==null?void 0:_l.sailingCons)),1),yJ,e.createElementVNode("div",NJ,e.toDisplayString(a.computeNum((Wt=(yl=(El=l.extraData)==null?void 0:El.consAnalysis)==null?void 0:yl.fo)==null?void 0:Wt.portCons)),1),VJ,e.createElementVNode("div",fJ,e.toDisplayString((xl=(bl=(fl=l.extraData)==null?void 0:fl.consAnalysis)==null?void 0:bl.fo)==null?void 0:xl.totalExtraCons),1),gJ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",DJ,[bJ,e.createElementVNode("div",xJ,e.toDisplayString((kl=(Sl=(Cl=l.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.dgo)==null?void 0:kl.actualCons),1),CJ,e.createElementVNode("div",SJ,e.toDisplayString((wl=(Al=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:Al.dgo)==null?void 0:wl.sailingCons),1),kJ,e.createElementVNode("div",BJ,e.toDisplayString((Fl=(Ol=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Fl.totalExtraCons),1),AJ])):(e.openBlock(),e.createElementBlock("div",wJ,[TJ,e.createElementVNode("div",OJ,e.toDisplayString((Ll=(Wl=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Wl.dgo)==null?void 0:Ll.actualCons),1),FJ,e.createElementVNode("div",PJ,e.toDisplayString(a.computeNum((Ml=(Hl=(ul=l.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.sailingCons)),1),WJ,e.createElementVNode("div",LJ,e.toDisplayString(a.computeNum((Il=($l=(Gl=l.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Il.portCons)),1),uJ,e.createElementVNode("div",HJ,e.toDisplayString((Ul=(zl=(Rl=l.extraData)==null?void 0:Rl.consAnalysis)==null?void 0:zl.dgo)==null?void 0:Ul.totalExtraCons),1),MJ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",GJ,[$J,e.createElementVNode("div",IJ,[RJ,e.createElementVNode("div",zJ,e.toDisplayString(((Ql=(Zl=(Yl=l.extraData)==null?void 0:Yl.consAnalysis)==null?void 0:Zl.fo)==null?void 0:Ql.sailingCons)??"—"),1),e.createElementVNode("div",UJ,e.toDisplayString(((Kl=(ql=(Jl=l.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:ql.dgo)==null?void 0:Kl.sailingCons)??"—"),1)]),e.createElementVNode("div",YJ,[ZJ,e.createElementVNode("div",QJ,e.toDisplayString(((vl=(Xl=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:Xl.fo)==null?void 0:vl.portCons)??"—"),1),e.createElementVNode("div",JJ,e.toDisplayString(((oa=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.dgo)==null?void 0:oa.portCons)??"—"),1)]),e.createElementVNode("div",qJ,[KJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((na=(aa=(la=l.extraData)==null?void 0:la.consAnalysis)==null?void 0:aa.fo)==null?void 0:na.totalExtraCons)} flex blue center`)},e.toDisplayString(((ca=(ia=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:ia.fo)==null?void 0:ca.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ma=(ra=(da=l.extraData)==null?void 0:da.consAnalysis)==null?void 0:ra.dgo)==null?void 0:ma.totalExtraCons)} flex blue center`)},e.toDisplayString(((_a=(ha=(pa=l.extraData)==null?void 0:pa.consAnalysis)==null?void 0:ha.dgo)==null?void 0:_a.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",jJ,[XJ,e.createElementVNode("div",vJ,[eq,e.createElementVNode("div",tq,e.toDisplayString((Na=(ya=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:ya.fo)==null?void 0:Na.sailingCons),1),e.createElementVNode("div",oq,e.toDisplayString((ga=(fa=(Va=l.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.dgo)==null?void 0:ga.sailingCons),1)]),e.createElementVNode("div",lq,[aq,e.createElementVNode("div",nq,e.toDisplayString((xa=(ba=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:ba.fo)==null?void 0:xa.actualCons),1),e.createElementVNode("div",sq,e.toDisplayString((ka=(Sa=(Ca=l.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.dgo)==null?void 0:ka.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",iq,[cq,e.createElementVNode("div",dq,e.toDisplayString((wa=(Aa=(Ba=l.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:Aa.fo)==null?void 0:wa.portCons),1),e.createElementVNode("div",rq,e.toDisplayString((Fa=(Oa=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Oa.dgo)==null?void 0:Fa.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",mq,[pq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((La=(Wa=(Pa=l.extraData)==null?void 0:Pa.consAnalysis)==null?void 0:Wa.fo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ma=(Ha=(ua=l.extraData)==null?void 0:ua.consAnalysis)==null?void 0:Ha.fo)==null?void 0:Ma.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ia=($a=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Ia.totalExtraCons)} flex blue center`)},e.toDisplayString((Ua=(za=(Ra=l.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.dgo)==null?void 0:Ua.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(x,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[8]||(s[8]=ae=>l.advisory=ae),height:"320px",onBlur:s[9]||(s[9]=ae=>a.handleCommit("comments","comments",ae))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[10]||(s[10]=(...ae)=>a.decideDisable&&a.decideDisable(...ae)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,hq))],2)])}const wn=ke(Wz,[["render",_q],["__scopeId","data-v-77edf8aa"]]),Eq={install(t){t.component("DeviationReport",An),t.component("FliDeviationReport",wn)}},Ele="",yq={name:"OrmStoppage",components:{IdmBrand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0s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aFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm[Z]"){return t?`${G(t).utc().format(s)}`:""}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,s=3){return t==="-"?"-":ie.roundPrecision(t,s)}}}},Eo=t=>(e.pushScopeId("data-v-41122d35"),t=t(),e.popScopeId(),t),Nq={class:"stoppage-report"},Vq={class:"report-summary"},fq={class:"summary-item"},gq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),Dq={class:"flexL gray"},bq={class:"summary-item"},xq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),Cq={class:"flexL gray"},Sq={class:"summary-item"},kq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),Bq={class:"flexL gray"},Aq={class:"summary-item"},wq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),Tq={class:"flexL gray"},Oq={class:"summary-item"},Fq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),Pq={class:"flexL gray",style:{display:"flex"}},Wq={class:"flex"},Lq={class:"flexM"},uq={class:"summary-item"},Hq=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),Mq={class:"flexL gray",style:{display:"flex"}},Gq={class:"flex"},$q={class:"flexM"},Iq=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),Rq={class:"report-summary"},zq={class:"summary-item"},Uq=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),Yq={class:"summary-item"},Zq=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),Qq={class:"summary-item"},Jq=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),qq=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),Kq={class:"report-table"},jq=Eo(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2},"Stoppage"),e.createElementVNode("th",{rowspan:2},"Position"),e.createElementVNode("th",{rowspan:2},"Date"),e.createElementVNode("th",{colspan:2},"BROB (mt)"),e.createElementVNode("th",{rowspan:2},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Xq=Eo(()=>e.createElementVNode("td",null,"Stopped",-1)),vq={rowspan:2},eK={rowspan:2},tK={rowspan:2},oK=Eo(()=>e.createElementVNode("td",null,"Resumed",-1)),lK={class:"report-map flex-center"},aK=["src"];function nK(t,s,o,c,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce;const _=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Nq,[e.createVNode(_,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",Vq,[e.createElementVNode("div",fq,[gq,e.createElementVNode("div",Dq,e.toDisplayString((E=(i=o.report)==null?void 0:i.vessel)==null?void 0:E.name),1)]),e.createElementVNode("div",bq,[xq,e.createElementVNode("div",Cq,e.toDisplayString((b=o.report)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",Sq,[kq,e.createElementVNode("div",Bq,e.toDisplayString((y=(x=o.report)==null?void 0:x.vessel)==null?void 0:y.type),1)]),e.createElementVNode("div",Aq,[wq,e.createElementVNode("div",Tq,e.toDisplayString((B=(g=o.report)==null?void 0:g.voyage)==null?void 0:B.number),1)]),e.createElementVNode("div",Oq,[Fq,e.createElementVNode("div",Pq,[e.createElementVNode("span",Wq,e.toDisplayString((S=(r=o.report)==null?void 0:r.departure)==null?void 0:S.name),1),e.createElementVNode("span",Lq,e.toDisplayString(a.computeUTCTime(((O=(C=o.report)==null?void 0:C.departure)==null?void 0:O.atd)||((w=(L=o.report)==null?void 0:L.departure)==null?void 0:w.etd))),1)])]),e.createElementVNode("div",uq,[Hq,e.createElementVNode("div",Mq,[e.createElementVNode("span",Gq,e.toDisplayString((D=(T=o.report)==null?void 0:T.arrival)==null?void 0:D.name),1),e.createElementVNode("span",$q,e.toDisplayString(a.computeUTCTime(((Y=(W=o.report)==null?void 0:W.arrival)==null?void 0:Y.ata)||((I=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:I.eta))),1)])])]),Iq,e.createElementVNode("div",Rq,[e.createElementVNode("div",zq,[Uq,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((P=o.report)==null?void 0:P.totalTime))},e.toDisplayString(((V=o.report)==null?void 0:V.totalTime)??"—"),5)]),e.createElementVNode("div",Yq,[Zq,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle(($=o.report)==null?void 0:$.totalFoCons))},e.toDisplayString(((M=o.report)==null?void 0:M.totalFoCons)??"—"),5)]),e.createElementVNode("div",Qq,[Jq,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((u=o.report)==null?void 0:u.totalDgoCons))},e.toDisplayString(((H=o.report)==null?void 0:H.totalDgoCons)??"—"),5)])]),qq,e.createElementVNode("div",Kq,[e.createElementVNode("table",null,[jq,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[Xq,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((Q=o.report)==null?void 0:Q.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((j=o.report)==null?void 0:j.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((K=o.report)==null?void 0:K.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((N=o.report)==null?void 0:N.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((R=o.report)==null?void 0:R.stopDgoBrob)??"-")),1),e.createElementVNode("td",vq,e.toDisplayString(a.computeRoundPrecision(((q=o.report)==null?void 0:q.totalTime)??"-")),1),e.createElementVNode("td",eK,e.toDisplayString(a.computeRoundPrecision(((n=o.report)==null?void 0:n.totalFoCons)??"-")),1),e.createElementVNode("td",tK,e.toDisplayString(a.computeRoundPrecision(((X=o.report)==null?void 0:X.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[oK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((d=o.report)==null?void 0:d.resumeLat).pretty)+" / "+e.toDisplayString(a.computeLng((v=o.report)==null?void 0:v.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((te=o.report)==null?void 0:te.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((oe=o.report)==null?void 0:oe.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((se=o.report)==null?void 0:se.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",lK,[e.createElementVNode("img",{src:(ce=o.report)==null?void 0:ce.chartUrl,alt:""},null,8,aK)])])}const Tn=ke(yq,[["render",nK],["__scopeId","data-v-41122d35"]]),sK={install(t){t.component("StoppageReport",Tn)}},yle="",iK={name:"OrmComparison",components:{Editor:Zo,IdmBrand:_o},props:{report:{type:Object,default:()=>({})}},emits:["commit","refresh"],data(){return{advisory:void 0,id:void 0,editable:!1}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${G(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ie.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let o="";return t>0?s==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:s==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(){var t,s;(t=this.report)!=null&&t.id&&(this.advisory=((s=this.report)==null?void 0:s.comments)||"")},immediate:!0}},methods:{async handleCommit(t,s){this.editable=!1,this.advisory=s,this.$emit("commit",{key:t,value:s})}}},qe=t=>(e.pushScopeId("data-v-7d3d9d3b"),t=t(),e.popScopeId(),t),cK={class:"comparison-report"},dK={class:"report-summary"},rK={class:"summary-item"},mK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),pK={class:"flexL gray"},hK={class:"summary-item"},_K=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),EK={class:"flexL gray"},yK={class:"summary-item"},NK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),VK={class:"flexL gray"},fK={class:"summary-item"},gK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),DK={class:"flexL gray"},bK={class:"summary-item"},xK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),CK={class:"flexL gray"},SK={class:"summary-item"},kK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),BK={class:"flexL gray",style:{display:"flex"}},AK={class:"flex"},wK={class:"flexM"},TK={class:"summary-item"},OK=qe(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),FK={class:"flexL gray",style:{display:"flex"}},PK={class:"flex"},WK={class:"flexM"},LK=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),uK={class:"report-summary"},HK={class:"summary-item"},MK=qe(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),GK={class:"summary-item"},$K=qe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),IK={class:"summary-item"},RK=qe(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),zK=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),UK={class:"report-map"},YK=["src"],ZK=e.createStaticVNode('<div class="legend" data-v-7d3d9d3b><div class="legend-item" data-v-7d3d9d3b><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-7d3d9d3b></div><div data-v-7d3d9d3b>Actual Route</div></div><div class="legend-item" data-v-7d3d9d3b><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-7d3d9d3b></div><div data-v-7d3d9d3b>Recommended Route</div></div></div>',1),QK={key:0,class:"subtitle"},JK={key:1,class:"report-summary"},qK={class:"summary-item"},KK=qe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),jK={class:"flexL blue center"},XK={class:"summary-item"},vK=qe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),ej={class:"flexL blue center"},tj={class:"summary-item"},oj=qe(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),lj={class:"flexL blue center"},aj=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),nj={class:"report-summary"},sj=qe(()=>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)),ij={class:"summary-item"},cj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),dj={class:"flex blue-light center"},rj={class:"flex blue-light center"},mj={class:"summary-item"},pj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),hj={class:"flex blue-light center"},_j={class:"flex blue-light center"},Ej={class:"summary-item"},yj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Nj={class:"flex blue-light center"},Vj={class:"flex blue-light center"},fj={class:"summary-item"},gj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Dj={class:"flex blue-light center"},bj={class:"flex blue-light center"},xj={class:"summary-item"},Cj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),Sj={class:"flex blue-light center"},kj={class:"flex blue-light center"},Bj={class:"summary-item"},Aj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),wj={class:"flex blue-light center"},Tj={class:"flex blue-light center"},Oj={class:"summary-item"},Fj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Pj={class:"flex blue-light center italic"},Wj=qe(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Lj={class:"report-summary"},uj=qe(()=>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)),Hj={class:"summary-item"},Mj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Gj={class:"flex blue-light center"},$j={class:"flex blue-light center"},Ij={class:"summary-item"},Rj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),zj={class:"flex blue-light center"},Uj={class:"flex blue-light center"},Yj={class:"summary-item"},Zj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),Qj={class:"flex blue-light center"},Jj={class:"flex blue-light center"},qj={class:"summary-item"},Kj=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),jj={class:"flex blue-light center"},Xj={class:"flex blue-light center"},vj={class:"summary-item"},eX=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),tX={class:"flex blue-light center italic"},oX={class:"summary-item"},lX=qe(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),aX={class:"flex blue-light center italic"},nX=["innerHTML"];function sX(t,s,o,c,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",cK,[e.createVNode(_,{name:"Voyage Comparison Report"}),e.createElementVNode("div",dK,[e.createElementVNode("div",rK,[mK,e.createElementVNode("div",pK,e.toDisplayString((b=(E=o.report)==null?void 0:E.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",hK,[_K,e.createElementVNode("div",EK,e.toDisplayString((x=o.report)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",yK,[NK,e.createElementVNode("div",VK,e.toDisplayString((g=(y=o.report)==null?void 0:y.vessel)==null?void 0:g.type),1)]),e.createElementVNode("div",fK,[gK,e.createElementVNode("div",DK,e.toDisplayString((r=(B=o.report)==null?void 0:B.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",bK,[xK,e.createElementVNode("div",CK,e.toDisplayString((C=(S=o.report)==null?void 0:S.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",SK,[kK,e.createElementVNode("div",BK,[e.createElementVNode("span",AK,e.toDisplayString((L=(O=o.report)==null?void 0:O.departure)==null?void 0:L.name),1),e.createElementVNode("span",wK,e.toDisplayString(a.computeUTCTime(((T=(w=o.report)==null?void 0:w.departure)==null?void 0:T.atd)||((W=(D=o.report)==null?void 0:D.departure)==null?void 0:W.etd))),1)])]),e.createElementVNode("div",TK,[OK,e.createElementVNode("div",FK,[e.createElementVNode("span",PK,e.toDisplayString((Z=(Y=o.report)==null?void 0:Y.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",WK,e.toDisplayString(a.computeUTCTime(((P=(I=o.report)==null?void 0:I.arrival)==null?void 0:P.ata)||(($=(V=o.report)==null?void 0:V.arrival)==null?void 0:$.eta))),1)])])]),LK,e.createElementVNode("div",uK,[e.createElementVNode("div",HK,[MK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=o.report)==null?void 0:M.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((u=o.report)==null?void 0:u.diffTime,"time")),3)]),e.createElementVNode("div",GK,[$K,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=o.report)==null?void 0:H.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((Q=o.report)==null?void 0:Q.diffFoCons,"oil")),3)]),e.createElementVNode("div",IK,[RK,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=o.report)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((K=o.report)==null?void 0:K.diffDgoCons,"oil")),3)])]),zK,e.createElementVNode("div",UK,[e.createElementVNode("img",{style:{width:"100%"},src:(N=o.report)==null?void 0:N.chartUrl,alt:""},null,8,YK),ZK]),(R=o.report)!=null&&R.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",QK,"CP Terms")),(q=o.report)!=null&&q.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",JK,[e.createElementVNode("div",qK,[KK,e.createElementVNode("div",jK,e.toDisplayString(((X=(n=o.report)==null?void 0:n.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",XK,[vK,e.createElementVNode("div",ej,e.toDisplayString(((v=(d=o.report)==null?void 0:d.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",tj,[oj,e.createElementVNode("div",lj,e.toDisplayString(((oe=(te=o.report)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),aj,e.createElementVNode("div",nj,[sj,e.createElementVNode("div",ij,[cj,e.createElementVNode("div",dj,e.toDisplayString(((se=o.report)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",rj,e.toDisplayString(((ce=o.report)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",mj,[pj,e.createElementVNode("div",hj,e.toDisplayString(((de=o.report)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",_j,e.toDisplayString(((re=o.report)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",Ej,[yj,e.createElementVNode("div",Nj,e.toDisplayString(((ye=o.report)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",Vj,e.toDisplayString(((le=o.report)==null?void 0:le.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",fj,[gj,e.createElementVNode("div",Dj,e.toDisplayString(((_e=o.report)==null?void 0:_e.actualAvgCF)??"—"),1),e.createElementVNode("div",bj,e.toDisplayString(((Ne=o.report)==null?void 0:Ne.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",xj,[Cj,e.createElementVNode("div",Sj,e.toDisplayString(((Ve=o.report)==null?void 0:Ve.actualAvgWF)??"—"),1),e.createElementVNode("div",kj,e.toDisplayString(((fe=o.report)==null?void 0:fe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Bj,[Aj,e.createElementVNode("div",wj,e.toDisplayString(((ge=o.report)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",Tj,e.toDisplayString(((De=o.report)==null?void 0:De.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Oj,[Fj,e.createElementVNode("div",Pj,e.toDisplayString(a.compareTime((be=o.report)==null?void 0:be.actualTime,(xe=o.report)==null?void 0:xe.recmdTime)),1)])]),Wj,e.createElementVNode("div",Lj,[uj,e.createElementVNode("div",Hj,[Mj,e.createElementVNode("div",Gj,e.toDisplayString(((Ce=o.report)==null?void 0:Ce.actualAvgFoCons)??"-"),1),e.createElementVNode("div",$j,e.toDisplayString(((Se=o.report)==null?void 0:Se.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Ij,[Rj,e.createElementVNode("div",zj,e.toDisplayString(((Oe=o.report)==null?void 0:Oe.actualFoCons)??"-"),1),e.createElementVNode("div",Uj,e.toDisplayString(((Fe=o.report)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Yj,[Zj,e.createElementVNode("div",Qj,e.toDisplayString(((Ee=o.report)==null?void 0:Ee.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",Jj,e.toDisplayString(((F=o.report)==null?void 0:F.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",qj,[Kj,e.createElementVNode("div",jj,e.toDisplayString(((me=o.report)==null?void 0:me.actualDgoCons)??"-"),1),e.createElementVNode("div",Xj,e.toDisplayString(((Pe=o.report)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",vj,[eX,e.createElementVNode("div",tX,e.toDisplayString(((We=o.report)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",oX,[lX,e.createElementVNode("div",aX,e.toDisplayString(((Le=o.report)==null?void 0:Le.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${a.computeBlankHtml(l.advisory)?"print-hidden":""}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${a.computeBlankHtml(l.advisory)?"print-hidden":""}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>l.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>a.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=pe=>l.editable=!l.editable),innerHTML:a.computeBlankHtml(l.advisory)?"Please double click to modify remark":l.advisory},null,40,nX))],2)])}const On=ke(iK,[["render",sX],["__scopeId","data-v-7d3d9d3b"]]),Nle="",iX={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Zo},data(){return{logSrc2:new URL("data:image/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KangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,s="MMM-DD/HHmm"){return t?`${G(t).utc().format(s)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,s){return t&&s?ie.roundPrecision(t-s):"-"}},computeSummary(){return function(t,s){if(t===0)return"No difference";let o="";return t>0?s==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:s==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,s;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(s=this.data)==null?void 0:s.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,s){this.editable=!1;const o={[t]:s};await ja.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=s}}},$e=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),cX={class:"comparison-report"},dX=$e(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),rX={class:"report-header"},mX={class:"header-title",style:{position:"relative !important"}},pX={class:"header-title-content"},hX=$e(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),_X={class:"title-date"},EX={class:"report-summary"},yX={class:"summary-item"},NX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),VX={class:"flexL gray"},fX={class:"summary-item"},gX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),DX={class:"flexL gray"},bX={class:"summary-item"},xX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),CX={class:"flexL gray"},SX={class:"summary-item"},kX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),BX={class:"flexL gray"},AX={class:"summary-item"},wX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),TX={class:"flexL gray"},OX={class:"summary-item"},FX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),PX={class:"flexL gray",style:{display:"flex"}},WX={class:"flex"},LX={class:"flexM"},uX={class:"summary-item"},HX=$e(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),MX={class:"flexL gray",style:{display:"flex"}},GX={class:"flex"},$X={class:"flexM"},IX=$e(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),RX={class:"report-summary"},zX={class:"summary-item"},UX=$e(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),YX={class:"summary-item"},ZX=$e(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),QX={class:"summary-item"},JX=$e(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),qX=$e(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),KX={class:"report-map"},jX=["src"],XX=e.createStaticVNode('<div class="legend" data-v-b2f57055><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-b2f57055></div><div data-v-b2f57055>Actual Route</div></div><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-b2f57055></div><div data-v-b2f57055>Ocean π Recommended Route</div></div></div>',1),vX=$e(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),ev={key:0,class:"subtitle"},tv={key:1,class:"report-summary"},ov={class:"summary-item"},lv=$e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),av={class:"flexL blue center"},nv={class:"summary-item"},sv=$e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),iv={class:"flexL blue center"},cv={class:"summary-item"},dv=$e(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),rv={class:"flexL blue center"},mv=$e(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),pv={class:"report-summary"},hv=$e(()=>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)),_v={class:"summary-item"},Ev=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),yv={class:"flex blue-light center"},Nv={class:"flex blue-light center"},Vv={class:"summary-item"},fv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),gv={class:"flex blue-light center"},Dv={class:"flex blue-light center"},bv={class:"summary-item"},xv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Cv={class:"flex blue-light center"},Sv={class:"flex blue-light center"},kv={class:"summary-item"},Bv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Av={class:"flex blue-light center"},wv={class:"flex blue-light center"},Tv={class:"summary-item"},Ov=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),Fv={class:"flex blue-light center"},Pv={class:"flex blue-light center"},Wv={class:"summary-item"},Lv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),uv={class:"flex blue-light center"},Hv={class:"flex blue-light center"},Mv={class:"summary-item"},Gv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),$v={class:"flex blue-light center italic"},Iv=$e(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Rv={class:"report-summary"},zv=$e(()=>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)),Uv={class:"summary-item"},Yv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Zv={class:"flex blue-light center"},Qv={class:"flex blue-light center"},Jv={class:"summary-item"},qv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Kv={class:"flex blue-light center"},jv={class:"flex blue-light center"},Xv={class:"summary-item"},vv=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),eee={class:"flex blue-light center"},tee={class:"flex blue-light center"},oee={class:"summary-item"},lee=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),aee={class:"flex blue-light center"},nee={class:"flex blue-light center"},see={class:"summary-item"},iee=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),cee={class:"flex blue-light center italic"},dee={class:"summary-item"},ree=$e(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),mee={class:"flex blue-light center italic"},pee=["innerHTML"];function hee(t,s,o,c,l,a){var i,E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P,V,$,M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se,Oe,Fe,Ee,F,me,Pe,We,Le;const _=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",cX,[dX,e.createElementVNode("div",rX,[e.createElementVNode("div",mX,[e.createElementVNode("div",pX,[hX,e.createElementVNode("div",_X,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",EX,[e.createElementVNode("div",yX,[NX,e.createElementVNode("div",VX,e.toDisplayString((b=(E=l.comparisonData)==null?void 0:E.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",fX,[gX,e.createElementVNode("div",DX,e.toDisplayString((x=l.comparisonData)==null?void 0:x.preparedFor),1)]),e.createElementVNode("div",bX,[xX,e.createElementVNode("div",CX,e.toDisplayString((g=(y=l.comparisonData)==null?void 0:y.vessel)==null?void 0:g.type),1)]),e.createElementVNode("div",SX,[kX,e.createElementVNode("div",BX,e.toDisplayString((r=(B=l.comparisonData)==null?void 0:B.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",AX,[wX,e.createElementVNode("div",TX,e.toDisplayString((C=(S=l.comparisonData)==null?void 0:S.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",OX,[FX,e.createElementVNode("div",PX,[e.createElementVNode("span",WX,e.toDisplayString((L=(O=l.comparisonData)==null?void 0:O.departure)==null?void 0:L.name),1),e.createElementVNode("span",LX,e.toDisplayString(a.computeUTCTime(((T=(w=l.comparisonData)==null?void 0:w.departure)==null?void 0:T.atd)||((W=(D=l.comparisonData)==null?void 0:D.departure)==null?void 0:W.etd))),1)])]),e.createElementVNode("div",uX,[HX,e.createElementVNode("div",MX,[e.createElementVNode("span",GX,e.toDisplayString((Z=(Y=l.comparisonData)==null?void 0:Y.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",$X,e.toDisplayString(a.computeUTCTime(((P=(I=l.comparisonData)==null?void 0:I.arrival)==null?void 0:P.ata)||(($=(V=l.comparisonData)==null?void 0:V.arrival)==null?void 0:$.eta))),1)])])]),IX,e.createElementVNode("div",RX,[e.createElementVNode("div",zX,[UX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=l.comparisonData)==null?void 0:M.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((u=l.comparisonData)==null?void 0:u.diffTime,"time")),3)]),e.createElementVNode("div",YX,[ZX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((Q=l.comparisonData)==null?void 0:Q.diffFoCons,"oil")),3)]),e.createElementVNode("div",QX,[JX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=l.comparisonData)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffDgoCons,"oil")),3)])]),qX,e.createElementVNode("div",KX,[e.createElementVNode("img",{style:{width:"100%"},src:(N=l.comparisonData)==null?void 0:N.chartUrl,alt:""},null,8,jX),XX]),vX,(R=l.comparisonData)!=null&&R.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ev,"CP Terms")),(q=l.comparisonData)!=null&&q.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tv,[e.createElementVNode("div",ov,[lv,e.createElementVNode("div",av,e.toDisplayString(((X=(n=l.comparisonData)==null?void 0:n.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",nv,[sv,e.createElementVNode("div",iv,e.toDisplayString(((v=(d=l.comparisonData)==null?void 0:d.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",cv,[dv,e.createElementVNode("div",rv,e.toDisplayString(((oe=(te=l.comparisonData)==null?void 0:te.cp)==null?void 0:oe.dgo)??"—"),1)])])),mv,e.createElementVNode("div",pv,[hv,e.createElementVNode("div",_v,[Ev,e.createElementVNode("div",yv,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",Nv,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",Vv,[fv,e.createElementVNode("div",gv,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",Dv,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",bv,[xv,e.createElementVNode("div",Cv,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.actualAvgSpd)??"—"),1),e.createElementVNode("div",Sv,e.toDisplayString(((le=l.comparisonData)==null?void 0:le.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",kv,[Bv,e.createElementVNode("div",Av,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.actualAvgCF)??"—"),1),e.createElementVNode("div",wv,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Tv,[Ov,e.createElementVNode("div",Fv,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.actualAvgWF)??"—"),1),e.createElementVNode("div",Pv,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Wv,[Lv,e.createElementVNode("div",uv,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",Hv,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Mv,[Gv,e.createElementVNode("div",$v,e.toDisplayString(a.compareTime((be=l.comparisonData)==null?void 0:be.actualTime,(xe=l.comparisonData)==null?void 0:xe.recmdTime)),1)])]),Iv,e.createElementVNode("div",Rv,[zv,e.createElementVNode("div",Uv,[Yv,e.createElementVNode("div",Zv,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Qv,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Jv,[qv,e.createElementVNode("div",Kv,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.actualFoCons)??"-"),1),e.createElementVNode("div",jv,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Xv,[vv,e.createElementVNode("div",eee,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",tee,e.toDisplayString(((F=l.comparisonData)==null?void 0:F.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",oee,[lee,e.createElementVNode("div",aee,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.actualDgoCons)??"-"),1),e.createElementVNode("div",nee,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",see,[iee,e.createElementVNode("div",cee,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",dee,[ree,e.createElementVNode("div",mee,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.advisory,"onUpdate:modelValue":s[0]||(s[0]=pe=>l.advisory=pe),height:"320px",onBlur:s[1]||(s[1]=pe=>a.handleCommit("comments",pe))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:s[2]||(s[2]=(...pe)=>a.decideDisable&&a.decideDisable(...pe)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,pee))],2)])}const Fn=ke(iX,[["render",hee],["__scopeId","data-v-b2f57055"]]),_ee={install(t){t.component("OrmComparisonReport",On),t.component("FliComparisonReport",Fn)}},Eee={install(t){t.component("IdmBrand",_o),t.component("IdmThird",on)}},Vle="",fle="",yee={name:"QuotaReport",components:{Brand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){gl.accessToken=this.mapboxToken,this.map=new gl.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}})}}},Pn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),Nee={class:"quota-report"},Vee=Pn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),fee={class:"section quota-section"},gee=Pn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Dee={class:"label"},bee={class:"label"},xee=["innerHTML"],Cee=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function See(t,s,o,c,l,a){const _=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Nee,[e.createVNode(_,{name:"Quotation Sheet"}),Vee,e.createElementVNode("div",fee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[gee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,E)=>(e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",Dee,e.toDisplayString(i.rank),1),e.createElementVNode("td",bee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[E][b-1]||""},null,8,xee))),128))]))),128))])]),Cee])])}const Wn=ke(yee,[["render",See],["__scopeId","data-v-f3647134"]]),gle="",kee={name:"QuotaReport",components:{Brand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){gl.accessToken=this.mapboxToken,this.map=new gl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Ln=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),Bee={class:"quota-report"},Aee=Ln(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),wee={class:"section quota-section"},Tee=Ln(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Oee={class:"label"},Fee={class:"label"},Pee=["innerHTML"],Wee=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function Lee(t,s,o,c,l,a){const _=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Bee,[e.createVNode(_,{name:"Quotation Sheet"}),Aee,e.createElementVNode("div",wee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Tee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,E)=>(e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",Oee,e.toDisplayString(i.rank),1),e.createElementVNode("td",Fee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[E][b-1]||""},null,8,Pee))),128))]))),128))])]),Wee])])}const un=ke(kee,[["render",Lee],["__scopeId","data-v-e3ab3a93"]]),Dle="",uee={name:"QuotaReport",components:{Brand:_o},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){gl.accessToken=this.mapboxToken,this.map=new gl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Hn=t=>(e.pushScopeId("data-v-fecdf217"),t=t(),e.popScopeId(),t),Hee={class:"quota-report"},Mee=Hn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Gee={class:"section quota-section"},$ee=Hn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Iee={class:"label"},Ree={class:"label"},zee=["innerHTML"],Uee=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function Yee(t,s,o,c,l,a){const _=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Hee,[e.createVNode(_,{name:"Quotation Sheet for TONGLI"}),Mee,e.createElementVNode("div",Gee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[$ee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,E)=>(e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",Iee,e.toDisplayString(i.rank),1),e.createElementVNode("td",Ree,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[E][b-1]||""},null,8,zee))),128))]))),128))])]),Uee])])}const Mn=ke(uee,[["render",Yee],["__scopeId","data-v-fecdf217"]]),Zee={install(t){t.component("OrmQuoteReport",Wn),t.component("OrmQuoteReport4SEOA",un),t.component("OrmQuoteReport4TongLi",Mn)}},ble="",Qee={name:"PrecipitationReport",components:{IdmBrand:_o,IdmLoading:tn},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,s,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const c of(s=this.report)==null?void 0:s.rows)this.computeForm(c);this.form=(o=this.report)==null?void 0:o.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,s=8,o="MMM-DD/HHmm[LT]"){return`${G(t).utcOffset(s).format(o)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,s=4){if(typeof t=="number"){const o=Number("1".padEnd(s+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,s){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return s||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,_,i,E,b,x;const s=ie.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=s;const o={};for(let y=0;y<((l=t==null?void 0:t.extend)==null?void 0:l.length);y++){const g=t==null?void 0:t.extend[y];if(y===0)g.precip.pacc=0;else{const B=G(g.utc).utcOffset(s),r=(a=g.precip)==null?void 0:a.acc;if(g.precip.pacc=r,r>0){const S=o[B.format("MMM-DD")],C=Math.floor(B.get("hour")/6);S?(S.pacc=this.roundPrecision(S.pacc+r,1),S[`${C}`]?S[`${C}`]+=r:(S[`${C}`]=r,S.colspan+=1)):(o[B.format("MMM-DD")]={pacc:r,colspan:1},o[B.format("MMM-DD")][`${C}`]=r)}}}t.paccInDays=o;let c=0;for(const y of Object.keys(o))c+=(_=o[y])==null?void 0:_.colspan,o[y].level=((i=o[y])==null?void 0:i.pacc)<10?"Light":((E=o[y])==null?void 0:E.pacc)<24.9?"Moderate":((b=o[y])==null?void 0:b.pacc)<49.9?"Heavy":((x=o[y])==null?void 0:x.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=c,t}}},methods:{initEchart(){var t,s;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Nl.init(this.$refs.echart)));const o=[],c=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(s=(t=this.form)==null?void 0:t.extend)==null||s.forEach(i=>{var b,x,y,g,B,r,S,C,O,L,w,T,D,W;const E=G(i.utc).utcOffset((b=this.form)==null?void 0:b.localTZ).format("MMM-DD/HHmm[LT]");o.push(E),a=((y=(x=i.wave)==null?void 0:x.sig)==null?void 0:y.height)>a?(B=(g=i.wave)==null?void 0:g.sig)==null?void 0:B.height:a,c.push([E,(r=i.wind)==null?void 0:r.kts,(S=i.gusts)==null?void 0:S.kts,(O=(C=i.wave)==null?void 0:C.sig)==null?void 0:O.height,(L=i.wind)==null?void 0:L.direction,(w=i.wind)==null?void 0:w.degree,(T=i.wind)==null?void 0:T.scale,(D=i.current)==null?void 0:D.kts,(W=i.precip)==null?void 0:W.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const _={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:o}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:a,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:c,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:c,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:c,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:c,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:c,z:2}]};this.echart.setOption(_)}},async initMap(){this.version==="Pretty"&&!this.map&&(gl.accessToken=this.mapboxToken,this.map=new gl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const s of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:s.name,rank:s.rank},geometry:{type:"Point",coordinates:[s.lng,s.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var s;(s=this.map)==null||s.flyTo({center:[t.lng,t.lat],zoom:8})}}},ut=t=>(e.pushScopeId("data-v-7f473a9c"),t=t(),e.popScopeId(),t),Jee={class:"precipitation-report"},qee={class:"section area-section"},Kee={class:"area-block"},jee={class:"area-header flex-space"},Xee={class:"flex-start"},vee=["onClick"],ete={class:"flex-end"},tte={class:"area-body"},ote=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-7f473a9c>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-7f473a9c><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-7f473a9c>Heavy Rainstorm (&gt;100mm)</div></div>',2),lte={class:"flex-evenly"},ate={key:0},nte=["colspan"],ste=["colspan"],ite={style:{"font-size":"10px"}},cte={key:0},dte={key:1},rte={key:2},mte={key:3},pte={key:0},hte={key:1,style:{"font-size":"14px"}},_te=ut(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Ete={class:"section echart-section"},yte={ref:"echart",class:"echart"},Nte={class:"section sample-section"},Vte=ut(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),fte=["colspan"],gte=ut(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Dte=ut(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),bte=ut(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),xte=ut(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Cte=ut(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Ste=ut(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),kte={key:0},Bte={key:1},Ate=ut(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),wte=ut(()=>e.createElementVNode("th",null,"Dir",-1)),Tte=ut(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ote=ut(()=>e.createElementVNode("th",null,"BF",-1)),Fte=ut(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Pte=ut(()=>e.createElementVNode("th",null,"Dir",-1)),Wte=ut(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Lte=ut(()=>e.createElementVNode("th",null,"Prd (s)",-1)),ute=ut(()=>e.createElementVNode("th",null,"Dir",-1)),Hte=ut(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Mte=ut(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Gte=ut(()=>e.createElementVNode("th",null,"°C",-1)),$te={width:"120px"},Ite={key:0},Rte={key:1},zte={key:0,class:"degree-box"},Ute={key:1},Yte={key:0,class:"degree-box"},Zte={key:1},Qte={key:0,class:"degree-box"},Jte={key:1},qte={class:"section area-section"},Kte={class:"area-block"},jte={class:"area-header flex-end"},Xte={class:"flex-end"},vte={class:"area-body"},eoe=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-7f473a9c>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-7f473a9c><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-7f473a9c>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-7f473a9c>Heavy Rainstorm (&gt;100mm)</div></div>',2),toe=["colspan"],ooe=["colspan"],loe={style:{"font-size":"10px"}},aoe={key:0},noe={key:1},soe={key:2},ioe={key:3},coe={key:1,style:{"font-size":"14px"}},doe={key:0};function roe(t,s,o,c,l,a){var E,b,x,y,g,B,r,S,C,O,L,w,T,D,W,Y,Z,I,P;const _=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",Jee,[e.createVNode(_,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,onTimeout:s[0]||(s[0]=V=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",qee,[e.createElementVNode("div",Kee,[e.createElementVNode("div",jee,[e.createElementVNode("div",Xee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=o.report)==null?void 0:E.rows,(V,$)=>(e.openBlock(),e.createElementBlock("div",{key:$,class:e.normalizeClass(l.index===$?"header-item active":"header-item"),onClick:M=>{var u;return l.index=$,l.form=(u=o.report)==null?void 0:u.rows[l.index]}},e.toDisplayString(V.rank)+". "+e.toDisplayString(V.name),11,vee))),128))]),e.createElementVNode("div",ete,[e.createElementVNode("div",{class:"header-item",onClick:s[1]||(s[1]=V=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",tte,[ote,e.createElementVNode("div",lte,[l.form?(e.openBlock(),e.createElementBlock("table",ate,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:l.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((b=l.form)==null?void 0:b.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((x=l.form)==null?void 0:x.name)+" ("+e.toDisplayString(a.computeLat((y=l.form)==null?void 0:y.lat).pretty)+" / "+e.toDisplayString(a.computeLng((g=l.form)==null?void 0:g.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((r=(B=l.form)==null?void 0:B.extend)==null?void 0:r[0].utc,(S=l.form)==null?void 0:S.localTZ))+" to "+e.toDisplayString(a.computeLTime((O=(C=l.form)==null?void 0:C.extend)==null?void 0:O.at(-1).utc,(L=l.form)==null?void 0:L.localTZ))+", "+e.toDisplayString(a.computeTZ((w=l.form)==null?void 0:w.localTZ))+")",1)],8,nte)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((T=l.form)==null?void 0:T.paccInDays),(V,$)=>{var M;return e.openBlock(),e.createElementBlock("th",{key:$,colspan:l.form.paccInDays[V].colspan,class:e.normalizeClass((M=l.form.paccInDays[V])==null?void 0:M.level)},e.toDisplayString(V)+" ("+e.toDisplayString(l.form.paccInDays[V].pacc)+") ",11,ste)}),128))]),e.createElementVNode("tr",ite,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((D=l.form)==null?void 0:D.paccInDays),(V,$)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:$},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((M=l.form)==null?void 0:M.paccInDays[V]),(u,H)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:H},[u==="0"?(e.openBlock(),e.createElementBlock("th",cte,"00-06")):e.createCommentVNode("",!0),u==="1"?(e.openBlock(),e.createElementBlock("th",dte,"06-12")):e.createCommentVNode("",!0),u==="2"?(e.openBlock(),e.createElementBlock("th",rte,"12-18")):e.createCommentVNode("",!0),u==="3"?(e.openBlock(),e.createElementBlock("th",mte,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(Y=Object.keys((W=l.form)==null?void 0:W.paccInDays))!=null&&Y.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((Z=l.form)==null?void 0:Z.paccInDays),(V,$)=>{var M;return e.openBlock(),e.createElementBlock(e.Fragment,{key:$},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((M=l.form)==null?void 0:M.paccInDays[V]),(u,H)=>{var Q;return e.openBlock(),e.createElementBlock(e.Fragment,{key:H},[["0","1","2","3"].includes(u)?(e.openBlock(),e.createElementBlock("td",pte,e.toDisplayString(a.roundPrecision((Q=l.form)==null?void 0:Q.paccInDays[V][u],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",hte,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),_te,e.createElementVNode("div",Ete,[e.createElementVNode("div",yte,null,512)]),e.createElementVNode("div",Nte,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Vte,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,fte),gte,Dte,bte,xte,Cte,Ste]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",kte,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Bte,"Acc (mm)")):e.createCommentVNode("",!0),Ate,wte,Tte,Ote,Fte,Pte,Wte,Lte,ute,Hte,Mte,Gte])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((I=l.form)==null?void 0:I.extend,(V,$)=>{var M,u,H,Q,j,K,N,R,q,n,X,d,v,te,oe,se,ce,de,re,ye,le,_e,Ne,Ve,fe,ge,De,be,xe,Ce,Se;return e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",$te,e.toDisplayString(a.computeLTime(V.utc,(M=l.form)==null?void 0:M.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Ite,e.toDisplayString(a.roundPrecision((u=V.precip)==null?void 0:u.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Rte,e.toDisplayString((H=V.precip)==null?void 0:H.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.visibility/1852,0)),1),e.createElementVNode("td",null,[(Q=V.wind)!=null&&Q.kts?(e.openBlock(),e.createElementBlock("span",zte,[e.createTextVNode(e.toDisplayString((j=V.wind)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((K=V.wind)==null?void 0:K.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ute,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=V.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((R=V.wind)==null?void 0:R.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((q=V.gusts)==null?void 0:q.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(n=V.wave)==null?void 0:n.wd)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,[(v=(d=V.wave)==null?void 0:d.swell)!=null&&v.height?(e.openBlock(),e.createElementBlock("span",Yte,[e.createTextVNode(e.toDisplayString((oe=(te=V.wave)==null?void 0:te.swell)==null?void 0:oe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ce=(se=V.wave)==null?void 0:se.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Zte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(de=V.wave)==null?void 0:de.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((le=(ye=V.wave)==null?void 0:ye.swell)==null?void 0:le.period,1)),1),e.createElementVNode("td",null,[(Ne=(_e=V.wave)==null?void 0:_e.sig)!=null&&Ne.height?(e.openBlock(),e.createElementBlock("span",Qte,[e.createTextVNode(e.toDisplayString((fe=(Ve=V.wave)==null?void 0:Ve.sig)==null?void 0:fe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((De=(ge=V.wave)==null?void 0:ge.sig)==null?void 0:De.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Jte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((xe=(be=V.wave)==null?void 0:be.sig)==null?void 0:xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Se=(Ce=V.wave)==null?void 0:Ce.sig)==null?void 0:Se.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",qte,[e.createElementVNode("div",Kte,[e.createElementVNode("div",jte,[e.createElementVNode("div",Xte,[e.createElementVNode("div",{class:"header-item",onClick:s[2]||(s[2]=V=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",vte,[eoe,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((P=o.report)==null?void 0:P.rows,(V,$)=>{var M,u,H;return e.openBlock(),e.createElementBlock("div",{key:$,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:V.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(V==null?void 0:V.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(V==null?void 0:V.name)+" ("+e.toDisplayString(a.computeLat(V==null?void 0:V.lat).pretty)+" / "+e.toDisplayString(a.computeLng(V==null?void 0:V.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((M=V==null?void 0:V.extend)==null?void 0:M[0].utc,V==null?void 0:V.localTZ))+" to "+e.toDisplayString(a.computeLTime((u=V==null?void 0:V.extend)==null?void 0:u.at(-1).utc,V==null?void 0:V.localTZ))+", "+e.toDisplayString(a.computeTZ(V==null?void 0:V.localTZ))+")",1)],8,toe)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(V==null?void 0:V.paccInDays),(Q,j)=>{var K;return e.openBlock(),e.createElementBlock("th",{key:j,colspan:V.paccInDays[Q].colspan,class:e.normalizeClass((K=V.paccInDays[Q])==null?void 0:K.level)},e.toDisplayString(Q)+" ("+e.toDisplayString(V.paccInDays[Q].pacc)+") ",11,ooe)}),128))]),e.createElementVNode("tr",loe,[(H=Object.keys(V==null?void 0:V.paccInDays))!=null&&H.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(V==null?void 0:V.paccInDays),(Q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(V==null?void 0:V.paccInDays[Q]),(K,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[K==="0"?(e.openBlock(),e.createElementBlock("th",aoe,"00-06")):e.createCommentVNode("",!0),K==="1"?(e.openBlock(),e.createElementBlock("th",noe,"06-12")):e.createCommentVNode("",!0),K==="2"?(e.openBlock(),e.createElementBlock("th",soe,"12-18")):e.createCommentVNode("",!0),K==="3"?(e.openBlock(),e.createElementBlock("th",ioe,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",coe,"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(V==null?void 0:V.paccInDays),(Q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(V==null?void 0:V.paccInDays[Q]),(K,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[["0","1","2","3"].includes(K)?(e.openBlock(),e.createElementBlock("td",doe,e.toDisplayString(a.roundPrecision(V==null?void 0:V.paccInDays[Q][K],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Gn=ke(Qee,[["render",roe],["__scopeId","data-v-7f473a9c"]]),moe={install(t){t.component("PrecipitationReport",Gn)}},poe={install(t){t.component("IdmLoading",tn)}};ee.BrandPlugin=Eee,ee.ComparisonPlugin=_ee,ee.DeviationPlugin=Eq,ee.DeviationReport=An,ee.FliComparisonReport=Fn,ee.FliDeviationReport=wn,ee.FliInvoiceReport=kn,ee.FliPlanReport=Nn,ee.FliVoyageReport=Dn,ee.HurricanePlugin=hL,ee.IdmBrand=_o,ee.IdmEditor=Zo,ee.IdmEditorPlugin=xE,ee.IdmLat=va,ee.IdmLatPlugin=CE,ee.IdmLng=Xa,ee.IdmLngPlugin=SE,ee.IdmLoading=tn,ee.IdmThird=on,ee.InvoicePlugin=IH,ee.InvoiceReport=Cn,ee.LoadingPlugin=poe,ee.ORMPointReport=hn,ee.OpiPlanReport=cn,ee.OpiVoyageReport=gn,ee.OrmComparisonReport=On,ee.OrmInvoiceReport=Sn,ee.OrmPlanReport=Vn,ee.OrmQuoteReport=Wn,ee.OrmQuoteReport4SEOA=un,ee.OrmQuoteReport4TongLi=Mn,ee.OrmVoyageReport=bn,ee.PiLogo=fn,ee.PiLogoPlugin=FE,ee.PointReport=_n,ee.PointReportPlugin=Er,ee.PrecipitationReport=Gn,ee.PrecipitationReportPlugin=moe,ee.QuoteReportPlugin=Zee,ee.RouteReport=cn,ee.RouteReportPlugin=bE,ee.StoppageReport=Tn,ee.StoppageReportPlugin=sK,ee.TropicalReport=xn,ee.VoyageReportPlugin=dL,Object.defineProperty(ee,Symbol.toStringTag,{value:"Module"})});