@idmwx/idmui-report 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Voyage/src/orm/chart.vue.d.ts +1 -0
- package/dist/index.js +489 -488
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883
|
|
39
39
|
7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49
|
|
40
40
|
17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60
|
|
41
|
-
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function EE(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",mE,[(e.openBlock(),e.createElementBlock("svg",pE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},yE,8,hE)]))])}const xn=Ee(rE,[["render",EE]]),_E={install(t){t.component("PiLogo",xn)}},Ooe="",Foe="",NE={components:{Editor:Uo,IdmBrand:en},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,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",self.location).href,bgSrc:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBoAAAAvCAYAAABNJKlSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABBVSURBVHhe7d2Hd1TnnYdx/wm7m91szWart2+yfTdtW5KtySbZTeLuxA3HLU6CCzY4Y9xiwMaFEkMoBkw1TXQVhEACdaEu1NuojEZdM2oz89t773vv3HvnviI4dnBsP99znsPhcECcOULM++Gd4ZqybhGnUrMup5RVibdOt+LMOlJyoSOp7Xx7sKJ0CSlqcyvMrDUh57TNy1mzlmAFTs1uZ5rngl2ak3xNp82azGZ95Tk1uuVm1jBjlbNA2Wb1wU7VT6vq3E5mVqs6kS6e7niNvmNO1WYxq6OZXYzJkcuUVTUV6LBTpb9D6SZVFZNycIEOlGc2Ifudyvy96a3UbV/puLa9JcH2OBWP+drt7YJqV6BR2Xle3xtORW47rEb8Faq2a9p2zttwutfNzvrbmllB1GqLps1n9G06MySb8v39KLPTbhvTRdJtyNP3mlmut0H5obcc1Xpd2YOyLnsg0FqnU/7W+OqXNSdVr+o60S+vBOqTl82OB3vJ2zHVaquwv6NheVHTC2ZHnHp9rXLKclsZqEdWHu6RFZqeNzvk7wdW3aqDbs9ldqBbnvXVle4Zs/3Bnvb2plOnPJXZvk5ZvkBP7u0IFPK2x+376dpVu9vliQVatktXmyx12un2uK432uQxq1ZfS8x2BHvUabtZi9UjmW1TPRyoWR4ye13fYqetbt+zuuS2RfVdTd/Z7K0p3YNOm9y+ndmPzBrlAU33b9R3n1WD3LfB373eXlPd46s+3bd+GOxup/Xe6mSRt3WquxZqbZ3caVXr6w6nNf5uT1cjt7+quk3XKzXyzUDV8g2zl4Pd6u0l1S1WFwPdvFrfTWYvOlVZ3ejtBbcbNF2/qlLbdWYr/X3dqkK1wu1rup6vkK/6Kk/3f2Y/8Pe/3p5zKpOvZPZsmXxZ05fMnjEr9fU/3p5WfTFQieqpEvmCpv82W55ZsfyX05Nu/6krVCz/YXXB17+bfT/Yvzk9YXY+3eczW6b6nKbPLiuSzy4N9q9Oj7v9i1Wh22OF8s8L9E9LvJ2z+kdvj/r7TGaPnJNPP3JW26ceDvZJp4cKfH0is8UF8g++zqT7++8F+zun72aWL3/r7Tuqv1mgv37Q7LSvv3L6tttfZvZAntVfaPr4/fo+dn+u231uf57Zvao/s8rx9af36PsTs285ZVv9cWZ3q/5I0x8uOqXtD5zu8ndtupNy7Z2q31+g37vD2wmr33W63d/veLtN9du3HQ/2zePyWwv0UadvHPP1m95uVX0k0FH5yC1H5Tc0/brZzcF+7eYjbjepflXXjUfkV6yyAv2y2Q3+PuzterPDVr+k6Rev0/eh6w7Jh77u7xe8fc3t59MdVH31oPzcjwlo0AQ0+AMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAGoAFoABqABhXQ4AY0AA1Ag10IaAAagAagIYgMQAPQADRocMEb0AA0AA1AA9CgAhrcgAagAWiwCwENQAPQADQEkQFoABqABg0ueAMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDVcLGsyf85VnSoyK031Z05ecns7sgvE54nb32qrLtmiNWaWvu5xedbszs1cW7o6MntjRYLVsR73b9h/fUk2Pb7tMrzvVWT32FlqytVbbo1fSFtWDG6rlplWlgW5c6a3E6ganFf6uN/rc42eNz7Mz8pmHVZ9+OD/YQ/nyqQX6pNPi074+YQc0eAIaggENbkAD0KALaAAagAY7oAFoSCMD0AA0eHtnoeHW1ZXpbnF60azCatGai7J4c91lW777kqw80GK1wmy/v5cOt8nred2Btlp1WWWV9MvJikE5sUBnaqNS1TZ2xdV0jEv/yPRbKpFMCWPvtw1PzEr3UFxTLFBd57gUNUQXrKA2IrsLui/bLk8r3my6bM/va5Jn9xh/Z6+vDHTzKuNr45OF6b5g9/mlBfLxe7PTfSzdKdU9p+TaO09ogcHpmticyFhcZGhKpHdMpHNYpCUi0jCQkuqwBxmABqDBE9DgBjT4AxqABl1AA9AANAANVwINd6+tkUWalmxrlKU7mozMb91WHWyVl4+0q7LctuR2y86C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",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 n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=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`${n} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):n==="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,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(n==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(n==="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,n){return n?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let n="";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})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(n="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."),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){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,n){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,n;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(n=(t=this.reportData)==null?void 0:t.segments)==null||n.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(m=>{let i={time:O(m.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+O(m.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:m.duration,distance:m.distance,fo:m.foCons,dgo:m.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(m=>{a.push(this.computedSeg(m))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(m=>m.type!=="A"&&m.goodWx))})}}},b=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),VE=["src"],fE={class:"voyage-main"},gE={class:"main",style:{"page-break-after":"always"}},DE={class:"main-title",style:{position:"relative !important"}},bE=["src"],xE={class:"main-title-content"},CE=b(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),SE={class:"title-date"},kE={class:"main-subtitle"},BE={class:"white"},AE=b(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),wE={class:"subtitle-main"},TE=b(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),uE={class:"subtitle-main"},OE={class:"main-box"},FE={class:"main-table"},PE=b(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),LE={class:"bold"},WE=b(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),HE={class:"bold"},ME=b(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),GE={class:"bold"},IE=b(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),RE={class:"bold"},zE={style:{display:"inline-block",width:"50%"}},UE=b(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),YE={class:"bold"},ZE={style:{display:"inline-block",width:"50%"}},$E=b(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),QE={class:"tips",style:{display:"flex"}},JE={style:{color:"var(--table-note-color)"}},KE={class:"summary-table",style:{"margin-top":"5px"}},qE=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),jE={style:{width:"15%"}},XE={key:1},vE=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),e_={key:1},t_=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),o_={key:1},l_=b(()=>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)),a_=b(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),n_={class:"weather-definition"},s_={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},i_=b(()=>e.createElementVNode("div",null,"Exclusion",-1)),c_=b(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),d_={class:"remark-table"},r_=b(()=>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)),m_=["innerHTML"],p_={class:"analysis page-title"},h_={class:"analysis-title"},y_={class:"analysis-title-detail"},E_=b(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),__={class:"page-avoid"},N_={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},V_=b(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),f_=b(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),g_=b(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),D_=b(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),b_=b(()=>e.createElementVNode("tr",null,null,-1)),x_={class:"title"},C_={class:"title"},S_={class:"title"},k_={class:"title"},B_=b(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),A_={class:"page-avoid",style:{"margin-bottom":"15px"}},w_={class:"analysis-table",cellspacing:"0",cellpadding:"0"},T_=b(()=>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)),u_=b(()=>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)),O_=b(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),F_={class:"inGoodWx"},P_={class:"inGoodWx"},L_=b(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),W_={class:"inGoodWx"},H_={class:"inGoodWx"},M_=b(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),G_={class:"inGoodWx"},I_={class:"inGoodWx"},R_=b(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),z_={class:"inGoodWx"},U_={class:"inGoodWx"},Y_=b(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),Z_={class:"inGoodWx"},$_={class:"inGoodWx"},Q_=b(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),J_={class:"inGoodWx"},K_={class:"inGoodWx"},q_=b(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),j_={class:"inGoodWx"},X_={class:"inGoodWx"},v_={key:0,class:"analysis-tips"},eN={key:1,class:"analysis-definition"},tN={key:2,class:"analysis-definition"},oN=b(()=>e.createElementVNode("br",null,null,-1)),lN={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},aN=b(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),nN=b(()=>e.createElementVNode("span",null,"= ",-1)),sN={key:0},iN={key:1},cN={key:2},dN={key:3},rN={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},mN=b(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),pN=b(()=>e.createElementVNode("span",null,"=",-1)),hN={key:0},yN={key:1},EN=b(()=>e.createElementVNode("span",null,"-",-1)),_N=b(()=>e.createElementVNode("span",null,"=",-1)),NN={key:0},VN={key:1},fN={key:6,class:"tr-tips tips-color"},gN={class:"formula page-title"},DN={class:"page-avoid"},bN={class:"subtitle",style:{"margin-top":"0"}},xN={key:0},CN={class:"definition"},SN=b(()=>e.createElementVNode("br",null,null,-1)),kN=b(()=>e.createElementVNode("br",null,null,-1)),BN=b(()=>e.createElementVNode("br",null,null,-1)),AN={class:"equation"},wN=b(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),TN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uN={style:{width:"50%"},class:"fraction"},ON=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FN=b(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),PN=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),LN={class:"equation"},WN={style:{width:"35%"}},HN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),MN={style:{width:"50%"},class:"fraction"},GN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IN=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),RN={class:"equation"},zN={style:{width:"35%"}},UN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),YN={style:{width:"50%"},class:"fraction"},ZN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$N=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),QN=b(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),JN={class:"page-avoid"},KN={key:0,class:"definition",style:{margin:"15px 0"}},qN={class:"equation"},jN=b(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),XN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),vN={style:{width:"35%"},class:"fraction"},eV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),oV={style:{width:"10%","text-align":"center"}},lV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),aV={class:"equation"},nV={style:{width:"35%"}},sV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),iV={style:{width:"35%"},class:"fraction"},cV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),rV={style:{width:"10%","text-align":"center"}},mV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),pV={class:"equation"},hV={style:{width:"35%"}},yV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EV={style:{width:"35%"},class:"fraction"},_V=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),VV={style:{width:"10%","text-align":"center"}},fV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),gV=b(()=>e.createElementVNode("span",null,"=",-1)),DV=b(()=>e.createElementVNode("span",null,"=",-1)),bV=b(()=>e.createElementVNode("span",null,"=",-1)),xV=["innerHTML"],CV={class:"page-avoid"},SV={class:"subtitle page-title"},kV={key:0},BV={class:"definition",style:{"margin-bottom":"15px"}},AV=b(()=>e.createElementVNode("br",null,null,-1)),wV=b(()=>e.createElementVNode("br",null,null,-1)),TV=b(()=>e.createElementVNode("br",null,null,-1)),uV={class:"equation"},OV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),FV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),PV={style:{width:"25%"},class:"fraction"},LV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WV=b(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),HV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),MV=b(()=>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)),GV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),IV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},RV=b(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),zV={key:0},UV={class:"equation"},YV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),ZV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$V={style:{width:"25%"},class:"fraction"},QV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),JV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),KV=b(()=>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)),qV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),jV={class:"equation"},XV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),vV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ef={style:{width:"25%"},class:"fraction"},tf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),of=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),lf=b(()=>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)),af=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),nf=b(()=>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)),sf={key:0,class:"equation"},cf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),df=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),rf={style:{width:"45%"},class:"fraction"},mf=b(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),pf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hf={key:1,class:"equation"},yf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),Ef=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_f={style:{width:"45%"},class:"fraction"},Nf=b(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),Vf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff={class:"page-avoid"},gf=b(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),Df={key:0,class:"definition",style:{margin:"15px 0"}},bf={class:"equation"},xf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Cf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Sf={style:{width:"20%"},class:"fraction"},kf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Bf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Af={style:{width:"20%"},class:"fraction"},wf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Tf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uf={style:{width:"10%","text-align":"center"}},Of=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),Ff={class:"equation"},Pf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),Lf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Wf={style:{width:"20%"},class:"fraction"},Hf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Mf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Gf={style:{width:"20%"},class:"fraction"},If=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Rf=b(()=>e.createElementVNode("div",null,"24",-1)),zf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Uf={style:{width:"10%","text-align":"center"}},Yf=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),Zf={class:"equation"},$f=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Qf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Jf={style:{width:"20%"},class:"fraction"},Kf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),jf={style:{width:"20%"},class:"fraction"},Xf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vf=b(()=>e.createElementVNode("div",null,"24",-1)),e0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),t0={style:{width:"10%","text-align":"center"}},o0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),l0=b(()=>e.createElementVNode("span",null,"=",-1)),a0=b(()=>e.createElementVNode("span",null,"=",-1)),n0=b(()=>e.createElementVNode("span",null,"=",-1)),s0={key:0},i0={key:0,class:"equation"},c0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),d0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),r0={style:{width:"45%"},class:"fraction"},m0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),p0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),h0={style:{width:"10%","text-align":"center"}},y0={key:1,class:"equation"},E0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),_0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),N0={style:{width:"45%"},class:"fraction"},V0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),g0={style:{width:"10%","text-align":"center"}},D0=["innerHTML"],b0={class:"page-avoid"},x0={key:0},C0=b(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),S0={key:0,class:"definition",style:{margin:"15px 0"}},k0={class:"equation"},B0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),A0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),w0={style:{width:"20%"},class:"fraction"},T0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),O0={style:{width:"20%"},class:"fraction"},F0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),P0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),L0={style:{width:"10%","text-align":"center"}},W0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),H0={class:"equation"},M0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),G0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),I0={style:{width:"20%"},class:"fraction"},R0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),U0={style:{width:"20%"},class:"fraction"},Y0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z0=b(()=>e.createElementVNode("div",null,"24",-1)),$0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Q0={style:{width:"10%","text-align":"center"}},J0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),K0={class:"equation"},q0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),j0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),X0={style:{width:"20%"},class:"fraction"},v0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eg=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tg={style:{width:"20%"},class:"fraction"},og=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lg=b(()=>e.createElementVNode("div",null,"24",-1)),ag=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ng={style:{width:"10%","text-align":"center"}},sg=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),ig=b(()=>e.createElementVNode("span",null,"=",-1)),cg=b(()=>e.createElementVNode("span",null,"=",-1)),dg=b(()=>e.createElementVNode("span",null,"=",-1)),rg=["innerHTML"];function mg(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.referenceOnly||(h=(f=o.reportData)==null?void 0:f.weather)!=null&&h.overallAsGoodWx?"watermark":"")},[e.createVNode(m,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,VE),e.createElementVNode("div",fE,[e.createElementVNode("div",gE,[e.createElementVNode("div",DE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,bE),e.createElementVNode("div",xE,[CE,e.createElementVNode("div",SE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",kE,[e.createElementVNode("table",BE,[e.createElementVNode("tr",null,[AE,e.createElementVNode("td",wE," "+e.toDisplayString((V=o.reportData)==null?void 0:V.preparedFor),1)]),e.createElementVNode("tr",null,[TE,e.createElementVNode("td",uE," "+e.toDisplayString((r=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",OE,[e.createElementVNode("table",FE,[e.createElementVNode("tr",null,[PE,e.createElementVNode("td",LE,e.toDisplayString((S=(k=o.reportData)==null?void 0:k.vessel)==null?void 0:S.type),1)]),e.createElementVNode("tr",null,[WE,e.createElementVNode("td",HE,e.toDisplayString((A=(B=o.reportData)==null?void 0:B.voyage)==null?void 0:A.loadCondition),1)]),e.createElementVNode("tr",null,[ME,e.createElementVNode("td",GE,e.toDisplayString((F=(u=o.reportData)==null?void 0:u.voyage)==null?void 0:F.number),1)]),e.createElementVNode("tr",null,[IE,e.createElementVNode("td",RE,[e.createElementVNode("span",zE,e.toDisplayString(((L=(x=o.reportData)==null?void 0:x.departure)==null?void 0:L.portName)||a.computedLngLat((Z=(U=o.reportData)==null?void 0:U.departure)==null?void 0:Z.lat,(P=(R=o.reportData)==null?void 0:R.departure)==null?void 0:P.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((I=(g=o.reportData)==null?void 0:g.departure)==null?void 0:I.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[UE,e.createElementVNode("td",YE,[e.createElementVNode("span",ZE,e.toDisplayString(((H=(G=o.reportData)==null?void 0:G.arrival)==null?void 0:H.portName)||a.computedLngLat((Q=(M=o.reportData)==null?void 0:M.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((z=(N=o.reportData)==null?void 0:N.arrival)==null?void 0:z.utcTime,"table")),1)])])])]),$E,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=o.reportData)==null?void 0:J.segments,(d,v)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+v},[e.createElementVNode("div",QE,[e.createElementVNode("div",JE,"Seg."+e.toDisplayString(v+1)+" ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(oe,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"tips-seg"},e.toDisplayString(oe),1))),128))])]),e.createElementVNode("table",KE,[e.createElementVNode("tr",null,[qE,e.createElementVNode("td",jE,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",XE,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,[vE,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",e_,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,[t_,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",o_,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)])]),l_]))),128)),a_,e.createElementVNode("div",n_,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((s=o.reportData)==null?void 0:s.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",s_,[i_,e.createElementVNode("div",null,[c_,e.createElementVNode("table",d_,[r_,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":n[0]||(n[0]=d=>l.advisory=d),height:"320px",onBlur:n[1]||(n[1]=d=>a.handleCommit(d))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:n[2]||(n[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,m_))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((X=o.reportData)==null?void 0:X.segments,(d,v)=>{var oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",p_,[e.createElementVNode("div",h_,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",y_,[e.createElementVNode("div",null,e.toDisplayString((ee=(oe=o.reportData)==null?void 0:oe.vessel)==null?void 0:ee.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Mt,ho)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ho,class:"tips-seg"},e.toDisplayString(Mt),1))),128))]),E_,e.createElementVNode("div",__,[e.createElementVNode("table",N_,[e.createElementVNode("tr",null,[V_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.type),1),f_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.fo),1)]),e.createElementVNode("tr",null,[g_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.speed),1),D_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.dgo),1)]),b_,e.createElementVNode("tr",null,[e.createElementVNode("td",x_,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfOver),1),e.createElementVNode("td",C_,"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",S_,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfUnder),1),e.createElementVNode("td",k_,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfUnder),1)])])]),B_,e.createElementVNode("div",A_,[e.createElementVNode("table",w_,[T_,u_,e.createElementVNode("tr",null,[O_,e.createElementVNode("td",F_,e.toDisplayString(d.goodWx.outEca.distance),1),e.createElementVNode("td",P_,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,[L_,e.createElementVNode("td",W_,e.toDisplayString(d.goodWx.outEca.time),1),e.createElementVNode("td",H_,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,[M_,e.createElementVNode("td",G_,e.toDisplayString(d.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",I_,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,[R_,e.createElementVNode("td",z_,e.toDisplayString(d.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",U_,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,[Y_,e.createElementVNode("td",Z_,e.toDisplayString(d.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",$_,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,[Q_,e.createElementVNode("td",J_,e.toDisplayString(d.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",K_,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,[q_,e.createElementVNode("td",j_,e.toDisplayString(d.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",X_,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",v_," 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",eN," 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",tN,[e.createTextVNode(" No Charter Party defined good weather was found. "),oN,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",lN,[aN,nN,(le=(_e=o.reportData)==null?void 0:_e.weather)!=null&&le.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",sN,e.toDisplayString(d.goodWx.avgSpd),1)),(Ne=(he=o.reportData)==null?void 0:he.weather)!=null&&Ne.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",iN,"-")),(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",dN,"=")),e.createElementVNode("span",null,e.toDisplayString(d.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",rN,[mN,pN,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",hN,"-")),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",yN,e.toDisplayString(`${a.computedPositive(d.allWx.avgCf)}`),1)),EN,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(d.allWx.avgWf)}`),1),_N,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",NN,"(Under-performance)")):e.createCommentVNode("",!0),d.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",VN,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",fN,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",gN,[e.createElementVNode("div",DN,[e.createElementVNode("div",bN,[e.createTextVNode(" Time Analysis "),(Oe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Oe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",xN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",CN,[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),SN,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),kN,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),BN,e.createElementVNode("div",AN,[wN,TN,e.createElementVNode("div",uN,[e.createElementVNode("div",null,e.toDisplayString((W=(ye=o.reportData)==null?void 0:ye.weather)!=null&&W.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ON,FN]),PN]),e.createElementVNode("div",LN,[e.createElementVNode("div",WN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),HN,e.createElementVNode("div",MN,[e.createElementVNode("div",null,e.toDisplayString((Fe=(me=o.reportData)==null?void 0:me.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),GN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" kts",1)]),IN]),e.createElementVNode("div",RN,[e.createElementVNode("div",zN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),UN,e.createElementVNode("div",YN,[e.createElementVNode("div",null,e.toDisplayString((Le=(Pe=o.reportData)==null?void 0:Pe.weather)!=null&&Le.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ZN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" kts",1)]),$N]),QN])]),e.createElementVNode("div",JN,[d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",KN,[e.createElementVNode("div",qN,[jN,XN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((We=(ke=o.reportData)==null?void 0:ke.weather)!=null&&We.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),tV,e.createElementVNode("div",oV,e.toDisplayString(d.timeConclusion.timeAtPfmSpd)+" (hrs)",1),lV]),e.createElementVNode("div",aV,[e.createElementVNode("div",nV," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),sV,e.createElementVNode("div",iV,[e.createElementVNode("div",null,e.toDisplayString((Ze=(Ye=o.reportData)==null?void 0:Ye.weather)!=null&&Ze.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),cV,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),dV,e.createElementVNode("div",rV,e.toDisplayString(d.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),mV]),e.createElementVNode("div",pV,[e.createElementVNode("div",hV," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),yV,e.createElementVNode("div",EV,[e.createElementVNode("div",null,e.toDisplayString((we=(Y=o.reportData)==null?void 0:Y.weather)!=null&&we.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),_V,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.plusAbtSpd),1)]),NV,e.createElementVNode("div",VV,e.toDisplayString(d.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),fV]),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),gV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),DV,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),bV,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(((Me=d.timeConclusion)==null?void 0:Me.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,xV))]),e.createElementVNode("div",CV,[e.createElementVNode("div",SV,[e.createTextVNode(" Consumption Analysis "),(Qe=($e=o.reportData)==null?void 0:$e.weather)!=null&&Qe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",kV,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",BV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),AV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),wV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),TV,e.createElementVNode("div",uV,[OV,FV,e.createElementVNode("div",PV,[e.createElementVNode("div",null,e.toDisplayString((Ke=(Je=o.reportData)==null?void 0:Je.weather)!=null&&Ke.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),LV,WV]),HV,MV,GV]),e.createElementVNode("div",IV,[RV,((_=(qe=d.extend)==null?void 0:qe.cp)==null?void 0:_.dgo)>0?(e.openBlock(),e.createElementBlock("div",zV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",UV,[YV,ZV,e.createElementVNode("div",$V,[e.createElementVNode("div",null,e.toDisplayString((Te=(q=o.reportData)==null?void 0:q.weather)!=null&&Te.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),QV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),JV,KV,qV]),e.createElementVNode("div",jV,[XV,vV,e.createElementVNode("div",ef,[e.createElementVNode("div",null,e.toDisplayString((Ge=(He=o.reportData)==null?void 0:He.weather)!=null&&Ge.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),tf,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),of,lf,af]),nf,((je=(pe=d.extend)==null?void 0:pe.cp)==null?void 0:je.dgo)>0?(e.openBlock(),e.createElementBlock("div",sf,[cf,df,e.createElementVNode("div",rf,[mf,pf,e.createElementVNode("div",null,e.toDisplayString((et=(ve=o.reportData)==null?void 0:ve.weather)!=null&&et.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((at=(lt=d.extend)==null?void 0:lt.cp)==null?void 0:at.dgo)>0?(e.openBlock(),e.createElementBlock("div",hf,[yf,Ef,e.createElementVNode("div",_f,[Nf,Vf,e.createElementVNode("div",null,e.toDisplayString((st=(nt=o.reportData)==null?void 0:nt.weather)!=null&&st.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",ff,[gf,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Df,[e.createElementVNode("div",bf,[xf,Cf,e.createElementVNode("div",Sf,[e.createElementVNode("div",null,e.toDisplayString((yt=(ht=o.reportData)==null?void 0:ht.weather)!=null&&yt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),kf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),Bf,e.createElementVNode("div",Af,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumFoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` + ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),wf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),Tf,e.createElementVNode("div",uf,e.toDisplayString(d.fuelConclusion.fo.entireCons)+" (mt)",1),Of]),e.createElementVNode("div",Ff,[Pf,Lf,e.createElementVNode("div",Wf,[e.createElementVNode("div",null,e.toDisplayString((_t=(Et=o.reportData)==null?void 0:Et.weather)!=null&&_t.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Hf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Mf,e.createElementVNode("div",Gf,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.overTolerance),1),If,Rf]),zf,e.createElementVNode("div",Uf,e.toDisplayString(d.fuelConclusion.fo.maxCons)+" (mt)",1),Yf]),e.createElementVNode("div",Zf,[$f,Qf,e.createElementVNode("div",Jf,[e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=o.reportData)==null?void 0:Nt.weather)!=null&&Vt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Kf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),qf,e.createElementVNode("div",jf,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.underTolerance),1),Xf,vf]),e0,e.createElementVNode("div",t0,e.toDisplayString(d.fuelConclusion.fo.minCons)+" (mt)",1),o0]),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),l0,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),a0,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),n0,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",s0,[d.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",i0,[c0,d0,e.createElementVNode("div",r0,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.overCons),1),m0,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=o.reportData)==null?void 0:ft.weather)!=null&>.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),p0,e.createElementVNode("div",h0,e.toDisplayString(d.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",y0,[E0,_0,e.createElementVNode("div",N0,[e.createElementVNode("div",null,e.toDisplayString((bt=(Dt=o.reportData)==null?void 0:Dt.weather)!=null&&bt.noExtrapolation?d.goodWx.inEca.distance:d.allWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.saving),1),V0,e.createElementVNode("div",null,e.toDisplayString((Ct=(xt=o.reportData)==null?void 0:xt.weather)!=null&&Ct.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),f0,e.createElementVNode("div",g0,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,D0))]),e.createElementVNode("div",b0,[((kt=(St=d.extend)==null?void 0:St.cp)==null?void 0:kt.dgo)>0?(e.openBlock(),e.createElementBlock("div",x0,[C0,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",S0,[e.createElementVNode("div",k0,[B0,A0,e.createElementVNode("div",w0,[e.createElementVNode("div",null,e.toDisplayString((At=(Bt=o.reportData)==null?void 0:Bt.weather)!=null&&At.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),T0,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),u0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumDgoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` - ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),F0,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),P0,e.createElementVNode("div",L0,e.toDisplayString(d.fuelConclusion.dgo.entireCons)+" (mt)",1),W0]),e.createElementVNode("div",H0,[M0,G0,e.createElementVNode("div",I0,[e.createElementVNode("div",null,e.toDisplayString((Tt=(wt=o.reportData)==null?void 0:wt.weather)!=null&&Tt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),R0,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),z0,e.createElementVNode("div",U0,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.overTolerance),1),Y0,Z0]),$0,e.createElementVNode("div",Q0,e.toDisplayString(d.fuelConclusion.dgo.maxCons)+" (mt)",1),J0]),e.createElementVNode("div",K0,[q0,j0,e.createElementVNode("div",X0,[e.createElementVNode("div",null,e.toDisplayString((Ot=(ut=o.reportData)==null?void 0:ut.weather)!=null&&Ot.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),v0,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),eg,e.createElementVNode("div",tg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.underTolerance),1),og,lg]),ag,e.createElementVNode("div",ng,e.toDisplayString(d.fuelConclusion.dgo.minCons)+" (mt)",1),sg]),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),ig,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),dg,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,rg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const pg=Ee(NE,[["render",mg],["__scopeId","data-v-6f2b44b1"]]),Poe="",hg={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,n=2){return t==="--"?"--":ie.roundPrecision(t,n)}},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,n,o){let c="";return n&&(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,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(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,m,i,p,D,f,h,V,C;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=(m=this.reportData)==null?void 0:m.weather)==null?void 0:i.showSig)??!0,this.showSwell=((D=(p=this.reportData)==null?void 0:p.weather)==null?void 0:D.showSwell)??!0,this.showWave=((h=(f=this.reportData)==null?void 0:f.weather)==null?void 0:h.showWave)??!0;let t=[];(C=(V=this.reportData)==null?void 0:V.segments)==null||C.forEach(r=>{let k=r.extend.cp;r.inventory.sample.hours.forEach(S=>{let B=JSON.parse(JSON.stringify(S));B.cp=k,t.push(B)})}),t.sort(function(r,k){let S=r.date,B=k.date;return S-B});let n="";t.forEach(r=>{r.seg!==n&&(r.isFirstSeg=!0,n=r.seg);let k=r.type.charAt(0);r.abbreviation=k,k==="M"?k="*":k==="A"&&(k=""),r.dateTime=k+" "+O(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),yg={class:"table",id:"second-table"},Eg=Be(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),_g={class:"subtitle"},Ng={class:"introduce"},Vg={class:"introduce-ship"},fg={style:{"margin-bottom":"15px"}},gg=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)),Dg={rowspan:"4"},bg=Be(()=>e.createElementVNode("td",null,"Entire Period",-1)),xg=Be(()=>e.createElementVNode("td",null,"Good weather period",-1)),Cg=Be(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),Sg=Be(()=>e.createElementVNode("td",null,"Excluded period",-1)),kg=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),Bg={class:"summary-table"},Ag=Be(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),wg=Be(()=>e.createElementVNode("th",{rowspan:"3"}," Date ",-1)),Tg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),ug=Be(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),Og=["colspan"],Fg={key:0,colspan:"2"},Pg=Be(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),Lg=Be(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),Wg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),Hg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),Mg=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),Gg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),Ig={key:0,rowspan:"2"},Rg=Be(()=>e.createElementVNode("br",null,null,-1)),zg={key:1,rowspan:"2"},Ug=Be(()=>e.createElementVNode("br",null,null,-1)),Yg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),Zg={key:2,rowspan:"2"},$g=Be(()=>e.createElementVNode("br",null,null,-1)),Qg={key:3,colspan:"2"},Jg={key:4,rowspan:"2"},Kg=Be(()=>e.createElementVNode("br",null,null,-1)),qg={key:5,colspan:"2"},jg=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),Xg={key:6,rowspan:"2"},vg={key:7,rowspan:"2"},e2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),o2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),l2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),a2=Be(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),n2=Be(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),s2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),i2=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)),d2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),r2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),m2=Be(()=>e.createElementVNode("th",null,"BF",-1)),p2={key:0},h2={key:1},y2={key:2},E2={key:3},_2=Be(()=>e.createElementVNode("th",null,"RPM",-1)),N2=Be(()=>e.createElementVNode("th",null,"Slip%",-1)),V2=Be(()=>e.createElementVNode("th",null,"FO",-1)),f2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),g2=Be(()=>e.createElementVNode("th",null,"FO",-1)),D2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),b2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),x2=Be(()=>e.createElementVNode("th",null,"BF",-1)),C2={class:"summary-tbody"};function S2(t,n,o,c,l,a){var m,i,p,D,f,h,V,C;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly||(D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",yg,[Eg,e.createElementVNode("div",_g,e.toDisplayString(a.computedTime((f=o.reportData)==null?void 0:f.createdAt)),1),e.createElementVNode("div",Ng,[e.createElementVNode("div",Vg,[e.createElementVNode("span",null,e.toDisplayString((V=(h=o.reportData)==null?void 0:h.vessel)==null?void 0:V.name),1)])]),e.createElementVNode("div",fg,[e.createElementVNode("table",null,[gg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((C=o.reportData)==null?void 0:C.segments,(r,k)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:k},[e.createElementVNode("tr",null,[e.createElementVNode("td",Dg,e.toDisplayString(k+1),1),bg,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,[xg,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,[Cg,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,[Sg,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))])])]),kg,e.createElementVNode("div",null,[e.createElementVNode("table",Bg,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ag,wg,Tg,ug,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,Og),o.isAdmin?(e.openBlock(),e.createElementBlock("th",Fg,"meteo")):e.createCommentVNode("",!0),Pg,Lg]),e.createElementVNode("tr",null,[Wg,Hg,Mg,Gg,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",Ig,[e.createTextVNode("Spd"),Rg,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",zg,[e.createTextVNode("Dis"),Ug,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),Yg,l.showWave?(e.openBlock(),e.createElementBlock("th",Zg,[e.createTextVNode("Sea HT"),$g,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",Qg,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",Jg,[e.createTextVNode("Sig Wave"),Kg,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",qg,"Current")):e.createCommentVNode("",!0),jg,o.isAdmin?(e.openBlock(),e.createElementBlock("th",Xg,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",vg,"wxFactor")):e.createCommentVNode("",!0),e2,t2,o2,l2,a2,n2,s2,i2]),e.createElementVNode("tr",null,[c2,d2,r2,m2,l.showSwell?(e.openBlock(),e.createElementBlock("th",p2,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",h2,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",y2,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",E2,"CF(kts)")):e.createCommentVNode("",!0),_2,N2,V2,f2,g2,D2,b2,x2])]),e.createElementVNode("tbody",C2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,k)=>{var S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J;return e.openBlock(),e.createElementBlock("tr",{key:k},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(S=l.summaryTable[k+1])!=null&&S.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(((A=(B=r.meteo)==null?void 0:B.wind)==null?void 0:A.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((F=(u=r.meteo)==null?void 0:u.wind)==null?void 0:F.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((U=(L=(x=r.meteo)==null?void 0:x.wave)==null?void 0:L.wd)==null?void 0:U.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((P=(R=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:R.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(((G=(I=(g=r.meteo)==null?void 0:g.wave)==null?void 0:I.swell)==null?void 0:G.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=(M=(H=r.meteo)==null?void 0:H.wave)==null?void 0:M.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(((z=r.meteo)==null?void 0:z.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((J=r.meteo)==null?void 0:J.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 k2=Ee(hg,[["render",S2],["__scopeId","data-v-9fe5beca"]]),B2={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,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,n){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)}),n.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(Yo.init(c))}let t=this,n=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:n};this.$nextTick(()=>{this.chart.setOption(o)})}}},A2=["id"];function w2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,A2)])}const T2=Ee(B2,[["render",w2]]),u2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},O2={class:"logo"},F2=[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 P2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",O2,F2)}const L2=Ee(u2,[["render",P2]]),Woe="",W2={components:{ScCharts:T2,BrabImg:L2},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 n=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(n.push({num:l,id:a}),o=l)});let c=[];return n.forEach((l,a)=>{let m=0;a==n.length-1?m=t.length-l.id:m=n[a+1].id-l.id+1;let i=[];for(let p=0;p<t.length;p++)(p>l.id||p==l.id)&&m>0?(i.push(l.num),m=m-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,n){let o=[],c=null,l=0;t.forEach((m,i)=>{m!=c&&this.computedIsNull(m)!==""?(o.push({num:m,id:i}),c=m,l++):this.computedIsNull(m)!==""&&m==c&&(o[l-1].id=i)});let a=[];return o.forEach((m,i)=>{let p=i?o[i-1].id:-1;for(let D=p;D<m.id;D++)a.push(m.num)}),a}},computedTime(){return function(t,n){return n=="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n=="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const n=/.*(?=<)/,o=t.match(n);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let n=ie.EmailHelper.convert2Html(t);return n=n.replace(/<\/br><\/br>+/g,"</br>"),n=n.replace(/(<\/br> <\/br>)+/g,"</br>"),n}else return"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${O(t).utc().format(n)}`:"-"}}},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,n){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(n=>n.status===1);this.mailList=t},getTableData(){var j,K;let t=[];(K=(j=this.reportData)==null?void 0:j.segments)==null||K.forEach((N,z)=>{let J=N.extend.cp;N.inventory.sample.hours.forEach((s,X)=>{let d=JSON.parse(JSON.stringify(s));d.cp=J,d.fuelConclusion=N.fuelConclusion,d.timeConclusion=N.timeConclusion,t.push(d)})}),t.sort(function(N,z){let J=N.date,s=z.date;return J-s});let n=[],o=[],c=[],l=[],a=[],m=[],i=[],p=[],D=[],f=[],h=[],V=[],C=[],r=[],k=[],S=[],B=[],A=[],u=[],F=[],x=[],L=[],U=[],Z=[],R=[],P=[!1,!1],g=[],I=[],G=[!1,!1],H=[],M=[];t.forEach((N,z)=>{var s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge;if(n.push(O(N.utc).utc().format("MM/DD HHmm[Z]")),N.goodWx===!0&&N.excluded!==!0?(P.indexOf(!0)==-1&&(N.type==="BOSP"?g.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}):g.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!0),P.indexOf(!0)!=-1&&z==t.length-1&&(g.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,I.push(g),g=[])):P.indexOf(!0)!==-1&&(g.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,I.push(g),g=[]),N.excluded===!0?(G.indexOf(!0)===-1&&(z===0?H.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}):H.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!0),G.indexOf(!0)!=-1&&z===t.length-1&&(H.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,M.push(H),H=[])):G.indexOf(!0)!==-1&&(H.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,M.push(H),H=[]),(N==null?void 0:N.type)==="EOSP"&&((s=t[z+1])==null?void 0:s.type)==="BOSP"){let pe=[];pe.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),pe.push({xAxis:O(t[z+1].utc).utc().format("MM/DD HHmm[Z]")}),M.push(pe)}N.type!="A"&&(N.type==="BOSP"&&z===0?l.push([O(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([O(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]),u.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((v=N==null?void 0:N.noon)==null?void 0:v.windBF)||"-"]),U.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((oe=N==null?void 0:N.noon)==null?void 0:oe.seasHt)||"-"])),p.push((N==null?void 0:N.type)!="A"?this.computedIsNull((ee=N==null?void 0:N.noon)==null?void 0:ee.foCons):""),C.push((N==null?void 0:N.type)!="A"?this.computedIsNull((se=N==null?void 0:N.noon)==null?void 0:se.dgoCons):""),R.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)??""),D.push(((_e=(re=N==null?void 0:N.fuelConclusion)==null?void 0:re.fo)==null?void 0:_e.underTolerance)??""),f.push(((he=(le=N==null?void 0:N.fuelConclusion)==null?void 0:le.fo)==null?void 0:he.overTolerance)??""),V.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)??""),k.push(((De=(ge=N==null?void 0:N.fuelConclusion)==null?void 0:ge.dgo)==null?void 0:De.overTolerance)??""),B.push(((xe=(be=N==null?void 0:N.meteo)==null?void 0:be.wind)==null?void 0:xe.scale)??""),A.push(((Se=(Ce=this.reportData)==null?void 0:Ce.weather)==null?void 0:Se.windScale)??"");let J="";(Oe=(ue=this.reportData)==null?void 0:ue.weather)!=null&&Oe.sigSwitch?(J=(me=(W=(ye=N.meteo)==null?void 0:ye.wave)==null?void 0:W.sig)!=null&&me.height?(Le=(Pe=(Fe=N.meteo)==null?void 0:Fe.wave)==null?void 0:Pe.sig)==null?void 0:Le.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",L.push(this.reportData.weather.sigHeight)):(We=(ke=this.reportData)==null?void 0:ke.weather)!=null&&We.waveSwitch?(J=(Y=(Ze=(Ye=N.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.wd)!=null&&Y.height?($e=(Me=(we=N.meteo)==null?void 0:we.wave)==null?void 0:Me.wd)==null?void 0:$e.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",L.push(this.reportData.weather.waveHeight)):(Je=(Qe=this.reportData)==null?void 0:Qe.weather)!=null&&Je.swellSwitch&&(J=(_=(qe=(Ke=N.meteo)==null?void 0:Ke.wave)==null?void 0:qe.swell)!=null&&_.height?(He=(Te=(q=N.meteo)==null?void 0:q.wave)==null?void 0:Te.swell)==null?void 0:He.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",L.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Ge=this.waveDetail)==null?void 0:Ge.ytitle.replaceAll("(m)",""),x.push(J)}),this.params={xAxis:n,markArea:[{type:"line",markArea:{data:I},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:M},itemStyle:{color:"#d3d3d3"}}]},l.forEach((N,z)=>{N.indexOf("-")!==-1&&z!==l.length-1&&(N[1]=l[z+1][1])}),c=this.computedArray(c),a=this.computedArray(a),i=this.computedArray(i),D=this.computedArray(D),f=this.computedArray(f),V=this.computedArray(V),r=this.computedArray(r),k=this.computedArray(k),p=this.computedCurrent(p),C=this.computedCurrent(C,"dgotype"),R=this.computedCurrent(R),c.forEach((N,z)=>{let J={name:z==0?"CP speed":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};o.push(J)}),a.forEach((N,z)=>{let J={name:z==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};o.push(J)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((N,z)=>{let J={name:z==0?"CP FO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};m.push(J)}),D.forEach((N,z)=>{let J={name:z==0?"CP FO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};m.push(J)}),f.forEach((N,z)=>{let J={name:z==0?"CP FO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};m.push(J)}),m.push({name:"Daily FO",type:"bar",showSymbol:!1,data:p,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),V.forEach((N,z)=>{let J={name:z==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};h.push(J)}),r.forEach((N,z)=>{let J={name:z==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};h.push(J)}),k.forEach((N,z)=>{let J={name:z==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};h.push(J)}),h.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:C,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),S.push({name:"CP Good Weather",type:"line",data:A,color:"#ff8935",showSymbol:!1,smooth:!0}),S.push({name:"Wind BF",type:"line",data:B,color:"#5eb3e0",showSymbol:!1,smooth:!0}),S.push({name:"Ship Report",type:"scatter",data:u,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),F.push({name:"CP Good Weather",type:"line",data:L,color:"#ff8935",showSymbol:!1,smooth:!0});let Q=this.waveDetail.ytitle.replaceAll("(m)","");F.push({name:Q,type:"line",data:x,color:"#5eb3e0",showSymbol:!1,smooth:!0}),F.push({name:"Ship Report",type:"scatter",data:U,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:R,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=m,this.DGOChartData=h,this.windSpdChartData=S,this.waveChartData=F,this.currentChartData=Z}}},Re=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),H2={class:"charts"},M2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),G2={class:"subtitle"},I2=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),R2={class:"weather-eChart"},z2={class:"charts page-title"},U2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),Y2={class:"subtitle"},Z2=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),$2={class:"weather-eChart"},Q2={class:"charts page-title"},J2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),K2={class:"subtitle"},q2={class:"message-table"},j2=Re(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),X2=Re(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),v2=Re(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),eD={style:{display:"inline-block",width:"50%"}},tD=Re(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),oD={style:{display:"inline-block",width:"50%"}},lD={style:{margin:"15px auto","padding-left":"20px"}},aD=["src"],nD={class:"charts-imgLegend"},sD={style:{position:"relative",left:"-20px"}},iD=Re(()=>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=Re(()=>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)),dD=Re(()=>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)),rD={key:0,class:"charts page-title"},mD=Re(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),pD={class:"subtitle"},hD={class:"message-table"},yD=Re(()=>e.createElementVNode("td",null,"Vessel Name",-1)),ED=Re(()=>e.createElementVNode("td",null,"Prepared For",-1)),_D=Re(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),ND={style:{display:"inline-block",width:"50%"}},VD=Re(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),fD={style:{display:"inline-block",width:"50%"}},gD={class:"columns"},DD={class:"title"},bD=["innerHTML"],xD={class:"charts",style:{"page-break-before":"always"}},CD=Re(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),SD={class:"methodology"},kD=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's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-4fb04207> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div><div 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 "about", 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),BD={class:"definition"},AD={class:"equation"},wD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),TD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),uD={style:{width:"50%"},class:"fraction"},OD=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FD=Re(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),PD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),LD={class:"equation"},WD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),HD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),MD={style:{width:"50%"},class:"fraction"},GD=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ID=Re(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),RD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zD={class:"equation"},UD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),YD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),ZD={style:{width:"50%"},class:"fraction"},$D=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QD=Re(()=>e.createElementVNode("div",null,"CP Speed",-1)),JD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),KD=Re(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),qD=Re(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),jD=Re(()=>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)),XD=Re(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),vD=Re(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function eb(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe;const m=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.referenceOnly||(h=(f=o.reportData)==null?void 0:f.weather)!=null&&h.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",H2,[M2,e.createElementVNode("div",G2,e.toDisplayString(a.computedTime((V=o.reportData)==null?void 0:V.createdAt)),1),I2,e.createElementVNode("div",R2,[e.createVNode(m,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",z2,[U2,e.createElementVNode("div",Y2,e.toDisplayString(a.computedTime((C=o.reportData)==null?void 0:C.createdAt)),1),Z2,e.createElementVNode("div",$2,[e.createVNode(m,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",Q2,[J2,e.createElementVNode("div",K2,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",q2,[e.createElementVNode("tr",null,[j2,e.createElementVNode("td",null,e.toDisplayString((S=(k=o.reportData)==null?void 0:k.vessel)==null?void 0:S.name),1)]),e.createElementVNode("tr",null,[X2,e.createElementVNode("td",null,e.toDisplayString((B=o.reportData)==null?void 0:B.preparedFor),1)]),e.createElementVNode("tr",null,[v2,e.createElementVNode("td",null,[e.createElementVNode("span",eD,e.toDisplayString(((u=(A=o.reportData)==null?void 0:A.departure)==null?void 0:u.portName)||a.computedLngLat((x=(F=o.reportData)==null?void 0:F.departure)==null?void 0:x.lat,(U=(L=o.reportData)==null?void 0:L.departure)==null?void 0:U.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((R=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:R.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[tD,e.createElementVNode("td",null,[e.createElementVNode("span",oD,e.toDisplayString(((g=(P=o.reportData)==null?void 0:P.arrival)==null?void 0:g.portName)||a.computedLngLat((G=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:G.lat,(M=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:M.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",lD,[e.createElementVNode("img",{style:{width:"100%"},src:(K=o.reportData)==null?void 0:K.chartUrl,alt:""},null,8,aD),e.createElementVNode("div",nD,[e.createElementVNode("div",sD,[iD,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),cD]),dD])])]),(z=(N=o.reportData)==null?void 0:N.weather)!=null&&z.showMails?(e.openBlock(),e.createElementBlock("div",rD,[mD,e.createElementVNode("div",pD,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",hD,[e.createElementVNode("tr",null,[yD,e.createElementVNode("td",null,e.toDisplayString((s=(J=o.reportData)==null?void 0:J.vessel)==null?void 0:s.name),1)]),e.createElementVNode("tr",null,[ED,e.createElementVNode("td",null,e.toDisplayString((X=o.reportData)==null?void 0:X.preparedFor),1)]),e.createElementVNode("tr",null,[_D,e.createElementVNode("td",null,[e.createElementVNode("span",ND,e.toDisplayString(((v=(d=o.reportData)==null?void 0:d.departure)==null?void 0:v.portName)||a.computedLngLat((ee=(oe=o.reportData)==null?void 0:oe.departure)==null?void 0:ee.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,[VD,e.createElementVNode("td",null,[e.createElementVNode("span",fD,e.toDisplayString(((le=(_e=o.reportData)==null?void 0:_e.arrival)==null?void 0:le.portName)||a.computedLngLat((Ne=(he=o.reportData)==null?void 0:he.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",gD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(ye,W)=>(e.openBlock(),e.createElementBlock("div",{key:ye.id,class:e.normalizeClass(W%2===0?"item":"item bg")},[e.createElementVNode("div",DD,"FROM "+e.toDisplayString(a.computeFrom(ye.from))+" "+e.toDisplayString(a.computeUTCTime(ye.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((ye==null?void 0:ye.body)??"-")},null,8,bD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",xD,[CD,e.createElementVNode("div",SD,[kD,e.createElementVNode("div",BD,[e.createElementVNode("div",AD,[wD,TD,e.createElementVNode("div",uD,[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),OD,FD]),PD]),e.createElementVNode("div",LD,[WD,HD,e.createElementVNode("div",MD,[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),GD,ID]),RD]),e.createElementVNode("div",zD,[UD,YD,e.createElementVNode("div",ZD,[e.createElementVNode("div",null,e.toDisplayString((Oe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Oe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$D,QD]),JD]),KD]),qD,jD,XD,vD])])],2)}const tb=Ee(W2,[["render",eb],["__scopeId","data-v-4fb04207"]]),Hoe="",ob={components:{firstPart:pg,secondPart:k2,thirdPart:tb},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},lb={class:"voyage-report"};function ab(t,n,o,c,l,a){const m=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),p=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",lb,[e.createVNode(m,{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(p,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const Cn=Ee(ob,[["render",ab],["__scopeId","data-v-61638416"]]),Moe="",nb={components:{Editor:Uo},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 n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n=="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n=="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):n=="summary"?O(t).utc().format("MMMM D, HHmm[Z]"):n?O(t).utc().format(n):O(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=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"),m=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:n,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:m}}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):n=="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,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let n="";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})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){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 n,o,c;return(n=t.timeConclusion)!=null&&n.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,n){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 n,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(n=this.reportData)==null?void 0:n.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let p={begin:O(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:O(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:O(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+O(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(p)}),!t.includes(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 m=[];c.extend.segTimes.forEach(i=>{m.push(this.computedSeg(i))}),this.segDetail.push(m),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},E=t=>(e.pushScopeId("data-v-037d24da"),t=t(),e.popScopeId(),t),sb=E(()=>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)),ib={class:"fli-main"},cb=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),db={class:"card basics"},rb={class:"list flex"},mb={class:"item"},pb=E(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),hb={class:"content flex"},yb={class:"item"},Eb=E(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),_b={class:"content flex"},Nb={class:"item"},Vb=E(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),fb={class:"content flex"},gb={class:"list"},Db={class:"item"},bb=E(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),xb={class:"content flex"},Cb={class:"content flex"},Sb={class:"item"},kb=E(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Bb={class:"content flex"},Ab={class:"content flex"},wb={class:"item"},Tb=E(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),ub={class:"content flexL"},Ob=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Fb={class:"clause"},Pb={key:0,class:"definition flex"},Lb={key:1,class:"definition flex"},Wb={class:"item"},Hb=E(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),Mb={class:"content"},Gb={key:0,class:"item"},Ib=E(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Rb={class:"content"},zb={key:1,class:"item"},Ub=E(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Yb={class:"content"},Zb={key:2,class:"item"},$b=E(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Qb={class:"content"},Jb={key:3,class:"item"},Kb=E(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),qb={class:"content"},jb={key:4,class:"item"},Xb=[E(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),E(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],vb={key:5,class:"item"},ex=[E(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),E(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],tx={class:"definition flexM"},ox={class:"table"},lx=E(()=>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)),ax=E(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),nx={class:"summary"},sx={key:0,class:"summary-overall"},ix=E(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),cx={class:"summary-overall-row"},dx={class:"card"},rx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),mx={class:"main-content"},px={key:0},hx={key:1},yx={class:"card"},Ex=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),_x={class:"main-content"},Nx={key:0},Vx={key:1},fx={class:"card"},gx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),Dx={class:"main-content"},bx={key:0},xx={key:1},Cx={class:"summary-overall-row"},Sx={class:"card"},kx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),Bx={class:"main-content"},Ax={class:"card"},wx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Tx={class:"main-content"},ux={class:"card"},Ox=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Fx={class:"main-content"},Px=E(()=>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)),Lx={class:"card",style:{flex:"1.5"}},Wx={class:"card-title"},Hx=E(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Mx={class:"card-segment"},Gx={class:"card-segment"},Ix={class:"card-segment"},Rx=E(()=>e.createElementVNode("div",null,"Applied",-1)),zx={class:"uppercase"},Ux={class:"card summary-card",style:{flex:"1"}},Yx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),Zx={key:0,class:"main-content"},$x={key:0,class:"iconfont success"},Qx={key:1,class:"iconfont error"},Jx={key:1,class:"main-content"},Kx={class:"card-content",style:{"justify-content":"flex-start"}},qx={class:"card summary-card",style:{flex:"1"}},jx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),Xx={key:0,class:"main-content"},vx={key:0,class:"iconfont success"},e3={key:1,class:"iconfont error"},t3={key:1,class:"main-content"},o3={class:"card-content",style:{"justify-content":"flex-start"}},l3={class:"card summary-card",style:{flex:"1"}},a3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),n3={key:0,class:"main-content"},s3={key:0,class:"iconfont success"},i3={key:1,class:"iconfont error"},c3={key:1,class:"main-content"},d3={class:"card-content",style:{"justify-content":"flex-start"}},r3={style:{"page-break-inside":"avoid"}},m3=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),p3={class:"remarks"},h3={class:"item"},y3=E(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),E3={class:"speed"},_3={class:"uppercase"},N3={class:"item"},V3=E(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),f3={key:0,class:"remark-detail"},g3={key:1,class:"remark-detail"},D3={class:"page-avoid"},b3={class:"dashed"},x3={class:"card phase-title-card",style:{flex:"0.5"}},C3={class:"card-title"},S3=E(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),k3={class:"card-segment"},B3={class:"card-segment"},A3={class:"card-segment"},w3=E(()=>e.createElementVNode("div",null,"Applied",-1)),T3={class:"uppercase"},u3=E(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),O3={class:"phase-analysis"},F3={class:"card phase-card",style:{flex:"1"}},P3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),L3={class:"main-content"},W3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),H3={class:"main-content"},M3={class:"card-content"},G3=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),I3=E(()=>e.createElementVNode("span",null,"mt",-1)),R3={class:"card-content"},z3=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),U3=E(()=>e.createElementVNode("span",null,"mt",-1)),Y3={class:"card-content"},Z3=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),$3=E(()=>e.createElementVNode("span",null,"mt",-1)),Q3={class:"card-content"},J3=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),K3=E(()=>e.createElementVNode("span",null,"mt",-1)),q3=E(()=>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)),j3={class:"card phase-card",style:{flex:"1"}},X3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),v3={class:"main-content"},eC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),tC={class:"main-content"},oC={class:"card-content"},lC=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),aC=E(()=>e.createElementVNode("span",null,"mt",-1)),nC={class:"card-content"},sC=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),iC=E(()=>e.createElementVNode("span",null,"mt",-1)),cC={class:"card-content"},dC=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),rC=E(()=>e.createElementVNode("span",null,"mt",-1)),mC={class:"card-content"},pC=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),hC=E(()=>e.createElementVNode("span",null,"mt",-1)),yC=E(()=>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)),EC={class:"phase-analysis"},_C={class:"card phase-card",style:{flex:"1"}},NC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),VC={class:"main-content"},fC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),gC={class:"main-content"},DC={class:"card-content"},bC=E(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),xC=E(()=>e.createElementVNode("span",null,"nm",-1)),CC={class:"card-content"},SC=E(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),kC=E(()=>e.createElementVNode("span",null,"nm",-1)),BC={class:"card-content"},AC=E(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),wC=E(()=>e.createElementVNode("span",null,"nm",-1)),TC={class:"card-content"},uC=E(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),OC=E(()=>e.createElementVNode("span",null,"nm",-1)),FC={class:"card phase-card",style:{flex:"1"}},PC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),LC={class:"main-content"},WC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),HC={class:"main-content"},MC={class:"card-content"},GC=E(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),IC=E(()=>e.createElementVNode("span",null,"hrs",-1)),RC={class:"card-content"},zC=E(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),UC=E(()=>e.createElementVNode("span",null,"hrs",-1)),YC={class:"card-content"},ZC=E(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),$C=E(()=>e.createElementVNode("span",null,"hrs",-1)),QC={class:"card-content"},JC=E(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),KC=E(()=>e.createElementVNode("span",null,"hrs",-1)),qC={class:"card phase-card",style:{flex:"1"}},jC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),XC={class:"main-content"},vC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),eS={class:"main-content"},tS={class:"card-content"},oS=E(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),lS=E(()=>e.createElementVNode("span",null,"kts",-1)),aS={class:"card-content"},nS=E(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),sS=E(()=>e.createElementVNode("span",null,"kts",-1)),iS={class:"card-content"},cS=E(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),dS=E(()=>e.createElementVNode("span",null,"kts",-1)),rS={class:"card-content"},mS=E(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),pS=E(()=>e.createElementVNode("span",null,"kts",-1)),hS={class:"phase-analysis"},yS={class:"card phase-card",style:{flex:"1"}},ES=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),_S={class:"main-content"},NS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),VS={class:"main-content"},fS={class:"card-content"},gS=E(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),DS=E(()=>e.createElementVNode("span",null,"mt",-1)),bS={class:"card-content"},xS=E(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),CS=E(()=>e.createElementVNode("span",null,"mt",-1)),SS={class:"card-content"},kS=E(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),BS=E(()=>e.createElementVNode("span",null,"mt",-1)),AS={class:"card-content"},wS=E(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),TS=E(()=>e.createElementVNode("span",null,"mt",-1)),uS={class:"card phase-card",style:{flex:"1"}},OS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),FS={class:"main-content"},PS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),LS={class:"main-content"},WS={class:"card-content"},HS=E(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),MS=E(()=>e.createElementVNode("span",null,"mt",-1)),GS={class:"card-content"},IS=E(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),RS=E(()=>e.createElementVNode("span",null,"mt",-1)),zS={class:"card-content"},US=E(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),YS=E(()=>e.createElementVNode("span",null,"mt",-1)),ZS={class:"card-content"},$S=E(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),QS=E(()=>e.createElementVNode("span",null,"mt",-1)),JS={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},KS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),qS={class:"main-content"},jS={class:"card-content"},XS=E(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),vS={key:0},ek=E(()=>e.createElementVNode("span",null,"kts",-1)),tk={key:1},ok={class:"phase-card"},lk={class:"card",style:{flex:"1"}},ak=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),nk={key:0,class:"main-content"},sk={key:0,class:"iconfont success"},ik={key:1,class:"iconfont error"},ck={key:1,class:"main-content"},dk={class:"nogwd"},rk={class:"card-content",style:{"justify-content":"flex-start"}},mk={key:0},pk={class:"equation"},hk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),yk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ek={style:{width:"8%"}},_k=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Vk={style:{width:"10%"}},fk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),gk={class:"equation"},Dk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),bk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xk={style:{width:"8%"}},Ck=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),kk={style:{width:"10%"}},Bk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Ak={class:"equation"},wk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),Tk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),uk={style:{width:"8%"}},Ok=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Fk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Pk={style:{width:"10%"}},Lk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),Wk={class:"phase-card"},Hk={class:"card",style:{flex:"1"}},Mk=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),Gk={key:0,class:"main-content"},Ik={key:0,class:"iconfont success"},Rk={key:1,class:"iconfont error"},zk={key:1,class:"main-content"},Uk={class:"nogwd"},Yk={class:"card-content",style:{"justify-content":"flex-start"}},Zk={key:0},$k={class:"equation"},Qk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Jk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Kk={style:{width:"8%"}},qk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Xk={style:{width:"120px"}},vk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),e4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),t4={style:{width:"10%"}},o4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),l4={class:"equation"},a4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),n4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),s4={style:{width:"8%"}},i4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),c4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),d4={style:{width:"120px"}},r4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),m4=E(()=>e.createElementVNode("div",null,"24",-1)),p4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),h4={style:{width:"10%"}},y4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),E4={class:"equation"},_4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),N4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),V4={style:{width:"8%"}},f4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),D4={style:{width:"120px"}},b4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x4=E(()=>e.createElementVNode("div",null,"24",-1)),C4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),S4={style:{width:"10%"}},k4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),B4={key:0,class:"phase-card"},A4={class:"card",style:{flex:"1"}},w4=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),T4={key:0,class:"main-content"},u4={key:0,class:"iconfont success"},O4={key:1,class:"iconfont error"},F4={key:1,class:"main-content"},P4={class:"nogwd"},L4={class:"card-content",style:{"justify-content":"flex-start"}},W4={key:0},H4={class:"equation"},M4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),G4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),I4={style:{width:"8%"}},R4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),U4={style:{width:"120px"}},Y4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),$4={style:{width:"10%"}},Q4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),J4={class:"equation"},K4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),q4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),j4={style:{width:"8%"}},X4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),v4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),eB={style:{width:"120px"}},tB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oB=E(()=>e.createElementVNode("div",null,"24",-1)),lB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),aB={style:{width:"10%"}},nB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),sB={class:"equation"},iB=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),cB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),dB={style:{width:"8%"}},rB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),pB={style:{width:"120px"}},hB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yB=E(()=>e.createElementVNode("div",null,"24",-1)),EB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_B={style:{width:"10%"}},NB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),VB=E(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),fB={class:"formular dashed",style:{"page-break-inside":"avoid"}},gB={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},DB=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),bB={class:""},xB={class:"equation"},CB=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),SB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kB={style:{width:"50%"},class:"fraction"},BB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AB=E(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),wB=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),TB={class:"equation"},uB=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),OB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),FB={style:{width:"50%"},class:"fraction"},PB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LB=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),WB=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),HB={class:"equation"},MB=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),GB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),IB={style:{width:"50%"},class:"fraction"},RB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),zB=E(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),UB=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),YB=E(()=>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)),ZB={class:"flexL formular-item",style:{"margin-left":"20px"}},$B=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),QB={class:""},JB={class:"equation"},KB=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),qB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jB={style:{width:"25%"},class:"fraction"},XB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vB=E(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),eA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tA=E(()=>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)),oA=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),lA={class:"equation"},aA=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),nA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),sA={style:{width:"25%"},class:"fraction"},iA=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cA=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),dA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),rA=E(()=>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)),mA=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),pA={class:"equation"},hA=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),yA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EA={style:{width:"25%"},class:"fraction"},_A=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NA=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),VA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),fA=E(()=>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)),gA=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),DA=E(()=>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)),bA=E(()=>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 xA(t,n,o,c,l,a){var m,i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly?"watermark":"")},[sb,e.createElementVNode("div",ib,[cb,e.createElementVNode("div",db,[e.createElementVNode("div",rb,[e.createElementVNode("div",mb,[pb,e.createElementVNode("div",hb,e.toDisplayString((p=o.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",yb,[Eb,e.createElementVNode("div",_b,e.toDisplayString((f=(D=o.reportData)==null?void 0:D.vessel)==null?void 0:f.name),1)]),e.createElementVNode("div",Nb,[Vb,e.createElementVNode("div",fb,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",gb,[e.createElementVNode("div",Db,[bb,e.createElementVNode("div",xb,e.toDisplayString(((V=(h=o.reportData)==null?void 0:h.departure)==null?void 0:V.portName)||a.computedLngLat((r=(C=o.reportData)==null?void 0:C.departure)==null?void 0:r.lat,(S=(k=o.reportData)==null?void 0:k.departure)==null?void 0:S.lng)),1),e.createElementVNode("div",Cb,e.toDisplayString(a.computedTime((A=(B=o.reportData)==null?void 0:B.departure)==null?void 0:A.utcTime,"table")),1)]),e.createElementVNode("div",Sb,[kb,e.createElementVNode("div",Bb,e.toDisplayString(((F=(u=o.reportData)==null?void 0:u.arrival)==null?void 0:F.portName)||a.computedLngLat((L=(x=o.reportData)==null?void 0:x.arrival)==null?void 0:L.lat,(Z=(U=o.reportData)==null?void 0:U.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",Ab,e.toDisplayString(a.computedTime((P=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",wb,[Tb,e.createElementVNode("div",ub,e.toDisplayString((I=(g=o.reportData)==null?void 0:g.voyage)==null?void 0:I.loadCondition),1)])])]),Ob,e.createElementVNode("div",Fb,[(H=(G=o.reportData)==null?void 0:G.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Pb," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",Lb,[e.createElementVNode("div",Wb,[Hb,e.createElementVNode("div",Mb,"BF "+e.toDisplayString(((Q=(M=o.reportData)==null?void 0:M.weather)==null?void 0:Q.windScale)||"-"),1)]),(K=(j=o.reportData)==null?void 0:j.weather)!=null&&K.waveSwitch?(e.openBlock(),e.createElementBlock("div",Gb,[Ib,e.createElementVNode("div",Rb,e.toDisplayString(((z=(N=o.reportData)==null?void 0:N.weather)==null?void 0:z.waveHeight)||"-")+" Meter",1)])):(s=(J=o.reportData)==null?void 0:J.weather)!=null&&s.swellSwitch?(e.openBlock(),e.createElementBlock("div",zb,[Ub,e.createElementVNode("div",Yb,e.toDisplayString(((d=(X=o.reportData)==null?void 0:X.weather)==null?void 0:d.swellHeight)||"-")+" Meter",1)])):(oe=(v=o.reportData)==null?void 0:v.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",Zb,[$b,e.createElementVNode("div",Qb,e.toDisplayString(((se=(ee=o.reportData)==null?void 0:ee.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ce=o.reportData)==null?void 0:ce.weather)!=null&&de.waveSwitch||(_e=(re=o.reportData)==null?void 0:re.weather)!=null&&_e.swellHeight||(he=(le=o.reportData)==null?void 0:le.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",Jb,[Kb,e.createElementVNode("div",qb,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",jb,Xb)):e.createCommentVNode("",!0),(be=(De=o.reportData)==null?void 0:De.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",vb,ex)):e.createCommentVNode("",!0)])),e.createElementVNode("div",tx,[e.createElementVNode("table",ox,[lx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(_,q)=>(e.openBlock(),e.createElementBlock("tr",{key:q},[e.createElementVNode("td",null,e.toDisplayString(_==null?void 0:_.type),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.speed} | ${_==null?void 0:_.spdOfOver} , ${_.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.fo} | ${_==null?void 0:_.over} , ${_.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.dgo} | ${_==null?void 0:_.over} , ${_.under}`),1)]))),128))])])])]),ax,e.createElementVNode("div",nx,[((Ce=(xe=o.reportData)==null?void 0:xe.segments)==null?void 0:Ce.length)>1?(e.openBlock(),e.createElementBlock("div",sx,[ix,e.createElementVNode("div",cx,[e.createElementVNode("div",dx,[rx,e.createElementVNode("div",mx,[(ue=(Se=o.reportData)==null?void 0:Se.goodWx)!=null&&ue.avgSpd?(e.openBlock(),e.createElementBlock("div",px,e.toDisplayString((ye=(Oe=o.reportData)==null?void 0:Oe.goodWx)==null?void 0:ye.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",hx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",yx,[Ex,e.createElementVNode("div",_x,[(me=(W=o.reportData)==null?void 0:W.goodWx)!=null&&me.avgSpd?(e.openBlock(),e.createElementBlock("div",Nx,e.toDisplayString((Pe=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:Pe.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Vx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",fx,[gx,e.createElementVNode("div",Dx,[(ke=(Le=o.reportData)==null?void 0:Le.goodWx)!=null&&ke.avgSpd?(e.openBlock(),e.createElementBlock("div",bx,e.toDisplayString((Ye=(We=o.reportData)==null?void 0:We.goodWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",xx,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",Cx,[e.createElementVNode("div",Sx,[kx,e.createElementVNode("div",Bx,e.toDisplayString((Y=(Ze=o.reportData)==null?void 0:Ze.allWx)==null?void 0:Y.avgSpd)+" kts ",1)]),e.createElementVNode("div",Ax,[wx,e.createElementVNode("div",Tx,e.toDisplayString((Me=(we=o.reportData)==null?void 0:we.allWx)==null?void 0:Me.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",ux,[Ox,e.createElementVNode("div",Fx,e.toDisplayString((Qe=($e=o.reportData)==null?void 0:$e.allWx)==null?void 0:Qe.avgDgoEcaCons)+" mt ",1)])]),Px])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(_,q)=>{var Te,He,Ge;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:q},[e.createElementVNode("div",Lx,[e.createElementVNode("div",Wx,[Hx,e.createElementVNode("span",null,"Phase "+e.toDisplayString(q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(pe,je)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+je,class:e.normalizeClass(l.segDetail[q].length>1?"dashed":"")},[e.createElementVNode("div",Mx,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",Gx,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",Ix,[Rx,e.createElementVNode("div",null,[e.createElementVNode("span",zx,e.toDisplayString(_.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",Ux,[Yx,(Te=_.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",Zx,[a.computedTimeConclusion(_.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",$x,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(_.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",Qx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Jx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Kx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(_.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).conclusion),1)])]),e.createElementVNode("div",qx,[jx,(He=_.goodWx)!=null&&He.distance?(e.openBlock(),e.createElementBlock("div",Xx,[a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",vx,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",e3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",t3,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",o3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",l3,[a3,(Ge=_.goodWx)!=null&&Ge.distance?(e.openBlock(),e.createElementBlock("div",n3,[a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",s3,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",i3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",c3,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",d3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",r3,[m3,e.createElementVNode("div",p3,[e.createElementVNode("div",h3,[y3,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=o.reportData)==null?void 0:Ke.segments,(_,q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:q},[e.createElementVNode("div",E3,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${q+1}. Phase ${q+1} Applied `)+" ",1),e.createElementVNode("span",_3,e.toDisplayString(_.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(Te,He)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+He},e.toDisplayString(`${Te.port1} (${Te.fullTime1}) to ${Te.port2} (${Te.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",N3,[V3,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",f3,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(_,q)=>(e.openBlock(),e.createElementBlock("div",{key:q},e.toDisplayString(`From ${_.begin} to ${_.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",g3,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((qe=o.reportData)==null?void 0:qe.segments,(_,q)=>{var Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Bo,Ao,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:q},[e.createElementVNode("div",D3,[e.createElementVNode("div",b3,[e.createElementVNode("div",x3,[e.createElementVNode("div",C3,[S3,e.createElementVNode("span",null,"Phase "+e.toDisplayString(q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(Lt,bl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+bl,class:e.normalizeClass(l.segDetail[q].length>1?"dashed":"")},[e.createElementVNode("div",k3,[e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.port1),1),e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.time1),1)]),e.createElementVNode("div",B3,[e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.port2),1),e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.time2),1)])],2))),128)),e.createElementVNode("div",A3,[w3,e.createElementVNode("div",null,[e.createElementVNode("span",T3,e.toDisplayString(_.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt",1)])])])]),u3,e.createElementVNode("div",O3,[e.createElementVNode("div",F3,[P3,e.createElementVNode("div",L3,[e.createElementVNode("span",null,e.toDisplayString(((Te=_.goodWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),W3,e.createElementVNode("div",H3,[e.createElementVNode("span",null,e.toDisplayString(((He=_.allWx)==null?void 0:He.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",M3,[G3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ge=_.goodWx)==null?void 0:Ge.outEca.avgFoCons)||"-"),1),I3])]),e.createElementVNode("div",R3,[z3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=_.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),U3])]),e.createElementVNode("div",Y3,[Z3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((je=_.allWx)==null?void 0:je.outEca.avgFoCons)||"-"),1),$3])]),e.createElementVNode("div",Q3,[J3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ve=_.allWx)==null?void 0:ve.inEca.avgFoEcaCons)||"-"),1),K3])]),q3]),e.createElementVNode("div",j3,[X3,e.createElementVNode("div",v3,[e.createElementVNode("span",null,e.toDisplayString(((et=_.goodWx)==null?void 0:et.avgDgoEcaCons)||"-")+" mt",1)]),eC,e.createElementVNode("div",tC,[e.createElementVNode("span",null,e.toDisplayString(((lt=_.allWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",oC,[lC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=_.goodWx)==null?void 0:at.outEca.avgDgoCons)||"-"),1),aC])]),e.createElementVNode("div",nC,[sC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=_.goodWx)==null?void 0:nt.inEca.avgDgoEcaCons)||"-"),1),iC])]),e.createElementVNode("div",cC,[dC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((st=_.allWx)==null?void 0:st.outEca.avgDgoCons)||"-"),1),rC])]),e.createElementVNode("div",mC,[pC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ht=_.allWx)==null?void 0:ht.inEca.avgDgoEcaCons)||"-"),1),hC])]),yC])]),e.createElementVNode("div",EC,[e.createElementVNode("div",_C,[NC,e.createElementVNode("div",VC,[e.createElementVNode("span",null,e.toDisplayString(((yt=_.goodWx)==null?void 0:yt.distance)||"-")+" nm",1)]),fC,e.createElementVNode("div",gC,[e.createElementVNode("span",null,e.toDisplayString(((Et=_.allWx)==null?void 0:Et.distance)||"-")+" nm",1)]),e.createElementVNode("div",DC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=_.goodWx)==null?void 0:_t.outEca.distance)||"-"),1),xC])]),e.createElementVNode("div",CC,[SC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=_.goodWx)==null?void 0:Nt.inEca.distance)||"-"),1),kC])]),e.createElementVNode("div",BC,[AC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=_.allWx)==null?void 0:Vt.outEca.distance)||"-"),1),wC])]),e.createElementVNode("div",TC,[uC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=_.allWx)==null?void 0:ft.inEca.distance)||"-"),1),OC])])]),e.createElementVNode("div",FC,[PC,e.createElementVNode("div",LC,[e.createElementVNode("span",null,e.toDisplayString(((gt=_.goodWx)==null?void 0:gt.time)||"-")+" hrs",1)]),WC,e.createElementVNode("div",HC,[e.createElementVNode("span",null,e.toDisplayString(((Dt=_.allWx)==null?void 0:Dt.time)||"-")+" hrs",1)]),e.createElementVNode("div",MC,[GC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=_.goodWx)==null?void 0:bt.outEca.time)||"-"),1),IC])]),e.createElementVNode("div",RC,[zC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=_.goodWx)==null?void 0:xt.inEca.time)||"-"),1),UC])]),e.createElementVNode("div",YC,[ZC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=_.allWx)==null?void 0:Ct.outEca.time)||"-"),1),$C])]),e.createElementVNode("div",QC,[JC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=_.allWx)==null?void 0:St.inEca.time)||"-"),1),KC])])]),e.createElementVNode("div",qC,[jC,e.createElementVNode("div",XC,[e.createElementVNode("span",null,e.toDisplayString(((kt=_.goodWx)==null?void 0:kt.avgSpd)||"-")+" kts",1)]),vC,e.createElementVNode("div",eS,[e.createElementVNode("span",null,e.toDisplayString(((Bt=_.allWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",tS,[oS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=_.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),lS])]),e.createElementVNode("div",aS,[nS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=_.goodWx)==null?void 0:wt.inEca.avgSpd)||"-"),1),sS])]),e.createElementVNode("div",iS,[cS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=_.allWx)==null?void 0:Tt.outEca.avgSpd)||"-"),1),dS])]),e.createElementVNode("div",rS,[mS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ut=_.allWx)==null?void 0:ut.inEca.avgSpd)||"-"),1),pS])])])]),e.createElementVNode("div",hS,[e.createElementVNode("div",yS,[ES,e.createElementVNode("div",_S,[e.createElementVNode("span",null,e.toDisplayString(((Ot=_.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),NS,e.createElementVNode("div",VS,[e.createElementVNode("span",null,e.toDisplayString(((Mt=_.allWx)==null?void 0:Mt.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",fS,[gS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=_.goodWx)==null?void 0:ho.outEca.sumFoCons)||"-"),1),DS])]),e.createElementVNode("div",bS,[xS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=_.goodWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),CS])]),e.createElementVNode("div",SS,[kS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=_.allWx)==null?void 0:Vo.outEca.sumFoCons)||"-"),1),BS])]),e.createElementVNode("div",AS,[wS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((fo=_.allWx)==null?void 0:fo.inEca.sumFoCons)||"-"),1),TS])])]),e.createElementVNode("div",uS,[OS,e.createElementVNode("div",FS,[e.createElementVNode("span",null,e.toDisplayString(((go=_.goodWx)==null?void 0:go.sumDgoCons)||"-")+" mt",1)]),PS,e.createElementVNode("div",LS,[e.createElementVNode("span",null,e.toDisplayString((($=_.allWx)==null?void 0:$.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",WS,[HS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=_.goodWx)==null?void 0:ot.outEca.sumDgoCons)||"-"),1),MS])]),e.createElementVNode("div",GS,[IS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=_.goodWx)==null?void 0:Ft.inEca.sumDgoCons)||"-"),1),RS])]),e.createElementVNode("div",zS,[US,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Pt=_.allWx)==null?void 0:Pt.outEca.sumDgoCons)||"-"),1),YS])]),e.createElementVNode("div",ZS,[$S,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Gt=_.allWx)==null?void 0:Gt.inEca.sumDgoCons)||"-"),1),QS])])]),e.createElementVNode("div",JS,[KS,e.createElementVNode("div",qS,[e.createElementVNode("span",null,e.toDisplayString(((It=_.goodWx)==null?void 0:It.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",jS,[XS,(Rt=_.goodWx)!=null&&Rt.distance&&!((Ut=(zt=o.reportData)==null?void 0:zt.weather)!=null&&Ut.favorableCur&&((Yt=_.goodWx)==null?void 0:Yt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",vS,[e.createTextVNode(e.toDisplayString(a.computedPositive((Zt=_.goodWx)==null?void 0:Zt.avgCf)),1),ek])):(e.openBlock(),e.createElementBlock("b",tk,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",ok,[e.createElementVNode("div",lk,[ak,($t=_.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",nk,[a.computedTimeConclusion(_.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",sk,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(_.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",ik,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",ck,[e.createElementVNode("span",dk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",rk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(_.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=_.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=_.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",mk,[e.createElementVNode("div",pk,[hk,yk,e.createElementVNode("div",Ek,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=o.reportData)==null?void 0:Kt.weather)!=null&&qt.noExtrapolation?(jt=_.goodWx)==null?void 0:jt.distance:(Xt=_.allWx)==null?void 0:Xt.distance),1),_k,e.createElementVNode("div",null,e.toDisplayString((vt=_.goodWx)==null?void 0:vt.pfmSpd),1)]),Nk,e.createElementVNode("div",Vk,e.toDisplayString(_.timeConclusion.timeAtPfmSpd)+" Hrs",1),fk]),e.createElementVNode("div",gk,[Dk,bk,e.createElementVNode("div",xk,[e.createElementVNode("div",null,e.toDisplayString((to=(eo=o.reportData)==null?void 0:eo.weather)!=null&&to.noExtrapolation?(oo=_.goodWx)==null?void 0:oo.distance:(lo=_.allWx)==null?void 0:lo.distance),1),Ck,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),Sk,e.createElementVNode("div",kk,e.toDisplayString(_.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),Bk]),e.createElementVNode("div",Ak,[wk,Tk,e.createElementVNode("div",uk,[e.createElementVNode("div",null,e.toDisplayString((no=(ao=o.reportData)==null?void 0:ao.weather)!=null&&no.noExtrapolation?(so=_.goodWx)==null?void 0:so.distance:(io=_.allWx)==null?void 0:io.distance),1),Ok,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.plusAbtSpd),1)]),Fk,e.createElementVNode("div",Pk,e.toDisplayString(_.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),Lk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Wk,[e.createElementVNode("div",Hk,[Mk,(co=_.goodWx)!=null&&co.distance?(e.openBlock(),e.createElementBlock("div",Gk,[a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Ik,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Rk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",zk,[e.createElementVNode("span",Uk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Yk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ro=_.goodWx)!=null&&ro.distance?"":"analysis-none"} card analysis-card`)},[(Do=_.goodWx)!=null&&Do.distance?(e.openBlock(),e.createElementBlock("div",Zk,[e.createElementVNode("div",$k,[Qk,Jk,e.createElementVNode("div",Kk,[e.createElementVNode("div",null,e.toDisplayString((xo=(bo=o.reportData)==null?void 0:bo.weather)!=null&&xo.noExtrapolation?(Co=_.goodWx)==null?void 0:Co.distance:(So=_.allWx)==null?void 0:So.distance),1),qk,e.createElementVNode("div",null,e.toDisplayString((ko=_.goodWx)==null?void 0:ko.pfmSpd),1)]),jk,e.createElementVNode("div",Xk,[e.createElementVNode("div",null,e.toDisplayString((Bo=_.goodWx)==null?void 0:Bo.sumFoCons)+" "+e.toDisplayString(((Ao=_.allWx)==null?void 0:Ao.inEca.distance)>0?` + ${_.fuelConclusion.fo.dgoAsFoCons}`:""),1),vk,e.createElementVNode("div",null,e.toDisplayString((wo=_.goodWx)==null?void 0:wo.time),1)]),e4,e.createElementVNode("div",t4,e.toDisplayString(_.fuelConclusion.fo.entireCons)+" MT",1),o4]),e.createElementVNode("div",l4,[a4,n4,e.createElementVNode("div",s4,[e.createElementVNode("div",null,e.toDisplayString((uo=(To=o.reportData)==null?void 0:To.weather)!=null&&uo.noExtrapolation?(Oo=_.goodWx)==null?void 0:Oo.distance:(Fo=_.allWx)==null?void 0:Fo.distance),1),i4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),c4,e.createElementVNode("div",d4,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.fo.overTolerance),1),r4,m4]),p4,e.createElementVNode("div",h4,e.toDisplayString(_.fuelConclusion.fo.maxCons)+" MT",1),y4]),e.createElementVNode("div",E4,[_4,N4,e.createElementVNode("div",V4,[e.createElementVNode("div",null,e.toDisplayString((Lo=(Po=o.reportData)==null?void 0:Po.weather)!=null&&Lo.noExtrapolation?(Wo=_.goodWx)==null?void 0:Wo.distance:(Ho=_.allWx)==null?void 0:Ho.distance),1),f4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),g4,e.createElementVNode("div",D4,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.fo.underTolerance),1),b4,x4]),C4,e.createElementVNode("div",S4,e.toDisplayString(_.fuelConclusion.fo.minCons)+" MT",1),k4])])):e.createCommentVNode("",!0)],2)]),((Go=(Mo=_==null?void 0:_.extend)==null?void 0:Mo.cp)==null?void 0:Go.dgo)>0?(e.openBlock(),e.createElementBlock("div",B4,[e.createElementVNode("div",A4,[w4,(Io=_.goodWx)!=null&&Io.distance?(e.openBlock(),e.createElementBlock("div",T4,[a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",u4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",O4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",F4,[e.createElementVNode("span",P4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",L4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ro=_.goodWx)!=null&&Ro.distance?"":"analysis-none"} card analysis-card`)},[(zo=_.goodWx)!=null&&zo.distance?(e.openBlock(),e.createElementBlock("div",W4,[e.createElementVNode("div",H4,[M4,G4,e.createElementVNode("div",I4,[e.createElementVNode("div",null,e.toDisplayString(($o=(Zo=o.reportData)==null?void 0:Zo.weather)!=null&&$o.noExtrapolation?(Qo=_.goodWx)==null?void 0:Qo.distance:(Jo=_.allWx)==null?void 0:Jo.distance),1),R4,e.createElementVNode("div",null,e.toDisplayString((Ko=_.goodWx)==null?void 0:Ko.pfmSpd),1)]),z4,e.createElementVNode("div",U4,[e.createElementVNode("div",null,e.toDisplayString((qo=_.goodWx)==null?void 0:qo.sumDgoCons)+" "+e.toDisplayString(((jo=_.allWx)==null?void 0:jo.inEca.distance)>0?` - ${_.fuelConclusion.fo.dgoAsFoCons}`:""),1),Y4,e.createElementVNode("div",null,e.toDisplayString((Xo=_.goodWx)==null?void 0:Xo.time),1)]),Z4,e.createElementVNode("div",$4,e.toDisplayString(_.fuelConclusion.dgo.entireCons)+" MT",1),Q4]),e.createElementVNode("div",J4,[K4,q4,e.createElementVNode("div",j4,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=o.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?(tl=_.goodWx)==null?void 0:tl.distance:(ol=_.allWx)==null?void 0:ol.distance),1),X4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),v4,e.createElementVNode("div",eB,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.dgo.overTolerance),1),tB,oB]),lB,e.createElementVNode("div",aB,e.toDisplayString(_.fuelConclusion.dgo.maxCons)+" MT",1),nB]),e.createElementVNode("div",sB,[iB,cB,e.createElementVNode("div",dB,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=o.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?(nl=_.goodWx)==null?void 0:nl.distance:(sl=_.allWx)==null?void 0:sl.distance),1),rB,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),mB,e.createElementVNode("div",pB,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.dgo.underTolerance),1),hB,yB]),EB,e.createElementVNode("div",_B,e.toDisplayString(_.fuelConclusion.dgo.minCons)+" MT",1),NB])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),VB,e.createElementVNode("div",fB,[e.createElementVNode("div",gB,[DB,e.createElementVNode("div",bB,[e.createElementVNode("div",xB,[CB,SB,e.createElementVNode("div",kB,[e.createElementVNode("div",null,e.toDisplayString((cl=(il=o.reportData)==null?void 0:il.weather)!=null&&cl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),BB,AB]),wB]),e.createElementVNode("div",TB,[uB,OB,e.createElementVNode("div",FB,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=o.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),PB,LB]),WB]),e.createElementVNode("div",HB,[MB,GB,e.createElementVNode("div",IB,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.reportData)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),RB,zB]),UB]),YB])]),e.createElementVNode("div",ZB,[$B,e.createElementVNode("div",QB,[e.createElementVNode("div",JB,[KB,qB,e.createElementVNode("div",jB,[e.createElementVNode("div",null,e.toDisplayString((yl=(hl=o.reportData)==null?void 0:hl.weather)!=null&&yl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),XB,vB]),eA,tA,oA]),e.createElementVNode("div",lA,[aA,nA,e.createElementVNode("div",sA,[e.createElementVNode("div",null,e.toDisplayString((_l=(El=o.reportData)==null?void 0:El.weather)!=null&&_l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),iA,cA]),dA,rA,mA]),e.createElementVNode("div",pA,[hA,yA,e.createElementVNode("div",EA,[e.createElementVNode("div",null,e.toDisplayString((Vl=(Nl=o.reportData)==null?void 0:Nl.weather)!=null&&Vl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),_A,NA]),VA,fA,gA]),DA,bA])])])])])}),128))])],2)}const CA=Ee(nb,[["render",xA],["__scopeId","data-v-037d24da"]]),Uoe="",SA={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,n,o,c){var m;let l="";const a=((m=this.summaryTable)==null?void 0:m.length)-1;return o&&n!==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,n){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&n!==o)return"td-no-bottom td-top";if((l=this.summaryTable[n+1])!=null&&l.isFirstSeg)return"td-bottom";if(n!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var n;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(n=t.noon)!=null&&n.port)}},computedTime(){return function(t,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,n){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,m;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(m=(a=this.reportData)==null?void 0:a.segments)==null||m.forEach((i,p)=>{let D=i.extend.cp;i.inventory.sample.hours.forEach((f,h)=>{let V=JSON.parse(JSON.stringify(f));V.cp=D,t.push(V)})}),t.sort(function(i,p){let D=i.date,f=p.date;return D-f});let n="",o="";t.forEach((i,p)=>{i.seg!==n&&(i.isFirstSeg=!0,n=i.seg);let D=i.type.charAt(0);i.abbreviation=D;const f=O(i.utc).utc().format("D-MMM");f!==o&&(i.lastdate=f,o=f),D==="A"?i.type="":D==="M"&&(i.type="*"),i.time=O(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}}},pn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),kA=pn(()=>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)),BA={class:"table",id:"second-table"},AA={class:"summary-table"},wA=pn(()=>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)),TA={class:"summary-tbody"},uA=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),OA={class:"voyage-map",style:{"page-break-inside":"avoid"}},FA=pn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),PA=["src"],LA=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 WA(t,n,o,c,l,a){var m,i,p,D,f;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly||(D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.overallAsGoodWx?"watermark fli-main":"fli-main")},[kA,e.createElementVNode("div",BA,[e.createElementVNode("div",null,[e.createElementVNode("table",AA,[wA,e.createElementVNode("tbody",TA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(h,V)=>{var C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;return e.openBlock(),e.createElementBlock("tr",{key:V},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(h,V))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.time),3),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString((C=h.noon)==null?void 0:C.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(r=h.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((S=(k=h.meteo)==null?void 0:k.wind)==null?void 0:S.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((u=(A=(B=h.meteo)==null?void 0:B.wave)==null?void 0:A.swell)==null?void 0:u.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((L=(x=(F=h.meteo)==null?void 0:F.wave)==null?void 0:x.swell)==null?void 0:L.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((R=(Z=(U=h.meteo)==null?void 0:U.wave)==null?void 0:Z.sig)==null?void 0:R.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((P=h.meteo)==null?void 0:P.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((g=h.noon)==null?void 0:g.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((I=h.noon)==null?void 0:I.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(G=h.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((Q=h.noon)==null?void 0:Q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":(j=h.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":(K=h.noon)==null?void 0:K.dgoBrob),3)])}),128))])])])]),uA,e.createElementVNode("div",OA,[FA,e.createElementVNode("img",{style:{width:"100%"},src:(f=o.reportData)==null?void 0:f.chartUrl,alt:""},null,8,PA),LA])],2)}const HA=Ee(SA,[["render",WA],["__scopeId","data-v-a420dc44"]]),Yoe="",MA={components:{Summary:CA,Inventory:HA},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},GA={class:"voyage-report"};function IA(t,n,o,c,l,a){const m=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",GA,[e.createVNode(m,{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 Sn=Ee(MA,[["render",IA],["__scopeId","data-v-7345a543"]]),Zoe="",RA={name:"OrmVoyageSummary",components:{Lng:tn,Lat:on,Editor:Uo},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,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeWeatherDef(){return function(t){let n="";t!=null&&t.waveSwitch?n+=`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?n+=`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&&(n+=`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, ${n}`;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. 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,n,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,n){return t.consPercentage?n==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:n==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(n=(t=this.report)==null?void 0:t.segments)==null||n.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const m={time:O(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+O(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(m)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},y=t=>(e.pushScopeId("data-v-9922ca22"),t=t(),e.popScopeId(),t),zA={class:"report-summary"},UA={class:"section voyage-section flex-space"},YA={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},ZA={class:"flex-space label-block",style:{width:"100%"}},$A=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),QA={style:{"text-transform":"uppercase"}},JA={class:"flex-space label-block",style:{width:"100%"}},KA=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),qA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},jA={class:"flex-space label-block",style:{width:"100%"}},XA=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),vA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},e8={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},t8={class:"flex-space label-block",style:{width:"100%"}},o8=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),l8={key:0,class:"flex-end",style:{flex:"1"}},a8={key:1,class:"flex-end",style:{flex:"1"}},n8=y(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),s8={class:"flex-end",style:{width:"150px"}},i8={class:"flex-space label-block",style:{width:"100%"}},c8=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),d8={key:0,class:"flex-end",style:{flex:"1"}},r8={key:1,class:"flex-end",style:{flex:"1"}},m8=y(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),p8={class:"flex-end",style:{width:"150px"}},h8={class:"flex-space label-block",style:{width:"100%"}},y8=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),E8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},_8={class:"section weather-section"},N8=y(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),V8={class:"definition"},f8={class:"txt"},g8={class:"section summary-section"},D8=y(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),b8={class:"phase-box"},x8={class:"phase-index"},C8={class:"phase-position"},S8={key:0},k8={key:1},B8=y(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),A8={class:"phase-position"},w8={key:0},T8={key:1},u8=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),O8={class:"phase-cp flex-space"},F8={class:"cp-box"},P8=y(()=>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)),L8={class:"flex-space"},W8=y(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),H8=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),M8=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),G8=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),I8=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),R8=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),z8=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),U8=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Y8={class:"phase-conclusion flex-space"},Z8={class:"item-conclusion"},$8=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),Q8={class:"value flex-start"},J8=y(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),K8={key:0,class:"label flex-end"},q8={key:0},j8={key:1},X8={key:2},v8={key:1,class:"label flex-end"},e5={key:2,class:"value flex-end"},t5={key:0},o5=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),l5={class:"gain"},a5=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),n5={key:1},s5=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),i5={class:"lost"},c5=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),d5={key:2},r5={class:"item-conclusion"},m5=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),p5={class:"value flex-start"},h5=y(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),y5={key:0,class:"label flex-end"},E5={key:0},_5={key:1},N5={key:2},V5={key:1,class:"label flex-end"},f5={key:2,class:"value flex-end"},g5={key:0},D5=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),b5={class:"gain"},x5=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),C5={key:1},S5=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),k5={class:"lost"},B5=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),A5={key:2},w5={class:"item-conclusion"},T5=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),u5={class:"value flex-start"},O5=y(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),F5={key:0,class:"label flex-end"},P5={key:0},L5={key:1},W5={key:2},H5={key:1,class:"label flex-end"},M5={key:2,class:"value flex-end"},G5={key:0},I5=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),R5={class:"gain"},z5=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),U5={key:1},Y5=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Z5={class:"lost"},$5=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Q5={key:2},J5=y(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),K5=y(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),q5={key:0,class:"exclusion-block"},j5=y(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),X5=y(()=>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)),v5={style:{margin:"8px 0"}},ew={class:"remark-table"},tw=y(()=>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)),ow=["innerHTML"],lw={class:"section segment-section"},aw=y(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),nw={class:"segment-index flex-center"},sw={class:"segment-position"},iw={key:0},cw={key:1},dw=y(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),rw={class:"segment-position"},mw={key:0},pw={key:1},hw=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),yw={style:{margin:"10px 0 0"}},Ew=y(()=>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)),_w=y(()=>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)),Nw=y(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Vw={class:"good-wx"},fw={class:"good-wx"},gw=y(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Dw={class:"good-wx"},bw={class:"good-wx"},xw=y(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Cw={class:"good-wx"},Sw={class:"good-wx"},kw=y(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Bw={class:"good-wx"},Aw={class:"good-wx"},ww=y(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Tw={class:"good-wx"},uw={class:"good-wx"},Ow=y(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Fw={class:"good-wx"},Pw={class:"good-wx"},Lw=y(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Ww={class:"good-wx"},Hw={class:"good-wx"},Mw={key:0,class:"flex-end tip"},Gw={key:1,class:"segment-speed"},Iw={class:"flex-center"},Rw=y(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),zw={class:"speed-right flex-space"},Uw=y(()=>e.createElementVNode("span",null,"-",-1)),Yw=y(()=>e.createElementVNode("span",null,"-",-1)),Zw=y(()=>e.createElementVNode("label",null,"=",-1)),$w={class:"speed"},Qw=y(()=>e.createElementVNode("span",null,"-",-1)),Jw=y(()=>e.createElementVNode("label",null,"=",-1)),Kw={class:"speed"},qw={key:2,class:"under"},jw={key:3,class:"over"},Xw={class:"flex-center"},vw=y(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e7={class:"speed-right formula flex-space"},t7=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),o7=y(()=>e.createElementVNode("label",null,"-",-1)),l7=y(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),a7=y(()=>e.createElementVNode("label",null,"-",-1)),n7=y(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),s7=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),i7=y(()=>e.createElementVNode("label",null,"-",-1)),c7=y(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),d7=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),r7=y(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),m7={key:2,class:"segment-speed"},p7={class:"flex-center"},h7=y(()=>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"},E7=y(()=>e.createElementVNode("span",null,"-",-1)),_7=y(()=>e.createElementVNode("span",null,"-",-1)),N7=y(()=>e.createElementVNode("label",null,"=",-1)),V7={class:"speed"},f7=y(()=>e.createElementVNode("span",null,"-",-1)),g7=y(()=>e.createElementVNode("label",null,"=",-1)),D7={class:"speed"},b7={key:2,class:"under"},x7={key:3,class:"over"},C7={class:"flex-center"},S7=y(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),k7={class:"speed-right formula flex-space"},B7=y(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),A7=y(()=>e.createElementVNode("label",null,"-",-1)),w7=y(()=>e.createElementVNode("label",null,"Current Factor",-1)),T7=y(()=>e.createElementVNode("label",null,"-",-1)),u7=y(()=>e.createElementVNode("label",null,"Weather Factor",-1)),O7=y(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),F7=y(()=>e.createElementVNode("label",null,"-",-1)),P7=y(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),L7=y(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),W7=y(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),H7={class:"segment-formula"},M7={class:"header-block flex-start"},G7=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),I7={class:"title"},R7={key:0,style:{"margin-left":"4px","font-weight":"300"}},z7={class:"formula-block"},U7={class:"flex-evenly"},Y7=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Z7={class:"formula-right flex-evenly"},$7={class:"fraction",style:{width:"240px"}},Q7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),J7=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),K7=y(()=>e.createElementVNode("div",null,"(a)",-1)),q7={class:"flex-center"},j7={class:"formula-left flex-space"},X7=y(()=>e.createElementVNode("label",null,"=",-1)),v7={class:"formula-right flex-evenly"},e6={class:"fraction",style:{width:"240px"}},t6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),o6=y(()=>e.createElementVNode("div",null,"(b)",-1)),l6={class:"flex-center"},a6={class:"formula-left flex-space"},n6=y(()=>e.createElementVNode("label",null,"=",-1)),s6={class:"formula-right flex-evenly"},i6={class:"fraction",style:{width:"240px"}},c6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),d6=y(()=>e.createElementVNode("div",null,"(c)",-1)),r6=e.createStaticVNode('<div class="flex-start" data-v-9922ca22><div class="flex-space" style="width:300px;font-weight:400;" data-v-9922ca22><label data-v-9922ca22>Time Lost</label><div data-v-9922ca22>=</div><div data-v-9922ca22>(a)</div><div data-v-9922ca22>-</div><div data-v-9922ca22>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-9922ca22><label data-v-9922ca22>Time Gained</label><div data-v-9922ca22>=</div><div data-v-9922ca22>(c)</div><div data-v-9922ca22>-</div><div data-v-9922ca22>(a)</div></div></div>',1),m6={class:"formula-desc"},p6={class:"flex-end"},h6=y(()=>e.createElementVNode("label",null,"Time Lost",-1)),y6={class:"flex-end"},E6=y(()=>e.createElementVNode("label",null,"Time Gained",-1)),_6={class:"flex-end"},N6=y(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),V6={key:0,class:"formula-block",style:{"font-weight":"400"}},f6={class:"flex-evenly"},g6=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),D6={class:"formula-right flex-evenly"},b6={class:"fraction",style:{width:"240px"}},x6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),C6=y(()=>e.createElementVNode("div",null,"=",-1)),S6=y(()=>e.createElementVNode("div",null,"(a')",-1)),k6={class:"flex-center"},B6={class:"formula-left flex-space"},A6=y(()=>e.createElementVNode("label",null,"=",-1)),w6={class:"formula-right flex-evenly"},T6={class:"fraction",style:{width:"240px"}},u6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),O6=y(()=>e.createElementVNode("div",null,"=",-1)),F6=y(()=>e.createElementVNode("div",null,"(b')",-1)),P6={class:"flex-center"},L6={class:"formula-left flex-space"},W6=y(()=>e.createElementVNode("label",null,"=",-1)),H6={class:"formula-right flex-evenly"},M6={class:"fraction",style:{width:"240px"}},G6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),I6=y(()=>e.createElementVNode("div",null,"=",-1)),R6=y(()=>e.createElementVNode("div",null,"(c')",-1)),z6={class:"formula-conclusion",style:{"margin-bottom":"0"}},U6={key:0,class:"flex-evenly",style:{width:"500px"}},Y6=y(()=>e.createElementVNode("div",null,"Time Lost",-1)),Z6=y(()=>e.createElementVNode("div",null,"=",-1)),$6=y(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),Q6=y(()=>e.createElementVNode("div",null,"=",-1)),J6=y(()=>e.createElementVNode("div",null,"-",-1)),K6=y(()=>e.createElementVNode("div",null,"=",-1)),q6={key:1,class:"flex-evenly",style:{width:"500px"}},j6=y(()=>e.createElementVNode("div",null,"Time Lost",-1)),X6=y(()=>e.createElementVNode("div",null,"=",-1)),v6=y(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),e9=y(()=>e.createElementVNode("div",null,"=",-1)),t9=y(()=>e.createElementVNode("div",null,"-",-1)),o9=y(()=>e.createElementVNode("div",null,"=",-1)),l9=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),a9={key:1,class:"formula-conclusion"},n9=y(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),s9={class:"segment-formula"},i9={class:"header-block flex-start"},c9=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),d9={class:"title"},r9={key:0,style:{"margin-left":"4px","font-weight":"300"}},m9={class:"formula-block"},p9={class:"flex-evenly"},h9=y(()=>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"},E9={class:"fraction",style:{width:"240px"}},_9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),N9=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),V9=y(()=>e.createElementVNode("div",null,"x",-1)),f9=y(()=>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)),g9=y(()=>e.createElementVNode("div",null,"(d)",-1)),D9={style:{"line-height":"1"}},b9=y(()=>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)),x9={key:0,class:"tips flex-end",style:{"font-size":"14px"}},C9={class:"flex-center"},S9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),k9={class:"formula-right flex-evenly"},B9={class:"fraction",style:{width:"240px"}},A9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),w9=y(()=>e.createElementVNode("div",null,"x",-1)),T9=y(()=>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)),u9=y(()=>e.createElementVNode("div",null,"(e)",-1)),O9={class:"flex-center"},F9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),P9={class:"formula-right flex-evenly"},L9={class:"fraction",style:{width:"240px"}},W9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),H9=y(()=>e.createElementVNode("div",null,"x",-1)),M9=y(()=>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)),G9=y(()=>e.createElementVNode("div",null,"(f)",-1)),I9=e.createStaticVNode('<div class="flex-start" data-v-9922ca22><div class="flex-space" style="width:300px;font-weight:400;" data-v-9922ca22><label data-v-9922ca22>Fuel Over-consumption</label><div data-v-9922ca22>=</div><div data-v-9922ca22>(d)</div><div data-v-9922ca22>-</div><div data-v-9922ca22>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-9922ca22><label data-v-9922ca22>Fuel Saving</label><div data-v-9922ca22>=</div><div data-v-9922ca22>(f)</div><div data-v-9922ca22>-</div><div data-v-9922ca22>(d)</div></div></div>',1),R9={class:"flex-center"},z9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),U9={class:"formula-right flex-evenly"},Y9={class:"fraction",style:{width:"270px"}},Z9=y(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),$9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q9={class:"flex-center"},J9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),K9={class:"formula-right flex-evenly"},q9={class:"fraction",style:{width:"270px"}},j9=y(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),X9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),v9=y(()=>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)),eT={class:"header-block flex-start",style:{"margin-top":"10px"}},tT=y(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),oT={class:"title"},lT={key:0,class:"formula-block"},aT={key:0,class:"flex-evenly"},nT=y(()=>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)),sT={class:"formula-right flex-evenly"},iT={class:"fraction",style:{width:"60px"}},cT=y(()=>e.createElementVNode("div",null,"-",-1)),dT={class:"fraction",style:{width:"60px"}},rT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),mT=y(()=>e.createElementVNode("div",null,"24",-1)),pT=y(()=>e.createElementVNode("div",null,"*",-1)),hT=y(()=>e.createElementVNode("div",null,"=",-1)),yT={class:"flex-evenly"},ET=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),_T={class:"formula-right flex-evenly"},NT={class:"fraction",style:{width:"240px"}},VT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),fT=y(()=>e.createElementVNode("div",null,"x",-1)),gT={class:"fraction",style:{width:"240px"}},DT={key:0},bT=y(()=>e.createElementVNode("span",null," + ",-1)),xT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),CT=y(()=>e.createElementVNode("div",null,"=",-1)),ST=y(()=>e.createElementVNode("div",null,"(d')",-1)),kT={class:"flex-evenly"},BT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),AT={class:"formula-right flex-evenly"},wT={class:"fraction",style:{width:"240px"}},TT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),uT=y(()=>e.createElementVNode("div",null,"x",-1)),OT={class:"fraction",style:{width:"240px"}},FT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),PT=y(()=>e.createElementVNode("div",null,"24",-1)),LT=y(()=>e.createElementVNode("div",null,"=",-1)),WT=y(()=>e.createElementVNode("div",null,"(e')",-1)),HT={class:"flex-evenly"},MT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),GT={class:"formula-right flex-evenly"},IT={class:"fraction",style:{width:"240px"}},RT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),zT=y(()=>e.createElementVNode("div",null,"x",-1)),UT={class:"fraction",style:{width:"240px"}},YT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),ZT=y(()=>e.createElementVNode("div",null,"24",-1)),$T=y(()=>e.createElementVNode("div",null,"=",-1)),QT=y(()=>e.createElementVNode("div",null,"(f')",-1)),JT={class:"formula-conclusion",style:{"margin-bottom":"0"}},KT={class:"flex-evenly",style:{width:"500px"}},qT=y(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),jT=y(()=>e.createElementVNode("div",null,"=",-1)),XT=y(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),vT=y(()=>e.createElementVNode("div",null,"=",-1)),eu=y(()=>e.createElementVNode("div",null,"-",-1)),tu=y(()=>e.createElementVNode("div",null,"=",-1)),ou={key:0,class:"flex-evenly"},lu=y(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),au=y(()=>e.createElementVNode("div",null,"=",-1)),nu={class:"fraction"},su=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),iu=y(()=>e.createElementVNode("div",null,"=",-1)),cu={class:"flex-evenly",style:{width:"700px"}},du=y(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),ru=y(()=>e.createElementVNode("div",null,"=",-1)),mu=y(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),pu=y(()=>e.createElementVNode("div",null,"=",-1)),hu=y(()=>e.createElementVNode("div",null,"-",-1)),yu=y(()=>e.createElementVNode("div",null,"=",-1)),Eu={key:0,class:"flex-evenly",style:{width:"500px"}},_u=y(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),Nu=y(()=>e.createElementVNode("div",null,"=",-1)),Vu={class:"fraction",style:{width:"140px"}},fu=y(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),gu=y(()=>e.createElementVNode("div",null,"=",-1)),Du=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),bu={key:1,class:"formula-conclusion"},xu={class:"header-block flex-end",style:{"margin-top":"10px"}},Cu=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Su={class:"title"},ku={key:0,class:"formula-block"},Bu={class:"flex-evenly"},Au=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),wu={class:"formula-right flex-evenly"},Tu={class:"fraction",style:{width:"240px"}},uu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ou=y(()=>e.createElementVNode("div",null,"x",-1)),Fu={class:"fraction",style:{width:"240px"}},Pu={key:0},Lu=y(()=>e.createElementVNode("span",null," - ",-1)),Wu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Hu=y(()=>e.createElementVNode("div",null,"=",-1)),Mu=y(()=>e.createElementVNode("div",null,"(d'')",-1)),Gu={class:"flex-evenly"},Iu=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Ru={class:"formula-right flex-evenly"},zu={class:"fraction",style:{width:"240px"}},Uu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Yu=y(()=>e.createElementVNode("div",null,"x",-1)),Zu={class:"fraction",style:{width:"240px"}},$u=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Qu=y(()=>e.createElementVNode("div",null,"24",-1)),Ju=y(()=>e.createElementVNode("div",null,"=",-1)),Ku=y(()=>e.createElementVNode("div",null,"(e'')",-1)),qu={class:"flex-evenly"},ju=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Xu={class:"formula-right flex-evenly"},vu={class:"fraction",style:{width:"240px"}},eO=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),tO=y(()=>e.createElementVNode("div",null,"x",-1)),oO={class:"fraction",style:{width:"240px"}},lO=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),aO=y(()=>e.createElementVNode("div",null,"24",-1)),nO=y(()=>e.createElementVNode("div",null,"=",-1)),sO=y(()=>e.createElementVNode("div",null,"(f'')",-1)),iO={class:"formula-conclusion",style:{"margin-bottom":"0"}},cO={key:0,class:"flex-evenly",style:{width:"500px"}},dO=y(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),rO=y(()=>e.createElementVNode("div",null,"=",-1)),mO=y(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),pO=y(()=>e.createElementVNode("div",null,"=",-1)),hO=y(()=>e.createElementVNode("div",null,"-",-1)),yO=y(()=>e.createElementVNode("div",null,"=",-1)),EO={key:1,class:"flex-evenly",style:{width:"700px"}},_O=y(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),NO=y(()=>e.createElementVNode("div",null,"=",-1)),VO=y(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),fO=y(()=>e.createElementVNode("div",null,"=",-1)),gO=y(()=>e.createElementVNode("div",null,"-",-1)),DO=y(()=>e.createElementVNode("div",null,"=",-1)),bO=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),xO={key:1,class:"formula-conclusion"};function CO(t,n,o,c,l,a){var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J;const m=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",zA,[e.createElementVNode("div",UA,[e.createElementVNode("div",YA,[e.createElementVNode("div",ZA,[$A,e.createElementVNode("span",QA,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",JA,[KA,e.createElementVNode("span",qA,e.toDisplayString((f=(D=o.report)==null?void 0:D.vessel)==null?void 0:f.name)+" ("+e.toDisplayString((V=(h=o.report)==null?void 0:h.vessel)==null?void 0:V.type)+")",1)]),e.createElementVNode("div",jA,[XA,e.createElementVNode("span",vA,e.toDisplayString((r=(C=o.report)==null?void 0:C.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",e8,[e.createElementVNode("div",t8,[o8,(S=(k=o.report)==null?void 0:k.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",l8,e.toDisplayString((A=(B=o.report)==null?void 0:B.departure)==null?void 0:A.portName),1)):(e.openBlock(),e.createElementBlock("div",a8,[e.createVNode(m,{lat:(F=(u=o.report)==null?void 0:u.departure)==null?void 0:F.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),n8,e.createVNode(i,{lng:(x=o.report.departure)==null?void 0:x.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",s8,e.toDisplayString(a.computeUTCTime((L=o.report.departure)==null?void 0:L.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",i8,[c8,(Z=(U=o.report)==null?void 0:U.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",d8,e.toDisplayString((P=(R=o.report)==null?void 0:R.arrival)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",r8,[e.createVNode(m,{lat:(I=(g=o.report)==null?void 0:g.arrival)==null?void 0:I.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),m8,e.createVNode(i,{lng:(H=(G=o.report)==null?void 0:G.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",p8,e.toDisplayString(a.computeUTCTime((Q=(M=o.report)==null?void 0:M.arrival)==null?void 0:Q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",h8,[y8,e.createElementVNode("span",E8,e.toDisplayString((K=(j=o.report)==null?void 0:j.voyage)==null?void 0:K.loadCondition),1)])])]),e.createElementVNode("div",_8,[N8,e.createElementVNode("div",V8,[e.createElementVNode("div",f8,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",g8,[D8,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((N=o.report)==null?void 0:N.segments,(s,X)=>{var d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+X},[e.createElementVNode("div",b8,[e.createElementVNode("div",x8,"Seg."+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(q,Te)=>{var He,Ge,pe,je,ve,et,lt,at,nt,st;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Te},[e.createElementVNode("div",C8,[(He=q==null?void 0:q.departure)!=null&&He.portName?(e.openBlock(),e.createElementBlock("span",S8,e.toDisplayString((Ge=q==null?void 0:q.departure)==null?void 0:Ge.portName),1)):(e.openBlock(),e.createElementBlock("span",k8,e.toDisplayString(a.computeLat((pe=q==null?void 0:q.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(a.computeLng((je=q==null?void 0:q.departure)==null?void 0:je.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ve=q==null?void 0:q.departure)==null?void 0:ve.utcTime))+")",1)]),B8,e.createElementVNode("div",A8,[(et=q==null?void 0:q.arrival)!=null&&et.portName?(e.openBlock(),e.createElementBlock("span",w8,e.toDisplayString((lt=q==null?void 0:q.arrival)==null?void 0:lt.portName),1)):(e.openBlock(),e.createElementBlock("span",T8,e.toDisplayString(a.computeLat((at=q==null?void 0:q.arrival)==null?void 0:at.lat).pretty)+", "+e.toDisplayString(a.computeLng((nt=q==null?void 0:q.arrival)==null?void 0:nt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((st=q==null?void 0:q.arrival)==null?void 0:st.utcTime))+")",1)])])}),128)),u8,e.createElementVNode("div",O8,[e.createElementVNode("div",F8,[P8,e.createElementVNode("div",L8,[W8,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(v=s==null?void 0:s.extend)==null?void 0:v.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[H8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(se=(ee=s==null?void 0:s.extend)==null?void 0:ee.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[M8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(de=(ce=s==null?void 0:s.extend)==null?void 0:ce.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(re=s==null?void 0:s.extend)==null?void 0:re.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[G8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[I8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(le=s==null?void 0:s.extend)==null?void 0:le.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[R8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[z8,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])])])])]),U8,e.createElementVNode("div",Y8,[e.createElementVNode("div",Z8,[$8,e.createElementVNode("div",Q8,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.time),1),J8]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",K8,[((Ne=s==null?void 0:s.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",q8," Time Gained ")):((Ve=s==null?void 0:s.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",j8," Time Lost ")):(e.openBlock(),e.createElementBlock("div",X8,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",v8,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",e5,[((fe=s==null?void 0:s.timeConclusion)==null?void 0:fe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",t5,[o5,e.createElementVNode("span",l5,e.toDisplayString((ge=s==null?void 0:s.timeConclusion)==null?void 0:ge.timeGain),1),a5])):((De=s==null?void 0:s.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",n5,[s5,e.createElementVNode("span",i5,e.toDisplayString((be=s==null?void 0:s.timeConclusion)==null?void 0:be.timeLost),1),c5])):(e.openBlock(),e.createElementBlock("div",d5,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",r5,[m5,e.createElementVNode("div",p5,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumFoCons),1),h5]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",y5,[((Ce=(xe=s==null?void 0:s.fuelConclusion)==null?void 0:xe.fo)==null?void 0:Ce.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",E5," FO Saving ")):((ue=(Se=s==null?void 0:s.fuelConclusion)==null?void 0:Se.fo)==null?void 0:ue.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",_5," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",N5,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",V5,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",f5,[((ye=(Oe=s==null?void 0:s.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",g5,[D5,e.createElementVNode("span",b5,e.toDisplayString((me=(W=s==null?void 0:s.fuelConclusion)==null?void 0:W.fo)==null?void 0:me.saving),1),x5])):((Pe=(Fe=s==null?void 0:s.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Pe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",C5,[S5,e.createElementVNode("span",k5,e.toDisplayString((ke=(Le=s==null?void 0:s.fuelConclusion)==null?void 0:Le.fo)==null?void 0:ke.overCons),1),B5])):(e.openBlock(),e.createElementBlock("div",A5,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",w5,[T5,e.createElementVNode("div",u5,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumDgoCons),1),O5]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",F5,[((Ye=(We=s==null?void 0:s.fuelConclusion)==null?void 0:We.dgo)==null?void 0:Ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",P5," DO/GO Saving ")):((Y=(Ze=s==null?void 0:s.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Y.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",L5," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",W5,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",H5,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",M5,[((Me=(we=s==null?void 0:s.fuelConclusion)==null?void 0:we.dgo)==null?void 0:Me.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",G5,[I5,e.createElementVNode("span",R5,e.toDisplayString((Qe=($e=s==null?void 0:s.fuelConclusion)==null?void 0:$e.dgo)==null?void 0:Qe.saving),1),z5])):((Ke=(Je=s==null?void 0:s.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:Ke.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",U5,[Y5,e.createElementVNode("span",Z5,e.toDisplayString((_=(qe=s==null?void 0:s.fuelConclusion)==null?void 0:qe.dgo)==null?void 0:_.overCons),1),$5])):(e.openBlock(),e.createElementBlock("div",Q5,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),J5]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((z=o.report)==null?void 0:z.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[K5,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",q5,[j5,X5,e.createElementVNode("div",v5,[e.createElementVNode("table",ew,[tw,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(s,X)=>(e.openBlock(),e.createElementBlock("tr",{key:X},[e.createElementVNode("td",null,e.toDisplayString(X+1),1),e.createElementVNode("td",null,e.toDisplayString(s.time),1),e.createElementVNode("td",null,e.toDisplayString(s.duration),1),e.createElementVNode("td",null,e.toDisplayString(s.distance),1),e.createElementVNode("td",null,e.toDisplayString(s.fo),1),e.createElementVNode("td",null,e.toDisplayString(s.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((J=o.report)==null?void 0:J.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.remarks,"onUpdate:modelValue":n[0]||(n[0]=s=>l.remarks=s),class:"editor",height:"120px",onBlur:n[1]||(n[1]=s=>a.handleCommit(s))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[2]||(n[2]=(...s)=>a.handleEdit&&a.handleEdit(...s)),innerHTML:l.remarks},null,40,ow))],2)],2),e.createElementVNode("div",lw,[aw,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(s,X)=>{var d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Bo,Ao,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl,Lt,bl,Sl,kl,Bl,Al,wl,Tl,ul,Ol,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,$l,Ql,Jl,Kl,ql,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,ua,Oa,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,$a,Qa,ae,mo,Ja,Ka,qa,ne,po,ja,Xa,va,mt,nn,sn,cn,dn,Wt,Jn,Kn,qn,jn,Xn,vn,es,ts,os,ls,as,ns,ss,is,cs,ds,rs,ms,ps,hs,ys,Es,_s,Ns,Vs,fs,gs,Ds,bs,xs,Cs,Ss,ks,Bs,As,ws,Ts,us,Os,Fs,Ps,Ls,Ws,Hs,Ms,Gs,Is,Rs,zs,Us,Ys,Zs,$s,Qs,Js,Ks,qs,js,Xs,vs,ei,ti,oi,li,ai,ni,si,ii,ci,di,ri,mi,pi,hi,yi,Ei,_i,Ni,Vi,fi,gi,Di;return e.openBlock(),e.createElementBlock("div",{key:X,class:"segment-block"},[e.createElementVNode("div",nw,"Voyage Analysis Seg. "+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(Xe,ioe)=>{var bi,xi,Ci,Si,ki,Bi,Ai,wi,Ti,ui;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:ioe},[e.createElementVNode("div",sw,[(bi=Xe==null?void 0:Xe.departure)!=null&&bi.portName?(e.openBlock(),e.createElementBlock("span",iw,e.toDisplayString((xi=Xe==null?void 0:Xe.departure)==null?void 0:xi.portName),1)):(e.openBlock(),e.createElementBlock("span",cw,e.toDisplayString(a.computeLat((Ci=Xe==null?void 0:Xe.departure)==null?void 0:Ci.lat).pretty)+", "+e.toDisplayString(a.computeLng((Si=Xe==null?void 0:Xe.departure)==null?void 0:Si.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ki=Xe==null?void 0:Xe.departure)==null?void 0:ki.utcTime))+")",1)]),dw,e.createElementVNode("div",rw,[(Bi=Xe==null?void 0:Xe.arrival)!=null&&Bi.portName?(e.openBlock(),e.createElementBlock("span",mw,e.toDisplayString((Ai=Xe==null?void 0:Xe.arrival)==null?void 0:Ai.portName),1)):(e.openBlock(),e.createElementBlock("span",pw,e.toDisplayString(a.computeLat((wi=Xe==null?void 0:Xe.arrival)==null?void 0:wi.lat).pretty)+", "+e.toDisplayString(a.computeLng((Ti=Xe==null?void 0:Xe.arrival)==null?void 0:Ti.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ui=Xe==null?void 0:Xe.arrival)==null?void 0:ui.utcTime))+")",1)])])}),128)),hw,e.createElementVNode("div",yw,[e.createElementVNode("table",null,[Ew,_w,e.createElementVNode("tr",null,[Nw,e.createElementVNode("td",Vw,e.toDisplayString((oe=(v=s==null?void 0:s.goodWx)==null?void 0:v.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",fw,e.toDisplayString((se=(ee=s==null?void 0:s.goodWx)==null?void 0:ee.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ce=s==null?void 0:s.allWx)==null?void 0:ce.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(re=s==null?void 0:s.allWx)==null?void 0:re.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[gw,e.createElementVNode("td",Dw,e.toDisplayString((he=(le=s==null?void 0:s.goodWx)==null?void 0:le.outEca)==null?void 0:he.time),1),e.createElementVNode("td",bw,e.toDisplayString((Ve=(Ne=s==null?void 0:s.goodWx)==null?void 0:Ne.inEca)==null?void 0:Ve.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(fe=s==null?void 0:s.allWx)==null?void 0:fe.outEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(De=s==null?void 0:s.allWx)==null?void 0:De.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[xw,e.createElementVNode("td",Cw,e.toDisplayString(((Ce=(xe=s==null?void 0:s.goodWx)==null?void 0:xe.outEca)==null?void 0:Ce.avgSpd)||"--"),1),e.createElementVNode("td",Sw,e.toDisplayString(((ue=(Se=s==null?void 0:s.goodWx)==null?void 0:Se.inEca)==null?void 0:ue.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ye=(Oe=s==null?void 0:s.allWx)==null?void 0:Oe.outEca)==null?void 0:ye.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((me=(W=s==null?void 0:s.allWx)==null?void 0:W.inEca)==null?void 0:me.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[kw,e.createElementVNode("td",Bw,e.toDisplayString(((Pe=(Fe=s==null?void 0:s.goodWx)==null?void 0:Fe.outEca)==null?void 0:Pe.sumFoCons)||"--"),1),e.createElementVNode("td",Aw,e.toDisplayString(((ke=(Le=s==null?void 0:s.goodWx)==null?void 0:Le.inEca)==null?void 0:ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ye=(We=s==null?void 0:s.allWx)==null?void 0:We.outEca)==null?void 0:Ye.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Y=(Ze=s==null?void 0:s.allWx)==null?void 0:Ze.inEca)==null?void 0:Y.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[ww,e.createElementVNode("td",Tw,e.toDisplayString(((Me=(we=s==null?void 0:s.goodWx)==null?void 0:we.outEca)==null?void 0:Me.avgFoCons)||"--"),1),e.createElementVNode("td",uw,e.toDisplayString(((Qe=($e=s==null?void 0:s.goodWx)==null?void 0:$e.inEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(Je=s==null?void 0:s.allWx)==null?void 0:Je.outEca)==null?void 0:Ke.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_=(qe=s==null?void 0:s.allWx)==null?void 0:qe.inEca)==null?void 0:_.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Ow,e.createElementVNode("td",Fw,e.toDisplayString(((Te=(q=s==null?void 0:s.goodWx)==null?void 0:q.outEca)==null?void 0:Te.sumDgoCons)||"--"),1),e.createElementVNode("td",Pw,e.toDisplayString(((Ge=(He=s==null?void 0:s.goodWx)==null?void 0:He.inEca)==null?void 0:Ge.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(pe=s==null?void 0:s.allWx)==null?void 0:pe.outEca)==null?void 0:je.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=s==null?void 0:s.allWx)==null?void 0:ve.inEca)==null?void 0:et.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Lw,e.createElementVNode("td",Ww,e.toDisplayString(((at=(lt=s==null?void 0:s.goodWx)==null?void 0:lt.outEca)==null?void 0:at.avgDgoCons)||"--"),1),e.createElementVNode("td",Hw,e.toDisplayString(((st=(nt=s==null?void 0:s.goodWx)==null?void 0:nt.inEca)==null?void 0:st.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((yt=(ht=s==null?void 0:s.allWx)==null?void 0:ht.outEca)==null?void 0:yt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_t=(Et=s==null?void 0:s.allWx)==null?void 0:Et.inEca)==null?void 0:_t.avgDgoCons)||"--"),1)])])]),(Nt=l.exclusion[X])!=null&&Nt.time?(e.openBlock(),e.createElementBlock("div",Mw," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Vt=s==null?void 0:s.goodWx)!=null&&Vt.distance?(e.openBlock(),e.createElementBlock("div",Gw,[e.createElementVNode("div",Iw,[Rw,e.createElementVNode("div",zw,[(gt=(ft=o.report)==null?void 0:ft.weather)!=null&>.favorableCur&&((Dt=s==null?void 0:s.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Mt=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Mt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((ho=s==null?void 0:s.goodWx)==null?void 0:ho.avgSpd),1),Qw,e.createElementVNode("span",null,e.toDisplayString(((No=s==null?void 0:s.goodWx)==null?void 0:No.avgWf)>0?(Vo=s==null?void 0:s.goodWx)==null?void 0:Vo.avgWf:`(${(fo=s==null?void 0:s.goodWx)==null?void 0:fo.avgWf})`),1),Jw],64)):e.createCommentVNode("",!0),e.createElementVNode("span",Kw,e.toDisplayString((go=s==null?void 0:s.goodWx)==null?void 0:go.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((bt=s==null?void 0:s.goodWx)==null?void 0:bt.avgSpd),1),Uw,e.createElementVNode("span",null,e.toDisplayString(((xt=s==null?void 0:s.goodWx)==null?void 0:xt.avgCf)>0?(Ct=s==null?void 0:s.goodWx)==null?void 0:Ct.avgCf:`(${(St=s==null?void 0:s.goodWx)==null?void 0:St.avgCf})`),1),(Bt=(kt=o.report)==null?void 0:kt.weather)!=null&&Bt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Yw,e.createElementVNode("span",null,e.toDisplayString(((At=s==null?void 0:s.goodWx)==null?void 0:At.avgWf)>0?(wt=s==null?void 0:s.goodWx)==null?void 0:wt.avgWf:`(${(Tt=s==null?void 0:s.goodWx)==null?void 0:Tt.avgWf})`),1)],64)):e.createCommentVNode("",!0),Zw,e.createElementVNode("span",$w,e.toDisplayString((ut=s==null?void 0:s.goodWx)==null?void 0:ut.pfmSpd)+" (kts)",1)],64)),(($=s==null?void 0:s.goodWx)==null?void 0:$.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",qw,"(Under-performance)")):e.createCommentVNode("",!0),((ot=s==null?void 0:s.goodWx)==null?void 0:ot.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",jw,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Xw,[vw,e.createElementVNode("div",e7,[(Pt=(Ft=o.report)==null?void 0:Ft.weather)!=null&&Pt.favorableCur&&((Gt=s==null?void 0:s.goodWx)==null?void 0:Gt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ut=(zt=o.report)==null?void 0:zt.weather)!=null&&Ut.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[s7,i7,c7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d7,r7],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t7,o7,l7,(Rt=(It=o.report)==null?void 0:It.weather)!=null&&Rt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a7,n7],64)):e.createCommentVNode("",!0)],64))])])])):(e.openBlock(),e.createElementBlock("div",m7,[e.createElementVNode("div",p7,[h7,e.createElementVNode("div",y7,[(Zt=(Yt=o.report)==null?void 0:Yt.weather)!=null&&Zt.favorableCur&&(($t=s==null?void 0:s.allWx)==null?void 0:$t.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((to=s==null?void 0:s.allWx)==null?void 0:to.avgSpd),1),f7,e.createElementVNode("span",null,e.toDisplayString(((oo=s==null?void 0:s.allWx)==null?void 0:oo.avgWf)>0?(lo=s==null?void 0:s.allWx)==null?void 0:lo.avgWf:`(${(ao=s==null?void 0:s.allWx)==null?void 0:ao.avgWf})`),1),g7,e.createElementVNode("span",D7,e.toDisplayString((no=s==null?void 0:s.allWx)==null?void 0:no.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Qt=s==null?void 0:s.allWx)==null?void 0:Qt.avgSpd),1),E7,e.createElementVNode("span",null,e.toDisplayString(((Jt=s==null?void 0:s.allWx)==null?void 0:Jt.avgCf)>0?(Kt=s==null?void 0:s.allWx)==null?void 0:Kt.avgCf:`(${(qt=s==null?void 0:s.allWx)==null?void 0:qt.avgCf})`),1),_7,e.createElementVNode("span",null,e.toDisplayString(((jt=s==null?void 0:s.allWx)==null?void 0:jt.avgWf)>0?(Xt=s==null?void 0:s.allWx)==null?void 0:Xt.avgWf:`(${(vt=s==null?void 0:s.allWx)==null?void 0:vt.avgWf})`),1),N7,e.createElementVNode("span",V7,e.toDisplayString((eo=s==null?void 0:s.allWx)==null?void 0:eo.pfmSpd)+" (kts)",1)],64)),((so=s==null?void 0:s.allWx)==null?void 0:so.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",b7,"(Under-performance)")):e.createCommentVNode("",!0),((io=s==null?void 0:s.allWx)==null?void 0:io.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",x7,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",C7,[S7,e.createElementVNode("div",k7,[(ro=(co=o.report)==null?void 0:co.weather)!=null&&ro.favorableCur&&((Do=s==null?void 0:s.allWx)==null?void 0:Do.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[O7,F7,P7,L7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[B7,A7,w7,T7,u7],64))])])])),W7,e.createElementVNode("div",H7,[e.createElementVNode("div",M7,[G7,e.createElementVNode("div",I7,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Time Analysis",1),(xo=(bo=o.report)==null?void 0:bo.weather)!=null&&xo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",R7,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",z7,[e.createElementVNode("div",U7,[Y7,e.createElementVNode("div",Z7,[e.createElementVNode("div",$7,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=o.report)==null?void 0:Co.weather)!=null&&So.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Q7,J7]),K7])]),e.createElementVNode("div",q7,[e.createElementVNode("div",j7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Bo=(ko=s==null?void 0:s.extend)==null?void 0:ko.cp)==null?void 0:Bo.speed,"Under"))+"kts)",1),X7]),e.createElementVNode("div",v7,[e.createElementVNode("div",e6,[e.createElementVNode("div",null,e.toDisplayString((wo=(Ao=o.report)==null?void 0:Ao.weather)!=null&&wo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(uo=(To=s==null?void 0:s.extend)==null?void 0:To.cp)==null?void 0:uo.speed,"Under"))+"kts",1)]),o6])]),e.createElementVNode("div",l6,[e.createElementVNode("div",a6,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Fo=(Oo=s==null?void 0:s.extend)==null?void 0:Oo.cp)==null?void 0:Fo.speed,"Over"))+"kts)",1),n6]),e.createElementVNode("div",s6,[e.createElementVNode("div",i6,[e.createElementVNode("div",null,e.toDisplayString((Lo=(Po=o.report)==null?void 0:Po.weather)!=null&&Lo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),c6,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ho=(Wo=s==null?void 0:s.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Over"))+"kts",1)]),d6])]),r6]),e.createElementVNode("div",m6,[e.createElementVNode("div",p6,[h6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Go=(Mo=s==null?void 0:s.extend)==null?void 0:Mo.cp)==null?void 0:Go.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",y6,[E6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ro=(Io=s==null?void 0:s.extend)==null?void 0:Io.cp)==null?void 0:Ro.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",_6,[N6,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Zo=(zo=s==null?void 0:s.extend)==null?void 0:zo.cp)==null?void 0:Zo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Qo=($o=s==null?void 0:s.extend)==null?void 0:$o.cp)==null?void 0:Qo.speed,"Under"))+" kts)",1)])]),(Jo=s==null?void 0:s.goodWx)!=null&&Jo.distance?(e.openBlock(),e.createElementBlock("div",V6,[e.createElementVNode("div",f6,[g6,e.createElementVNode("div",D6,[e.createElementVNode("div",b6,[e.createElementVNode("div",null,e.toDisplayString((qo=(Ko=o.report)==null?void 0:Ko.weather)!=null&&qo.noExtrapolation?(jo=s==null?void 0:s.goodWx)==null?void 0:jo.distance:(Xo=s==null?void 0:s.allWx)==null?void 0:Xo.distance),1),x6,e.createElementVNode("div",null,e.toDisplayString((vo=s==null?void 0:s.goodWx)==null?void 0:vo.pfmSpd),1)]),C6,e.createElementVNode("div",null,e.toDisplayString((el=s==null?void 0:s.timeConclusion)==null?void 0:el.timeAtPfmSpd)+" (hrs)",1),S6])]),e.createElementVNode("div",k6,[e.createElementVNode("div",B6,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ol=(tl=s==null?void 0:s.extend)==null?void 0:tl.cp)==null?void 0:ol.speed,"Under"))+"kts)",1),A6]),e.createElementVNode("div",w6,[e.createElementVNode("div",T6,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=o.report)==null?void 0:ll.weather)!=null&&al.noExtrapolation?(nl=s==null?void 0:s.goodWx)==null?void 0:nl.distance:(sl=s==null?void 0:s.allWx)==null?void 0:sl.distance),1),u6,e.createElementVNode("div",null,e.toDisplayString((il=s==null?void 0:s.timeConclusion)==null?void 0:il.minusAbtSpd),1)]),O6,e.createElementVNode("div",null,e.toDisplayString((cl=s==null?void 0:s.timeConclusion)==null?void 0:cl.timeAtMinusAbtSpd)+" (hrs)",1),F6])]),e.createElementVNode("div",P6,[e.createElementVNode("div",L6,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(rl=(dl=s==null?void 0:s.extend)==null?void 0:dl.cp)==null?void 0:rl.speed,"Over"))+"kts)",1),W6]),e.createElementVNode("div",H6,[e.createElementVNode("div",M6,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.report)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?(hl=s==null?void 0:s.goodWx)==null?void 0:hl.distance:(yl=s==null?void 0:s.allWx)==null?void 0:yl.distance),1),G6,e.createElementVNode("div",null,e.toDisplayString((El=s==null?void 0:s.timeConclusion)==null?void 0:El.plusAbtSpd),1)]),I6,e.createElementVNode("div",null,e.toDisplayString((_l=s==null?void 0:s.timeConclusion)==null?void 0:_l.timeAtPlusAbtSpd)+" (hrs)",1),R6])]),e.createElementVNode("div",z6,[((Nl=s==null?void 0:s.timeConclusion)==null?void 0:Nl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",U6,[Y6,Z6,$6,Q6,e.createElementVNode("div",null,e.toDisplayString((Vl=s==null?void 0:s.timeConclusion)==null?void 0:Vl.timeAtPfmSpd),1),J6,e.createElementVNode("div",null,e.toDisplayString((Lt=s==null?void 0:s.timeConclusion)==null?void 0:Lt.timeAtMinusAbtSpd),1),K6,e.createElementVNode("div",null,e.toDisplayString((bl=s==null?void 0:s.timeConclusion)==null?void 0:bl.timeLost)+" (hrs)",1)])):((Sl=s==null?void 0:s.timeConclusion)==null?void 0:Sl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",q6,[j6,X6,v6,e9,e.createElementVNode("div",null,e.toDisplayString((kl=s==null?void 0:s.timeConclusion)==null?void 0:kl.timeAtPlusAbtSpd),1),t9,e.createElementVNode("div",null,e.toDisplayString((Bl=s==null?void 0:s.timeConclusion)==null?void 0:Bl.timeAtPfmSpd),1),o9,e.createElementVNode("div",null,e.toDisplayString((Al=s==null?void 0:s.timeConclusion)==null?void 0:Al.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((wl=s==null?void 0:s.timeConclusion)==null?void 0:wl.conclusionStatus)==="Lost"?"flex-center lost":((Tl=s==null?void 0:s.timeConclusion)==null?void 0:Tl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[l9,e.createElementVNode("div",null,e.toDisplayString(((ul=s==null?void 0:s.timeConclusion)==null?void 0:ul.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",a9,e.toDisplayString(l.noGoodWxDay),1))]),n9,e.createElementVNode("div",s9,[e.createElementVNode("div",i9,[c9,e.createElementVNode("div",d9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Consumption Analysis",1),(Fl=(Ol=o.report)==null?void 0:Ol.weather)!=null&&Fl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",r9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",m9,[e.createElementVNode("div",p9,[h9,e.createElementVNode("div",y9,[e.createElementVNode("div",E9,[e.createElementVNode("div",null,e.toDisplayString((Ll=(Pl=o.report)==null?void 0:Pl.weather)!=null&&Ll.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),_9,N9]),V9,f9,g9])]),e.createElementVNode("div",D9,[b9,((Hl=(Wl=s.extend)==null?void 0:Wl.cp)==null?void 0:Hl.dgo)>0?(e.openBlock(),e.createElementBlock("div",x9,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",C9,[S9,e.createElementVNode("div",k9,[e.createElementVNode("div",B9,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Ml=o.report)==null?void 0:Ml.weather)!=null&&Gl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),A9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Rl=(Il=s==null?void 0:s.extend)==null?void 0:Il.cp)==null?void 0:Rl.speed,"Under"))+"kts",1)]),w9,T9,u9])]),e.createElementVNode("div",O9,[F9,e.createElementVNode("div",P9,[e.createElementVNode("div",L9,[e.createElementVNode("div",null,e.toDisplayString((Ul=(zl=o.report)==null?void 0:zl.weather)!=null&&Ul.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),W9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Zl=(Yl=s==null?void 0:s.extend)==null?void 0:Yl.cp)==null?void 0:Zl.speed,"Under"))+"kts",1)]),H9,M9,G9])]),I9,((Ql=($l=s.extend)==null?void 0:$l.cp)==null?void 0:Ql.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",R9,[z9,e.createElementVNode("div",U9,[e.createElementVNode("div",Y9,[Z9,$9,e.createElementVNode("div",null,e.toDisplayString((Kl=(Jl=o.report)==null?void 0:Jl.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",Q9,[J9,e.createElementVNode("div",K9,[e.createElementVNode("div",q9,[j9,X9,e.createElementVNode("div",null,e.toDisplayString((jl=(ql=o.report)==null?void 0:ql.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),v9,e.createElementVNode("div",eT,[tT,e.createElementVNode("div",oT,"Seg. "+e.toDisplayString(X+1)+" Fuel Oil",1)]),(Xl=s==null?void 0:s.goodWx)!=null&&Xl.distance?(e.openBlock(),e.createElementBlock("div",lT,[((ea=(vl=s==null?void 0:s.goodWx)==null?void 0:vl.inEca)==null?void 0:ea.distance)>0?(e.openBlock(),e.createElementBlock("div",aT,[nT,e.createElementVNode("div",sT,[e.createElementVNode("div",iT,[e.createElementVNode("div",null,e.toDisplayString((oa=(ta=s==null?void 0:s.goodWx)==null?void 0:ta.inEca)==null?void 0:oa.sumDgoCons),1)]),cT,e.createElementVNode("div",dT,[e.createElementVNode("div",null,e.toDisplayString((aa=(la=s==null?void 0:s.extend)==null?void 0:la.cp)==null?void 0:aa.dgo),1),rT,mT]),pT,e.createElementVNode("div",null,e.toDisplayString((sa=(na=s==null?void 0:s.goodWx)==null?void 0:na.inEca)==null?void 0:sa.time),1),hT,e.createElementVNode("div",null,e.toDisplayString((ca=(ia=s==null?void 0:s.fuelConclusion)==null?void 0:ia.fo)==null?void 0:ca.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",yT,[ET,e.createElementVNode("div",_T,[e.createElementVNode("div",NT,[e.createElementVNode("div",null,e.toDisplayString((ra=(da=o.report)==null?void 0:da.weather)!=null&&ra.noExtrapolation?(ma=s==null?void 0:s.goodWx)==null?void 0:ma.distance:(pa=s==null?void 0:s.allWx)==null?void 0:pa.distance),1),VT,e.createElementVNode("div",null,e.toDisplayString((ha=s==null?void 0:s.goodWx)==null?void 0:ha.pfmSpd),1)]),fT,e.createElementVNode("div",gT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ya=s==null?void 0:s.goodWx)==null?void 0:ya.sumFoCons),1),((_a=(Ea=s==null?void 0:s.goodWx)==null?void 0:Ea.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("span",DT,[bT,e.createElementVNode("span",null,e.toDisplayString((Va=(Na=s==null?void 0:s.fuelConclusion)==null?void 0:Na.fo)==null?void 0:Va.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),xT,e.createElementVNode("div",null,e.toDisplayString((fa=s==null?void 0:s.goodWx)==null?void 0:fa.time),1)]),CT,e.createElementVNode("div",null,e.toDisplayString((Da=(ga=s.fuelConclusion)==null?void 0:ga.fo)==null?void 0:Da.entireCons)+" (mt)",1),ST])]),e.createElementVNode("div",kT,[BT,e.createElementVNode("div",AT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((xa=(ba=o.report)==null?void 0:ba.weather)!=null&&xa.noExtrapolation?(Ca=s==null?void 0:s.goodWx)==null?void 0:Ca.distance:(Sa=s==null?void 0:s.allWx)==null?void 0:Sa.distance),1),TT,e.createElementVNode("div",null,e.toDisplayString((ka=s==null?void 0:s.timeConclusion)==null?void 0:ka.minusAbtSpd),1)]),uT,e.createElementVNode("div",OT,[e.createElementVNode("div",null,e.toDisplayString((Aa=(Ba=s==null?void 0:s.fuelConclusion)==null?void 0:Ba.fo)==null?void 0:Aa.overTolerance),1),FT,PT]),LT,e.createElementVNode("div",null,e.toDisplayString((Ta=(wa=s.fuelConclusion)==null?void 0:wa.fo)==null?void 0:Ta.maxCons)+" (mt)",1),WT])]),e.createElementVNode("div",HT,[MT,e.createElementVNode("div",GT,[e.createElementVNode("div",IT,[e.createElementVNode("div",null,e.toDisplayString((Oa=(ua=o.report)==null?void 0:ua.weather)!=null&&Oa.noExtrapolation?(Fa=s==null?void 0:s.goodWx)==null?void 0:Fa.distance:(Pa=s==null?void 0:s.allWx)==null?void 0:Pa.distance),1),RT,e.createElementVNode("div",null,e.toDisplayString((La=s==null?void 0:s.timeConclusion)==null?void 0:La.minusAbtSpd),1)]),zT,e.createElementVNode("div",UT,[e.createElementVNode("div",null,e.toDisplayString((Ha=(Wa=s==null?void 0:s.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:Ha.underTolerance),1),YT,ZT]),$T,e.createElementVNode("div",null,e.toDisplayString((Ga=(Ma=s.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ga.minCons)+" (mt)",1),QT])]),e.createElementVNode("div",JT,[((Ra=(Ia=s==null?void 0:s.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",KT,[qT,jT,XT,vT,e.createElementVNode("div",null,e.toDisplayString((Ua=(za=s==null?void 0:s.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ua.entireCons),1),eu,e.createElementVNode("div",null,e.toDisplayString((Za=(Ya=s==null?void 0:s.fuelConclusion)==null?void 0:Ya.fo)==null?void 0:Za.maxCons),1),tu,e.createElementVNode("div",null,e.toDisplayString((Qa=($a=s==null?void 0:s.fuelConclusion)==null?void 0:$a.fo)==null?void 0:Qa.overCons),1)]),(mo=(ae=s==null?void 0:s.goodWx)==null?void 0:ae.inEca)!=null&&mo.distance?(e.openBlock(),e.createElementBlock("div",ou,[lu,au,e.createElementVNode("div",nu,[e.createElementVNode("div",null,e.toDisplayString((Ka=(Ja=s==null?void 0:s.goodWx)==null?void 0:Ja.inEca)==null?void 0:Ka.distance)+" * "+e.toDisplayString((ne=(qa=s==null?void 0:s.fuelConclusion)==null?void 0:qa.fo)==null?void 0:ne.overCons),1),su,e.createElementVNode("div",null,e.toDisplayString((ja=(po=o.report)==null?void 0:po.weather)!=null&&ja.noExtrapolation?(Xa=s==null?void 0:s.goodWx)==null?void 0:Xa.distance:(va=s==null?void 0:s.allWx)==null?void 0:va.distance),1)]),iu,e.createElementVNode("div",null,e.toDisplayString((nn=(mt=s==null?void 0:s.fuelConclusion)==null?void 0:mt.fo)==null?void 0:nn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((cn=(sn=s==null?void 0:s.fuelConclusion)==null?void 0:sn.fo)==null?void 0:cn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",cu,[du,ru,mu,pu,e.createElementVNode("div",null,e.toDisplayString((Wt=(dn=s==null?void 0:s.fuelConclusion)==null?void 0:dn.fo)==null?void 0:Wt.minCons),1),hu,e.createElementVNode("div",null,e.toDisplayString((Kn=(Jn=s==null?void 0:s.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:Kn.entireCons),1),yu,e.createElementVNode("div",null,e.toDisplayString((jn=(qn=s==null?void 0:s.fuelConclusion)==null?void 0:qn.fo)==null?void 0:jn.saving)+" (mt)",1)]),(vn=(Xn=s==null?void 0:s.goodWx)==null?void 0:Xn.inEca)!=null&&vn.distance?(e.openBlock(),e.createElementBlock("div",Eu,[_u,Nu,e.createElementVNode("div",Vu,[e.createElementVNode("div",null,e.toDisplayString((ts=(es=o.report)==null?void 0:es.weather)!=null&&ts.noExtrapolation?(ls=(os=s==null?void 0:s.goodWx)==null?void 0:os.inEca)==null?void 0:ls.distance:(ns=(as=s==null?void 0:s.allWx)==null?void 0:as.inEca)==null?void 0:ns.distance)+" * "+e.toDisplayString((is=(ss=s==null?void 0:s.fuelConclusion)==null?void 0:ss.fo)==null?void 0:is.saving),1),fu,e.createElementVNode("div",null,e.toDisplayString((ds=(cs=o.report)==null?void 0:cs.weather)!=null&&ds.noExtrapolation?(rs=s==null?void 0:s.goodWx)==null?void 0:rs.distance:(ms=s==null?void 0:s.allWx)==null?void 0:ms.distance),1)]),gu,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=s==null?void 0:s.fuelConclusion)==null?void 0:ps.fo)==null?void 0:hs.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Es=(ys=s==null?void 0:s.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Es.conclusionStatus)==="Over"?"flex-center lost":((Ns=(_s=s==null?void 0:s.fuelConclusion)==null?void 0:_s.fo)==null?void 0:Ns.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[Du,e.createElementVNode("div",null,e.toDisplayString(((fs=(Vs=s==null?void 0:s.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",bu,e.toDisplayString(l.noGoodWxDay),1)),((Ds=(gs=s==null?void 0:s.extend)==null?void 0:gs.cp)==null?void 0:Ds.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",xu,[Cu,e.createElementVNode("div",Su,"Seg. "+e.toDisplayString(X+1)+" Diesel/Gas Oil ",1)]),(bs=s==null?void 0:s.goodWx)!=null&&bs.distance?(e.openBlock(),e.createElementBlock("div",ku,[e.createElementVNode("div",Bu,[Au,e.createElementVNode("div",wu,[e.createElementVNode("div",Tu,[e.createElementVNode("div",null,e.toDisplayString((Cs=(xs=o.report)==null?void 0:xs.weather)!=null&&Cs.noExtrapolation?(Ss=s==null?void 0:s.goodWx)==null?void 0:Ss.distance:(ks=s==null?void 0:s.allWx)==null?void 0:ks.distance),1),uu,e.createElementVNode("div",null,e.toDisplayString((Bs=s==null?void 0:s.goodWx)==null?void 0:Bs.pfmSpd),1)]),Ou,e.createElementVNode("div",Fu,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((As=s==null?void 0:s.goodWx)==null?void 0:As.sumDgoCons),1),((Ts=(ws=s==null?void 0:s.goodWx)==null?void 0:ws.inEca)==null?void 0:Ts.distance)>0?(e.openBlock(),e.createElementBlock("span",Pu,[Lu,e.createElementVNode("span",null,e.toDisplayString((Os=(us=s==null?void 0:s.fuelConclusion)==null?void 0:us.fo)==null?void 0:Os.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),Wu,e.createElementVNode("div",null,e.toDisplayString((Fs=s==null?void 0:s.goodWx)==null?void 0:Fs.time),1)]),Hu,e.createElementVNode("div",null,e.toDisplayString((Ls=(Ps=s.fuelConclusion)==null?void 0:Ps.dgo)==null?void 0:Ls.entireCons)+" (mt)",1),Mu])]),e.createElementVNode("div",Gu,[Iu,e.createElementVNode("div",Ru,[e.createElementVNode("div",zu,[e.createElementVNode("div",null,e.toDisplayString((Hs=(Ws=o.report)==null?void 0:Ws.weather)!=null&&Hs.noExtrapolation?(Ms=s==null?void 0:s.goodWx)==null?void 0:Ms.distance:(Gs=s==null?void 0:s.allWx)==null?void 0:Gs.distance),1),Uu,e.createElementVNode("div",null,e.toDisplayString((Is=s==null?void 0:s.timeConclusion)==null?void 0:Is.minusAbtSpd),1)]),Yu,e.createElementVNode("div",Zu,[e.createElementVNode("div",null,e.toDisplayString((zs=(Rs=s==null?void 0:s.fuelConclusion)==null?void 0:Rs.dgo)==null?void 0:zs.overTolerance),1),$u,Qu]),Ju,e.createElementVNode("div",null,e.toDisplayString((Ys=(Us=s.fuelConclusion)==null?void 0:Us.dgo)==null?void 0:Ys.maxCons)+" (mt)",1),Ku])]),e.createElementVNode("div",qu,[ju,e.createElementVNode("div",Xu,[e.createElementVNode("div",vu,[e.createElementVNode("div",null,e.toDisplayString(($s=(Zs=o.report)==null?void 0:Zs.weather)!=null&&$s.noExtrapolation?(Qs=s==null?void 0:s.goodWx)==null?void 0:Qs.distance:(Js=s==null?void 0:s.allWx)==null?void 0:Js.distance),1),eO,e.createElementVNode("div",null,e.toDisplayString((Ks=s==null?void 0:s.timeConclusion)==null?void 0:Ks.minusAbtSpd),1)]),tO,e.createElementVNode("div",oO,[e.createElementVNode("div",null,e.toDisplayString((js=(qs=s==null?void 0:s.fuelConclusion)==null?void 0:qs.dgo)==null?void 0:js.underTolerance),1),lO,aO]),nO,e.createElementVNode("div",null,e.toDisplayString((vs=(Xs=s.fuelConclusion)==null?void 0:Xs.dgo)==null?void 0:vs.minCons)+" (mt)",1),sO])]),e.createElementVNode("div",iO,[((ti=(ei=s==null?void 0:s.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",cO,[dO,rO,mO,pO,e.createElementVNode("div",null,e.toDisplayString((li=(oi=s==null?void 0:s.fuelConclusion)==null?void 0:oi.dgo)==null?void 0:li.entireCons),1),hO,e.createElementVNode("div",null,e.toDisplayString((ni=(ai=s==null?void 0:s.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ni.maxCons),1),yO,e.createElementVNode("div",null,e.toDisplayString((ii=(si=s==null?void 0:s.fuelConclusion)==null?void 0:si.dgo)==null?void 0:ii.overCons),1)])):((di=(ci=s==null?void 0:s.fuelConclusion)==null?void 0:ci.fo)==null?void 0:di.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",EO,[_O,NO,VO,fO,e.createElementVNode("div",null,e.toDisplayString((mi=(ri=s==null?void 0:s.fuelConclusion)==null?void 0:ri.dgo)==null?void 0:mi.minCons),1),gO,e.createElementVNode("div",null,e.toDisplayString((hi=(pi=s==null?void 0:s.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:hi.entireCons),1),DO,e.createElementVNode("div",null,e.toDisplayString((Ei=(yi=s==null?void 0:s.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ei.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ni=(_i=s==null?void 0:s.fuelConclusion)==null?void 0:_i.dgo)==null?void 0:Ni.conclusionStatus)==="Over"?"flex-center lost":((fi=(Vi=s==null?void 0:s.fuelConclusion)==null?void 0:Vi.dgo)==null?void 0:fi.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[bO,e.createElementVNode("div",null,e.toDisplayString(((Di=(gi=s==null?void 0:s.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:Di.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",xO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const SO=Ee(RA,[["render",CO],["__scopeId","data-v-9922ca22"]]),$oe="",kO={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 n=[];return n.push(t.noonLength?"no-border-bottom":"no-border"),n.push(t.excluded?"excluded":t.goodWx?"good-wx":""),n.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,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,n=2,o="0.0"){return t?ie.roundPrecision(t,n):o}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n,o,c,l,a,m,i,p,D,f,h;this.showCF=((n=(t=this.report)==null?void 0:t.weather)==null?void 0:n.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=(m=this.report)==null?void 0:m.weather)==null?void 0:i.showSwell)??!0,this.showWave=((D=(p=this.report)==null?void 0:p.weather)==null?void 0:D.showWave)??!0,this.showWaterTemp=((h=(f=this.report)==null?void 0:f.weather)==null?void 0:h.waterTempSwitch)||!1}}},Ae=t=>(e.pushScopeId("data-v-beebd9b9"),t=t(),e.popScopeId(),t),BO={class:"report-inventory"},AO={class:"section summary-section"},wO=Ae(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),TO={class:"summary-block"},uO=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)),OO={class:"label",rowspan:"4"},FO=Ae(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),PO=Ae(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),LO=Ae(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),WO=Ae(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),HO={class:"section inventory-section"},MO=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),GO={class:"inventory-block flex-center"},IO={style:{"font-size":"12px"}},RO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),zO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),UO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),YO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),ZO=["colspan"],$O={key:0,class:"label",colspan:"2"},QO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),JO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),KO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),qO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),jO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),XO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),vO={key:0,class:"label",rowspan:"2"},eF=Ae(()=>e.createElementVNode("br",null,null,-1)),tF={key:1,class:"label",rowspan:"2"},oF=Ae(()=>e.createElementVNode("br",null,null,-1)),lF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),aF={key:2,class:"label",rowspan:"2"},nF=Ae(()=>e.createElementVNode("br",null,null,-1)),sF={key:3,class:"label",colspan:"2"},iF={key:4,class:"label",rowspan:"2"},cF=Ae(()=>e.createElementVNode("br",null,null,-1)),dF={key:5,class:"label",colspan:"2"},rF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),mF={key:6,class:"label",rowspan:"2"},pF={key:7,class:"label",rowspan:"2"},hF={key:8,class:"label",rowspan:"2"},yF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),EF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),_F=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),NF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),VF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),fF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),gF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),DF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),bF=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),xF=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),CF=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),SF=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),kF={key:0,class:"label"},BF={key:1,class:"label"},AF={key:2,class:"label"},wF={key:3,class:"label"},TF=Ae(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),uF=Ae(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),OF=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),FF=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),PF=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),LF=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),WF=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),HF=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),MF={class:"summary-tbody"};function GF(t,n,o,c,l,a){var m;return e.openBlock(),e.createElementBlock("div",BO,[e.createElementVNode("div",AO,[wO,e.createElementVNode("div",TO,[e.createElementVNode("table",null,[uO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((m=o.report)==null?void 0:m.segments,(i,p)=>{var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",OO,e.toDisplayString(p+1),1),FO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((D=i==null?void 0:i.allWx)==null?void 0:D.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((f=i==null?void 0:i.allWx)==null?void 0:f.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((h=i==null?void 0:i.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=i==null?void 0:i.allWx)==null?void 0:V.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.allWx)==null?void 0:C.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[PO,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((k=i==null?void 0:i.goodWx)==null?void 0:k.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.goodWx)==null?void 0:S.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((B=i==null?void 0:i.goodWx)==null?void 0:B.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((A=i==null?void 0:i.goodWx)==null?void 0:A.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[LO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((u=i==null?void 0:i.badWx)==null?void 0:u.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((F=i==null?void 0:i.badWx)==null?void 0:F.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.badWx)==null?void 0:x.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.badWx)==null?void 0:L.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((U=i==null?void 0:i.badWx)==null?void 0:U.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[WO,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((R=i==null?void 0:i.excluded)==null?void 0:R.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((g=i==null?void 0:i.excluded)==null?void 0:g.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=i==null?void 0:i.excluded)==null?void 0:I.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",HO,[MO,e.createElementVNode("div",GO,[e.createElementVNode("table",IO,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[RO,zO,UO,YO,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,ZO),o.showFactor?(e.openBlock(),e.createElementBlock("th",$O,"Factor")):e.createCommentVNode("",!0),QO,JO]),e.createElementVNode("tr",null,[KO,qO,jO,XO,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",vO,[e.createTextVNode("Spd"),eF,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",tF,[e.createTextVNode("Dis"),oF,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),lF,l.showWave?(e.openBlock(),e.createElementBlock("th",aF,[e.createTextVNode("Sea HT"),nF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",sF,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",iF,[e.createTextVNode("Sig Wave"),cF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",dF,"Current")):e.createCommentVNode("",!0),rF,o.showFactor?(e.openBlock(),e.createElementBlock("th",mF,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",pF,"wxFactor")):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("th",hF,"Water Temp.")):e.createCommentVNode("",!0),yF,EF,_F,NF,VF,fF,gF,DF]),e.createElementVNode("tr",null,[bF,xF,CF,SF,l.showSwell?(e.openBlock(),e.createElementBlock("th",kF,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",BF,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",AF,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",wF,"CF(kts)")):e.createCommentVNode("",!0),TF,uF,OF,FF,PF,LF,WF,HF])]),e.createElementVNode("tbody",MF,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,p)=>{var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((D=i.noon)!=null&&D.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((f=i.noon)==null?void 0:f.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)&&p?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?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)&&p?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)&&p?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((V=(h=i.meteo)==null?void 0:h.wind)==null?void 0:V.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(C=i.meteo)==null?void 0:C.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(((B=(S=(k=i.meteo)==null?void 0:k.wave)==null?void 0:S.wd)==null?void 0:B.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(((F=(u=(A=i.meteo)==null?void 0:A.wave)==null?void 0:u.swell)==null?void 0:F.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(((U=(L=(x=i.meteo)==null?void 0:x.wave)==null?void 0:L.swell)==null?void 0:U.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=(R=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:R.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(((I=(g=i.meteo)==null?void 0:g.current)==null?void 0:I.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(((G=i.meteo)==null?void 0:G.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.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(((M=i.meteo)==null?void 0:M.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)&&p?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const IF=Ee(kO,[["render",GF],["__scopeId","data-v-beebd9b9"]]),Qoe="",RF={components:{Lng:tn,Lat:on},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,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}}},watch:{inventory:{handler(t,n){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Yo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Yo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Yo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,D,f,h,V,C;const t=[],n=[],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,k)=>{var B,A,u,F,x,L,U,Z,R,P,g,I,G,H;const S=this.computeUTCTime(k===0?r.utc:r.noonUtc,"MM-DD/HHmm[Z]");if(t.push(S),c=Math.ceil(((B=r.noon)==null?void 0:B.foCons)>c?(A=r.noon)==null?void 0:A.foCons:c),c=Math.ceil(((u=r.cp)==null?void 0:u.fo)>c?(F=r.cp)==null?void 0:F.fo:c),l=Math.ceil(((x=r.noon)==null?void 0:x.dgoCons)>l?(L=r.noon)==null?void 0:L.dgoCons:l),l=Math.ceil(((U=r.cp)==null?void 0:U.dgo)>l?(Z=r.cp)==null?void 0:Z.dgo:l),n.push([S,(R=r.noon)==null?void 0:R.avgSpd,(P=r.noon)==null?void 0:P.foCons,(g=r.noon)==null?void 0:g.dgoCons,r.avgSpdCalc,r.cp.speed,r.goodWx&&!r.excluded?100:0,r.cp.dgo,r.cp.fo,r.excluded?100:0]),k<a.length-1){const M=a[k+1];n.push([S,(I=M.noon)==null?void 0:I.avgSpd,(G=M.noon)==null?void 0:G.foCons,(H=M.noon)==null?void 0:H.dgoCons,M.avgSpdCalc,M.cp.speed,M.goodWx&&!M.excluded?100:0,M.cp.dgo,M.cp.fo,M.excluded?100:0])}});const m={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:n,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:n,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(D=(p=this.report)==null?void 0:p.weather)!=null&&D.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:o.dateTime,y:o.noonFoCons},data:n,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:n,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:n,z:1}]};(f=this.spdFoConsChart)==null||f.setOption(m);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:n,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:n,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(V=(h=this.report)==null?void 0:h.weather)!=null&&V.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:o.dateTime,y:o.noonDgoCons},data:n,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:n,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:n,z:1}]};(C=this.spdDgoConsChart)==null||C.setOption(i)},renderWxCurrChart(){var i;const t=[],n=[],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(p=>p.noonLength)||[];a.unshift(a[0]),a.forEach((p,D)=>{var h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;l=p.noonLength?p.dailyAvgCf:l;const f=this.computeUTCTime(D===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(t.push(f),c=Math.ceil(((C=(V=(h=p.meteo)==null?void 0:h.wave)==null?void 0:V.sig)==null?void 0:C.height)>c?(S=(k=(r=p.meteo)==null?void 0:r.wave)==null?void 0:k.sig)==null?void 0:S.height:c),n.push([f,(B=p.noon)==null?void 0:B.windBF,(u=(A=p.meteo)==null?void 0:A.wind)==null?void 0:u.scale,(x=(F=p.meteo)==null?void 0:F.wind)==null?void 0:x.direction,(L=p.noon)==null?void 0:L.seasHt,(R=(Z=(U=p.meteo)==null?void 0:U.wave)==null?void 0:Z.sig)==null?void 0:R.height,l,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),D<a.length-1){const N=a[D+1];n.push([f,(P=N.noon)==null?void 0:P.windBF,(I=(g=N.meteo)==null?void 0:g.wind)==null?void 0:I.scale,(H=(G=N.meteo)==null?void 0:G.wind)==null?void 0:H.direction,(M=N.noon)==null?void 0:M.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 m={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:n,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:n,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:n,z:1}]};(i=this.currChart)==null||i.setOption(m)}}},Dl=t=>(e.pushScopeId("data-v-d78e1018"),t=t(),e.popScopeId(),t),zF={class:"report-summary"},UF={class:"section chart-section"},YF=Dl(()=>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)),ZF={class:"chart-block"},$F={ref:"spdFoConsChart",class:"chart"},QF={ref:"spdDgoConsChart",class:"chart"},JF={ref:"currChart",class:"chart"},KF={class:"section map-section"},qF=Dl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),jF={class:"map-block"},XF={class:"flex-space"},vF={class:"voyage-block",style:{height:"197px"}},eP={class:"flex-space label-block",style:{width:"100%"}},tP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),oP={style:{"text-transform":"uppercase"}},lP={class:"flex-space label-block",style:{width:"100%"}},aP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),nP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sP={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},iP={class:"flex-space label-block",style:{width:"100%"}},cP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),dP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},rP={class:"flex-space label-block",style:{width:"100%"}},mP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),pP={key:0,class:"flex-end",style:{flex:"1"}},hP={key:1,class:"flex-end",style:{flex:"1"}},yP=Dl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),EP={class:"flex-end",style:{width:"140px"}},_P={class:"flex-space label-block",style:{width:"100%"}},NP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),VP={key:0,class:"flex-end",style:{flex:"1"}},fP={key:1,class:"flex-end",style:{flex:"1"}},gP=Dl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),DP={class:"flex-end",style:{width:"140px"}},bP={class:"flex-space label-block",style:{width:"100%"}},xP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),CP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},SP=e.createStaticVNode('<div class="legend-block" data-v-d78e1018><div style="position:absolute;margin-top:-8px;" data-v-d78e1018>LEGEND</div><div class="flex-space" data-v-d78e1018><div data-v-d78e1018>0812</div><div data-v-d78e1018><div data-v-d78e1018>08 - Day of the month</div><div data-v-d78e1018>12 - Hours of the day</div></div></div><div class="flex-space" data-v-d78e1018><div data-v-d78e1018><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-d78e1018></i></div><div data-v-d78e1018><div data-v-d78e1018>Wind from N (000)</div><div data-v-d78e1018>Each bard = 10 kts</div><div data-v-d78e1018>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-d78e1018><div data-v-d78e1018>W 4</div><div data-v-d78e1018> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-d78e1018><div class="good-wx" data-v-d78e1018>Date</div><div data-v-d78e1018>Good weather days</div></div></div>',1),kP=["src"],BP=e.createStaticVNode('<div class="section method-section" data-v-d78e1018><div class="header-block flex-center" data-v-d78e1018><i class="iconfont" data-v-d78e1018></i><div class="title" data-v-d78e1018>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>1. Good Weather Method</div><div class="method-body" data-v-d78e1018> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-d78e1018> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-d78e1018> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-d78e1018> 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-d78e1018><div class="method-title" data-v-d78e1018>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-d78e1018> 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-d78e1018><div class="method-title" data-v-d78e1018>4. “About”</div><div class="method-body" data-v-d78e1018> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-d78e1018> 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-d78e1018><div class="method-title" data-v-d78e1018>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-d78e1018> 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-d78e1018> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-d78e1018> 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-d78e1018><div class="method-title" data-v-d78e1018>6. Further reference materials</div><div class="method-body" data-v-d78e1018>Please send mail to <a href="mailto:op@ormwx.com" data-v-d78e1018>op@ormwx.com</a>.</div></div></div></div>',1);function AP(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;const m=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",zF,[e.createElementVNode("div",UF,[YF,e.createElementVNode("div",ZF,[e.createElementVNode("div",$F,null,512),e.createElementVNode("div",QF,null,512),e.createElementVNode("div",JF,null,512)])]),e.createElementVNode("div",KF,[qF,e.createElementVNode("div",jF,[e.createElementVNode("div",XF,[e.createElementVNode("div",vF,[e.createElementVNode("div",eP,[tP,e.createElementVNode("span",oP,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",lP,[aP,e.createElementVNode("span",nP,e.toDisplayString((D=(p=o.report)==null?void 0:p.vessel)==null?void 0:D.name),1),e.createElementVNode("span",sP,"("+e.toDisplayString((h=(f=o.report)==null?void 0:f.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",iP,[cP,e.createElementVNode("span",dP,e.toDisplayString((C=(V=o.report)==null?void 0:V.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",rP,[mP,(k=(r=o.report)==null?void 0:r.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",pP,e.toDisplayString((B=(S=o.report)==null?void 0:S.departure)==null?void 0:B.portName),1)):(e.openBlock(),e.createElementBlock("div",hP,[e.createVNode(m,{lat:(u=(A=o.report)==null?void 0:A.departure)==null?void 0:u.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),yP,e.createVNode(i,{lng:(F=o.report.departure)==null?void 0:F.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",EP,e.toDisplayString(a.computeUTCTime((x=o.report.departure)==null?void 0:x.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",_P,[NP,(U=(L=o.report)==null?void 0:L.arrival)!=null&&U.portName?(e.openBlock(),e.createElementBlock("span",VP,e.toDisplayString((R=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",fP,[e.createVNode(m,{lat:(g=(P=o.report)==null?void 0:P.arrival)==null?void 0:g.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),gP,e.createVNode(i,{lng:(G=(I=o.report)==null?void 0:I.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",DP,e.toDisplayString(a.computeUTCTime((M=(H=o.report)==null?void 0:H.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",bP,[xP,e.createElementVNode("span",CP,e.toDisplayString((j=(Q=o.report)==null?void 0:Q.voyage)==null?void 0:j.loadCondition),1)])]),SP]),e.createElementVNode("img",{src:(K=o.report)==null?void 0:K.chartUrl,alt:""},null,8,kP)])]),BP])}const wP=Ee(RF,[["render",AP],["__scopeId","data-v-d78e1018"]]),Joe="",TP={components:{Brand:Eo,Summary:SO,Inventory:IF,Chart:wP,Loading:an},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}}},watch:{report:{handler(t,n){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 n,o;const t=[];(o=(n=this.report)==null?void 0:n.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,m,i=!1;c.inventory.sample.hours.forEach((p,D)=>{a||(a=p),(!m||i)&&(m=p,i=!1),a.segIndex===p.segIndex?a.segLength=(a.segLength||0)+1:(a=p,a.segLength=1),m.noonLength=(m.noonLength||0)+1;let f=p.type.charAt(0);["N","M","E"].includes(f)&&(i=!0,m.dailyAvgCf=p.dailyAvgCf,m.avgSpdCalc=p.avgSpdCalc,m.distanceCalc=p.distanceCalc,m.noonUtc=p.utc,m.noon=p.noon),p.abbrev=f,f=f==="M"?"*":f==="A"?"":f,p.time=`${f} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ie.LngLatHelper.lng2pretty(p.lng),p._lat=ie.LngLatHelper.lat2pretty(p.lat),p.cp=l,t.push(p)})}),t.sort((c,l)=>c.date-l.date),this.inventory=t}}};function uP(t,n,o,c,l,a){var h,V;const m=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("Summary"),D=e.resolveComponent("Inventory"),f=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((V=(h=o.report)==null?void 0:h.weather)!=null&&V.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(m,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=C=>l.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(D,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(f,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const kn=Ee(TP,[["render",uP],["__scopeId","data-v-0b5d13da"]]),OP={install(t){t.component("OpiVoyageReport",Cn),t.component("FliVoyageReport",Sn),t.component("OrmVoyageReport",kn)}},Koe="",qoe="",joe="",Xoe="",FP={props:{tropicals:{type:Object,default:()=>({})},ts:{type:String,default:()=>""}},components:{TropicalGL:yn.TropicalGL,LatLngGL:yn.LatLngGL},data(){return{map:void 0}},watch:{"tropicals.version":{handler(){var t;(t=this.map)==null||t.flyTo({center:this.tropicals.center})},immediate:!0}},mounted(){this.initMap()},methods:{async initMap(){fl.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg";const t=new fl.Map({container:"report-map",style:"mapbox://styles/neatchenheng/clxwst0tq00wd01rn0usb2eer",projection:"mercator",preserveDrawingBuffer:!0,zoom:4,dragRotate:!1,pitchWithRotate:!1,minZoom:1});t.on("load",()=>{var n,o;this.map=t,(o=this.map)==null||o.flyTo({center:(n=this.tropicals)==null?void 0:n.center})})}}},PP=t=>(e.pushScopeId("data-v-7c505d6d"),t=t(),e.popScopeId(),t),LP={class:"map"},WP=PP(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function HP(t,n,o,c,l,a){const m=e.resolveComponent("TropicalGL"),i=e.resolveComponent("LatLngGL");return e.openBlock(),e.createElementBlock("div",LP,[WP,l.map?(e.openBlock(),e.createBlock(m,{key:0,class:"hurricane",map:l.map,tropicals:o.tropicals,date:o.ts},null,8,["map","tropicals","date"])):e.createCommentVNode("",!0),l.map?(e.openBlock(),e.createBlock(i,{key:1,map:l.map,show:!0,bottom:"10px"},null,8,["map"])):e.createCommentVNode("",!0)])}const MP=Ee(FP,[["render",HP],["__scopeId","data-v-7c505d6d"]]),GP={props:{id:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},series:{type:Object,default:function(){return[]}},xAxis:{type:Object,default:function(){return[]}},color:{type:Object,default:function(){return[]}}},data(){return{chart:void 0}},watch:{series:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Yo.init(c))}const t=Number(O(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,n=Number(O(this.xAxis[this.xAxis.length-1]).utc().format("x"))-8*60*60*1e3;let o={title:{text:this.title,left:"4%"},grid:{right:"5%",bottom:"15%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"12%",right:"5%"},color:this.color,xAxis:{type:"time",min:t,max:n,axisLabel:{show:!0,formatter:function(c,l){var a=O(c).format("MMMDD"),m=O(c).format("HH");return m==="00"||l===0?a:m}}},yAxis:{name:"",nameTextStyle:{color:"#fff",fontSize:12,padding:[0,60,0,0]},type:"value",splitLine:{show:!1},axisLine:{show:!0},axislabel:{show:!0},axisTick:{show:!1}},series:this.series};this.id==="pressureChart"&&(o.yAxis.min="900"),console.log(o,"option"),this.$nextTick(()=>{this.chart.setOption(o)})}}},IP=["id"];function RP(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,IP)])}const zP=Ee(GP,[["render",RP]]);function Bn(t,n,o){o===void 0&&(o={});var c={type:"Feature"};return(o.id===0||o.id)&&(c.id=o.id),o.bbox&&(c.bbox=o.bbox),c.properties=n||{},c.geometry=t,c}function mn(t,n,o){if(o===void 0&&(o={}),!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!wn(t[0])||!wn(t[1]))throw new Error("coordinates must contain numbers");var c={type:"Point",coordinates:t};return Bn(c,n,o)}function An(t,n,o){if(o===void 0&&(o={}),t.length<2)throw new Error("coordinates must be an array of two or more positions");var c={type:"LineString",coordinates:t};return Bn(c,n,o)}function UP(t,n){n===void 0&&(n={});var o={type:"FeatureCollection"};return n.id&&(o.id=n.id),n.bbox&&(o.bbox=n.bbox),o.features=t,o}function wn(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}class Ie{static guessTimeZoneOffset(n,o){const c=Fi(o,n),l=O().tz(c).utcOffset();return this.roundPrecision(l/60,1)}static prettyTimeZoneOffset(n){let o=Math.floor(Math.abs(n)),c=Math.round((Math.abs(n)-o)*60);return c=c>9?c:`0${c}`,o=o>9?o:`0${o}`,n>0?`+${o}:${c}`:`-${o}:${c}`}static lng2pretty(n,o=6,c="H°M′"){n=Ie.convertToStdLng(n,o);let l="E";n<0&&(l="W"),n=Math.abs(n),c=c.toUpperCase();let a=n*3600,m,i,p,D,f,h;m=a%3600%60,c.indexOf("S")!==-1&&(a=a-m,i=Ie.padNumber(m,2,2)),p=a/60%60,c.indexOf("M")!==-1&&(c.indexOf("S")!==-1?D=Ie.roundPrecision(p,o).toString().padStart(2,"0"):D=Ie.padNumber(p,2,2),a=a-p*60),f=a/3600,c.indexOf("M")!==-1?h=Ie.roundPrecision(f,o).toString().padStart(3,"0"):h=Ie.padNumber(f,3,2);const V=`${c.replace(/S+/gi,i).replace(/M+/gi,D).replace(/H+/gi,h)}${l}`;return{direction:l,degree:Ie.roundPrecision(f,o),minute:Ie.roundPrecision(p,o),second:Ie.roundPrecision(m,o),pretty:V}}static lat2pretty(n,o=6,c="H°M′"){n=n%180;let l="N";n<0&&(l="S"),n=Math.abs(n),c=c.toUpperCase();let a=n*3600,m,i,p,D,f,h;m=a%3600%60,c.indexOf("S")!==-1&&(a=a-m,i=Ie.padNumber(m,2,2)),p=a/60%60,c.indexOf("M")!==-1&&(c.indexOf("S")!==-1?D=Ie.roundPrecision(p,o).toString().padStart(2,"0"):D=Ie.padNumber(p,2,2),a=a-p*60),f=a/3600,c.indexOf("M")!==-1?h=Ie.roundPrecision(f,o).toString().padStart(2,"0"):h=Ie.padNumber(f,2,2);const V=`${c.replace(/S+/gi,i).replace(/M+/gi,D).replace(/H+/gi,h)}${l}`;return{direction:l,degree:Ie.roundPrecision(f,o),minute:Ie.roundPrecision(p,o),second:Ie.roundPrecision(m,o),pretty:V}}static str2Lng(n,o=6){let c;if(isNaN(n)){n=Ie.strReplace(n,"LNG");const l=n[n.length-1].toUpperCase();n=n.substring(0,n.length-1).trim();const a=n.split(" ").filter(p=>p!=="").map(p=>Number(p));let[m,i]=a;if(m>360&&!i){const p=this.roundPrecision(m/100,0);i=m-p*100,m=p}c=m+(i??0)/60,l==="W"&&(c=c*-1)}else c=Number(n);return Ie.convertToStdLng(c,o)}static str2Lat(n,o=6){let c;if(isNaN(n)){n=Ie.strReplace(n,"LAT");const l=n[n.length-1].toUpperCase();n=n.substring(0,n.length-1).trim();const a=n.split(" ").filter(p=>p!=="").map(p=>Number(p));let[m,i]=a;if(m>90&&!i){const p=this.roundPrecision(m/100,0);i=m-p*100,m=p}c=m+(i??0)/60,l==="S"&&(c=c*-1)}else c=Number(n);return Ie.roundPrecision(c,o)}static str2LngOrLat(n,o=6,c="LAT"){n=Ie.strReplace(n,c);const l=n[n.length-1].toUpperCase();return["N","S"].includes(l)?{lat:Ie.str2Lat(n,o)}:{lng:Ie.str2Lng(n,o)}}static convertToStdLng(n,o=4){return n>180?(n=n%360,n=n>180?n-360:n):n<-180&&(n=n%360,n=n<-180?n+360:n),Ie.roundPrecision(n,o)}static roundPrecision(n,o=4){if(typeof n=="number"){const c=Number("1".padEnd(o+1,"0"));return Math.round(n*c)/c}return n}static convertToMonotonicLng2(n){for(let o=1;o<n.length;o++)n[o][0]+=Math.round((n[o-1][0]-n[o][0])/360)*360;return n}static convertToMonotonicLng(n){for(let o=1;o<n.length;o++)n[o].lng+=Math.round((n[o-1].lng-n[o].lng)/360)*360;return n}static strReplace(n,o="LAT"){n=n.replace(/([0-9]+)\.([0-9]+\.[0-9]+)/g,"$1 $2").replace(/-/g," ").replace(/°/," ").replace(/'/g," ").replace(/′/g," ").replace(/"/g," ").replace(/∼/g," ").replace(/°/g," ").replace(/,/g,".").replace(/^ /g,"").replace(/ $/g,"").trim();const c=n[n.length-1].toUpperCase();if(!["N","S","E","W"].includes(c)){const l=n,a=Number(l.split(" ")[0]);if(isNaN(a))throw new Error(`invalid Lat/Lng: ${n}`);a>=90?n=`${l}E`:a<=-90?n=`${l}W`:["LAN","LNG"].includes(o==null?void 0:o.toUpperCase())?n=`${l}${a>0?"E":"W"}`:n=`${l}${a>0?"N":"S"}`}return n}static padNumber(n,o=2,c=2){const l=Math.trunc(n).toString().padStart(o,"0"),a=Math.trunc(Ie.roundPrecision(n-Math.trunc(n),c)*Math.pow(10,c)).toString().padStart(c,"0");return`${l}.${a}`}}class YP{static convert2Geojson(n){var o;const c=UP([]);for(const l of n){if(l.forecasts){const a=(o=l.history)==null?void 0:o[0];for(const m of l.forecasts){const i=[],p=O(m.date).utc(),D=`${l.name}-${m.model}`;if(a){const f=O(a.updated).utc(),h=mn([a.lng,a.lat],{model:m.model,name:l.name,date:f.format(),hour:0,format:f.format("MMM-DD/HHmm[Z]"),pressure:a.pressure>1e4?Ie.roundPrecision(a.pressure/100,0):Ie.roundPrecision(a.pressure,0),wind:{kts:a.kts,spd:a.speed||a.spd},category:D,type:"forecast"});c.features.push(h),i.push(h.geometry.coordinates)}for(const f in m==null?void 0:m.hours){const h=m.hours[f];h.wind.spd=h.wind.spd||h.wind.speed;const V=p.clone().add(Number(f),"hour"),C=mn([h.lng,h.lat],{model:m.model,name:l.name,date:V.format(),hour:Number(f),format:V.format("MMM-DD/HHmm[Z]"),pressure:h.pressure>1e4?Ie.roundPrecision(h.pressure/100,0):Ie.roundPrecision(h.pressure,0),gusts:h.gusts,wind:h.wind||{},movement:h.movement,category:D,type:"forecast"});c.features.push(C),i.push(C.geometry.coordinates)}if((i==null?void 0:i.length)>1){const f=An(Ie.convertToMonotonicLng2(i),{date:m.date,id:l.id||l.name,model:m.model,name:l.name,category:D,type:"forecast"});c.features.push(f)}}}if(l.history){const a=[];for(const i of l.history){const p=O(i.updated).utc(),D=mn([i.lng,i.lat],{name:l.name,date:p.format(),format:p.format("MMM-DD/HHmm[Z]"),pressure:i.pressure>1e4?Ie.roundPrecision(i.pressure/100,0):Ie.roundPrecision(i.pressure,0),spd:i.speed||i.spd,kts:i.kts,source:i.source,level:i.type,type:"history",category:`${l.name}-history`});c.features.push(D),a.push(D.geometry.coordinates)}const m=l.history[0];if(a.length===1&&a.push(a[0]),a.length>1){const i=An(Ie.convertToMonotonicLng2(a),{name:l.name,type:"history",updated:m==null?void 0:m.updated,pressure:(m==null?void 0:m.pressure)>1e4?Ie.roundPrecision((m==null?void 0:m.pressure)/100,0):Ie.roundPrecision(m==null?void 0:m.pressure,0),spd:(m==null?void 0:m.speed)||(m==null?void 0:m.spd),kts:m==null?void 0:m.kts,source:m==null?void 0:m.source,level:m==null?void 0:m.type});c.features.push(i)}}}return c}static interpolate(n,o=3){var c,l,a,m;const i=(c=n==null?void 0:n.data)==null?void 0:c.features.filter(D=>D.geometry.type==="LineString"&&D.properties.type==="forecast"),p=[];for(const D of i){const f=D.properties.name,h=D.properties.model,V=O(D.properties.date).utc();let C=o*60-(V.get("hour")*60+V.get("minute"))%(o*60);const r=(l=n==null?void 0:n.data)==null?void 0:l.features.filter(B=>B.geometry.type==="Point"&&B.properties.type==="forecast"&&B.properties.category===`${f}-${h}`);let k,S=V.clone().add(C,"minute").set({minute:0,second:0,millisecond:0});for(;k=this.pickIndex(r,S),k<=r.length-1;){if(k>0){const B=r[k],A=k===0?void 0:r[k-1],u=(C/60-((a=A==null?void 0:A.properties)==null?void 0:a.hour))/(B.properties.hour-((m=A==null?void 0:A.properties)==null?void 0:m.hour)),F=this.computeNumber(A==null?void 0:A.geometry.coordinates[0],B.geometry.coordinates[0],u),x=this.computeNumber(A==null?void 0:A.geometry.coordinates[1],B.geometry.coordinates[1],u),L=mn([F,x],{name:f,model:h,category:B==null?void 0:B.properties.category,date:S.format(),format:S.format("MMM-DD/HHmm[Z]"),gusts:this.computeNumber(A==null?void 0:A.properties.gusts,B.properties.gusts,u),hour:this.computeNumber(A==null?void 0:A.properties.hour,B.properties.hour,u),movement:this.computeNumber(A==null?void 0:A.properties.movement,B.properties.movement,u),pressure:this.computeNumber(A==null?void 0:A.properties.pressure,B.properties.pressure,u),wind:this.computeNumber(A==null?void 0:A.properties.wind,B.properties.wind,u),type:"forecast"});p.push(L)}C+=o*60,S=V.clone().add(C,"minute").set({minute:0,second:0,millisecond:0})}}return p}static pickIndex(n,o){let c=0;for(const l of n){if(O(l.properties.date).isAfter(o))return c===0?-1:c;c++}return c}static computeNumber(n,o,c){if(n)if(o){if(isNaN(n)&&isNaN(o)&&typeof n!="string"&&typeof o!="string"){const l={};for(const a in n)l[a]=this.computeNumber(n[a],o[a],c);return l}return Math.round((n+(o-n)*c)*100)/100}else return n;else return o}}const voe="",ZP={name:"IdmTropical",components:{IdmBrand:Eo,Mapbox:MP,Echart:zP},props:{report:{type:Object,default:()=>({})},ts:{type:String,default:()=>""},token:{type:String,default:""},model:{type:String,default:""}},emits:["center"],data(){return{loading:!1,tropicals:void 0,activeForecast:void 0,timeSubscript:["0","6","12","18","24","36","48","72"],hourSubscript:[6,12,18,24],records:void 0,xAxis:[],probabilityColor:["#010101","#941c12","#ed0000","#ee7b00","#efd700","#5dfc02"],probabilitySeries:[],spdSeries:[],pressureSeries:[]}},computed:{computePrecision(){return function(t,n=0){return isNaN(t)||t===-999?"-":gl.LngLatHelper.roundPrecision(t,n)}},computeHours(){return function(t,n){return O(n).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,n){return`${gl.LngLatHelper.lat2pretty(t).pretty} / ${gl.LngLatHelper.lng2pretty(n).pretty}`}},computeCandidateIndex(){return function(t,n){let o=0;for(const c in t){if(Number(c)>n)return{prev:o,next:Number(c)};o=Number(c)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,n,o){return t?n?Math.round((t+(n-t)*o)*100)/100:t:n}},computeHourSubscript(){return function(t){let n="";return this.hourSubscript.forEach((o,c)=>{t<o&&n===""&&(n=c)}),n}},computeKLineData(){return function(t){const n=t.length;if(n){const o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[n-1][1],middle:""};let c=t[0][1],l=t[0][1];return t.forEach(a=>{c=!c||c<a[1]?a[1]:c,l=!l||l>a[1]?a[1]:l}),l||c?o.middle=(Number(l)+Number(c))/2:o.middle="-",o.min=l,o.max=c,o}}}},watch:{model:{handler(){var t;(t=this.report)!=null&&t.id&&!this.loading&&this.prepare()},immediate:!0},"report.id":{handler(){var t;(t=this.report)!=null&&t.id&&!this.loading&&this.prepare()},immediate:!0}},methods:{async prepare(){var a,m,i,p,D,f,h,V,C,r,k,S;this.loading=!0;const t=YP.convert2Geojson([this.report]);this.model&&t.features.forEach(B=>{B.properties.type==="forecast"&&B.properties.model!==this.model&&(B.properties.disabled=!0)});const n=(i=(m=(a=this.report)==null?void 0:a.forecasts)==null?void 0:m[0])==null?void 0:i.hours,o=((D=(p=this.report)==null?void 0:p.history)==null?void 0:D[0])||n[Object.keys(n)[0]];this.tropicals={data:t,active:!0,cached:!1,type:"json",etime:this.ts,version:Math.random()+1,center:[o==null?void 0:o.lng,o==null?void 0:o.lat]},this.activeForecast=this.model?((h=(f=this.report)==null?void 0:f.forecasts)==null?void 0:h.filter(B=>B.model===this.model)[0])||((C=(V=this.report)==null?void 0:V.forecasts)==null?void 0:C[0]):(k=(r=this.report)==null?void 0:r.forecasts)==null?void 0:k[0],this.activeForecast.sample=[];const c=O((S=this.activeForecast)==null?void 0:S.date);let l=0;for(const B in this.activeForecast.hours)if(l<8){const A=this.activeForecast.hours[B];A.pressure>1e4&&(A.pressure=gl.LngLatHelper.roundPrecision(A.pressure/100,0)),A.hour=Number(B),A.date=c.clone().add(A.hour,"h").utc().format("MMM-DD/HH[Z]"),this.activeForecast.sample.push(A),l++}else break;this.records=await this.interpolatedRecord(this.activeForecast.date,this.activeForecast.hours,1),this.fetchData().then(),this.loading=!1},async fetchData(){var D;const t=this.ts?O(Number(this.ts)).utc().format("YYYY-MM-DD HH"):O().utc().format("YYYY-MM-DD HH");for(let f in this.records)O(this.activeForecast.date).add(f,"h").utc().format("YYYY-MM-DD HH")===t&&this.$emit("center",this.records[f]);let n=this.computeHourSubscript(O(this.activeForecast.date).utc().format("H"));const o=[],c=[],l=[],a=[];let m=[],i=[],p=[];for(let f in this.records){const h=this.records[f],V=O(this.activeForecast.date).add(f,"h").utc(),C=this.computeHourSubscript(O(V).format("H")),r=`${O(V).format("YYYY-MM-DD")} ${this.hourSubscript[C]}:00:00`;n===C?(i.push([r,h.wind.kts]),p.push([r,h.pressure]),m.push([r,h.wind.spd])):(o.push(m),c.push(i),l.push(p),n=C,m=[],i=[],p=[],m.push([r,h.wind.spd]),i.push([r,h.wind.kts]),p.push([r,h.pressure]),this.xAxis.push(V))}for(let f in this.activeForecast.hours){const h=this.activeForecast.hours[f],V=O(this.activeForecast.date).add(f,"h").utc(),C=this.computeHourSubscript(O(V).format("H")),r=`${O(V).format("YYYY-MM-DD")} ${this.hourSubscript[C]}:00:00`;a.push([r,((D=h.gusts)==null?void 0:D.kts)??"-"])}this.fetchProbabilityData(o),this.fetchSpdData(c,a),this.fetchPressureData(l)},fetchProbabilityData(t){let n={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let c=0,l=0,a=0,m=0,i=0,p=0;o.forEach(f=>{const h=f[1];h<=17.1?c++:h<=24.4?l++:h<=32.6?a++:h<=41.4?m++:h<=50.9?i++:h>50.9&&p++});const D=o.length;n.td.push([o[0][0],gl.LngLatHelper.roundPrecision(c/D,2)*100]),n.ts.push([o[0][0],gl.LngLatHelper.roundPrecision(l/D,2)*100]),n.sts.push([o[0][0],gl.LngLatHelper.roundPrecision(a/D,2)*100]),n.ty.push([o[0][0],gl.LngLatHelper.roundPrecision(m/D,2)*100]),n.sty.push([o[0][0],gl.LngLatHelper.roundPrecision(i/D,2)*100]),n.supty.push([o[0][0],gl.LngLatHelper.roundPrecision(p/D,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:n.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:n.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:n.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:n.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:n.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:n.td}]},fetchSpdData(t,n){let o=[],c=[];t.forEach(l=>{const a=this.computeKLineData(l);let m=[a.time,a.first,a.last,a.min,a.max];c.push([a.time,a.middle]),o.push(m)}),this.spdSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:o},{data:c,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}},{data:n,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let n=[],o=[];t.forEach(c=>{const l=this.computeKLineData(c);let a=[l.time,l.first,l.last,l.min,l.max];o.push([l.time,l.middle]),n.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:n},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,n,o=3){var i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe;const c=O(t).set({second:0}).utc();let l=o-(c.get("hour")*60+c.get("minute"))%(o*60)/60,a;const m={};for(;a=this.computeCandidateIndex(n,l),a.next!==-1||l===a.prev;){const ee=(l-a.prev)/(a.next-a.prev);m[l]={gusts:this.computeInterpolateValue((i=n[a.prev])==null?void 0:i.gusts,(p=n[a.next])==null?void 0:p.gusts,ee),lat:this.computeInterpolateValue((D=n[a.prev])==null?void 0:D.lat,(f=n[a.next])==null?void 0:f.lat,ee),lng:this.computeInterpolateValue((h=n[a.prev])==null?void 0:h.lng,(V=n[a.next])==null?void 0:V.lng,ee),movement:{deg:this.computeInterpolateValue((r=(C=n[a.prev])==null?void 0:C.movement)==null?void 0:r.deg,(S=(k=n[a.next])==null?void 0:k.movement)==null?void 0:S.deg,ee),kts:this.computeInterpolateValue((A=(B=n[a.prev])==null?void 0:B.movement)==null?void 0:A.kts,(F=(u=n[a.next])==null?void 0:u.movement)==null?void 0:F.kts,ee),spd:this.computeInterpolateValue((L=(x=n[a.prev])==null?void 0:x.movement)==null?void 0:L.spd,(Z=(U=n[a.next])==null?void 0:U.movement)==null?void 0:Z.spd,ee)},pressure:this.computeInterpolateValue((R=n[a.prev])==null?void 0:R.pressure,(P=n[a.next])==null?void 0:P.pressure,ee),wind:{kts:this.computeInterpolateValue((I=(g=n[a.prev])==null?void 0:g.wind)==null?void 0:I.kts,(H=(G=n[a.next])==null?void 0:G.wind)==null?void 0:H.kts,ee),lat:this.computeInterpolateValue((Q=(M=n[a.prev])==null?void 0:M.wind)==null?void 0:Q.lat,(K=(j=n[a.next])==null?void 0:j.wind)==null?void 0:K.lat,ee),lng:this.computeInterpolateValue((z=(N=n[a.prev])==null?void 0:N.wind)==null?void 0:z.lng,(s=(J=n[a.next])==null?void 0:J.wind)==null?void 0:s.lng,ee),spd:this.computeInterpolateValue((d=(X=n[a.prev])==null?void 0:X.wind)==null?void 0:d.spd,(oe=(v=n[a.next])==null?void 0:v.wind)==null?void 0:oe.spd,ee)}},l+=o}return m}}},Tn=t=>(e.pushScopeId("data-v-80c7f977"),t=t(),e.popScopeId(),t),$P={class:"typhoon-report"},QP={class:"report-content"},JP={class:"map"},KP={class:"table"},qP=Tn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"Time"),e.createElementVNode("td",null,"Position"),e.createElementVNode("td",null,"Pres(hPa)"),e.createElementVNode("td",null,"Max(kts)"),e.createElementVNode("td",null,"Gusts(kts)"),e.createElementVNode("td",null,"35/50(kts)"),e.createElementVNode("td",null,"Dir(deg)"),e.createElementVNode("td",null,"Spd(kts)")])],-1)),jP=Tn(()=>e.createElementVNode("div",{class:"report-tips flex-end"}," The report is for reference only. All the material is an advisory provided so as to assist the Master in making the final route decision. ",-1));function XP(t,n,o,c,l,a){var D;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Mapbox"),p=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",$P,[e.createVNode(m,{name:"Tropical Cyclone Strike Probability Report"}),e.createElementVNode("div",QP,[e.createElementVNode("div",null,[e.createElementVNode("div",JP,[e.createVNode(i,{tropicals:l.tropicals,ts:o.ts,token:o.token},null,8,["tropicals","ts","token"])]),e.createElementVNode("div",KP,[e.createElementVNode("table",null,[qP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((D=l.activeForecast)==null?void 0:D.sample,(f,h)=>{var V,C,r,k,S,B;return e.openBlock(),e.createElementBlock("tr",{key:h},[e.createElementVNode("td",null,e.toDisplayString(f.date),1),e.createElementVNode("td",null,e.toDisplayString(a.computedLngLat(f.lat,f.lng)),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(f.pressure??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((V=f==null?void 0:f.wind)==null?void 0:V.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((C=f.gusts)==null?void 0:C.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(`${a.computePrecision(((r=f==null?void 0:f.wind)==null?void 0:r.r7)||"-")} / ${a.computePrecision(((k=f==null?void 0:f.wind)==null?void 0:k.r10)||"-")} nm`),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((S=f==null?void 0:f.movement)==null?void 0:S.deg)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((B=f==null?void 0:f.movement)==null?void 0:B.kts)??"-")),1)])}),128))])])])]),e.createElementVNode("div",null,[e.createVNode(p,{id:"probabilityChart",class:"echart",title:"Probability(%) of Tropical Cyclone Intensity falling in each category","x-axis":l.xAxis,color:l.probabilityColor,series:l.probabilitySeries},null,8,["x-axis","color","series"]),e.createVNode(p,{id:"spdChart",class:"echart",title:"10m Wind Speed(kts) [ Solid=Gusts ; Dot=Avg.Speed ]","x-axis":l.xAxis,series:l.spdSeries},null,8,["x-axis","series"]),e.createVNode(p,{id:"pressureChart",class:"echart",title:"Mean Sea Level Pressure in Tropical Cyclone Center (hPa)","x-axis":l.xAxis,series:l.pressureSeries},null,8,["x-axis","series"])])]),jP])}const un=Ee(ZP,[["render",XP],["__scopeId","data-v-80c7f977"]]),vP={install(t){t.component("TropicalReport",un)}},ele="",eL={components:{IdmBrand:en},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(`
|
|
41
|
+
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function EE(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",mE,[(e.openBlock(),e.createElementBlock("svg",pE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},yE,8,hE)]))])}const xn=Ee(rE,[["render",EE]]),_E={install(t){t.component("PiLogo",xn)}},Ooe="",Foe="",NE={components:{Editor:Uo,IdmBrand:en},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,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",self.location).href,bgSrc:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBoAAAAvCAYAAABNJKlSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABBVSURBVHhe7d2Hd1TnnYdx/wm7m91szWart2+yfTdtW5KtySbZTeLuxA3HLU6CCzY4Y9xiwMaFEkMoBkw1TXQVhEACdaEu1NuojEZdM2oz89t773vv3HvnviI4dnBsP99znsPhcECcOULM++Gd4ZqybhGnUrMup5RVibdOt+LMOlJyoSOp7Xx7sKJ0CSlqcyvMrDUh57TNy1mzlmAFTs1uZ5rngl2ak3xNp82azGZ95Tk1uuVm1jBjlbNA2Wb1wU7VT6vq3E5mVqs6kS6e7niNvmNO1WYxq6OZXYzJkcuUVTUV6LBTpb9D6SZVFZNycIEOlGc2Ifudyvy96a3UbV/puLa9JcH2OBWP+drt7YJqV6BR2Xle3xtORW47rEb8Faq2a9p2zttwutfNzvrbmllB1GqLps1n9G06MySb8v39KLPTbhvTRdJtyNP3mlmut0H5obcc1Xpd2YOyLnsg0FqnU/7W+OqXNSdVr+o60S+vBOqTl82OB3vJ2zHVaquwv6NheVHTC2ZHnHp9rXLKclsZqEdWHu6RFZqeNzvk7wdW3aqDbs9ldqBbnvXVle4Zs/3Bnvb2plOnPJXZvk5ZvkBP7u0IFPK2x+376dpVu9vliQVatktXmyx12un2uK432uQxq1ZfS8x2BHvUabtZi9UjmW1TPRyoWR4ye13fYqetbt+zuuS2RfVdTd/Z7K0p3YNOm9y+ndmPzBrlAU33b9R3n1WD3LfB373eXlPd46s+3bd+GOxup/Xe6mSRt3WquxZqbZ3caVXr6w6nNf5uT1cjt7+quk3XKzXyzUDV8g2zl4Pd6u0l1S1WFwPdvFrfTWYvOlVZ3ejtBbcbNF2/qlLbdWYr/X3dqkK1wu1rup6vkK/6Kk/3f2Y/8Pe/3p5zKpOvZPZsmXxZ05fMnjEr9fU/3p5WfTFQieqpEvmCpv82W55ZsfyX05Nu/6krVCz/YXXB17+bfT/Yvzk9YXY+3eczW6b6nKbPLiuSzy4N9q9Oj7v9i1Wh22OF8s8L9E9LvJ2z+kdvj/r7TGaPnJNPP3JW26ceDvZJp4cKfH0is8UF8g++zqT7++8F+zun72aWL3/r7Tuqv1mgv37Q7LSvv3L6tttfZvZAntVfaPr4/fo+dn+u231uf57Zvao/s8rx9af36PsTs285ZVv9cWZ3q/5I0x8uOqXtD5zu8ndtupNy7Z2q31+g37vD2wmr33W63d/veLtN9du3HQ/2zePyWwv0UadvHPP1m95uVX0k0FH5yC1H5Tc0/brZzcF+7eYjbjepflXXjUfkV6yyAv2y2Q3+PuzterPDVr+k6Rev0/eh6w7Jh77u7xe8fc3t59MdVH31oPzcjwlo0AQ0+AMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAGoAFoABqABhXQ4AY0AA1Ag10IaAAagAagIYgMQAPQADRocMEb0AA0AA1AA9CgAhrcgAagAWiwCwENQAPQADQEkQFoABqABg0ueAMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDVcLGsyf85VnSoyK031Z05ecns7sgvE54nb32qrLtmiNWaWvu5xedbszs1cW7o6MntjRYLVsR73b9h/fUk2Pb7tMrzvVWT32FlqytVbbo1fSFtWDG6rlplWlgW5c6a3E6ganFf6uN/rc42eNz7Mz8pmHVZ9+OD/YQ/nyqQX6pNPi074+YQc0eAIaggENbkAD0KALaAAagAY7oAFoSCMD0AA0eHtnoeHW1ZXpbnF60azCatGai7J4c91lW777kqw80GK1wmy/v5cOt8nred2Btlp1WWWV9MvJikE5sUBnaqNS1TZ2xdV0jEv/yPRbKpFMCWPvtw1PzEr3UFxTLFBd57gUNUQXrKA2IrsLui/bLk8r3my6bM/va5Jn9xh/Z6+vDHTzKuNr45OF6b5g9/mlBfLxe7PTfSzdKdU9p+TaO09ogcHpmticyFhcZGhKpHdMpHNYpCUi0jCQkuqwBxmABqDBE9DgBjT4AxqABl1AA9AANAANVwINd6+tkUWalmxrlKU7mozMb91WHWyVl4+0q7LctuR2y86C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",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 n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=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`${n} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):n==="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,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(n==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(n==="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,n){return n?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let n="";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})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(n="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."),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){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,n){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,n;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(n=(t=this.reportData)==null?void 0:t.segments)==null||n.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(m=>{let i={time:O(m.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+O(m.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:m.duration,distance:m.distance,fo:m.foCons,dgo:m.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(m=>{a.push(this.computedSeg(m))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(m=>m.type!=="A"&&m.goodWx))})}}},b=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),VE=["src"],fE={class:"voyage-main"},gE={class:"main",style:{"page-break-after":"always"}},DE={class:"main-title",style:{position:"relative !important"}},bE=["src"],xE={class:"main-title-content"},CE=b(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),SE={class:"title-date"},kE={class:"main-subtitle"},BE={class:"white"},AE=b(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),wE={class:"subtitle-main"},TE=b(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),uE={class:"subtitle-main"},OE={class:"main-box"},FE={class:"main-table"},PE=b(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),LE={class:"bold"},WE=b(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),HE={class:"bold"},ME=b(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),GE={class:"bold"},IE=b(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),RE={class:"bold"},zE={style:{display:"inline-block",width:"50%"}},UE=b(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),YE={class:"bold"},ZE={style:{display:"inline-block",width:"50%"}},$E=b(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),QE={class:"tips",style:{display:"flex"}},JE={style:{color:"var(--table-note-color)"}},KE={class:"summary-table",style:{"margin-top":"5px"}},qE=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),jE={style:{width:"15%"}},XE={key:1},vE=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),e_={key:1},t_=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),o_={key:1},l_=b(()=>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)),a_=b(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),n_={class:"weather-definition"},s_={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},i_=b(()=>e.createElementVNode("div",null,"Exclusion",-1)),c_=b(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),d_={class:"remark-table"},r_=b(()=>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)),m_=["innerHTML"],p_={class:"analysis page-title"},h_={class:"analysis-title"},y_={class:"analysis-title-detail"},E_=b(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),__={class:"page-avoid"},N_={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},V_=b(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),f_=b(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),g_=b(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),D_=b(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),b_=b(()=>e.createElementVNode("tr",null,null,-1)),x_={class:"title"},C_={class:"title"},S_={class:"title"},k_={class:"title"},B_=b(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),A_={class:"page-avoid",style:{"margin-bottom":"15px"}},w_={class:"analysis-table",cellspacing:"0",cellpadding:"0"},T_=b(()=>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)),u_=b(()=>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)),O_=b(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),F_={class:"inGoodWx"},P_={class:"inGoodWx"},L_=b(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),W_={class:"inGoodWx"},H_={class:"inGoodWx"},M_=b(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),G_={class:"inGoodWx"},I_={class:"inGoodWx"},R_=b(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),z_={class:"inGoodWx"},U_={class:"inGoodWx"},Y_=b(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),Z_={class:"inGoodWx"},$_={class:"inGoodWx"},Q_=b(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),J_={class:"inGoodWx"},K_={class:"inGoodWx"},q_=b(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),j_={class:"inGoodWx"},X_={class:"inGoodWx"},v_={key:0,class:"analysis-tips"},eN={key:1,class:"analysis-definition"},tN={key:2,class:"analysis-definition"},oN=b(()=>e.createElementVNode("br",null,null,-1)),lN={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},aN=b(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),nN=b(()=>e.createElementVNode("span",null,"= ",-1)),sN={key:0},iN={key:1},cN={key:2},dN={key:3},rN={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},mN=b(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),pN=b(()=>e.createElementVNode("span",null,"=",-1)),hN={key:0},yN={key:1},EN=b(()=>e.createElementVNode("span",null,"-",-1)),_N=b(()=>e.createElementVNode("span",null,"=",-1)),NN={key:0},VN={key:1},fN={key:6,class:"tr-tips tips-color"},gN={class:"formula page-title"},DN={class:"page-avoid"},bN={class:"subtitle",style:{"margin-top":"0"}},xN={key:0},CN={class:"definition"},SN=b(()=>e.createElementVNode("br",null,null,-1)),kN=b(()=>e.createElementVNode("br",null,null,-1)),BN=b(()=>e.createElementVNode("br",null,null,-1)),AN={class:"equation"},wN=b(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),TN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uN={style:{width:"50%"},class:"fraction"},ON=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FN=b(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),PN=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),LN={class:"equation"},WN={style:{width:"35%"}},HN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),MN={style:{width:"50%"},class:"fraction"},GN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IN=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),RN={class:"equation"},zN={style:{width:"35%"}},UN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),YN={style:{width:"50%"},class:"fraction"},ZN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$N=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),QN=b(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),JN={class:"page-avoid"},KN={key:0,class:"definition",style:{margin:"15px 0"}},qN={class:"equation"},jN=b(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),XN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),vN={style:{width:"35%"},class:"fraction"},eV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),oV={style:{width:"10%","text-align":"center"}},lV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),aV={class:"equation"},nV={style:{width:"35%"}},sV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),iV={style:{width:"35%"},class:"fraction"},cV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),rV={style:{width:"10%","text-align":"center"}},mV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),pV={class:"equation"},hV={style:{width:"35%"}},yV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EV={style:{width:"35%"},class:"fraction"},_V=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),VV={style:{width:"10%","text-align":"center"}},fV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),gV=b(()=>e.createElementVNode("span",null,"=",-1)),DV=b(()=>e.createElementVNode("span",null,"=",-1)),bV=b(()=>e.createElementVNode("span",null,"=",-1)),xV=["innerHTML"],CV={class:"page-avoid"},SV={class:"subtitle page-title"},kV={key:0},BV={class:"definition",style:{"margin-bottom":"15px"}},AV=b(()=>e.createElementVNode("br",null,null,-1)),wV=b(()=>e.createElementVNode("br",null,null,-1)),TV=b(()=>e.createElementVNode("br",null,null,-1)),uV={class:"equation"},OV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),FV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),PV={style:{width:"25%"},class:"fraction"},LV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WV=b(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),HV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),MV=b(()=>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)),GV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),IV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},RV=b(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),zV={key:0},UV={class:"equation"},YV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),ZV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$V={style:{width:"25%"},class:"fraction"},QV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),JV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),KV=b(()=>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)),qV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),jV={class:"equation"},XV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),vV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ef={style:{width:"25%"},class:"fraction"},tf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),of=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),lf=b(()=>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)),af=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),nf=b(()=>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)),sf={key:0,class:"equation"},cf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),df=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),rf={style:{width:"45%"},class:"fraction"},mf=b(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),pf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hf={key:1,class:"equation"},yf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),Ef=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_f={style:{width:"45%"},class:"fraction"},Nf=b(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),Vf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff={class:"page-avoid"},gf=b(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),Df={key:0,class:"definition",style:{margin:"15px 0"}},bf={class:"equation"},xf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Cf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Sf={style:{width:"20%"},class:"fraction"},kf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Bf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Af={style:{width:"20%"},class:"fraction"},wf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Tf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uf={style:{width:"10%","text-align":"center"}},Of=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),Ff={class:"equation"},Pf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),Lf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Wf={style:{width:"20%"},class:"fraction"},Hf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Mf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Gf={style:{width:"20%"},class:"fraction"},If=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Rf=b(()=>e.createElementVNode("div",null,"24",-1)),zf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Uf={style:{width:"10%","text-align":"center"}},Yf=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),Zf={class:"equation"},$f=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Qf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Jf={style:{width:"20%"},class:"fraction"},Kf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),jf={style:{width:"20%"},class:"fraction"},Xf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vf=b(()=>e.createElementVNode("div",null,"24",-1)),e0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),t0={style:{width:"10%","text-align":"center"}},o0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),l0=b(()=>e.createElementVNode("span",null,"=",-1)),a0=b(()=>e.createElementVNode("span",null,"=",-1)),n0=b(()=>e.createElementVNode("span",null,"=",-1)),s0={key:0},i0={key:0,class:"equation"},c0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),d0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),r0={style:{width:"45%"},class:"fraction"},m0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),p0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),h0={style:{width:"10%","text-align":"center"}},y0={key:1,class:"equation"},E0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),_0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),N0={style:{width:"45%"},class:"fraction"},V0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),g0={style:{width:"10%","text-align":"center"}},D0=["innerHTML"],b0={class:"page-avoid"},x0={key:0},C0=b(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),S0={key:0,class:"definition",style:{margin:"15px 0"}},k0={class:"equation"},B0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),A0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),w0={style:{width:"20%"},class:"fraction"},T0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),O0={style:{width:"20%"},class:"fraction"},F0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),P0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),L0={style:{width:"10%","text-align":"center"}},W0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),H0={class:"equation"},M0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),G0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),I0={style:{width:"20%"},class:"fraction"},R0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),U0={style:{width:"20%"},class:"fraction"},Y0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z0=b(()=>e.createElementVNode("div",null,"24",-1)),$0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Q0={style:{width:"10%","text-align":"center"}},J0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),K0={class:"equation"},q0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),j0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),X0={style:{width:"20%"},class:"fraction"},v0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eg=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tg={style:{width:"20%"},class:"fraction"},og=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lg=b(()=>e.createElementVNode("div",null,"24",-1)),ag=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ng={style:{width:"10%","text-align":"center"}},sg=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),ig=b(()=>e.createElementVNode("span",null,"=",-1)),cg=b(()=>e.createElementVNode("span",null,"=",-1)),dg=b(()=>e.createElementVNode("span",null,"=",-1)),rg=["innerHTML"];function mg(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.referenceOnly||(h=(f=o.reportData)==null?void 0:f.weather)!=null&&h.overallAsGoodWx?"watermark":"")},[e.createVNode(m,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,VE),e.createElementVNode("div",fE,[e.createElementVNode("div",gE,[e.createElementVNode("div",DE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,bE),e.createElementVNode("div",xE,[CE,e.createElementVNode("div",SE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",kE,[e.createElementVNode("table",BE,[e.createElementVNode("tr",null,[AE,e.createElementVNode("td",wE," "+e.toDisplayString((V=o.reportData)==null?void 0:V.preparedFor),1)]),e.createElementVNode("tr",null,[TE,e.createElementVNode("td",uE," "+e.toDisplayString((r=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",OE,[e.createElementVNode("table",FE,[e.createElementVNode("tr",null,[PE,e.createElementVNode("td",LE,e.toDisplayString((S=(k=o.reportData)==null?void 0:k.vessel)==null?void 0:S.type),1)]),e.createElementVNode("tr",null,[WE,e.createElementVNode("td",HE,e.toDisplayString((A=(B=o.reportData)==null?void 0:B.voyage)==null?void 0:A.loadCondition),1)]),e.createElementVNode("tr",null,[ME,e.createElementVNode("td",GE,e.toDisplayString((F=(u=o.reportData)==null?void 0:u.voyage)==null?void 0:F.number),1)]),e.createElementVNode("tr",null,[IE,e.createElementVNode("td",RE,[e.createElementVNode("span",zE,e.toDisplayString(((L=(x=o.reportData)==null?void 0:x.departure)==null?void 0:L.portName)||a.computedLngLat((Z=(U=o.reportData)==null?void 0:U.departure)==null?void 0:Z.lat,(P=(R=o.reportData)==null?void 0:R.departure)==null?void 0:P.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((I=(g=o.reportData)==null?void 0:g.departure)==null?void 0:I.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[UE,e.createElementVNode("td",YE,[e.createElementVNode("span",ZE,e.toDisplayString(((H=(G=o.reportData)==null?void 0:G.arrival)==null?void 0:H.portName)||a.computedLngLat((Q=(M=o.reportData)==null?void 0:M.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((z=(N=o.reportData)==null?void 0:N.arrival)==null?void 0:z.utcTime,"table")),1)])])])]),$E,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=o.reportData)==null?void 0:J.segments,(d,v)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+v},[e.createElementVNode("div",QE,[e.createElementVNode("div",JE,"Seg."+e.toDisplayString(v+1)+" ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(oe,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"tips-seg"},e.toDisplayString(oe),1))),128))])]),e.createElementVNode("table",KE,[e.createElementVNode("tr",null,[qE,e.createElementVNode("td",jE,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",XE,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,[vE,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",e_,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,[t_,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",o_,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)])]),l_]))),128)),a_,e.createElementVNode("div",n_,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((s=o.reportData)==null?void 0:s.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",s_,[i_,e.createElementVNode("div",null,[c_,e.createElementVNode("table",d_,[r_,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":n[0]||(n[0]=d=>l.advisory=d),height:"320px",onBlur:n[1]||(n[1]=d=>a.handleCommit(d))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:n[2]||(n[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,m_))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((X=o.reportData)==null?void 0:X.segments,(d,v)=>{var oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",p_,[e.createElementVNode("div",h_,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",y_,[e.createElementVNode("div",null,e.toDisplayString((ee=(oe=o.reportData)==null?void 0:oe.vessel)==null?void 0:ee.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Mt,ho)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ho,class:"tips-seg"},e.toDisplayString(Mt),1))),128))]),E_,e.createElementVNode("div",__,[e.createElementVNode("table",N_,[e.createElementVNode("tr",null,[V_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.type),1),f_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.fo),1)]),e.createElementVNode("tr",null,[g_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.speed),1),D_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.dgo),1)]),b_,e.createElementVNode("tr",null,[e.createElementVNode("td",x_,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfOver),1),e.createElementVNode("td",C_,"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",S_,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfUnder),1),e.createElementVNode("td",k_,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfUnder),1)])])]),B_,e.createElementVNode("div",A_,[e.createElementVNode("table",w_,[T_,u_,e.createElementVNode("tr",null,[O_,e.createElementVNode("td",F_,e.toDisplayString(d.goodWx.outEca.distance),1),e.createElementVNode("td",P_,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,[L_,e.createElementVNode("td",W_,e.toDisplayString(d.goodWx.outEca.time),1),e.createElementVNode("td",H_,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,[M_,e.createElementVNode("td",G_,e.toDisplayString(d.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",I_,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,[R_,e.createElementVNode("td",z_,e.toDisplayString(d.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",U_,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,[Y_,e.createElementVNode("td",Z_,e.toDisplayString(d.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",$_,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,[Q_,e.createElementVNode("td",J_,e.toDisplayString(d.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",K_,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,[q_,e.createElementVNode("td",j_,e.toDisplayString(d.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",X_,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",v_," 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",eN," 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",tN,[e.createTextVNode(" No Charter Party defined good weather was found. "),oN,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",lN,[aN,nN,(le=(_e=o.reportData)==null?void 0:_e.weather)!=null&&le.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",sN,e.toDisplayString(d.goodWx.avgSpd),1)),(Ne=(he=o.reportData)==null?void 0:he.weather)!=null&&Ne.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",iN,"-")),(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",dN,"=")),e.createElementVNode("span",null,e.toDisplayString(d.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",rN,[mN,pN,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",hN,"-")),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",yN,e.toDisplayString(`${a.computedPositive(d.allWx.avgCf)}`),1)),EN,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(d.allWx.avgWf)}`),1),_N,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",NN,"(Under-performance)")):e.createCommentVNode("",!0),d.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",VN,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",fN,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",gN,[e.createElementVNode("div",DN,[e.createElementVNode("div",bN,[e.createTextVNode(" Time Analysis "),(Oe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Oe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",xN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",CN,[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),SN,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),kN,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),BN,e.createElementVNode("div",AN,[wN,TN,e.createElementVNode("div",uN,[e.createElementVNode("div",null,e.toDisplayString((W=(ye=o.reportData)==null?void 0:ye.weather)!=null&&W.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ON,FN]),PN]),e.createElementVNode("div",LN,[e.createElementVNode("div",WN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),HN,e.createElementVNode("div",MN,[e.createElementVNode("div",null,e.toDisplayString((Fe=(me=o.reportData)==null?void 0:me.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),GN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" kts",1)]),IN]),e.createElementVNode("div",RN,[e.createElementVNode("div",zN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),UN,e.createElementVNode("div",YN,[e.createElementVNode("div",null,e.toDisplayString((Le=(Pe=o.reportData)==null?void 0:Pe.weather)!=null&&Le.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ZN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" kts",1)]),$N]),QN])]),e.createElementVNode("div",JN,[d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",KN,[e.createElementVNode("div",qN,[jN,XN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((We=(ke=o.reportData)==null?void 0:ke.weather)!=null&&We.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),tV,e.createElementVNode("div",oV,e.toDisplayString(d.timeConclusion.timeAtPfmSpd)+" (hrs)",1),lV]),e.createElementVNode("div",aV,[e.createElementVNode("div",nV," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),sV,e.createElementVNode("div",iV,[e.createElementVNode("div",null,e.toDisplayString((Ze=(Ye=o.reportData)==null?void 0:Ye.weather)!=null&&Ze.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),cV,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),dV,e.createElementVNode("div",rV,e.toDisplayString(d.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),mV]),e.createElementVNode("div",pV,[e.createElementVNode("div",hV," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),yV,e.createElementVNode("div",EV,[e.createElementVNode("div",null,e.toDisplayString((we=(Y=o.reportData)==null?void 0:Y.weather)!=null&&we.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),_V,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.plusAbtSpd),1)]),NV,e.createElementVNode("div",VV,e.toDisplayString(d.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),fV]),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),gV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),DV,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),bV,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(((Me=d.timeConclusion)==null?void 0:Me.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,xV))]),e.createElementVNode("div",CV,[e.createElementVNode("div",SV,[e.createTextVNode(" Consumption Analysis "),(Qe=($e=o.reportData)==null?void 0:$e.weather)!=null&&Qe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",kV,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",BV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),AV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),wV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),TV,e.createElementVNode("div",uV,[OV,FV,e.createElementVNode("div",PV,[e.createElementVNode("div",null,e.toDisplayString((Ke=(Je=o.reportData)==null?void 0:Je.weather)!=null&&Ke.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),LV,WV]),HV,MV,GV]),e.createElementVNode("div",IV,[RV,((_=(qe=d.extend)==null?void 0:qe.cp)==null?void 0:_.dgo)>0?(e.openBlock(),e.createElementBlock("div",zV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",UV,[YV,ZV,e.createElementVNode("div",$V,[e.createElementVNode("div",null,e.toDisplayString((Te=(q=o.reportData)==null?void 0:q.weather)!=null&&Te.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),QV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),JV,KV,qV]),e.createElementVNode("div",jV,[XV,vV,e.createElementVNode("div",ef,[e.createElementVNode("div",null,e.toDisplayString((Ge=(He=o.reportData)==null?void 0:He.weather)!=null&&Ge.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),tf,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),of,lf,af]),nf,((je=(pe=d.extend)==null?void 0:pe.cp)==null?void 0:je.dgo)>0?(e.openBlock(),e.createElementBlock("div",sf,[cf,df,e.createElementVNode("div",rf,[mf,pf,e.createElementVNode("div",null,e.toDisplayString((et=(ve=o.reportData)==null?void 0:ve.weather)!=null&&et.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((at=(lt=d.extend)==null?void 0:lt.cp)==null?void 0:at.dgo)>0?(e.openBlock(),e.createElementBlock("div",hf,[yf,Ef,e.createElementVNode("div",_f,[Nf,Vf,e.createElementVNode("div",null,e.toDisplayString((st=(nt=o.reportData)==null?void 0:nt.weather)!=null&&st.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",ff,[gf,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Df,[e.createElementVNode("div",bf,[xf,Cf,e.createElementVNode("div",Sf,[e.createElementVNode("div",null,e.toDisplayString((yt=(ht=o.reportData)==null?void 0:ht.weather)!=null&&yt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),kf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),Bf,e.createElementVNode("div",Af,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumFoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` + ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),wf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),Tf,e.createElementVNode("div",uf,e.toDisplayString(d.fuelConclusion.fo.entireCons)+" (mt)",1),Of]),e.createElementVNode("div",Ff,[Pf,Lf,e.createElementVNode("div",Wf,[e.createElementVNode("div",null,e.toDisplayString((_t=(Et=o.reportData)==null?void 0:Et.weather)!=null&&_t.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Hf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Mf,e.createElementVNode("div",Gf,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.overTolerance),1),If,Rf]),zf,e.createElementVNode("div",Uf,e.toDisplayString(d.fuelConclusion.fo.maxCons)+" (mt)",1),Yf]),e.createElementVNode("div",Zf,[$f,Qf,e.createElementVNode("div",Jf,[e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=o.reportData)==null?void 0:Nt.weather)!=null&&Vt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Kf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),qf,e.createElementVNode("div",jf,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.underTolerance),1),Xf,vf]),e0,e.createElementVNode("div",t0,e.toDisplayString(d.fuelConclusion.fo.minCons)+" (mt)",1),o0]),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),l0,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),a0,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),n0,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",s0,[d.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",i0,[c0,d0,e.createElementVNode("div",r0,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.overCons),1),m0,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=o.reportData)==null?void 0:ft.weather)!=null&>.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),p0,e.createElementVNode("div",h0,e.toDisplayString(d.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",y0,[E0,_0,e.createElementVNode("div",N0,[e.createElementVNode("div",null,e.toDisplayString((bt=(Dt=o.reportData)==null?void 0:Dt.weather)!=null&&bt.noExtrapolation?d.goodWx.inEca.distance:d.allWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.saving),1),V0,e.createElementVNode("div",null,e.toDisplayString((Ct=(xt=o.reportData)==null?void 0:xt.weather)!=null&&Ct.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),f0,e.createElementVNode("div",g0,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,D0))]),e.createElementVNode("div",b0,[((kt=(St=d.extend)==null?void 0:St.cp)==null?void 0:kt.dgo)>0?(e.openBlock(),e.createElementBlock("div",x0,[C0,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",S0,[e.createElementVNode("div",k0,[B0,A0,e.createElementVNode("div",w0,[e.createElementVNode("div",null,e.toDisplayString((At=(Bt=o.reportData)==null?void 0:Bt.weather)!=null&&At.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),T0,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),u0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumDgoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` - ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),F0,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),P0,e.createElementVNode("div",L0,e.toDisplayString(d.fuelConclusion.dgo.entireCons)+" (mt)",1),W0]),e.createElementVNode("div",H0,[M0,G0,e.createElementVNode("div",I0,[e.createElementVNode("div",null,e.toDisplayString((Tt=(wt=o.reportData)==null?void 0:wt.weather)!=null&&Tt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),R0,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),z0,e.createElementVNode("div",U0,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.overTolerance),1),Y0,Z0]),$0,e.createElementVNode("div",Q0,e.toDisplayString(d.fuelConclusion.dgo.maxCons)+" (mt)",1),J0]),e.createElementVNode("div",K0,[q0,j0,e.createElementVNode("div",X0,[e.createElementVNode("div",null,e.toDisplayString((Ot=(ut=o.reportData)==null?void 0:ut.weather)!=null&&Ot.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),v0,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),eg,e.createElementVNode("div",tg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.underTolerance),1),og,lg]),ag,e.createElementVNode("div",ng,e.toDisplayString(d.fuelConclusion.dgo.minCons)+" (mt)",1),sg]),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),ig,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),dg,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,rg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const pg=Ee(NE,[["render",mg],["__scopeId","data-v-6f2b44b1"]]),Poe="",hg={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,n=2){return t==="--"?"--":ie.roundPrecision(t,n)}},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,n,o){let c="";return n&&(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,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(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,m,i,p,D,f,h,V,C;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=(m=this.reportData)==null?void 0:m.weather)==null?void 0:i.showSig)??!0,this.showSwell=((D=(p=this.reportData)==null?void 0:p.weather)==null?void 0:D.showSwell)??!0,this.showWave=((h=(f=this.reportData)==null?void 0:f.weather)==null?void 0:h.showWave)??!0;let t=[];(C=(V=this.reportData)==null?void 0:V.segments)==null||C.forEach(r=>{let k=r.extend.cp;r.inventory.sample.hours.forEach(S=>{let B=JSON.parse(JSON.stringify(S));B.cp=k,t.push(B)})}),t.sort(function(r,k){let S=r.date,B=k.date;return S-B});let n="";t.forEach(r=>{r.seg!==n&&(r.isFirstSeg=!0,n=r.seg);let k=r.type.charAt(0);r.abbreviation=k,k==="M"?k="*":k==="A"&&(k=""),r.dateTime=k+" "+O(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),yg={class:"table",id:"second-table"},Eg=Be(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),_g={class:"subtitle"},Ng={class:"introduce"},Vg={class:"introduce-ship"},fg={style:{"margin-bottom":"15px"}},gg=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)),Dg={rowspan:"4"},bg=Be(()=>e.createElementVNode("td",null,"Entire Period",-1)),xg=Be(()=>e.createElementVNode("td",null,"Good weather period",-1)),Cg=Be(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),Sg=Be(()=>e.createElementVNode("td",null,"Excluded period",-1)),kg=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),Bg={class:"summary-table"},Ag=Be(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),wg=Be(()=>e.createElementVNode("th",{rowspan:"3"}," Date ",-1)),Tg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),ug=Be(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),Og=["colspan"],Fg={key:0,colspan:"2"},Pg=Be(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),Lg=Be(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),Wg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),Hg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),Mg=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),Gg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),Ig={key:0,rowspan:"2"},Rg=Be(()=>e.createElementVNode("br",null,null,-1)),zg={key:1,rowspan:"2"},Ug=Be(()=>e.createElementVNode("br",null,null,-1)),Yg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),Zg={key:2,rowspan:"2"},$g=Be(()=>e.createElementVNode("br",null,null,-1)),Qg={key:3,colspan:"2"},Jg={key:4,rowspan:"2"},Kg=Be(()=>e.createElementVNode("br",null,null,-1)),qg={key:5,colspan:"2"},jg=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),Xg={key:6,rowspan:"2"},vg={key:7,rowspan:"2"},e2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),o2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),l2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),a2=Be(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),n2=Be(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),s2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),i2=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)),d2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),r2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),m2=Be(()=>e.createElementVNode("th",null,"BF",-1)),p2={key:0},h2={key:1},y2={key:2},E2={key:3},_2=Be(()=>e.createElementVNode("th",null,"RPM",-1)),N2=Be(()=>e.createElementVNode("th",null,"Slip%",-1)),V2=Be(()=>e.createElementVNode("th",null,"FO",-1)),f2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),g2=Be(()=>e.createElementVNode("th",null,"FO",-1)),D2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),b2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),x2=Be(()=>e.createElementVNode("th",null,"BF",-1)),C2={class:"summary-tbody"};function S2(t,n,o,c,l,a){var m,i,p,D,f,h,V,C;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly||(D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",yg,[Eg,e.createElementVNode("div",_g,e.toDisplayString(a.computedTime((f=o.reportData)==null?void 0:f.createdAt)),1),e.createElementVNode("div",Ng,[e.createElementVNode("div",Vg,[e.createElementVNode("span",null,e.toDisplayString((V=(h=o.reportData)==null?void 0:h.vessel)==null?void 0:V.name),1)])]),e.createElementVNode("div",fg,[e.createElementVNode("table",null,[gg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((C=o.reportData)==null?void 0:C.segments,(r,k)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:k},[e.createElementVNode("tr",null,[e.createElementVNode("td",Dg,e.toDisplayString(k+1),1),bg,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,[xg,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,[Cg,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,[Sg,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))])])]),kg,e.createElementVNode("div",null,[e.createElementVNode("table",Bg,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ag,wg,Tg,ug,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,Og),o.isAdmin?(e.openBlock(),e.createElementBlock("th",Fg,"meteo")):e.createCommentVNode("",!0),Pg,Lg]),e.createElementVNode("tr",null,[Wg,Hg,Mg,Gg,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",Ig,[e.createTextVNode("Spd"),Rg,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",zg,[e.createTextVNode("Dis"),Ug,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),Yg,l.showWave?(e.openBlock(),e.createElementBlock("th",Zg,[e.createTextVNode("Sea HT"),$g,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",Qg,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",Jg,[e.createTextVNode("Sig Wave"),Kg,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",qg,"Current")):e.createCommentVNode("",!0),jg,o.isAdmin?(e.openBlock(),e.createElementBlock("th",Xg,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",vg,"wxFactor")):e.createCommentVNode("",!0),e2,t2,o2,l2,a2,n2,s2,i2]),e.createElementVNode("tr",null,[c2,d2,r2,m2,l.showSwell?(e.openBlock(),e.createElementBlock("th",p2,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",h2,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",y2,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",E2,"CF(kts)")):e.createCommentVNode("",!0),_2,N2,V2,f2,g2,D2,b2,x2])]),e.createElementVNode("tbody",C2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,k)=>{var S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J;return e.openBlock(),e.createElementBlock("tr",{key:k},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(S=l.summaryTable[k+1])!=null&&S.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(((A=(B=r.meteo)==null?void 0:B.wind)==null?void 0:A.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((F=(u=r.meteo)==null?void 0:u.wind)==null?void 0:F.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((U=(L=(x=r.meteo)==null?void 0:x.wave)==null?void 0:L.wd)==null?void 0:U.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((P=(R=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:R.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(((G=(I=(g=r.meteo)==null?void 0:g.wave)==null?void 0:I.swell)==null?void 0:G.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=(M=(H=r.meteo)==null?void 0:H.wave)==null?void 0:M.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(((z=r.meteo)==null?void 0:z.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((J=r.meteo)==null?void 0:J.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 k2=Ee(hg,[["render",S2],["__scopeId","data-v-9fe5beca"]]),B2={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,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,n){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)}),n.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(Yo.init(c))}let t=this,n=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:n};this.$nextTick(()=>{this.chart.setOption(o)})}}},A2=["id"];function w2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,A2)])}const T2=Ee(B2,[["render",w2]]),u2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},O2={class:"logo"},F2=[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 P2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",O2,F2)}const L2=Ee(u2,[["render",P2]]),Woe="",W2={components:{ScCharts:T2,BrabImg:L2},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 n=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(n.push({num:l,id:a}),o=l)});let c=[];return n.forEach((l,a)=>{let m=0;a==n.length-1?m=t.length-l.id:m=n[a+1].id-l.id+1;let i=[];for(let p=0;p<t.length;p++)(p>l.id||p==l.id)&&m>0?(i.push(l.num),m=m-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,n){let o=[],c=null,l=0;t.forEach((m,i)=>{m!=c&&this.computedIsNull(m)!==""?(o.push({num:m,id:i}),c=m,l++):this.computedIsNull(m)!==""&&m==c&&(o[l-1].id=i)});let a=[];return o.forEach((m,i)=>{let p=i?o[i-1].id:-1;for(let D=p;D<m.id;D++)a.push(m.num)}),a}},computedTime(){return function(t,n){return n=="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n=="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const n=/.*(?=<)/,o=t.match(n);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let n=ie.EmailHelper.convert2Html(t);return n=n.replace(/<\/br><\/br>+/g,"</br>"),n=n.replace(/(<\/br> <\/br>)+/g,"</br>"),n}else return"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${O(t).utc().format(n)}`:"-"}}},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,n){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(n=>n.status===1);this.mailList=t},getTableData(){var j,K;let t=[];(K=(j=this.reportData)==null?void 0:j.segments)==null||K.forEach((N,z)=>{let J=N.extend.cp;N.inventory.sample.hours.forEach((s,X)=>{let d=JSON.parse(JSON.stringify(s));d.cp=J,d.fuelConclusion=N.fuelConclusion,d.timeConclusion=N.timeConclusion,t.push(d)})}),t.sort(function(N,z){let J=N.date,s=z.date;return J-s});let n=[],o=[],c=[],l=[],a=[],m=[],i=[],p=[],D=[],f=[],h=[],V=[],C=[],r=[],k=[],S=[],B=[],A=[],u=[],F=[],x=[],L=[],U=[],Z=[],R=[],P=[!1,!1],g=[],I=[],G=[!1,!1],H=[],M=[];t.forEach((N,z)=>{var s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge;if(n.push(O(N.utc).utc().format("MM/DD HHmm[Z]")),N.goodWx===!0&&N.excluded!==!0?(P.indexOf(!0)==-1&&(N.type==="BOSP"?g.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}):g.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!0),P.indexOf(!0)!=-1&&z==t.length-1&&(g.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,I.push(g),g=[])):P.indexOf(!0)!==-1&&(g.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,I.push(g),g=[]),N.excluded===!0?(G.indexOf(!0)===-1&&(z===0?H.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}):H.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!0),G.indexOf(!0)!=-1&&z===t.length-1&&(H.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,M.push(H),H=[])):G.indexOf(!0)!==-1&&(H.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,M.push(H),H=[]),(N==null?void 0:N.type)==="EOSP"&&((s=t[z+1])==null?void 0:s.type)==="BOSP"){let pe=[];pe.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),pe.push({xAxis:O(t[z+1].utc).utc().format("MM/DD HHmm[Z]")}),M.push(pe)}N.type!="A"&&(N.type==="BOSP"&&z===0?l.push([O(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([O(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]),u.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((v=N==null?void 0:N.noon)==null?void 0:v.windBF)||"-"]),U.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((oe=N==null?void 0:N.noon)==null?void 0:oe.seasHt)||"-"])),p.push((N==null?void 0:N.type)!="A"?this.computedIsNull((ee=N==null?void 0:N.noon)==null?void 0:ee.foCons):""),C.push((N==null?void 0:N.type)!="A"?this.computedIsNull((se=N==null?void 0:N.noon)==null?void 0:se.dgoCons):""),R.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)??""),D.push(((_e=(re=N==null?void 0:N.fuelConclusion)==null?void 0:re.fo)==null?void 0:_e.underTolerance)??""),f.push(((he=(le=N==null?void 0:N.fuelConclusion)==null?void 0:le.fo)==null?void 0:he.overTolerance)??""),V.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)??""),k.push(((De=(ge=N==null?void 0:N.fuelConclusion)==null?void 0:ge.dgo)==null?void 0:De.overTolerance)??""),B.push(((xe=(be=N==null?void 0:N.meteo)==null?void 0:be.wind)==null?void 0:xe.scale)??""),A.push(((Se=(Ce=this.reportData)==null?void 0:Ce.weather)==null?void 0:Se.windScale)??"");let J="";(Oe=(ue=this.reportData)==null?void 0:ue.weather)!=null&&Oe.sigSwitch?(J=(me=(W=(ye=N.meteo)==null?void 0:ye.wave)==null?void 0:W.sig)!=null&&me.height?(Le=(Pe=(Fe=N.meteo)==null?void 0:Fe.wave)==null?void 0:Pe.sig)==null?void 0:Le.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",L.push(this.reportData.weather.sigHeight)):(We=(ke=this.reportData)==null?void 0:ke.weather)!=null&&We.waveSwitch?(J=(Y=(Ze=(Ye=N.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.wd)!=null&&Y.height?($e=(Me=(we=N.meteo)==null?void 0:we.wave)==null?void 0:Me.wd)==null?void 0:$e.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",L.push(this.reportData.weather.waveHeight)):(Je=(Qe=this.reportData)==null?void 0:Qe.weather)!=null&&Je.swellSwitch&&(J=(_=(qe=(Ke=N.meteo)==null?void 0:Ke.wave)==null?void 0:qe.swell)!=null&&_.height?(He=(Te=(q=N.meteo)==null?void 0:q.wave)==null?void 0:Te.swell)==null?void 0:He.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",L.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Ge=this.waveDetail)==null?void 0:Ge.ytitle.replaceAll("(m)",""),x.push(J)}),this.params={xAxis:n,markArea:[{type:"line",markArea:{data:I},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:M},itemStyle:{color:"#d3d3d3"}}]},l.forEach((N,z)=>{N.indexOf("-")!==-1&&z!==l.length-1&&(N[1]=l[z+1][1])}),c=this.computedArray(c),a=this.computedArray(a),i=this.computedArray(i),D=this.computedArray(D),f=this.computedArray(f),V=this.computedArray(V),r=this.computedArray(r),k=this.computedArray(k),p=this.computedCurrent(p),C=this.computedCurrent(C,"dgotype"),R=this.computedCurrent(R),c.forEach((N,z)=>{let J={name:z==0?"CP speed":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};o.push(J)}),a.forEach((N,z)=>{let J={name:z==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};o.push(J)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((N,z)=>{let J={name:z==0?"CP FO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};m.push(J)}),D.forEach((N,z)=>{let J={name:z==0?"CP FO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};m.push(J)}),f.forEach((N,z)=>{let J={name:z==0?"CP FO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};m.push(J)}),m.push({name:"Daily FO",type:"bar",showSymbol:!1,data:p,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),V.forEach((N,z)=>{let J={name:z==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};h.push(J)}),r.forEach((N,z)=>{let J={name:z==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};h.push(J)}),k.forEach((N,z)=>{let J={name:z==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};h.push(J)}),h.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:C,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),S.push({name:"CP Good Weather",type:"line",data:A,color:"#ff8935",showSymbol:!1,smooth:!0}),S.push({name:"Wind BF",type:"line",data:B,color:"#5eb3e0",showSymbol:!1,smooth:!0}),S.push({name:"Ship Report",type:"scatter",data:u,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),F.push({name:"CP Good Weather",type:"line",data:L,color:"#ff8935",showSymbol:!1,smooth:!0});let Q=this.waveDetail.ytitle.replaceAll("(m)","");F.push({name:Q,type:"line",data:x,color:"#5eb3e0",showSymbol:!1,smooth:!0}),F.push({name:"Ship Report",type:"scatter",data:U,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:R,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=m,this.DGOChartData=h,this.windSpdChartData=S,this.waveChartData=F,this.currentChartData=Z}}},Re=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),H2={class:"charts"},M2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),G2={class:"subtitle"},I2=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),R2={class:"weather-eChart"},z2={class:"charts page-title"},U2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),Y2={class:"subtitle"},Z2=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),$2={class:"weather-eChart"},Q2={class:"charts page-title"},J2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),K2={class:"subtitle"},q2={class:"message-table"},j2=Re(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),X2=Re(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),v2=Re(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),eD={style:{display:"inline-block",width:"50%"}},tD=Re(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),oD={style:{display:"inline-block",width:"50%"}},lD={style:{margin:"15px auto","padding-left":"20px"}},aD=["src"],nD={class:"charts-imgLegend"},sD={style:{position:"relative",left:"-20px"}},iD=Re(()=>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=Re(()=>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)),dD=Re(()=>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)),rD={key:0,class:"charts page-title"},mD=Re(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),pD={class:"subtitle"},hD={class:"message-table"},yD=Re(()=>e.createElementVNode("td",null,"Vessel Name",-1)),ED=Re(()=>e.createElementVNode("td",null,"Prepared For",-1)),_D=Re(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),ND={style:{display:"inline-block",width:"50%"}},VD=Re(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),fD={style:{display:"inline-block",width:"50%"}},gD={class:"columns"},DD={class:"title"},bD=["innerHTML"],xD={class:"charts",style:{"page-break-before":"always"}},CD=Re(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),SD={class:"methodology"},kD=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's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-4fb04207> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div><div 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 "about", 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),BD={class:"definition"},AD={class:"equation"},wD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),TD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),uD={style:{width:"50%"},class:"fraction"},OD=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FD=Re(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),PD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),LD={class:"equation"},WD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),HD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),MD={style:{width:"50%"},class:"fraction"},GD=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ID=Re(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),RD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zD={class:"equation"},UD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),YD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),ZD={style:{width:"50%"},class:"fraction"},$D=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QD=Re(()=>e.createElementVNode("div",null,"CP Speed",-1)),JD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),KD=Re(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),qD=Re(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),jD=Re(()=>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)),XD=Re(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),vD=Re(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function eb(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe;const m=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.referenceOnly||(h=(f=o.reportData)==null?void 0:f.weather)!=null&&h.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",H2,[M2,e.createElementVNode("div",G2,e.toDisplayString(a.computedTime((V=o.reportData)==null?void 0:V.createdAt)),1),I2,e.createElementVNode("div",R2,[e.createVNode(m,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",z2,[U2,e.createElementVNode("div",Y2,e.toDisplayString(a.computedTime((C=o.reportData)==null?void 0:C.createdAt)),1),Z2,e.createElementVNode("div",$2,[e.createVNode(m,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",Q2,[J2,e.createElementVNode("div",K2,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",q2,[e.createElementVNode("tr",null,[j2,e.createElementVNode("td",null,e.toDisplayString((S=(k=o.reportData)==null?void 0:k.vessel)==null?void 0:S.name),1)]),e.createElementVNode("tr",null,[X2,e.createElementVNode("td",null,e.toDisplayString((B=o.reportData)==null?void 0:B.preparedFor),1)]),e.createElementVNode("tr",null,[v2,e.createElementVNode("td",null,[e.createElementVNode("span",eD,e.toDisplayString(((u=(A=o.reportData)==null?void 0:A.departure)==null?void 0:u.portName)||a.computedLngLat((x=(F=o.reportData)==null?void 0:F.departure)==null?void 0:x.lat,(U=(L=o.reportData)==null?void 0:L.departure)==null?void 0:U.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((R=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:R.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[tD,e.createElementVNode("td",null,[e.createElementVNode("span",oD,e.toDisplayString(((g=(P=o.reportData)==null?void 0:P.arrival)==null?void 0:g.portName)||a.computedLngLat((G=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:G.lat,(M=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:M.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",lD,[e.createElementVNode("img",{style:{width:"100%"},src:(K=o.reportData)==null?void 0:K.chartUrl,alt:""},null,8,aD),e.createElementVNode("div",nD,[e.createElementVNode("div",sD,[iD,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),cD]),dD])])]),(z=(N=o.reportData)==null?void 0:N.weather)!=null&&z.showMails?(e.openBlock(),e.createElementBlock("div",rD,[mD,e.createElementVNode("div",pD,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",hD,[e.createElementVNode("tr",null,[yD,e.createElementVNode("td",null,e.toDisplayString((s=(J=o.reportData)==null?void 0:J.vessel)==null?void 0:s.name),1)]),e.createElementVNode("tr",null,[ED,e.createElementVNode("td",null,e.toDisplayString((X=o.reportData)==null?void 0:X.preparedFor),1)]),e.createElementVNode("tr",null,[_D,e.createElementVNode("td",null,[e.createElementVNode("span",ND,e.toDisplayString(((v=(d=o.reportData)==null?void 0:d.departure)==null?void 0:v.portName)||a.computedLngLat((ee=(oe=o.reportData)==null?void 0:oe.departure)==null?void 0:ee.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,[VD,e.createElementVNode("td",null,[e.createElementVNode("span",fD,e.toDisplayString(((le=(_e=o.reportData)==null?void 0:_e.arrival)==null?void 0:le.portName)||a.computedLngLat((Ne=(he=o.reportData)==null?void 0:he.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",gD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(ye,W)=>(e.openBlock(),e.createElementBlock("div",{key:ye.id,class:e.normalizeClass(W%2===0?"item":"item bg")},[e.createElementVNode("div",DD,"FROM "+e.toDisplayString(a.computeFrom(ye.from))+" "+e.toDisplayString(a.computeUTCTime(ye.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((ye==null?void 0:ye.body)??"-")},null,8,bD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",xD,[CD,e.createElementVNode("div",SD,[kD,e.createElementVNode("div",BD,[e.createElementVNode("div",AD,[wD,TD,e.createElementVNode("div",uD,[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),OD,FD]),PD]),e.createElementVNode("div",LD,[WD,HD,e.createElementVNode("div",MD,[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),GD,ID]),RD]),e.createElementVNode("div",zD,[UD,YD,e.createElementVNode("div",ZD,[e.createElementVNode("div",null,e.toDisplayString((Oe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Oe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$D,QD]),JD]),KD]),qD,jD,XD,vD])])],2)}const tb=Ee(W2,[["render",eb],["__scopeId","data-v-4fb04207"]]),Hoe="",ob={components:{firstPart:pg,secondPart:k2,thirdPart:tb},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},lb={class:"voyage-report"};function ab(t,n,o,c,l,a){const m=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),p=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",lb,[e.createVNode(m,{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(p,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const Cn=Ee(ob,[["render",ab],["__scopeId","data-v-61638416"]]),Moe="",nb={components:{Editor:Uo},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 n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n=="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n=="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):n=="summary"?O(t).utc().format("MMMM D, HHmm[Z]"):n?O(t).utc().format(n):O(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=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"),m=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:n,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:m}}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):n=="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,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let n="";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})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){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 n,o,c;return(n=t.timeConclusion)!=null&&n.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,n){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 n,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(n=this.reportData)==null?void 0:n.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let p={begin:O(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:O(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:O(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+O(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(p)}),!t.includes(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 m=[];c.extend.segTimes.forEach(i=>{m.push(this.computedSeg(i))}),this.segDetail.push(m),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},E=t=>(e.pushScopeId("data-v-037d24da"),t=t(),e.popScopeId(),t),sb=E(()=>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)),ib={class:"fli-main"},cb=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),db={class:"card basics"},rb={class:"list flex"},mb={class:"item"},pb=E(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),hb={class:"content flex"},yb={class:"item"},Eb=E(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),_b={class:"content flex"},Nb={class:"item"},Vb=E(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),fb={class:"content flex"},gb={class:"list"},Db={class:"item"},bb=E(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),xb={class:"content flex"},Cb={class:"content flex"},Sb={class:"item"},kb=E(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Bb={class:"content flex"},Ab={class:"content flex"},wb={class:"item"},Tb=E(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),ub={class:"content flexL"},Ob=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Fb={class:"clause"},Pb={key:0,class:"definition flex"},Lb={key:1,class:"definition flex"},Wb={class:"item"},Hb=E(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),Mb={class:"content"},Gb={key:0,class:"item"},Ib=E(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Rb={class:"content"},zb={key:1,class:"item"},Ub=E(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Yb={class:"content"},Zb={key:2,class:"item"},$b=E(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Qb={class:"content"},Jb={key:3,class:"item"},Kb=E(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),qb={class:"content"},jb={key:4,class:"item"},Xb=[E(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),E(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],vb={key:5,class:"item"},ex=[E(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),E(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],tx={class:"definition flexM"},ox={class:"table"},lx=E(()=>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)),ax=E(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),nx={class:"summary"},sx={key:0,class:"summary-overall"},ix=E(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),cx={class:"summary-overall-row"},dx={class:"card"},rx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),mx={class:"main-content"},px={key:0},hx={key:1},yx={class:"card"},Ex=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),_x={class:"main-content"},Nx={key:0},Vx={key:1},fx={class:"card"},gx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),Dx={class:"main-content"},bx={key:0},xx={key:1},Cx={class:"summary-overall-row"},Sx={class:"card"},kx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),Bx={class:"main-content"},Ax={class:"card"},wx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Tx={class:"main-content"},ux={class:"card"},Ox=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Fx={class:"main-content"},Px=E(()=>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)),Lx={class:"card",style:{flex:"1.5"}},Wx={class:"card-title"},Hx=E(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Mx={class:"card-segment"},Gx={class:"card-segment"},Ix={class:"card-segment"},Rx=E(()=>e.createElementVNode("div",null,"Applied",-1)),zx={class:"uppercase"},Ux={class:"card summary-card",style:{flex:"1"}},Yx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),Zx={key:0,class:"main-content"},$x={key:0,class:"iconfont success"},Qx={key:1,class:"iconfont error"},Jx={key:1,class:"main-content"},Kx={class:"card-content",style:{"justify-content":"flex-start"}},qx={class:"card summary-card",style:{flex:"1"}},jx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),Xx={key:0,class:"main-content"},vx={key:0,class:"iconfont success"},e3={key:1,class:"iconfont error"},t3={key:1,class:"main-content"},o3={class:"card-content",style:{"justify-content":"flex-start"}},l3={class:"card summary-card",style:{flex:"1"}},a3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),n3={key:0,class:"main-content"},s3={key:0,class:"iconfont success"},i3={key:1,class:"iconfont error"},c3={key:1,class:"main-content"},d3={class:"card-content",style:{"justify-content":"flex-start"}},r3={style:{"page-break-inside":"avoid"}},m3=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),p3={class:"remarks"},h3={class:"item"},y3=E(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),E3={class:"speed"},_3={class:"uppercase"},N3={class:"item"},V3=E(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),f3={key:0,class:"remark-detail"},g3={key:1,class:"remark-detail"},D3={class:"page-avoid"},b3={class:"dashed"},x3={class:"card phase-title-card",style:{flex:"0.5"}},C3={class:"card-title"},S3=E(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),k3={class:"card-segment"},B3={class:"card-segment"},A3={class:"card-segment"},w3=E(()=>e.createElementVNode("div",null,"Applied",-1)),T3={class:"uppercase"},u3=E(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),O3={class:"phase-analysis"},F3={class:"card phase-card",style:{flex:"1"}},P3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),L3={class:"main-content"},W3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),H3={class:"main-content"},M3={class:"card-content"},G3=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),I3=E(()=>e.createElementVNode("span",null,"mt",-1)),R3={class:"card-content"},z3=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),U3=E(()=>e.createElementVNode("span",null,"mt",-1)),Y3={class:"card-content"},Z3=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),$3=E(()=>e.createElementVNode("span",null,"mt",-1)),Q3={class:"card-content"},J3=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),K3=E(()=>e.createElementVNode("span",null,"mt",-1)),q3=E(()=>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)),j3={class:"card phase-card",style:{flex:"1"}},X3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),v3={class:"main-content"},eC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),tC={class:"main-content"},oC={class:"card-content"},lC=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),aC=E(()=>e.createElementVNode("span",null,"mt",-1)),nC={class:"card-content"},sC=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),iC=E(()=>e.createElementVNode("span",null,"mt",-1)),cC={class:"card-content"},dC=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),rC=E(()=>e.createElementVNode("span",null,"mt",-1)),mC={class:"card-content"},pC=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),hC=E(()=>e.createElementVNode("span",null,"mt",-1)),yC=E(()=>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)),EC={class:"phase-analysis"},_C={class:"card phase-card",style:{flex:"1"}},NC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),VC={class:"main-content"},fC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),gC={class:"main-content"},DC={class:"card-content"},bC=E(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),xC=E(()=>e.createElementVNode("span",null,"nm",-1)),CC={class:"card-content"},SC=E(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),kC=E(()=>e.createElementVNode("span",null,"nm",-1)),BC={class:"card-content"},AC=E(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),wC=E(()=>e.createElementVNode("span",null,"nm",-1)),TC={class:"card-content"},uC=E(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),OC=E(()=>e.createElementVNode("span",null,"nm",-1)),FC={class:"card phase-card",style:{flex:"1"}},PC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),LC={class:"main-content"},WC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),HC={class:"main-content"},MC={class:"card-content"},GC=E(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),IC=E(()=>e.createElementVNode("span",null,"hrs",-1)),RC={class:"card-content"},zC=E(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),UC=E(()=>e.createElementVNode("span",null,"hrs",-1)),YC={class:"card-content"},ZC=E(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),$C=E(()=>e.createElementVNode("span",null,"hrs",-1)),QC={class:"card-content"},JC=E(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),KC=E(()=>e.createElementVNode("span",null,"hrs",-1)),qC={class:"card phase-card",style:{flex:"1"}},jC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),XC={class:"main-content"},vC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),eS={class:"main-content"},tS={class:"card-content"},oS=E(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),lS=E(()=>e.createElementVNode("span",null,"kts",-1)),aS={class:"card-content"},nS=E(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),sS=E(()=>e.createElementVNode("span",null,"kts",-1)),iS={class:"card-content"},cS=E(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),dS=E(()=>e.createElementVNode("span",null,"kts",-1)),rS={class:"card-content"},mS=E(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),pS=E(()=>e.createElementVNode("span",null,"kts",-1)),hS={class:"phase-analysis"},yS={class:"card phase-card",style:{flex:"1"}},ES=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),_S={class:"main-content"},NS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),VS={class:"main-content"},fS={class:"card-content"},gS=E(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),DS=E(()=>e.createElementVNode("span",null,"mt",-1)),bS={class:"card-content"},xS=E(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),CS=E(()=>e.createElementVNode("span",null,"mt",-1)),SS={class:"card-content"},kS=E(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),BS=E(()=>e.createElementVNode("span",null,"mt",-1)),AS={class:"card-content"},wS=E(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),TS=E(()=>e.createElementVNode("span",null,"mt",-1)),uS={class:"card phase-card",style:{flex:"1"}},OS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),FS={class:"main-content"},PS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),LS={class:"main-content"},WS={class:"card-content"},HS=E(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),MS=E(()=>e.createElementVNode("span",null,"mt",-1)),GS={class:"card-content"},IS=E(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),RS=E(()=>e.createElementVNode("span",null,"mt",-1)),zS={class:"card-content"},US=E(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),YS=E(()=>e.createElementVNode("span",null,"mt",-1)),ZS={class:"card-content"},$S=E(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),QS=E(()=>e.createElementVNode("span",null,"mt",-1)),JS={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},KS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),qS={class:"main-content"},jS={class:"card-content"},XS=E(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),vS={key:0},ek=E(()=>e.createElementVNode("span",null,"kts",-1)),tk={key:1},ok={class:"phase-card"},lk={class:"card",style:{flex:"1"}},ak=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),nk={key:0,class:"main-content"},sk={key:0,class:"iconfont success"},ik={key:1,class:"iconfont error"},ck={key:1,class:"main-content"},dk={class:"nogwd"},rk={class:"card-content",style:{"justify-content":"flex-start"}},mk={key:0},pk={class:"equation"},hk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),yk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ek={style:{width:"8%"}},_k=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Vk={style:{width:"10%"}},fk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),gk={class:"equation"},Dk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),bk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xk={style:{width:"8%"}},Ck=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),kk={style:{width:"10%"}},Bk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Ak={class:"equation"},wk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),Tk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),uk={style:{width:"8%"}},Ok=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Fk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Pk={style:{width:"10%"}},Lk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),Wk={class:"phase-card"},Hk={class:"card",style:{flex:"1"}},Mk=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),Gk={key:0,class:"main-content"},Ik={key:0,class:"iconfont success"},Rk={key:1,class:"iconfont error"},zk={key:1,class:"main-content"},Uk={class:"nogwd"},Yk={class:"card-content",style:{"justify-content":"flex-start"}},Zk={key:0},$k={class:"equation"},Qk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Jk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Kk={style:{width:"8%"}},qk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Xk={style:{width:"120px"}},vk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),e4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),t4={style:{width:"10%"}},o4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),l4={class:"equation"},a4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),n4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),s4={style:{width:"8%"}},i4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),c4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),d4={style:{width:"120px"}},r4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),m4=E(()=>e.createElementVNode("div",null,"24",-1)),p4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),h4={style:{width:"10%"}},y4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),E4={class:"equation"},_4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),N4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),V4={style:{width:"8%"}},f4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),D4={style:{width:"120px"}},b4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x4=E(()=>e.createElementVNode("div",null,"24",-1)),C4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),S4={style:{width:"10%"}},k4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),B4={key:0,class:"phase-card"},A4={class:"card",style:{flex:"1"}},w4=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),T4={key:0,class:"main-content"},u4={key:0,class:"iconfont success"},O4={key:1,class:"iconfont error"},F4={key:1,class:"main-content"},P4={class:"nogwd"},L4={class:"card-content",style:{"justify-content":"flex-start"}},W4={key:0},H4={class:"equation"},M4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),G4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),I4={style:{width:"8%"}},R4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),U4={style:{width:"120px"}},Y4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),$4={style:{width:"10%"}},Q4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),J4={class:"equation"},K4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),q4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),j4={style:{width:"8%"}},X4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),v4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),eB={style:{width:"120px"}},tB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),oB=E(()=>e.createElementVNode("div",null,"24",-1)),lB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),aB={style:{width:"10%"}},nB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),sB={class:"equation"},iB=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),cB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),dB={style:{width:"8%"}},rB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),pB={style:{width:"120px"}},hB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yB=E(()=>e.createElementVNode("div",null,"24",-1)),EB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_B={style:{width:"10%"}},NB=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),VB=E(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),fB={class:"formular dashed",style:{"page-break-inside":"avoid"}},gB={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},DB=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),bB={class:""},xB={class:"equation"},CB=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),SB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kB={style:{width:"50%"},class:"fraction"},BB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AB=E(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),wB=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),TB={class:"equation"},uB=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),OB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),FB={style:{width:"50%"},class:"fraction"},PB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LB=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),WB=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),HB={class:"equation"},MB=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),GB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),IB={style:{width:"50%"},class:"fraction"},RB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),zB=E(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),UB=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),YB=E(()=>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)),ZB={class:"flexL formular-item",style:{"margin-left":"20px"}},$B=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),QB={class:""},JB={class:"equation"},KB=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),qB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jB={style:{width:"25%"},class:"fraction"},XB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vB=E(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),eA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tA=E(()=>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)),oA=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),lA={class:"equation"},aA=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),nA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),sA={style:{width:"25%"},class:"fraction"},iA=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cA=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),dA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),rA=E(()=>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)),mA=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),pA={class:"equation"},hA=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),yA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EA={style:{width:"25%"},class:"fraction"},_A=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NA=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),VA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),fA=E(()=>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)),gA=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),DA=E(()=>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)),bA=E(()=>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 xA(t,n,o,c,l,a){var m,i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly?"watermark":"")},[sb,e.createElementVNode("div",ib,[cb,e.createElementVNode("div",db,[e.createElementVNode("div",rb,[e.createElementVNode("div",mb,[pb,e.createElementVNode("div",hb,e.toDisplayString((p=o.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",yb,[Eb,e.createElementVNode("div",_b,e.toDisplayString((f=(D=o.reportData)==null?void 0:D.vessel)==null?void 0:f.name),1)]),e.createElementVNode("div",Nb,[Vb,e.createElementVNode("div",fb,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",gb,[e.createElementVNode("div",Db,[bb,e.createElementVNode("div",xb,e.toDisplayString(((V=(h=o.reportData)==null?void 0:h.departure)==null?void 0:V.portName)||a.computedLngLat((r=(C=o.reportData)==null?void 0:C.departure)==null?void 0:r.lat,(S=(k=o.reportData)==null?void 0:k.departure)==null?void 0:S.lng)),1),e.createElementVNode("div",Cb,e.toDisplayString(a.computedTime((A=(B=o.reportData)==null?void 0:B.departure)==null?void 0:A.utcTime,"table")),1)]),e.createElementVNode("div",Sb,[kb,e.createElementVNode("div",Bb,e.toDisplayString(((F=(u=o.reportData)==null?void 0:u.arrival)==null?void 0:F.portName)||a.computedLngLat((L=(x=o.reportData)==null?void 0:x.arrival)==null?void 0:L.lat,(Z=(U=o.reportData)==null?void 0:U.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",Ab,e.toDisplayString(a.computedTime((P=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",wb,[Tb,e.createElementVNode("div",ub,e.toDisplayString((I=(g=o.reportData)==null?void 0:g.voyage)==null?void 0:I.loadCondition),1)])])]),Ob,e.createElementVNode("div",Fb,[(H=(G=o.reportData)==null?void 0:G.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Pb," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",Lb,[e.createElementVNode("div",Wb,[Hb,e.createElementVNode("div",Mb,"BF "+e.toDisplayString(((Q=(M=o.reportData)==null?void 0:M.weather)==null?void 0:Q.windScale)||"-"),1)]),(K=(j=o.reportData)==null?void 0:j.weather)!=null&&K.waveSwitch?(e.openBlock(),e.createElementBlock("div",Gb,[Ib,e.createElementVNode("div",Rb,e.toDisplayString(((z=(N=o.reportData)==null?void 0:N.weather)==null?void 0:z.waveHeight)||"-")+" Meter",1)])):(s=(J=o.reportData)==null?void 0:J.weather)!=null&&s.swellSwitch?(e.openBlock(),e.createElementBlock("div",zb,[Ub,e.createElementVNode("div",Yb,e.toDisplayString(((d=(X=o.reportData)==null?void 0:X.weather)==null?void 0:d.swellHeight)||"-")+" Meter",1)])):(oe=(v=o.reportData)==null?void 0:v.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",Zb,[$b,e.createElementVNode("div",Qb,e.toDisplayString(((se=(ee=o.reportData)==null?void 0:ee.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ce=o.reportData)==null?void 0:ce.weather)!=null&&de.waveSwitch||(_e=(re=o.reportData)==null?void 0:re.weather)!=null&&_e.swellHeight||(he=(le=o.reportData)==null?void 0:le.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",Jb,[Kb,e.createElementVNode("div",qb,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",jb,Xb)):e.createCommentVNode("",!0),(be=(De=o.reportData)==null?void 0:De.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",vb,ex)):e.createCommentVNode("",!0)])),e.createElementVNode("div",tx,[e.createElementVNode("table",ox,[lx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(_,q)=>(e.openBlock(),e.createElementBlock("tr",{key:q},[e.createElementVNode("td",null,e.toDisplayString(_==null?void 0:_.type),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.speed} | ${_==null?void 0:_.spdOfOver} , ${_.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.fo} | ${_==null?void 0:_.over} , ${_.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.dgo} | ${_==null?void 0:_.over} , ${_.under}`),1)]))),128))])])])]),ax,e.createElementVNode("div",nx,[((Ce=(xe=o.reportData)==null?void 0:xe.segments)==null?void 0:Ce.length)>1?(e.openBlock(),e.createElementBlock("div",sx,[ix,e.createElementVNode("div",cx,[e.createElementVNode("div",dx,[rx,e.createElementVNode("div",mx,[(ue=(Se=o.reportData)==null?void 0:Se.goodWx)!=null&&ue.avgSpd?(e.openBlock(),e.createElementBlock("div",px,e.toDisplayString((ye=(Oe=o.reportData)==null?void 0:Oe.goodWx)==null?void 0:ye.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",hx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",yx,[Ex,e.createElementVNode("div",_x,[(me=(W=o.reportData)==null?void 0:W.goodWx)!=null&&me.avgSpd?(e.openBlock(),e.createElementBlock("div",Nx,e.toDisplayString((Pe=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:Pe.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Vx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",fx,[gx,e.createElementVNode("div",Dx,[(ke=(Le=o.reportData)==null?void 0:Le.goodWx)!=null&&ke.avgSpd?(e.openBlock(),e.createElementBlock("div",bx,e.toDisplayString((Ye=(We=o.reportData)==null?void 0:We.goodWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",xx,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",Cx,[e.createElementVNode("div",Sx,[kx,e.createElementVNode("div",Bx,e.toDisplayString((Y=(Ze=o.reportData)==null?void 0:Ze.allWx)==null?void 0:Y.avgSpd)+" kts ",1)]),e.createElementVNode("div",Ax,[wx,e.createElementVNode("div",Tx,e.toDisplayString((Me=(we=o.reportData)==null?void 0:we.allWx)==null?void 0:Me.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",ux,[Ox,e.createElementVNode("div",Fx,e.toDisplayString((Qe=($e=o.reportData)==null?void 0:$e.allWx)==null?void 0:Qe.avgDgoEcaCons)+" mt ",1)])]),Px])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(_,q)=>{var Te,He,Ge;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:q},[e.createElementVNode("div",Lx,[e.createElementVNode("div",Wx,[Hx,e.createElementVNode("span",null,"Phase "+e.toDisplayString(q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(pe,je)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+je,class:e.normalizeClass(l.segDetail[q].length>1?"dashed":"")},[e.createElementVNode("div",Mx,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",Gx,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",Ix,[Rx,e.createElementVNode("div",null,[e.createElementVNode("span",zx,e.toDisplayString(_.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",Ux,[Yx,(Te=_.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",Zx,[a.computedTimeConclusion(_.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",$x,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(_.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",Qx,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",Jx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Kx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(_.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).conclusion),1)])]),e.createElementVNode("div",qx,[jx,(He=_.goodWx)!=null&&He.distance?(e.openBlock(),e.createElementBlock("div",Xx,[a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",vx,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",e3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",t3,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",o3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",l3,[a3,(Ge=_.goodWx)!=null&&Ge.distance?(e.openBlock(),e.createElementBlock("div",n3,[a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",s3,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",i3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",c3,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",d3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",r3,[m3,e.createElementVNode("div",p3,[e.createElementVNode("div",h3,[y3,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=o.reportData)==null?void 0:Ke.segments,(_,q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:q},[e.createElementVNode("div",E3,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${q+1}. Phase ${q+1} Applied `)+" ",1),e.createElementVNode("span",_3,e.toDisplayString(_.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(Te,He)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+He},e.toDisplayString(`${Te.port1} (${Te.fullTime1}) to ${Te.port2} (${Te.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",N3,[V3,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",f3,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(_,q)=>(e.openBlock(),e.createElementBlock("div",{key:q},e.toDisplayString(`From ${_.begin} to ${_.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",g3,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((qe=o.reportData)==null?void 0:qe.segments,(_,q)=>{var Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Bo,Ao,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:q},[e.createElementVNode("div",D3,[e.createElementVNode("div",b3,[e.createElementVNode("div",x3,[e.createElementVNode("div",C3,[S3,e.createElementVNode("span",null,"Phase "+e.toDisplayString(q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(Lt,bl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+bl,class:e.normalizeClass(l.segDetail[q].length>1?"dashed":"")},[e.createElementVNode("div",k3,[e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.port1),1),e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.time1),1)]),e.createElementVNode("div",B3,[e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.port2),1),e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.time2),1)])],2))),128)),e.createElementVNode("div",A3,[w3,e.createElementVNode("div",null,[e.createElementVNode("span",T3,e.toDisplayString(_.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt",1)])])])]),u3,e.createElementVNode("div",O3,[e.createElementVNode("div",F3,[P3,e.createElementVNode("div",L3,[e.createElementVNode("span",null,e.toDisplayString(((Te=_.goodWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),W3,e.createElementVNode("div",H3,[e.createElementVNode("span",null,e.toDisplayString(((He=_.allWx)==null?void 0:He.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",M3,[G3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ge=_.goodWx)==null?void 0:Ge.outEca.avgFoCons)||"-"),1),I3])]),e.createElementVNode("div",R3,[z3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=_.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),U3])]),e.createElementVNode("div",Y3,[Z3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((je=_.allWx)==null?void 0:je.outEca.avgFoCons)||"-"),1),$3])]),e.createElementVNode("div",Q3,[J3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ve=_.allWx)==null?void 0:ve.inEca.avgFoEcaCons)||"-"),1),K3])]),q3]),e.createElementVNode("div",j3,[X3,e.createElementVNode("div",v3,[e.createElementVNode("span",null,e.toDisplayString(((et=_.goodWx)==null?void 0:et.avgDgoEcaCons)||"-")+" mt",1)]),eC,e.createElementVNode("div",tC,[e.createElementVNode("span",null,e.toDisplayString(((lt=_.allWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",oC,[lC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=_.goodWx)==null?void 0:at.outEca.avgDgoCons)||"-"),1),aC])]),e.createElementVNode("div",nC,[sC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=_.goodWx)==null?void 0:nt.inEca.avgDgoEcaCons)||"-"),1),iC])]),e.createElementVNode("div",cC,[dC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((st=_.allWx)==null?void 0:st.outEca.avgDgoCons)||"-"),1),rC])]),e.createElementVNode("div",mC,[pC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ht=_.allWx)==null?void 0:ht.inEca.avgDgoEcaCons)||"-"),1),hC])]),yC])]),e.createElementVNode("div",EC,[e.createElementVNode("div",_C,[NC,e.createElementVNode("div",VC,[e.createElementVNode("span",null,e.toDisplayString(((yt=_.goodWx)==null?void 0:yt.distance)||"-")+" nm",1)]),fC,e.createElementVNode("div",gC,[e.createElementVNode("span",null,e.toDisplayString(((Et=_.allWx)==null?void 0:Et.distance)||"-")+" nm",1)]),e.createElementVNode("div",DC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=_.goodWx)==null?void 0:_t.outEca.distance)||"-"),1),xC])]),e.createElementVNode("div",CC,[SC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=_.goodWx)==null?void 0:Nt.inEca.distance)||"-"),1),kC])]),e.createElementVNode("div",BC,[AC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=_.allWx)==null?void 0:Vt.outEca.distance)||"-"),1),wC])]),e.createElementVNode("div",TC,[uC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=_.allWx)==null?void 0:ft.inEca.distance)||"-"),1),OC])])]),e.createElementVNode("div",FC,[PC,e.createElementVNode("div",LC,[e.createElementVNode("span",null,e.toDisplayString(((gt=_.goodWx)==null?void 0:gt.time)||"-")+" hrs",1)]),WC,e.createElementVNode("div",HC,[e.createElementVNode("span",null,e.toDisplayString(((Dt=_.allWx)==null?void 0:Dt.time)||"-")+" hrs",1)]),e.createElementVNode("div",MC,[GC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=_.goodWx)==null?void 0:bt.outEca.time)||"-"),1),IC])]),e.createElementVNode("div",RC,[zC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=_.goodWx)==null?void 0:xt.inEca.time)||"-"),1),UC])]),e.createElementVNode("div",YC,[ZC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=_.allWx)==null?void 0:Ct.outEca.time)||"-"),1),$C])]),e.createElementVNode("div",QC,[JC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=_.allWx)==null?void 0:St.inEca.time)||"-"),1),KC])])]),e.createElementVNode("div",qC,[jC,e.createElementVNode("div",XC,[e.createElementVNode("span",null,e.toDisplayString(((kt=_.goodWx)==null?void 0:kt.avgSpd)||"-")+" kts",1)]),vC,e.createElementVNode("div",eS,[e.createElementVNode("span",null,e.toDisplayString(((Bt=_.allWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",tS,[oS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=_.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),lS])]),e.createElementVNode("div",aS,[nS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=_.goodWx)==null?void 0:wt.inEca.avgSpd)||"-"),1),sS])]),e.createElementVNode("div",iS,[cS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=_.allWx)==null?void 0:Tt.outEca.avgSpd)||"-"),1),dS])]),e.createElementVNode("div",rS,[mS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ut=_.allWx)==null?void 0:ut.inEca.avgSpd)||"-"),1),pS])])])]),e.createElementVNode("div",hS,[e.createElementVNode("div",yS,[ES,e.createElementVNode("div",_S,[e.createElementVNode("span",null,e.toDisplayString(((Ot=_.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),NS,e.createElementVNode("div",VS,[e.createElementVNode("span",null,e.toDisplayString(((Mt=_.allWx)==null?void 0:Mt.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",fS,[gS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=_.goodWx)==null?void 0:ho.outEca.sumFoCons)||"-"),1),DS])]),e.createElementVNode("div",bS,[xS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=_.goodWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),CS])]),e.createElementVNode("div",SS,[kS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=_.allWx)==null?void 0:Vo.outEca.sumFoCons)||"-"),1),BS])]),e.createElementVNode("div",AS,[wS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((fo=_.allWx)==null?void 0:fo.inEca.sumFoCons)||"-"),1),TS])])]),e.createElementVNode("div",uS,[OS,e.createElementVNode("div",FS,[e.createElementVNode("span",null,e.toDisplayString(((go=_.goodWx)==null?void 0:go.sumDgoCons)||"-")+" mt",1)]),PS,e.createElementVNode("div",LS,[e.createElementVNode("span",null,e.toDisplayString((($=_.allWx)==null?void 0:$.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",WS,[HS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=_.goodWx)==null?void 0:ot.outEca.sumDgoCons)||"-"),1),MS])]),e.createElementVNode("div",GS,[IS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=_.goodWx)==null?void 0:Ft.inEca.sumDgoCons)||"-"),1),RS])]),e.createElementVNode("div",zS,[US,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Pt=_.allWx)==null?void 0:Pt.outEca.sumDgoCons)||"-"),1),YS])]),e.createElementVNode("div",ZS,[$S,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Gt=_.allWx)==null?void 0:Gt.inEca.sumDgoCons)||"-"),1),QS])])]),e.createElementVNode("div",JS,[KS,e.createElementVNode("div",qS,[e.createElementVNode("span",null,e.toDisplayString(((It=_.goodWx)==null?void 0:It.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",jS,[XS,(Rt=_.goodWx)!=null&&Rt.distance&&!((Ut=(zt=o.reportData)==null?void 0:zt.weather)!=null&&Ut.favorableCur&&((Yt=_.goodWx)==null?void 0:Yt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",vS,[e.createTextVNode(e.toDisplayString(a.computedPositive((Zt=_.goodWx)==null?void 0:Zt.avgCf)),1),ek])):(e.openBlock(),e.createElementBlock("b",tk,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",ok,[e.createElementVNode("div",lk,[ak,($t=_.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",nk,[a.computedTimeConclusion(_.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",sk,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(_.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",ik,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",ck,[e.createElementVNode("span",dk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",rk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(_.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=_.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=_.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",mk,[e.createElementVNode("div",pk,[hk,yk,e.createElementVNode("div",Ek,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=o.reportData)==null?void 0:Kt.weather)!=null&&qt.noExtrapolation?(jt=_.goodWx)==null?void 0:jt.distance:(Xt=_.allWx)==null?void 0:Xt.distance),1),_k,e.createElementVNode("div",null,e.toDisplayString((vt=_.goodWx)==null?void 0:vt.pfmSpd),1)]),Nk,e.createElementVNode("div",Vk,e.toDisplayString(_.timeConclusion.timeAtPfmSpd)+" Hrs",1),fk]),e.createElementVNode("div",gk,[Dk,bk,e.createElementVNode("div",xk,[e.createElementVNode("div",null,e.toDisplayString((to=(eo=o.reportData)==null?void 0:eo.weather)!=null&&to.noExtrapolation?(oo=_.goodWx)==null?void 0:oo.distance:(lo=_.allWx)==null?void 0:lo.distance),1),Ck,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),Sk,e.createElementVNode("div",kk,e.toDisplayString(_.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),Bk]),e.createElementVNode("div",Ak,[wk,Tk,e.createElementVNode("div",uk,[e.createElementVNode("div",null,e.toDisplayString((no=(ao=o.reportData)==null?void 0:ao.weather)!=null&&no.noExtrapolation?(so=_.goodWx)==null?void 0:so.distance:(io=_.allWx)==null?void 0:io.distance),1),Ok,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.plusAbtSpd),1)]),Fk,e.createElementVNode("div",Pk,e.toDisplayString(_.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),Lk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Wk,[e.createElementVNode("div",Hk,[Mk,(co=_.goodWx)!=null&&co.distance?(e.openBlock(),e.createElementBlock("div",Gk,[a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Ik,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Rk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",zk,[e.createElementVNode("span",Uk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Yk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ro=_.goodWx)!=null&&ro.distance?"":"analysis-none"} card analysis-card`)},[(Do=_.goodWx)!=null&&Do.distance?(e.openBlock(),e.createElementBlock("div",Zk,[e.createElementVNode("div",$k,[Qk,Jk,e.createElementVNode("div",Kk,[e.createElementVNode("div",null,e.toDisplayString((xo=(bo=o.reportData)==null?void 0:bo.weather)!=null&&xo.noExtrapolation?(Co=_.goodWx)==null?void 0:Co.distance:(So=_.allWx)==null?void 0:So.distance),1),qk,e.createElementVNode("div",null,e.toDisplayString((ko=_.goodWx)==null?void 0:ko.pfmSpd),1)]),jk,e.createElementVNode("div",Xk,[e.createElementVNode("div",null,e.toDisplayString((Bo=_.goodWx)==null?void 0:Bo.sumFoCons)+" "+e.toDisplayString(((Ao=_.allWx)==null?void 0:Ao.inEca.distance)>0?` + ${_.fuelConclusion.fo.dgoAsFoCons}`:""),1),vk,e.createElementVNode("div",null,e.toDisplayString((wo=_.goodWx)==null?void 0:wo.time),1)]),e4,e.createElementVNode("div",t4,e.toDisplayString(_.fuelConclusion.fo.entireCons)+" MT",1),o4]),e.createElementVNode("div",l4,[a4,n4,e.createElementVNode("div",s4,[e.createElementVNode("div",null,e.toDisplayString((uo=(To=o.reportData)==null?void 0:To.weather)!=null&&uo.noExtrapolation?(Oo=_.goodWx)==null?void 0:Oo.distance:(Fo=_.allWx)==null?void 0:Fo.distance),1),i4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),c4,e.createElementVNode("div",d4,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.fo.overTolerance),1),r4,m4]),p4,e.createElementVNode("div",h4,e.toDisplayString(_.fuelConclusion.fo.maxCons)+" MT",1),y4]),e.createElementVNode("div",E4,[_4,N4,e.createElementVNode("div",V4,[e.createElementVNode("div",null,e.toDisplayString((Lo=(Po=o.reportData)==null?void 0:Po.weather)!=null&&Lo.noExtrapolation?(Wo=_.goodWx)==null?void 0:Wo.distance:(Ho=_.allWx)==null?void 0:Ho.distance),1),f4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),g4,e.createElementVNode("div",D4,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.fo.underTolerance),1),b4,x4]),C4,e.createElementVNode("div",S4,e.toDisplayString(_.fuelConclusion.fo.minCons)+" MT",1),k4])])):e.createCommentVNode("",!0)],2)]),((Go=(Mo=_==null?void 0:_.extend)==null?void 0:Mo.cp)==null?void 0:Go.dgo)>0?(e.openBlock(),e.createElementBlock("div",B4,[e.createElementVNode("div",A4,[w4,(Io=_.goodWx)!=null&&Io.distance?(e.openBlock(),e.createElementBlock("div",T4,[a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",u4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",O4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",F4,[e.createElementVNode("span",P4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",L4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ro=_.goodWx)!=null&&Ro.distance?"":"analysis-none"} card analysis-card`)},[(zo=_.goodWx)!=null&&zo.distance?(e.openBlock(),e.createElementBlock("div",W4,[e.createElementVNode("div",H4,[M4,G4,e.createElementVNode("div",I4,[e.createElementVNode("div",null,e.toDisplayString(($o=(Zo=o.reportData)==null?void 0:Zo.weather)!=null&&$o.noExtrapolation?(Qo=_.goodWx)==null?void 0:Qo.distance:(Jo=_.allWx)==null?void 0:Jo.distance),1),R4,e.createElementVNode("div",null,e.toDisplayString((Ko=_.goodWx)==null?void 0:Ko.pfmSpd),1)]),z4,e.createElementVNode("div",U4,[e.createElementVNode("div",null,e.toDisplayString((qo=_.goodWx)==null?void 0:qo.sumDgoCons)+" "+e.toDisplayString(((jo=_.allWx)==null?void 0:jo.inEca.distance)>0?` - ${_.fuelConclusion.fo.dgoAsFoCons}`:""),1),Y4,e.createElementVNode("div",null,e.toDisplayString((Xo=_.goodWx)==null?void 0:Xo.time),1)]),Z4,e.createElementVNode("div",$4,e.toDisplayString(_.fuelConclusion.dgo.entireCons)+" MT",1),Q4]),e.createElementVNode("div",J4,[K4,q4,e.createElementVNode("div",j4,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=o.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?(tl=_.goodWx)==null?void 0:tl.distance:(ol=_.allWx)==null?void 0:ol.distance),1),X4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),v4,e.createElementVNode("div",eB,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.dgo.overTolerance),1),tB,oB]),lB,e.createElementVNode("div",aB,e.toDisplayString(_.fuelConclusion.dgo.maxCons)+" MT",1),nB]),e.createElementVNode("div",sB,[iB,cB,e.createElementVNode("div",dB,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=o.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?(nl=_.goodWx)==null?void 0:nl.distance:(sl=_.allWx)==null?void 0:sl.distance),1),rB,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),mB,e.createElementVNode("div",pB,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.dgo.underTolerance),1),hB,yB]),EB,e.createElementVNode("div",_B,e.toDisplayString(_.fuelConclusion.dgo.minCons)+" MT",1),NB])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),VB,e.createElementVNode("div",fB,[e.createElementVNode("div",gB,[DB,e.createElementVNode("div",bB,[e.createElementVNode("div",xB,[CB,SB,e.createElementVNode("div",kB,[e.createElementVNode("div",null,e.toDisplayString((cl=(il=o.reportData)==null?void 0:il.weather)!=null&&cl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),BB,AB]),wB]),e.createElementVNode("div",TB,[uB,OB,e.createElementVNode("div",FB,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=o.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),PB,LB]),WB]),e.createElementVNode("div",HB,[MB,GB,e.createElementVNode("div",IB,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.reportData)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),RB,zB]),UB]),YB])]),e.createElementVNode("div",ZB,[$B,e.createElementVNode("div",QB,[e.createElementVNode("div",JB,[KB,qB,e.createElementVNode("div",jB,[e.createElementVNode("div",null,e.toDisplayString((yl=(hl=o.reportData)==null?void 0:hl.weather)!=null&&yl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),XB,vB]),eA,tA,oA]),e.createElementVNode("div",lA,[aA,nA,e.createElementVNode("div",sA,[e.createElementVNode("div",null,e.toDisplayString((_l=(El=o.reportData)==null?void 0:El.weather)!=null&&_l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),iA,cA]),dA,rA,mA]),e.createElementVNode("div",pA,[hA,yA,e.createElementVNode("div",EA,[e.createElementVNode("div",null,e.toDisplayString((Vl=(Nl=o.reportData)==null?void 0:Nl.weather)!=null&&Vl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),_A,NA]),VA,fA,gA]),DA,bA])])])])])}),128))])],2)}const CA=Ee(nb,[["render",xA],["__scopeId","data-v-037d24da"]]),Uoe="",SA={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,n,o,c){var m;let l="";const a=((m=this.summaryTable)==null?void 0:m.length)-1;return o&&n!==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,n){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&n!==o)return"td-no-bottom td-top";if((l=this.summaryTable[n+1])!=null&&l.isFirstSeg)return"td-bottom";if(n!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var n;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(n=t.noon)!=null&&n.port)}},computedTime(){return function(t,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,n){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,m;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(m=(a=this.reportData)==null?void 0:a.segments)==null||m.forEach((i,p)=>{let D=i.extend.cp;i.inventory.sample.hours.forEach((f,h)=>{let V=JSON.parse(JSON.stringify(f));V.cp=D,t.push(V)})}),t.sort(function(i,p){let D=i.date,f=p.date;return D-f});let n="",o="";t.forEach((i,p)=>{i.seg!==n&&(i.isFirstSeg=!0,n=i.seg);let D=i.type.charAt(0);i.abbreviation=D;const f=O(i.utc).utc().format("D-MMM");f!==o&&(i.lastdate=f,o=f),D==="A"?i.type="":D==="M"&&(i.type="*"),i.time=O(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}}},pn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),kA=pn(()=>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)),BA={class:"table",id:"second-table"},AA={class:"summary-table"},wA=pn(()=>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)),TA={class:"summary-tbody"},uA=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),OA={class:"voyage-map",style:{"page-break-inside":"avoid"}},FA=pn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),PA=["src"],LA=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 WA(t,n,o,c,l,a){var m,i,p,D,f;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly||(D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.overallAsGoodWx?"watermark fli-main":"fli-main")},[kA,e.createElementVNode("div",BA,[e.createElementVNode("div",null,[e.createElementVNode("table",AA,[wA,e.createElementVNode("tbody",TA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(h,V)=>{var C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;return e.openBlock(),e.createElementBlock("tr",{key:V},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(h,V))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.time),3),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString((C=h.noon)==null?void 0:C.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(r=h.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((S=(k=h.meteo)==null?void 0:k.wind)==null?void 0:S.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((u=(A=(B=h.meteo)==null?void 0:B.wave)==null?void 0:A.swell)==null?void 0:u.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((L=(x=(F=h.meteo)==null?void 0:F.wave)==null?void 0:x.swell)==null?void 0:L.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((R=(Z=(U=h.meteo)==null?void 0:U.wave)==null?void 0:Z.sig)==null?void 0:R.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((P=h.meteo)==null?void 0:P.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((g=h.noon)==null?void 0:g.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((I=h.noon)==null?void 0:I.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(G=h.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((Q=h.noon)==null?void 0:Q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":(j=h.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":(K=h.noon)==null?void 0:K.dgoBrob),3)])}),128))])])])]),uA,e.createElementVNode("div",OA,[FA,e.createElementVNode("img",{style:{width:"100%"},src:(f=o.reportData)==null?void 0:f.chartUrl,alt:""},null,8,PA),LA])],2)}const HA=Ee(SA,[["render",WA],["__scopeId","data-v-a420dc44"]]),Yoe="",MA={components:{Summary:CA,Inventory:HA},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},GA={class:"voyage-report"};function IA(t,n,o,c,l,a){const m=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",GA,[e.createVNode(m,{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 Sn=Ee(MA,[["render",IA],["__scopeId","data-v-7345a543"]]),Zoe="",RA={name:"OrmVoyageSummary",components:{Lng:tn,Lat:on,Editor:Uo},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,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeWeatherDef(){return function(t){let n="";t!=null&&t.waveSwitch?n+=`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?n+=`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&&(n+=`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, ${n}`;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. 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,n,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,n){return t.consPercentage?n==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:n==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(n=(t=this.report)==null?void 0:t.segments)==null||n.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const m={time:O(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+O(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(m)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},y=t=>(e.pushScopeId("data-v-9922ca22"),t=t(),e.popScopeId(),t),zA={class:"report-summary"},UA={class:"section voyage-section flex-space"},YA={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},ZA={class:"flex-space label-block",style:{width:"100%"}},$A=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),QA={style:{"text-transform":"uppercase"}},JA={class:"flex-space label-block",style:{width:"100%"}},KA=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),qA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},jA={class:"flex-space label-block",style:{width:"100%"}},XA=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),vA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},e5={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},t5={class:"flex-space label-block",style:{width:"100%"}},o5=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),l5={key:0,class:"flex-end",style:{flex:"1"}},a5={key:1,class:"flex-end",style:{flex:"1"}},n5=y(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),s5={class:"flex-end",style:{width:"150px"}},i5={class:"flex-space label-block",style:{width:"100%"}},c5=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),d5={key:0,class:"flex-end",style:{flex:"1"}},r5={key:1,class:"flex-end",style:{flex:"1"}},m5=y(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),p5={class:"flex-end",style:{width:"150px"}},h5={class:"flex-space label-block",style:{width:"100%"}},y5=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),E5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},_5={class:"section weather-section"},N5=y(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),V5={class:"definition"},f5={class:"txt"},g5={class:"section summary-section"},D5=y(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),b5={class:"phase-box"},x5={class:"phase-index"},C5={class:"phase-position"},S5={key:0},k5={key:1},B5=y(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),A5={class:"phase-position"},w5={key:0},T5={key:1},u5=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),O5={class:"phase-cp flex-space"},F5={class:"cp-box"},P5=y(()=>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)),L5={class:"flex-space"},W5=y(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),H5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),M5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),G5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),I5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),R5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),z5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),U5=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Y5={class:"phase-conclusion flex-space"},Z5={class:"item-conclusion"},$5=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),Q5={class:"value flex-start"},J5=y(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),K5={key:0,class:"label flex-end"},q5={key:0},j5={key:1},X5={key:2},v5={key:1,class:"label flex-end"},ew={key:2,class:"value flex-end"},tw={key:0},ow=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),lw={class:"gain"},aw=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),nw={key:1},sw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),iw={class:"lost"},cw=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),dw={key:2},rw={class:"item-conclusion"},mw=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),pw={class:"value flex-start"},hw=y(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),yw={key:0,class:"label flex-end"},Ew={key:0},_w={key:1},Nw={key:2},Vw={key:1,class:"label flex-end"},fw={key:2,class:"value flex-end"},gw={key:0},Dw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),bw={class:"gain"},xw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Cw={key:1},Sw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),kw={class:"lost"},Bw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Aw={key:2},ww={class:"item-conclusion"},Tw=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),uw={class:"value flex-start"},Ow=y(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),Fw={key:0,class:"label flex-end"},Pw={key:0},Lw={key:1},Ww={key:2},Hw={key:1,class:"label flex-end"},Mw={key:2,class:"value flex-end"},Gw={key:0},Iw=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Rw={class:"gain"},zw=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Uw={key:1},Yw=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Zw={class:"lost"},$w=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Qw={key:2},Jw=y(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),Kw=y(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),qw={key:0,class:"exclusion-block"},jw=y(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),Xw=y(()=>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)),vw={style:{margin:"8px 0"}},e8={class:"remark-table"},t8=y(()=>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)),o8=["innerHTML"],l8={class:"section segment-section"},a8=y(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),n8={class:"segment-index flex-center"},s8={class:"segment-position"},i8={key:0},c8={key:1},d8=y(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),r8={class:"segment-position"},m8={key:0},p8={key:1},h8=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),y8={style:{margin:"10px 0 0"}},E8=y(()=>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)),_8=y(()=>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)),N8=y(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),V8={class:"good-wx"},f8={class:"good-wx"},g8=y(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),D8={class:"good-wx"},b8={class:"good-wx"},x8=y(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),C8={class:"good-wx"},S8={class:"good-wx"},k8=y(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),B8={class:"good-wx"},A8={class:"good-wx"},w8=y(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),T8={class:"good-wx"},u8={class:"good-wx"},O8=y(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),F8={class:"good-wx"},P8={class:"good-wx"},L8=y(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),W8={class:"good-wx"},H8={class:"good-wx"},M8={key:0,class:"flex-end tip"},G8={key:1,class:"segment-speed"},I8={class:"flex-center"},R8=y(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),z8={class:"speed-right flex-space"},U8=y(()=>e.createElementVNode("span",null,"-",-1)),Y8=y(()=>e.createElementVNode("span",null,"-",-1)),Z8=y(()=>e.createElementVNode("label",null,"=",-1)),$8={class:"speed"},Q8=y(()=>e.createElementVNode("span",null,"-",-1)),J8=y(()=>e.createElementVNode("label",null,"=",-1)),K8={class:"speed"},q8={key:2,class:"under"},j8={key:3,class:"over"},X8={class:"flex-center"},v8=y(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e6={class:"speed-right formula flex-space"},t6=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),o6=y(()=>e.createElementVNode("label",null,"-",-1)),l6=y(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),a6=y(()=>e.createElementVNode("label",null,"-",-1)),n6=y(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),s6=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),i6=y(()=>e.createElementVNode("label",null,"-",-1)),c6=y(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),d6=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),r6=y(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),m6={key:2,class:"segment-speed"},p6={class:"flex-center"},h6=y(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),y6={class:"speed-right flex-space"},E6=y(()=>e.createElementVNode("span",null,"-",-1)),_6=y(()=>e.createElementVNode("span",null,"-",-1)),N6=y(()=>e.createElementVNode("label",null,"=",-1)),V6={class:"speed"},f6=y(()=>e.createElementVNode("span",null,"-",-1)),g6=y(()=>e.createElementVNode("label",null,"=",-1)),D6={class:"speed"},b6={key:2,class:"under"},x6={key:3,class:"over"},C6={class:"flex-center"},S6=y(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),k6={class:"speed-right formula flex-space"},B6=y(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),A6=y(()=>e.createElementVNode("label",null,"-",-1)),w6=y(()=>e.createElementVNode("label",null,"Current Factor",-1)),T6=y(()=>e.createElementVNode("label",null,"-",-1)),u6=y(()=>e.createElementVNode("label",null,"Weather Factor",-1)),O6=y(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),F6=y(()=>e.createElementVNode("label",null,"-",-1)),P6=y(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),L6=y(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),W6=y(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),H6={class:"segment-formula"},M6={class:"header-block flex-start"},G6=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),I6={class:"title"},R6={key:0,style:{"margin-left":"4px","font-weight":"300"}},z6={class:"formula-block"},U6={class:"flex-evenly"},Y6=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Z6={class:"formula-right flex-evenly"},$6={class:"fraction",style:{width:"240px"}},Q6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),J6=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),K6=y(()=>e.createElementVNode("div",null,"(a)",-1)),q6={class:"flex-center"},j6={class:"formula-left flex-space"},X6=y(()=>e.createElementVNode("label",null,"=",-1)),v6={class:"formula-right flex-evenly"},e7={class:"fraction",style:{width:"240px"}},t7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),o7=y(()=>e.createElementVNode("div",null,"(b)",-1)),l7={class:"flex-center"},a7={class:"formula-left flex-space"},n7=y(()=>e.createElementVNode("label",null,"=",-1)),s7={class:"formula-right flex-evenly"},i7={class:"fraction",style:{width:"240px"}},c7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),d7=y(()=>e.createElementVNode("div",null,"(c)",-1)),r7=e.createStaticVNode('<div class="flex-start" data-v-9922ca22><div class="flex-space" style="width:300px;font-weight:400;" data-v-9922ca22><label data-v-9922ca22>Time Lost</label><div data-v-9922ca22>=</div><div data-v-9922ca22>(a)</div><div data-v-9922ca22>-</div><div data-v-9922ca22>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-9922ca22><label data-v-9922ca22>Time Gained</label><div data-v-9922ca22>=</div><div data-v-9922ca22>(c)</div><div data-v-9922ca22>-</div><div data-v-9922ca22>(a)</div></div></div>',1),m7={class:"formula-desc"},p7={class:"flex-end"},h7=y(()=>e.createElementVNode("label",null,"Time Lost",-1)),y7={class:"flex-end"},E7=y(()=>e.createElementVNode("label",null,"Time Gained",-1)),_7={class:"flex-end"},N7=y(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),V7={key:0,class:"formula-block",style:{"font-weight":"400"}},f7={class:"flex-evenly"},g7=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),D7={class:"formula-right flex-evenly"},b7={class:"fraction",style:{width:"240px"}},x7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),C7=y(()=>e.createElementVNode("div",null,"=",-1)),S7=y(()=>e.createElementVNode("div",null,"(a')",-1)),k7={class:"flex-center"},B7={class:"formula-left flex-space"},A7=y(()=>e.createElementVNode("label",null,"=",-1)),w7={class:"formula-right flex-evenly"},T7={class:"fraction",style:{width:"240px"}},u7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),O7=y(()=>e.createElementVNode("div",null,"=",-1)),F7=y(()=>e.createElementVNode("div",null,"(b')",-1)),P7={class:"flex-center"},L7={class:"formula-left flex-space"},W7=y(()=>e.createElementVNode("label",null,"=",-1)),H7={class:"formula-right flex-evenly"},M7={class:"fraction",style:{width:"240px"}},G7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),I7=y(()=>e.createElementVNode("div",null,"=",-1)),R7=y(()=>e.createElementVNode("div",null,"(c')",-1)),z7={class:"formula-conclusion",style:{"margin-bottom":"0"}},U7={key:0,class:"flex-evenly",style:{width:"500px"}},Y7=y(()=>e.createElementVNode("div",null,"Time Lost",-1)),Z7=y(()=>e.createElementVNode("div",null,"=",-1)),$7=y(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),Q7=y(()=>e.createElementVNode("div",null,"=",-1)),J7=y(()=>e.createElementVNode("div",null,"-",-1)),K7=y(()=>e.createElementVNode("div",null,"=",-1)),q7={key:1,class:"flex-evenly",style:{width:"500px"}},j7=y(()=>e.createElementVNode("div",null,"Time Lost",-1)),X7=y(()=>e.createElementVNode("div",null,"=",-1)),v7=y(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),e9=y(()=>e.createElementVNode("div",null,"=",-1)),t9=y(()=>e.createElementVNode("div",null,"-",-1)),o9=y(()=>e.createElementVNode("div",null,"=",-1)),l9=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),a9={key:1,class:"formula-conclusion"},n9=y(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),s9={class:"segment-formula"},i9={class:"header-block flex-start"},c9=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),d9={class:"title"},r9={key:0,style:{"margin-left":"4px","font-weight":"300"}},m9={class:"formula-block"},p9={class:"flex-evenly"},h9=y(()=>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"},E9={class:"fraction",style:{width:"240px"}},_9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),N9=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),V9=y(()=>e.createElementVNode("div",null,"x",-1)),f9=y(()=>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)),g9=y(()=>e.createElementVNode("div",null,"(d)",-1)),D9={style:{"line-height":"1"}},b9=y(()=>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)),x9={key:0,class:"tips flex-end",style:{"font-size":"14px"}},C9={class:"flex-center"},S9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),k9={class:"formula-right flex-evenly"},B9={class:"fraction",style:{width:"240px"}},A9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),w9=y(()=>e.createElementVNode("div",null,"x",-1)),T9=y(()=>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)),u9=y(()=>e.createElementVNode("div",null,"(e)",-1)),O9={class:"flex-center"},F9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),P9={class:"formula-right flex-evenly"},L9={class:"fraction",style:{width:"240px"}},W9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),H9=y(()=>e.createElementVNode("div",null,"x",-1)),M9=y(()=>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)),G9=y(()=>e.createElementVNode("div",null,"(f)",-1)),I9=e.createStaticVNode('<div class="flex-start" data-v-9922ca22><div class="flex-space" style="width:300px;font-weight:400;" data-v-9922ca22><label data-v-9922ca22>Fuel Over-consumption</label><div data-v-9922ca22>=</div><div data-v-9922ca22>(d)</div><div data-v-9922ca22>-</div><div data-v-9922ca22>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-9922ca22><label data-v-9922ca22>Fuel Saving</label><div data-v-9922ca22>=</div><div data-v-9922ca22>(f)</div><div data-v-9922ca22>-</div><div data-v-9922ca22>(d)</div></div></div>',1),R9={class:"flex-center"},z9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),U9={class:"formula-right flex-evenly"},Y9={class:"fraction",style:{width:"270px"}},Z9=y(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),$9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q9={class:"flex-center"},J9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),K9={class:"formula-right flex-evenly"},q9={class:"fraction",style:{width:"270px"}},j9=y(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),X9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),v9=y(()=>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)),eT={class:"header-block flex-start",style:{"margin-top":"10px"}},tT=y(()=>e.createElementVNode("i",{class:"iconfont"}," ",-1)),oT={class:"title"},lT={key:0,class:"formula-block"},aT={key:0,class:"flex-evenly"},nT=y(()=>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)),sT={class:"formula-right flex-evenly"},iT={class:"fraction",style:{width:"60px"}},cT=y(()=>e.createElementVNode("div",null,"-",-1)),dT={class:"fraction",style:{width:"60px"}},rT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),mT=y(()=>e.createElementVNode("div",null,"24",-1)),pT=y(()=>e.createElementVNode("div",null,"*",-1)),hT=y(()=>e.createElementVNode("div",null,"=",-1)),yT={class:"flex-evenly"},ET=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),_T={class:"formula-right flex-evenly"},NT={class:"fraction",style:{width:"240px"}},VT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),fT=y(()=>e.createElementVNode("div",null,"x",-1)),gT={class:"fraction",style:{width:"240px"}},DT={key:0},bT=y(()=>e.createElementVNode("span",null," + ",-1)),xT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),CT=y(()=>e.createElementVNode("div",null,"=",-1)),ST=y(()=>e.createElementVNode("div",null,"(d')",-1)),kT={class:"flex-evenly"},BT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),AT={class:"formula-right flex-evenly"},wT={class:"fraction",style:{width:"240px"}},TT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),uT=y(()=>e.createElementVNode("div",null,"x",-1)),OT={class:"fraction",style:{width:"240px"}},FT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),PT=y(()=>e.createElementVNode("div",null,"24",-1)),LT=y(()=>e.createElementVNode("div",null,"=",-1)),WT=y(()=>e.createElementVNode("div",null,"(e')",-1)),HT={class:"flex-evenly"},MT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),GT={class:"formula-right flex-evenly"},IT={class:"fraction",style:{width:"240px"}},RT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),zT=y(()=>e.createElementVNode("div",null,"x",-1)),UT={class:"fraction",style:{width:"240px"}},YT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),ZT=y(()=>e.createElementVNode("div",null,"24",-1)),$T=y(()=>e.createElementVNode("div",null,"=",-1)),QT=y(()=>e.createElementVNode("div",null,"(f')",-1)),JT={class:"formula-conclusion",style:{"margin-bottom":"0"}},KT={class:"flex-evenly",style:{width:"500px"}},qT=y(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),jT=y(()=>e.createElementVNode("div",null,"=",-1)),XT=y(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),vT=y(()=>e.createElementVNode("div",null,"=",-1)),eu=y(()=>e.createElementVNode("div",null,"-",-1)),tu=y(()=>e.createElementVNode("div",null,"=",-1)),ou={key:0,class:"flex-evenly"},lu=y(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),au=y(()=>e.createElementVNode("div",null,"=",-1)),nu={class:"fraction"},su=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),iu=y(()=>e.createElementVNode("div",null,"=",-1)),cu={class:"flex-evenly",style:{width:"700px"}},du=y(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),ru=y(()=>e.createElementVNode("div",null,"=",-1)),mu=y(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),pu=y(()=>e.createElementVNode("div",null,"=",-1)),hu=y(()=>e.createElementVNode("div",null,"-",-1)),yu=y(()=>e.createElementVNode("div",null,"=",-1)),Eu={key:0,class:"flex-evenly",style:{width:"500px"}},_u=y(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),Nu=y(()=>e.createElementVNode("div",null,"=",-1)),Vu={class:"fraction",style:{width:"140px"}},fu=y(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),gu=y(()=>e.createElementVNode("div",null,"=",-1)),Du=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),bu={key:1,class:"formula-conclusion"},xu={class:"header-block flex-end",style:{"margin-top":"10px"}},Cu=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Su={class:"title"},ku={key:0,class:"formula-block"},Bu={class:"flex-evenly"},Au=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),wu={class:"formula-right flex-evenly"},Tu={class:"fraction",style:{width:"240px"}},uu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ou=y(()=>e.createElementVNode("div",null,"x",-1)),Fu={class:"fraction",style:{width:"240px"}},Pu={key:0},Lu=y(()=>e.createElementVNode("span",null," - ",-1)),Wu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Hu=y(()=>e.createElementVNode("div",null,"=",-1)),Mu=y(()=>e.createElementVNode("div",null,"(d'')",-1)),Gu={class:"flex-evenly"},Iu=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Ru={class:"formula-right flex-evenly"},zu={class:"fraction",style:{width:"240px"}},Uu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Yu=y(()=>e.createElementVNode("div",null,"x",-1)),Zu={class:"fraction",style:{width:"240px"}},$u=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Qu=y(()=>e.createElementVNode("div",null,"24",-1)),Ju=y(()=>e.createElementVNode("div",null,"=",-1)),Ku=y(()=>e.createElementVNode("div",null,"(e'')",-1)),qu={class:"flex-evenly"},ju=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Xu={class:"formula-right flex-evenly"},vu={class:"fraction",style:{width:"240px"}},eO=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),tO=y(()=>e.createElementVNode("div",null,"x",-1)),oO={class:"fraction",style:{width:"240px"}},lO=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),aO=y(()=>e.createElementVNode("div",null,"24",-1)),nO=y(()=>e.createElementVNode("div",null,"=",-1)),sO=y(()=>e.createElementVNode("div",null,"(f'')",-1)),iO={class:"formula-conclusion",style:{"margin-bottom":"0"}},cO={key:0,class:"flex-evenly",style:{width:"500px"}},dO=y(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),rO=y(()=>e.createElementVNode("div",null,"=",-1)),mO=y(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),pO=y(()=>e.createElementVNode("div",null,"=",-1)),hO=y(()=>e.createElementVNode("div",null,"-",-1)),yO=y(()=>e.createElementVNode("div",null,"=",-1)),EO={key:1,class:"flex-evenly",style:{width:"700px"}},_O=y(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),NO=y(()=>e.createElementVNode("div",null,"=",-1)),VO=y(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),fO=y(()=>e.createElementVNode("div",null,"=",-1)),gO=y(()=>e.createElementVNode("div",null,"-",-1)),DO=y(()=>e.createElementVNode("div",null,"=",-1)),bO=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),xO={key:1,class:"formula-conclusion"};function CO(t,n,o,c,l,a){var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J;const m=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",zA,[e.createElementVNode("div",UA,[e.createElementVNode("div",YA,[e.createElementVNode("div",ZA,[$A,e.createElementVNode("span",QA,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",JA,[KA,e.createElementVNode("span",qA,e.toDisplayString((f=(D=o.report)==null?void 0:D.vessel)==null?void 0:f.name)+" ("+e.toDisplayString((V=(h=o.report)==null?void 0:h.vessel)==null?void 0:V.type)+")",1)]),e.createElementVNode("div",jA,[XA,e.createElementVNode("span",vA,e.toDisplayString((r=(C=o.report)==null?void 0:C.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",e5,[e.createElementVNode("div",t5,[o5,(S=(k=o.report)==null?void 0:k.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",l5,e.toDisplayString((A=(B=o.report)==null?void 0:B.departure)==null?void 0:A.portName),1)):(e.openBlock(),e.createElementBlock("div",a5,[e.createVNode(m,{lat:(F=(u=o.report)==null?void 0:u.departure)==null?void 0:F.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),n5,e.createVNode(i,{lng:(x=o.report.departure)==null?void 0:x.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",s5,e.toDisplayString(a.computeUTCTime((L=o.report.departure)==null?void 0:L.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",i5,[c5,(Z=(U=o.report)==null?void 0:U.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",d5,e.toDisplayString((P=(R=o.report)==null?void 0:R.arrival)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",r5,[e.createVNode(m,{lat:(I=(g=o.report)==null?void 0:g.arrival)==null?void 0:I.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),m5,e.createVNode(i,{lng:(H=(G=o.report)==null?void 0:G.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",p5,e.toDisplayString(a.computeUTCTime((Q=(M=o.report)==null?void 0:M.arrival)==null?void 0:Q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",h5,[y5,e.createElementVNode("span",E5,e.toDisplayString((K=(j=o.report)==null?void 0:j.voyage)==null?void 0:K.loadCondition),1)])])]),e.createElementVNode("div",_5,[N5,e.createElementVNode("div",V5,[e.createElementVNode("div",f5,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",g5,[D5,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((N=o.report)==null?void 0:N.segments,(s,X)=>{var d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+X},[e.createElementVNode("div",b5,[e.createElementVNode("div",x5,"Seg."+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(q,Te)=>{var He,Ge,pe,je,ve,et,lt,at,nt,st;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Te},[e.createElementVNode("div",C5,[(He=q==null?void 0:q.departure)!=null&&He.portName?(e.openBlock(),e.createElementBlock("span",S5,e.toDisplayString((Ge=q==null?void 0:q.departure)==null?void 0:Ge.portName),1)):(e.openBlock(),e.createElementBlock("span",k5,e.toDisplayString(a.computeLat((pe=q==null?void 0:q.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(a.computeLng((je=q==null?void 0:q.departure)==null?void 0:je.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ve=q==null?void 0:q.departure)==null?void 0:ve.utcTime))+")",1)]),B5,e.createElementVNode("div",A5,[(et=q==null?void 0:q.arrival)!=null&&et.portName?(e.openBlock(),e.createElementBlock("span",w5,e.toDisplayString((lt=q==null?void 0:q.arrival)==null?void 0:lt.portName),1)):(e.openBlock(),e.createElementBlock("span",T5,e.toDisplayString(a.computeLat((at=q==null?void 0:q.arrival)==null?void 0:at.lat).pretty)+", "+e.toDisplayString(a.computeLng((nt=q==null?void 0:q.arrival)==null?void 0:nt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((st=q==null?void 0:q.arrival)==null?void 0:st.utcTime))+")",1)])])}),128)),u5,e.createElementVNode("div",O5,[e.createElementVNode("div",F5,[P5,e.createElementVNode("div",L5,[W5,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(v=s==null?void 0:s.extend)==null?void 0:v.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[H5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(se=(ee=s==null?void 0:s.extend)==null?void 0:ee.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[M5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(de=(ce=s==null?void 0:s.extend)==null?void 0:ce.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(re=s==null?void 0:s.extend)==null?void 0:re.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[G5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[I5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(le=s==null?void 0:s.extend)==null?void 0:le.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[R5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[z5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])])])])]),U5,e.createElementVNode("div",Y5,[e.createElementVNode("div",Z5,[$5,e.createElementVNode("div",Q5,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.time),1),J5]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",K5,[((Ne=s==null?void 0:s.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",q5," Time Gained ")):((Ve=s==null?void 0:s.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",j5," Time Lost ")):(e.openBlock(),e.createElementBlock("div",X5,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",v5,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",ew,[((fe=s==null?void 0:s.timeConclusion)==null?void 0:fe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",tw,[ow,e.createElementVNode("span",lw,e.toDisplayString((ge=s==null?void 0:s.timeConclusion)==null?void 0:ge.timeGain),1),aw])):((De=s==null?void 0:s.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",nw,[sw,e.createElementVNode("span",iw,e.toDisplayString((be=s==null?void 0:s.timeConclusion)==null?void 0:be.timeLost),1),cw])):(e.openBlock(),e.createElementBlock("div",dw,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",rw,[mw,e.createElementVNode("div",pw,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumFoCons),1),hw]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",yw,[((Ce=(xe=s==null?void 0:s.fuelConclusion)==null?void 0:xe.fo)==null?void 0:Ce.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ew," FO Saving ")):((ue=(Se=s==null?void 0:s.fuelConclusion)==null?void 0:Se.fo)==null?void 0:ue.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",_w," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",Nw,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Vw,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",fw,[((ye=(Oe=s==null?void 0:s.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",gw,[Dw,e.createElementVNode("span",bw,e.toDisplayString((me=(W=s==null?void 0:s.fuelConclusion)==null?void 0:W.fo)==null?void 0:me.saving),1),xw])):((Pe=(Fe=s==null?void 0:s.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Pe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Cw,[Sw,e.createElementVNode("span",kw,e.toDisplayString((ke=(Le=s==null?void 0:s.fuelConclusion)==null?void 0:Le.fo)==null?void 0:ke.overCons),1),Bw])):(e.openBlock(),e.createElementBlock("div",Aw,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ww,[Tw,e.createElementVNode("div",uw,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumDgoCons),1),Ow]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Fw,[((Ye=(We=s==null?void 0:s.fuelConclusion)==null?void 0:We.dgo)==null?void 0:Ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Pw," DO/GO Saving ")):((Y=(Ze=s==null?void 0:s.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Y.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Lw," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",Ww,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Hw,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Mw,[((Me=(we=s==null?void 0:s.fuelConclusion)==null?void 0:we.dgo)==null?void 0:Me.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Gw,[Iw,e.createElementVNode("span",Rw,e.toDisplayString((Qe=($e=s==null?void 0:s.fuelConclusion)==null?void 0:$e.dgo)==null?void 0:Qe.saving),1),zw])):((Ke=(Je=s==null?void 0:s.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:Ke.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Uw,[Yw,e.createElementVNode("span",Zw,e.toDisplayString((_=(qe=s==null?void 0:s.fuelConclusion)==null?void 0:qe.dgo)==null?void 0:_.overCons),1),$w])):(e.openBlock(),e.createElementBlock("div",Qw,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),Jw]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((z=o.report)==null?void 0:z.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[Kw,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",qw,[jw,Xw,e.createElementVNode("div",vw,[e.createElementVNode("table",e8,[t8,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(s,X)=>(e.openBlock(),e.createElementBlock("tr",{key:X},[e.createElementVNode("td",null,e.toDisplayString(X+1),1),e.createElementVNode("td",null,e.toDisplayString(s.time),1),e.createElementVNode("td",null,e.toDisplayString(s.duration),1),e.createElementVNode("td",null,e.toDisplayString(s.distance),1),e.createElementVNode("td",null,e.toDisplayString(s.fo),1),e.createElementVNode("td",null,e.toDisplayString(s.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((J=o.report)==null?void 0:J.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.remarks,"onUpdate:modelValue":n[0]||(n[0]=s=>l.remarks=s),class:"editor",height:"120px",onBlur:n[1]||(n[1]=s=>a.handleCommit(s))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[2]||(n[2]=(...s)=>a.handleEdit&&a.handleEdit(...s)),innerHTML:l.remarks},null,40,o8))],2)],2),e.createElementVNode("div",l8,[a8,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(s,X)=>{var d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Bo,Ao,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl,Lt,bl,Sl,kl,Bl,Al,wl,Tl,ul,Ol,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,$l,Ql,Jl,Kl,ql,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,ua,Oa,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,$a,Qa,ae,mo,Ja,Ka,qa,ne,po,ja,Xa,va,mt,nn,sn,cn,dn,Wt,Jn,Kn,qn,jn,Xn,vn,es,ts,os,ls,as,ns,ss,is,cs,ds,rs,ms,ps,hs,ys,Es,_s,Ns,Vs,fs,gs,Ds,bs,xs,Cs,Ss,ks,Bs,As,ws,Ts,us,Os,Fs,Ps,Ls,Ws,Hs,Ms,Gs,Is,Rs,zs,Us,Ys,Zs,$s,Qs,Js,Ks,qs,js,Xs,vs,ei,ti,oi,li,ai,ni,si,ii,ci,di,ri,mi,pi,hi,yi,Ei,_i,Ni,Vi,fi,gi,Di;return e.openBlock(),e.createElementBlock("div",{key:X,class:"segment-block"},[e.createElementVNode("div",n8,"Voyage Analysis Seg. "+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(Xe,ioe)=>{var bi,xi,Ci,Si,ki,Bi,Ai,wi,Ti,ui;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:ioe},[e.createElementVNode("div",s8,[(bi=Xe==null?void 0:Xe.departure)!=null&&bi.portName?(e.openBlock(),e.createElementBlock("span",i8,e.toDisplayString((xi=Xe==null?void 0:Xe.departure)==null?void 0:xi.portName),1)):(e.openBlock(),e.createElementBlock("span",c8,e.toDisplayString(a.computeLat((Ci=Xe==null?void 0:Xe.departure)==null?void 0:Ci.lat).pretty)+", "+e.toDisplayString(a.computeLng((Si=Xe==null?void 0:Xe.departure)==null?void 0:Si.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ki=Xe==null?void 0:Xe.departure)==null?void 0:ki.utcTime))+")",1)]),d8,e.createElementVNode("div",r8,[(Bi=Xe==null?void 0:Xe.arrival)!=null&&Bi.portName?(e.openBlock(),e.createElementBlock("span",m8,e.toDisplayString((Ai=Xe==null?void 0:Xe.arrival)==null?void 0:Ai.portName),1)):(e.openBlock(),e.createElementBlock("span",p8,e.toDisplayString(a.computeLat((wi=Xe==null?void 0:Xe.arrival)==null?void 0:wi.lat).pretty)+", "+e.toDisplayString(a.computeLng((Ti=Xe==null?void 0:Xe.arrival)==null?void 0:Ti.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ui=Xe==null?void 0:Xe.arrival)==null?void 0:ui.utcTime))+")",1)])])}),128)),h8,e.createElementVNode("div",y8,[e.createElementVNode("table",null,[E8,_8,e.createElementVNode("tr",null,[N8,e.createElementVNode("td",V8,e.toDisplayString((oe=(v=s==null?void 0:s.goodWx)==null?void 0:v.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",f8,e.toDisplayString((se=(ee=s==null?void 0:s.goodWx)==null?void 0:ee.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ce=s==null?void 0:s.allWx)==null?void 0:ce.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(re=s==null?void 0:s.allWx)==null?void 0:re.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[g8,e.createElementVNode("td",D8,e.toDisplayString((he=(le=s==null?void 0:s.goodWx)==null?void 0:le.outEca)==null?void 0:he.time),1),e.createElementVNode("td",b8,e.toDisplayString((Ve=(Ne=s==null?void 0:s.goodWx)==null?void 0:Ne.inEca)==null?void 0:Ve.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(fe=s==null?void 0:s.allWx)==null?void 0:fe.outEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(De=s==null?void 0:s.allWx)==null?void 0:De.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[x8,e.createElementVNode("td",C8,e.toDisplayString(((Ce=(xe=s==null?void 0:s.goodWx)==null?void 0:xe.outEca)==null?void 0:Ce.avgSpd)||"--"),1),e.createElementVNode("td",S8,e.toDisplayString(((ue=(Se=s==null?void 0:s.goodWx)==null?void 0:Se.inEca)==null?void 0:ue.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ye=(Oe=s==null?void 0:s.allWx)==null?void 0:Oe.outEca)==null?void 0:ye.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((me=(W=s==null?void 0:s.allWx)==null?void 0:W.inEca)==null?void 0:me.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[k8,e.createElementVNode("td",B8,e.toDisplayString(((Pe=(Fe=s==null?void 0:s.goodWx)==null?void 0:Fe.outEca)==null?void 0:Pe.sumFoCons)||"--"),1),e.createElementVNode("td",A8,e.toDisplayString(((ke=(Le=s==null?void 0:s.goodWx)==null?void 0:Le.inEca)==null?void 0:ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ye=(We=s==null?void 0:s.allWx)==null?void 0:We.outEca)==null?void 0:Ye.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Y=(Ze=s==null?void 0:s.allWx)==null?void 0:Ze.inEca)==null?void 0:Y.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[w8,e.createElementVNode("td",T8,e.toDisplayString(((Me=(we=s==null?void 0:s.goodWx)==null?void 0:we.outEca)==null?void 0:Me.avgFoCons)||"--"),1),e.createElementVNode("td",u8,e.toDisplayString(((Qe=($e=s==null?void 0:s.goodWx)==null?void 0:$e.inEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(Je=s==null?void 0:s.allWx)==null?void 0:Je.outEca)==null?void 0:Ke.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_=(qe=s==null?void 0:s.allWx)==null?void 0:qe.inEca)==null?void 0:_.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[O8,e.createElementVNode("td",F8,e.toDisplayString(((Te=(q=s==null?void 0:s.goodWx)==null?void 0:q.outEca)==null?void 0:Te.sumDgoCons)||"--"),1),e.createElementVNode("td",P8,e.toDisplayString(((Ge=(He=s==null?void 0:s.goodWx)==null?void 0:He.inEca)==null?void 0:Ge.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(pe=s==null?void 0:s.allWx)==null?void 0:pe.outEca)==null?void 0:je.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=s==null?void 0:s.allWx)==null?void 0:ve.inEca)==null?void 0:et.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[L8,e.createElementVNode("td",W8,e.toDisplayString(((at=(lt=s==null?void 0:s.goodWx)==null?void 0:lt.outEca)==null?void 0:at.avgDgoCons)||"--"),1),e.createElementVNode("td",H8,e.toDisplayString(((st=(nt=s==null?void 0:s.goodWx)==null?void 0:nt.inEca)==null?void 0:st.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((yt=(ht=s==null?void 0:s.allWx)==null?void 0:ht.outEca)==null?void 0:yt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_t=(Et=s==null?void 0:s.allWx)==null?void 0:Et.inEca)==null?void 0:_t.avgDgoCons)||"--"),1)])])]),(Nt=l.exclusion[X])!=null&&Nt.time?(e.openBlock(),e.createElementBlock("div",M8," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Vt=s==null?void 0:s.goodWx)!=null&&Vt.distance?(e.openBlock(),e.createElementBlock("div",G8,[e.createElementVNode("div",I8,[R8,e.createElementVNode("div",z8,[(gt=(ft=o.report)==null?void 0:ft.weather)!=null&>.favorableCur&&((Dt=s==null?void 0:s.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Mt=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Mt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((ho=s==null?void 0:s.goodWx)==null?void 0:ho.avgSpd),1),Q8,e.createElementVNode("span",null,e.toDisplayString(((No=s==null?void 0:s.goodWx)==null?void 0:No.avgWf)>0?(Vo=s==null?void 0:s.goodWx)==null?void 0:Vo.avgWf:`(${(fo=s==null?void 0:s.goodWx)==null?void 0:fo.avgWf})`),1),J8],64)):e.createCommentVNode("",!0),e.createElementVNode("span",K8,e.toDisplayString((go=s==null?void 0:s.goodWx)==null?void 0:go.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((bt=s==null?void 0:s.goodWx)==null?void 0:bt.avgSpd),1),U8,e.createElementVNode("span",null,e.toDisplayString(((xt=s==null?void 0:s.goodWx)==null?void 0:xt.avgCf)>0?(Ct=s==null?void 0:s.goodWx)==null?void 0:Ct.avgCf:`(${(St=s==null?void 0:s.goodWx)==null?void 0:St.avgCf})`),1),(Bt=(kt=o.report)==null?void 0:kt.weather)!=null&&Bt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Y8,e.createElementVNode("span",null,e.toDisplayString(((At=s==null?void 0:s.goodWx)==null?void 0:At.avgWf)>0?(wt=s==null?void 0:s.goodWx)==null?void 0:wt.avgWf:`(${(Tt=s==null?void 0:s.goodWx)==null?void 0:Tt.avgWf})`),1)],64)):e.createCommentVNode("",!0),Z8,e.createElementVNode("span",$8,e.toDisplayString((ut=s==null?void 0:s.goodWx)==null?void 0:ut.pfmSpd)+" (kts)",1)],64)),(($=s==null?void 0:s.goodWx)==null?void 0:$.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",q8,"(Under-performance)")):e.createCommentVNode("",!0),((ot=s==null?void 0:s.goodWx)==null?void 0:ot.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",j8,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",X8,[v8,e.createElementVNode("div",e6,[(Pt=(Ft=o.report)==null?void 0:Ft.weather)!=null&&Pt.favorableCur&&((Gt=s==null?void 0:s.goodWx)==null?void 0:Gt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ut=(zt=o.report)==null?void 0:zt.weather)!=null&&Ut.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[s6,i6,c6],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d6,r6],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t6,o6,l6,(Rt=(It=o.report)==null?void 0:It.weather)!=null&&Rt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a6,n6],64)):e.createCommentVNode("",!0)],64))])])])):(e.openBlock(),e.createElementBlock("div",m6,[e.createElementVNode("div",p6,[h6,e.createElementVNode("div",y6,[(Zt=(Yt=o.report)==null?void 0:Yt.weather)!=null&&Zt.favorableCur&&(($t=s==null?void 0:s.allWx)==null?void 0:$t.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((to=s==null?void 0:s.allWx)==null?void 0:to.avgSpd),1),f6,e.createElementVNode("span",null,e.toDisplayString(((oo=s==null?void 0:s.allWx)==null?void 0:oo.avgWf)>0?(lo=s==null?void 0:s.allWx)==null?void 0:lo.avgWf:`(${(ao=s==null?void 0:s.allWx)==null?void 0:ao.avgWf})`),1),g6,e.createElementVNode("span",D6,e.toDisplayString((no=s==null?void 0:s.allWx)==null?void 0:no.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Qt=s==null?void 0:s.allWx)==null?void 0:Qt.avgSpd),1),E6,e.createElementVNode("span",null,e.toDisplayString(((Jt=s==null?void 0:s.allWx)==null?void 0:Jt.avgCf)>0?(Kt=s==null?void 0:s.allWx)==null?void 0:Kt.avgCf:`(${(qt=s==null?void 0:s.allWx)==null?void 0:qt.avgCf})`),1),_6,e.createElementVNode("span",null,e.toDisplayString(((jt=s==null?void 0:s.allWx)==null?void 0:jt.avgWf)>0?(Xt=s==null?void 0:s.allWx)==null?void 0:Xt.avgWf:`(${(vt=s==null?void 0:s.allWx)==null?void 0:vt.avgWf})`),1),N6,e.createElementVNode("span",V6,e.toDisplayString((eo=s==null?void 0:s.allWx)==null?void 0:eo.pfmSpd)+" (kts)",1)],64)),((so=s==null?void 0:s.allWx)==null?void 0:so.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",b6,"(Under-performance)")):e.createCommentVNode("",!0),((io=s==null?void 0:s.allWx)==null?void 0:io.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",x6,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",C6,[S6,e.createElementVNode("div",k6,[(ro=(co=o.report)==null?void 0:co.weather)!=null&&ro.favorableCur&&((Do=s==null?void 0:s.allWx)==null?void 0:Do.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[O6,F6,P6,L6],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[B6,A6,w6,T6,u6],64))])])])),W6,e.createElementVNode("div",H6,[e.createElementVNode("div",M6,[G6,e.createElementVNode("div",I6,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Time Analysis",1),(xo=(bo=o.report)==null?void 0:bo.weather)!=null&&xo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",R6,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",z6,[e.createElementVNode("div",U6,[Y6,e.createElementVNode("div",Z6,[e.createElementVNode("div",$6,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=o.report)==null?void 0:Co.weather)!=null&&So.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Q6,J6]),K6])]),e.createElementVNode("div",q6,[e.createElementVNode("div",j6,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Bo=(ko=s==null?void 0:s.extend)==null?void 0:ko.cp)==null?void 0:Bo.speed,"Under"))+"kts)",1),X6]),e.createElementVNode("div",v6,[e.createElementVNode("div",e7,[e.createElementVNode("div",null,e.toDisplayString((wo=(Ao=o.report)==null?void 0:Ao.weather)!=null&&wo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t7,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(uo=(To=s==null?void 0:s.extend)==null?void 0:To.cp)==null?void 0:uo.speed,"Under"))+"kts",1)]),o7])]),e.createElementVNode("div",l7,[e.createElementVNode("div",a7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Fo=(Oo=s==null?void 0:s.extend)==null?void 0:Oo.cp)==null?void 0:Fo.speed,"Over"))+"kts)",1),n7]),e.createElementVNode("div",s7,[e.createElementVNode("div",i7,[e.createElementVNode("div",null,e.toDisplayString((Lo=(Po=o.report)==null?void 0:Po.weather)!=null&&Lo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),c7,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ho=(Wo=s==null?void 0:s.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Over"))+"kts",1)]),d7])]),r7]),e.createElementVNode("div",m7,[e.createElementVNode("div",p7,[h7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Go=(Mo=s==null?void 0:s.extend)==null?void 0:Mo.cp)==null?void 0:Go.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",y7,[E7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ro=(Io=s==null?void 0:s.extend)==null?void 0:Io.cp)==null?void 0:Ro.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",_7,[N7,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Zo=(zo=s==null?void 0:s.extend)==null?void 0:zo.cp)==null?void 0:Zo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Qo=($o=s==null?void 0:s.extend)==null?void 0:$o.cp)==null?void 0:Qo.speed,"Under"))+" kts)",1)])]),(Jo=s==null?void 0:s.goodWx)!=null&&Jo.distance?(e.openBlock(),e.createElementBlock("div",V7,[e.createElementVNode("div",f7,[g7,e.createElementVNode("div",D7,[e.createElementVNode("div",b7,[e.createElementVNode("div",null,e.toDisplayString((qo=(Ko=o.report)==null?void 0:Ko.weather)!=null&&qo.noExtrapolation?(jo=s==null?void 0:s.goodWx)==null?void 0:jo.distance:(Xo=s==null?void 0:s.allWx)==null?void 0:Xo.distance),1),x7,e.createElementVNode("div",null,e.toDisplayString((vo=s==null?void 0:s.goodWx)==null?void 0:vo.pfmSpd),1)]),C7,e.createElementVNode("div",null,e.toDisplayString((el=s==null?void 0:s.timeConclusion)==null?void 0:el.timeAtPfmSpd)+" (hrs)",1),S7])]),e.createElementVNode("div",k7,[e.createElementVNode("div",B7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ol=(tl=s==null?void 0:s.extend)==null?void 0:tl.cp)==null?void 0:ol.speed,"Under"))+"kts)",1),A7]),e.createElementVNode("div",w7,[e.createElementVNode("div",T7,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=o.report)==null?void 0:ll.weather)!=null&&al.noExtrapolation?(nl=s==null?void 0:s.goodWx)==null?void 0:nl.distance:(sl=s==null?void 0:s.allWx)==null?void 0:sl.distance),1),u7,e.createElementVNode("div",null,e.toDisplayString((il=s==null?void 0:s.timeConclusion)==null?void 0:il.minusAbtSpd),1)]),O7,e.createElementVNode("div",null,e.toDisplayString((cl=s==null?void 0:s.timeConclusion)==null?void 0:cl.timeAtMinusAbtSpd)+" (hrs)",1),F7])]),e.createElementVNode("div",P7,[e.createElementVNode("div",L7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(rl=(dl=s==null?void 0:s.extend)==null?void 0:dl.cp)==null?void 0:rl.speed,"Over"))+"kts)",1),W7]),e.createElementVNode("div",H7,[e.createElementVNode("div",M7,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.report)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?(hl=s==null?void 0:s.goodWx)==null?void 0:hl.distance:(yl=s==null?void 0:s.allWx)==null?void 0:yl.distance),1),G7,e.createElementVNode("div",null,e.toDisplayString((El=s==null?void 0:s.timeConclusion)==null?void 0:El.plusAbtSpd),1)]),I7,e.createElementVNode("div",null,e.toDisplayString((_l=s==null?void 0:s.timeConclusion)==null?void 0:_l.timeAtPlusAbtSpd)+" (hrs)",1),R7])]),e.createElementVNode("div",z7,[((Nl=s==null?void 0:s.timeConclusion)==null?void 0:Nl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",U7,[Y7,Z7,$7,Q7,e.createElementVNode("div",null,e.toDisplayString((Vl=s==null?void 0:s.timeConclusion)==null?void 0:Vl.timeAtPfmSpd),1),J7,e.createElementVNode("div",null,e.toDisplayString((Lt=s==null?void 0:s.timeConclusion)==null?void 0:Lt.timeAtMinusAbtSpd),1),K7,e.createElementVNode("div",null,e.toDisplayString((bl=s==null?void 0:s.timeConclusion)==null?void 0:bl.timeLost)+" (hrs)",1)])):((Sl=s==null?void 0:s.timeConclusion)==null?void 0:Sl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",q7,[j7,X7,v7,e9,e.createElementVNode("div",null,e.toDisplayString((kl=s==null?void 0:s.timeConclusion)==null?void 0:kl.timeAtPlusAbtSpd),1),t9,e.createElementVNode("div",null,e.toDisplayString((Bl=s==null?void 0:s.timeConclusion)==null?void 0:Bl.timeAtPfmSpd),1),o9,e.createElementVNode("div",null,e.toDisplayString((Al=s==null?void 0:s.timeConclusion)==null?void 0:Al.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((wl=s==null?void 0:s.timeConclusion)==null?void 0:wl.conclusionStatus)==="Lost"?"flex-center lost":((Tl=s==null?void 0:s.timeConclusion)==null?void 0:Tl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[l9,e.createElementVNode("div",null,e.toDisplayString(((ul=s==null?void 0:s.timeConclusion)==null?void 0:ul.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",a9,e.toDisplayString(l.noGoodWxDay),1))]),n9,e.createElementVNode("div",s9,[e.createElementVNode("div",i9,[c9,e.createElementVNode("div",d9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Consumption Analysis",1),(Fl=(Ol=o.report)==null?void 0:Ol.weather)!=null&&Fl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",r9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",m9,[e.createElementVNode("div",p9,[h9,e.createElementVNode("div",y9,[e.createElementVNode("div",E9,[e.createElementVNode("div",null,e.toDisplayString((Ll=(Pl=o.report)==null?void 0:Pl.weather)!=null&&Ll.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),_9,N9]),V9,f9,g9])]),e.createElementVNode("div",D9,[b9,((Hl=(Wl=s.extend)==null?void 0:Wl.cp)==null?void 0:Hl.dgo)>0?(e.openBlock(),e.createElementBlock("div",x9,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",C9,[S9,e.createElementVNode("div",k9,[e.createElementVNode("div",B9,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Ml=o.report)==null?void 0:Ml.weather)!=null&&Gl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),A9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Rl=(Il=s==null?void 0:s.extend)==null?void 0:Il.cp)==null?void 0:Rl.speed,"Under"))+"kts",1)]),w9,T9,u9])]),e.createElementVNode("div",O9,[F9,e.createElementVNode("div",P9,[e.createElementVNode("div",L9,[e.createElementVNode("div",null,e.toDisplayString((Ul=(zl=o.report)==null?void 0:zl.weather)!=null&&Ul.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),W9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Zl=(Yl=s==null?void 0:s.extend)==null?void 0:Yl.cp)==null?void 0:Zl.speed,"Under"))+"kts",1)]),H9,M9,G9])]),I9,((Ql=($l=s.extend)==null?void 0:$l.cp)==null?void 0:Ql.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",R9,[z9,e.createElementVNode("div",U9,[e.createElementVNode("div",Y9,[Z9,$9,e.createElementVNode("div",null,e.toDisplayString((Kl=(Jl=o.report)==null?void 0:Jl.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",Q9,[J9,e.createElementVNode("div",K9,[e.createElementVNode("div",q9,[j9,X9,e.createElementVNode("div",null,e.toDisplayString((jl=(ql=o.report)==null?void 0:ql.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),v9,e.createElementVNode("div",eT,[tT,e.createElementVNode("div",oT,"Seg. "+e.toDisplayString(X+1)+" Fuel Oil",1)]),(Xl=s==null?void 0:s.goodWx)!=null&&Xl.distance?(e.openBlock(),e.createElementBlock("div",lT,[((ea=(vl=s==null?void 0:s.goodWx)==null?void 0:vl.inEca)==null?void 0:ea.distance)>0?(e.openBlock(),e.createElementBlock("div",aT,[nT,e.createElementVNode("div",sT,[e.createElementVNode("div",iT,[e.createElementVNode("div",null,e.toDisplayString((oa=(ta=s==null?void 0:s.goodWx)==null?void 0:ta.inEca)==null?void 0:oa.sumDgoCons),1)]),cT,e.createElementVNode("div",dT,[e.createElementVNode("div",null,e.toDisplayString((aa=(la=s==null?void 0:s.extend)==null?void 0:la.cp)==null?void 0:aa.dgo),1),rT,mT]),pT,e.createElementVNode("div",null,e.toDisplayString((sa=(na=s==null?void 0:s.goodWx)==null?void 0:na.inEca)==null?void 0:sa.time),1),hT,e.createElementVNode("div",null,e.toDisplayString((ca=(ia=s==null?void 0:s.fuelConclusion)==null?void 0:ia.fo)==null?void 0:ca.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",yT,[ET,e.createElementVNode("div",_T,[e.createElementVNode("div",NT,[e.createElementVNode("div",null,e.toDisplayString((ra=(da=o.report)==null?void 0:da.weather)!=null&&ra.noExtrapolation?(ma=s==null?void 0:s.goodWx)==null?void 0:ma.distance:(pa=s==null?void 0:s.allWx)==null?void 0:pa.distance),1),VT,e.createElementVNode("div",null,e.toDisplayString((ha=s==null?void 0:s.goodWx)==null?void 0:ha.pfmSpd),1)]),fT,e.createElementVNode("div",gT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ya=s==null?void 0:s.goodWx)==null?void 0:ya.sumFoCons),1),((_a=(Ea=s==null?void 0:s.goodWx)==null?void 0:Ea.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("span",DT,[bT,e.createElementVNode("span",null,e.toDisplayString((Va=(Na=s==null?void 0:s.fuelConclusion)==null?void 0:Na.fo)==null?void 0:Va.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),xT,e.createElementVNode("div",null,e.toDisplayString((fa=s==null?void 0:s.goodWx)==null?void 0:fa.time),1)]),CT,e.createElementVNode("div",null,e.toDisplayString((Da=(ga=s.fuelConclusion)==null?void 0:ga.fo)==null?void 0:Da.entireCons)+" (mt)",1),ST])]),e.createElementVNode("div",kT,[BT,e.createElementVNode("div",AT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((xa=(ba=o.report)==null?void 0:ba.weather)!=null&&xa.noExtrapolation?(Ca=s==null?void 0:s.goodWx)==null?void 0:Ca.distance:(Sa=s==null?void 0:s.allWx)==null?void 0:Sa.distance),1),TT,e.createElementVNode("div",null,e.toDisplayString((ka=s==null?void 0:s.timeConclusion)==null?void 0:ka.minusAbtSpd),1)]),uT,e.createElementVNode("div",OT,[e.createElementVNode("div",null,e.toDisplayString((Aa=(Ba=s==null?void 0:s.fuelConclusion)==null?void 0:Ba.fo)==null?void 0:Aa.overTolerance),1),FT,PT]),LT,e.createElementVNode("div",null,e.toDisplayString((Ta=(wa=s.fuelConclusion)==null?void 0:wa.fo)==null?void 0:Ta.maxCons)+" (mt)",1),WT])]),e.createElementVNode("div",HT,[MT,e.createElementVNode("div",GT,[e.createElementVNode("div",IT,[e.createElementVNode("div",null,e.toDisplayString((Oa=(ua=o.report)==null?void 0:ua.weather)!=null&&Oa.noExtrapolation?(Fa=s==null?void 0:s.goodWx)==null?void 0:Fa.distance:(Pa=s==null?void 0:s.allWx)==null?void 0:Pa.distance),1),RT,e.createElementVNode("div",null,e.toDisplayString((La=s==null?void 0:s.timeConclusion)==null?void 0:La.minusAbtSpd),1)]),zT,e.createElementVNode("div",UT,[e.createElementVNode("div",null,e.toDisplayString((Ha=(Wa=s==null?void 0:s.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:Ha.underTolerance),1),YT,ZT]),$T,e.createElementVNode("div",null,e.toDisplayString((Ga=(Ma=s.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ga.minCons)+" (mt)",1),QT])]),e.createElementVNode("div",JT,[((Ra=(Ia=s==null?void 0:s.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",KT,[qT,jT,XT,vT,e.createElementVNode("div",null,e.toDisplayString((Ua=(za=s==null?void 0:s.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ua.entireCons),1),eu,e.createElementVNode("div",null,e.toDisplayString((Za=(Ya=s==null?void 0:s.fuelConclusion)==null?void 0:Ya.fo)==null?void 0:Za.maxCons),1),tu,e.createElementVNode("div",null,e.toDisplayString((Qa=($a=s==null?void 0:s.fuelConclusion)==null?void 0:$a.fo)==null?void 0:Qa.overCons),1)]),(mo=(ae=s==null?void 0:s.goodWx)==null?void 0:ae.inEca)!=null&&mo.distance?(e.openBlock(),e.createElementBlock("div",ou,[lu,au,e.createElementVNode("div",nu,[e.createElementVNode("div",null,e.toDisplayString((Ka=(Ja=s==null?void 0:s.goodWx)==null?void 0:Ja.inEca)==null?void 0:Ka.distance)+" * "+e.toDisplayString((ne=(qa=s==null?void 0:s.fuelConclusion)==null?void 0:qa.fo)==null?void 0:ne.overCons),1),su,e.createElementVNode("div",null,e.toDisplayString((ja=(po=o.report)==null?void 0:po.weather)!=null&&ja.noExtrapolation?(Xa=s==null?void 0:s.goodWx)==null?void 0:Xa.distance:(va=s==null?void 0:s.allWx)==null?void 0:va.distance),1)]),iu,e.createElementVNode("div",null,e.toDisplayString((nn=(mt=s==null?void 0:s.fuelConclusion)==null?void 0:mt.fo)==null?void 0:nn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((cn=(sn=s==null?void 0:s.fuelConclusion)==null?void 0:sn.fo)==null?void 0:cn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",cu,[du,ru,mu,pu,e.createElementVNode("div",null,e.toDisplayString((Wt=(dn=s==null?void 0:s.fuelConclusion)==null?void 0:dn.fo)==null?void 0:Wt.minCons),1),hu,e.createElementVNode("div",null,e.toDisplayString((Kn=(Jn=s==null?void 0:s.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:Kn.entireCons),1),yu,e.createElementVNode("div",null,e.toDisplayString((jn=(qn=s==null?void 0:s.fuelConclusion)==null?void 0:qn.fo)==null?void 0:jn.saving)+" (mt)",1)]),(vn=(Xn=s==null?void 0:s.goodWx)==null?void 0:Xn.inEca)!=null&&vn.distance?(e.openBlock(),e.createElementBlock("div",Eu,[_u,Nu,e.createElementVNode("div",Vu,[e.createElementVNode("div",null,e.toDisplayString((ts=(es=o.report)==null?void 0:es.weather)!=null&&ts.noExtrapolation?(ls=(os=s==null?void 0:s.goodWx)==null?void 0:os.inEca)==null?void 0:ls.distance:(ns=(as=s==null?void 0:s.allWx)==null?void 0:as.inEca)==null?void 0:ns.distance)+" * "+e.toDisplayString((is=(ss=s==null?void 0:s.fuelConclusion)==null?void 0:ss.fo)==null?void 0:is.saving),1),fu,e.createElementVNode("div",null,e.toDisplayString((ds=(cs=o.report)==null?void 0:cs.weather)!=null&&ds.noExtrapolation?(rs=s==null?void 0:s.goodWx)==null?void 0:rs.distance:(ms=s==null?void 0:s.allWx)==null?void 0:ms.distance),1)]),gu,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=s==null?void 0:s.fuelConclusion)==null?void 0:ps.fo)==null?void 0:hs.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Es=(ys=s==null?void 0:s.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Es.conclusionStatus)==="Over"?"flex-center lost":((Ns=(_s=s==null?void 0:s.fuelConclusion)==null?void 0:_s.fo)==null?void 0:Ns.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[Du,e.createElementVNode("div",null,e.toDisplayString(((fs=(Vs=s==null?void 0:s.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",bu,e.toDisplayString(l.noGoodWxDay),1)),((Ds=(gs=s==null?void 0:s.extend)==null?void 0:gs.cp)==null?void 0:Ds.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",xu,[Cu,e.createElementVNode("div",Su,"Seg. "+e.toDisplayString(X+1)+" Diesel/Gas Oil ",1)]),(bs=s==null?void 0:s.goodWx)!=null&&bs.distance?(e.openBlock(),e.createElementBlock("div",ku,[e.createElementVNode("div",Bu,[Au,e.createElementVNode("div",wu,[e.createElementVNode("div",Tu,[e.createElementVNode("div",null,e.toDisplayString((Cs=(xs=o.report)==null?void 0:xs.weather)!=null&&Cs.noExtrapolation?(Ss=s==null?void 0:s.goodWx)==null?void 0:Ss.distance:(ks=s==null?void 0:s.allWx)==null?void 0:ks.distance),1),uu,e.createElementVNode("div",null,e.toDisplayString((Bs=s==null?void 0:s.goodWx)==null?void 0:Bs.pfmSpd),1)]),Ou,e.createElementVNode("div",Fu,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((As=s==null?void 0:s.goodWx)==null?void 0:As.sumDgoCons),1),((Ts=(ws=s==null?void 0:s.goodWx)==null?void 0:ws.inEca)==null?void 0:Ts.distance)>0?(e.openBlock(),e.createElementBlock("span",Pu,[Lu,e.createElementVNode("span",null,e.toDisplayString((Os=(us=s==null?void 0:s.fuelConclusion)==null?void 0:us.fo)==null?void 0:Os.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),Wu,e.createElementVNode("div",null,e.toDisplayString((Fs=s==null?void 0:s.goodWx)==null?void 0:Fs.time),1)]),Hu,e.createElementVNode("div",null,e.toDisplayString((Ls=(Ps=s.fuelConclusion)==null?void 0:Ps.dgo)==null?void 0:Ls.entireCons)+" (mt)",1),Mu])]),e.createElementVNode("div",Gu,[Iu,e.createElementVNode("div",Ru,[e.createElementVNode("div",zu,[e.createElementVNode("div",null,e.toDisplayString((Hs=(Ws=o.report)==null?void 0:Ws.weather)!=null&&Hs.noExtrapolation?(Ms=s==null?void 0:s.goodWx)==null?void 0:Ms.distance:(Gs=s==null?void 0:s.allWx)==null?void 0:Gs.distance),1),Uu,e.createElementVNode("div",null,e.toDisplayString((Is=s==null?void 0:s.timeConclusion)==null?void 0:Is.minusAbtSpd),1)]),Yu,e.createElementVNode("div",Zu,[e.createElementVNode("div",null,e.toDisplayString((zs=(Rs=s==null?void 0:s.fuelConclusion)==null?void 0:Rs.dgo)==null?void 0:zs.overTolerance),1),$u,Qu]),Ju,e.createElementVNode("div",null,e.toDisplayString((Ys=(Us=s.fuelConclusion)==null?void 0:Us.dgo)==null?void 0:Ys.maxCons)+" (mt)",1),Ku])]),e.createElementVNode("div",qu,[ju,e.createElementVNode("div",Xu,[e.createElementVNode("div",vu,[e.createElementVNode("div",null,e.toDisplayString(($s=(Zs=o.report)==null?void 0:Zs.weather)!=null&&$s.noExtrapolation?(Qs=s==null?void 0:s.goodWx)==null?void 0:Qs.distance:(Js=s==null?void 0:s.allWx)==null?void 0:Js.distance),1),eO,e.createElementVNode("div",null,e.toDisplayString((Ks=s==null?void 0:s.timeConclusion)==null?void 0:Ks.minusAbtSpd),1)]),tO,e.createElementVNode("div",oO,[e.createElementVNode("div",null,e.toDisplayString((js=(qs=s==null?void 0:s.fuelConclusion)==null?void 0:qs.dgo)==null?void 0:js.underTolerance),1),lO,aO]),nO,e.createElementVNode("div",null,e.toDisplayString((vs=(Xs=s.fuelConclusion)==null?void 0:Xs.dgo)==null?void 0:vs.minCons)+" (mt)",1),sO])]),e.createElementVNode("div",iO,[((ti=(ei=s==null?void 0:s.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",cO,[dO,rO,mO,pO,e.createElementVNode("div",null,e.toDisplayString((li=(oi=s==null?void 0:s.fuelConclusion)==null?void 0:oi.dgo)==null?void 0:li.entireCons),1),hO,e.createElementVNode("div",null,e.toDisplayString((ni=(ai=s==null?void 0:s.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ni.maxCons),1),yO,e.createElementVNode("div",null,e.toDisplayString((ii=(si=s==null?void 0:s.fuelConclusion)==null?void 0:si.dgo)==null?void 0:ii.overCons),1)])):((di=(ci=s==null?void 0:s.fuelConclusion)==null?void 0:ci.fo)==null?void 0:di.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",EO,[_O,NO,VO,fO,e.createElementVNode("div",null,e.toDisplayString((mi=(ri=s==null?void 0:s.fuelConclusion)==null?void 0:ri.dgo)==null?void 0:mi.minCons),1),gO,e.createElementVNode("div",null,e.toDisplayString((hi=(pi=s==null?void 0:s.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:hi.entireCons),1),DO,e.createElementVNode("div",null,e.toDisplayString((Ei=(yi=s==null?void 0:s.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ei.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ni=(_i=s==null?void 0:s.fuelConclusion)==null?void 0:_i.dgo)==null?void 0:Ni.conclusionStatus)==="Over"?"flex-center lost":((fi=(Vi=s==null?void 0:s.fuelConclusion)==null?void 0:Vi.dgo)==null?void 0:fi.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[bO,e.createElementVNode("div",null,e.toDisplayString(((Di=(gi=s==null?void 0:s.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:Di.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",xO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const SO=Ee(RA,[["render",CO],["__scopeId","data-v-9922ca22"]]),$oe="",kO={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 n=[];return n.push(t.noonLength?"no-border-bottom":"no-border"),n.push(t.excluded?"excluded":t.goodWx?"good-wx":""),n.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,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,n=2,o="0.0"){return t?ie.roundPrecision(t,n):o}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n,o,c,l,a,m,i,p,D,f,h;this.showCF=((n=(t=this.report)==null?void 0:t.weather)==null?void 0:n.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=(m=this.report)==null?void 0:m.weather)==null?void 0:i.showSwell)??!0,this.showWave=((D=(p=this.report)==null?void 0:p.weather)==null?void 0:D.showWave)??!0,this.showWaterTemp=((h=(f=this.report)==null?void 0:f.weather)==null?void 0:h.waterTempSwitch)||!1}}},Ae=t=>(e.pushScopeId("data-v-beebd9b9"),t=t(),e.popScopeId(),t),BO={class:"report-inventory"},AO={class:"section summary-section"},wO=Ae(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),TO={class:"summary-block"},uO=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)),OO={class:"label",rowspan:"4"},FO=Ae(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),PO=Ae(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),LO=Ae(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),WO=Ae(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),HO={class:"section inventory-section"},MO=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),GO={class:"inventory-block flex-center"},IO={style:{"font-size":"12px"}},RO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),zO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),UO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),YO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),ZO=["colspan"],$O={key:0,class:"label",colspan:"2"},QO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),JO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),KO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),qO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),jO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),XO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),vO={key:0,class:"label",rowspan:"2"},eF=Ae(()=>e.createElementVNode("br",null,null,-1)),tF={key:1,class:"label",rowspan:"2"},oF=Ae(()=>e.createElementVNode("br",null,null,-1)),lF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),aF={key:2,class:"label",rowspan:"2"},nF=Ae(()=>e.createElementVNode("br",null,null,-1)),sF={key:3,class:"label",colspan:"2"},iF={key:4,class:"label",rowspan:"2"},cF=Ae(()=>e.createElementVNode("br",null,null,-1)),dF={key:5,class:"label",colspan:"2"},rF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),mF={key:6,class:"label",rowspan:"2"},pF={key:7,class:"label",rowspan:"2"},hF={key:8,class:"label",rowspan:"2"},yF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),EF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),_F=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),NF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),VF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),fF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),gF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),DF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),bF=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),xF=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),CF=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),SF=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),kF={key:0,class:"label"},BF={key:1,class:"label"},AF={key:2,class:"label"},wF={key:3,class:"label"},TF=Ae(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),uF=Ae(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),OF=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),FF=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),PF=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),LF=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),WF=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),HF=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),MF={class:"summary-tbody"};function GF(t,n,o,c,l,a){var m;return e.openBlock(),e.createElementBlock("div",BO,[e.createElementVNode("div",AO,[wO,e.createElementVNode("div",TO,[e.createElementVNode("table",null,[uO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((m=o.report)==null?void 0:m.segments,(i,p)=>{var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",OO,e.toDisplayString(p+1),1),FO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((D=i==null?void 0:i.allWx)==null?void 0:D.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((f=i==null?void 0:i.allWx)==null?void 0:f.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((h=i==null?void 0:i.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=i==null?void 0:i.allWx)==null?void 0:V.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.allWx)==null?void 0:C.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[PO,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((k=i==null?void 0:i.goodWx)==null?void 0:k.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.goodWx)==null?void 0:S.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((B=i==null?void 0:i.goodWx)==null?void 0:B.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((A=i==null?void 0:i.goodWx)==null?void 0:A.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[LO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((u=i==null?void 0:i.badWx)==null?void 0:u.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((F=i==null?void 0:i.badWx)==null?void 0:F.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.badWx)==null?void 0:x.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.badWx)==null?void 0:L.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((U=i==null?void 0:i.badWx)==null?void 0:U.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[WO,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((R=i==null?void 0:i.excluded)==null?void 0:R.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((g=i==null?void 0:i.excluded)==null?void 0:g.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=i==null?void 0:i.excluded)==null?void 0:I.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",HO,[MO,e.createElementVNode("div",GO,[e.createElementVNode("table",IO,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[RO,zO,UO,YO,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,ZO),o.showFactor?(e.openBlock(),e.createElementBlock("th",$O,"Factor")):e.createCommentVNode("",!0),QO,JO]),e.createElementVNode("tr",null,[KO,qO,jO,XO,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",vO,[e.createTextVNode("Spd"),eF,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",tF,[e.createTextVNode("Dis"),oF,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),lF,l.showWave?(e.openBlock(),e.createElementBlock("th",aF,[e.createTextVNode("Sea HT"),nF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",sF,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",iF,[e.createTextVNode("Sig Wave"),cF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",dF,"Current")):e.createCommentVNode("",!0),rF,o.showFactor?(e.openBlock(),e.createElementBlock("th",mF,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",pF,"wxFactor")):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("th",hF,"Water Temp.")):e.createCommentVNode("",!0),yF,EF,_F,NF,VF,fF,gF,DF]),e.createElementVNode("tr",null,[bF,xF,CF,SF,l.showSwell?(e.openBlock(),e.createElementBlock("th",kF,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",BF,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",AF,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",wF,"CF(kts)")):e.createCommentVNode("",!0),TF,uF,OF,FF,PF,LF,WF,HF])]),e.createElementVNode("tbody",MF,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,p)=>{var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((D=i.noon)!=null&&D.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((f=i.noon)==null?void 0:f.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)&&p?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?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)&&p?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)&&p?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((V=(h=i.meteo)==null?void 0:h.wind)==null?void 0:V.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(C=i.meteo)==null?void 0:C.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(((B=(S=(k=i.meteo)==null?void 0:k.wave)==null?void 0:S.wd)==null?void 0:B.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(((F=(u=(A=i.meteo)==null?void 0:A.wave)==null?void 0:u.swell)==null?void 0:F.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(((U=(L=(x=i.meteo)==null?void 0:x.wave)==null?void 0:L.swell)==null?void 0:U.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=(R=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:R.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(((I=(g=i.meteo)==null?void 0:g.current)==null?void 0:I.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(((G=i.meteo)==null?void 0:G.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.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(((M=i.meteo)==null?void 0:M.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)&&p?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const IF=Ee(kO,[["render",GF],["__scopeId","data-v-beebd9b9"]]),Qoe="",RF={name:"OrmVoyageChart",components:{Lng:tn,Lat:on},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,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}}},watch:{inventory:{handler(t,n){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Yo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Yo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Yo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,D,f,h,V,C;const t=[],n=[],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,k)=>{var B,A,u,F,x,L,U,Z,R,P,g,I,G,H;const S=this.computeUTCTime(k===0?r.utc:r.noonUtc,"MM-DD/HHmm[Z]");if(t.push(S),c=Math.ceil(((B=r.noon)==null?void 0:B.foCons)>c?(A=r.noon)==null?void 0:A.foCons:c),c=Math.ceil(((u=r.cp)==null?void 0:u.fo)>c?(F=r.cp)==null?void 0:F.fo:c),l=Math.ceil(((x=r.noon)==null?void 0:x.dgoCons)>l?(L=r.noon)==null?void 0:L.dgoCons:l),l=Math.ceil(((U=r.cp)==null?void 0:U.dgo)>l?(Z=r.cp)==null?void 0:Z.dgo:l),n.push([S,(R=r.noon)==null?void 0:R.avgSpd,(P=r.noon)==null?void 0:P.foCons,(g=r.noon)==null?void 0:g.dgoCons,r.avgSpdCalc,r.cp.speed,r.goodWx&&!r.excluded?100:0,r.cp.dgo,r.cp.fo,r.excluded?100:0]),k<a.length-1){const M=a[k+1];n.push([S,(I=M.noon)==null?void 0:I.avgSpd,(G=M.noon)==null?void 0:G.foCons,(H=M.noon)==null?void 0:H.dgoCons,M.avgSpdCalc,M.cp.speed,M.goodWx&&!M.excluded?100:0,M.cp.dgo,M.cp.fo,M.excluded?100:0])}});const m={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:n,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:n,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(D=(p=this.report)==null?void 0:p.weather)!=null&&D.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:o.dateTime,y:o.noonFoCons},data:n,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:n,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:n,z:1}]};(f=this.spdFoConsChart)==null||f.setOption(m);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:n,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:n,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(V=(h=this.report)==null?void 0:h.weather)!=null&&V.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:o.dateTime,y:o.noonDgoCons},data:n,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:n,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:n,z:1}]};(C=this.spdDgoConsChart)==null||C.setOption(i)},renderWxCurrChart(){var i;const t=[],n=[],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(p=>p.noonLength)||[];a.unshift(a[0]),a.forEach((p,D)=>{var h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;l=p.noonLength?p.dailyAvgCf:l;const f=this.computeUTCTime(D===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(t.push(f),c=Math.ceil(((C=(V=(h=p.meteo)==null?void 0:h.wave)==null?void 0:V.sig)==null?void 0:C.height)>c?(S=(k=(r=p.meteo)==null?void 0:r.wave)==null?void 0:k.sig)==null?void 0:S.height:c),n.push([f,(B=p.noon)==null?void 0:B.windBF,(u=(A=p.meteo)==null?void 0:A.wind)==null?void 0:u.scale,(x=(F=p.meteo)==null?void 0:F.wind)==null?void 0:x.direction,(L=p.noon)==null?void 0:L.seasHt,(R=(Z=(U=p.meteo)==null?void 0:U.wave)==null?void 0:Z.sig)==null?void 0:R.height,l,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),D<a.length-1){const N=a[D+1];n.push([f,(P=N.noon)==null?void 0:P.windBF,(I=(g=N.meteo)==null?void 0:g.wind)==null?void 0:I.scale,(H=(G=N.meteo)==null?void 0:G.wind)==null?void 0:H.direction,(M=N.noon)==null?void 0:M.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 m={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:n,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:n,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:n,z:1}]};(i=this.currChart)==null||i.setOption(m)}}},Dl=t=>(e.pushScopeId("data-v-24e80f66"),t=t(),e.popScopeId(),t),zF={class:"report-summary"},UF={class:"section chart-section"},YF=Dl(()=>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)),ZF={class:"chart-block"},$F={ref:"spdFoConsChart",class:"chart"},QF={ref:"spdDgoConsChart",class:"chart"},JF={ref:"currChart",class:"chart"},KF={class:"section map-section"},qF=Dl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),jF={class:"map-block"},XF={class:"flex-space"},vF={class:"voyage-block",style:{height:"197px"}},eP={class:"flex-space label-block",style:{width:"100%"}},tP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),oP={style:{"text-transform":"uppercase"}},lP={class:"flex-space label-block",style:{width:"100%"}},aP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),nP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sP={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},iP={class:"flex-space label-block",style:{width:"100%"}},cP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),dP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},rP={class:"flex-space label-block",style:{width:"100%"}},mP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),pP={key:0,class:"flex-end",style:{flex:"1"}},hP={key:1,class:"flex-end",style:{flex:"1"}},yP=Dl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),EP={class:"flex-end",style:{width:"160px"}},_P={class:"flex-space label-block",style:{width:"100%"}},NP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),VP={key:0,class:"flex-end",style:{flex:"1"}},fP={key:1,class:"flex-end",style:{flex:"1"}},gP=Dl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),DP={class:"flex-end",style:{width:"160px"}},bP={class:"flex-space label-block",style:{width:"100%"}},xP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),CP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},SP=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),kP=["src"],BP=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's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-24e80f66> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-24e80f66> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-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 AP(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;const m=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",zF,[e.createElementVNode("div",UF,[YF,e.createElementVNode("div",ZF,[e.createElementVNode("div",$F,null,512),e.createElementVNode("div",QF,null,512),e.createElementVNode("div",JF,null,512)])]),e.createElementVNode("div",KF,[qF,e.createElementVNode("div",jF,[e.createElementVNode("div",XF,[e.createElementVNode("div",vF,[e.createElementVNode("div",eP,[tP,e.createElementVNode("span",oP,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",lP,[aP,e.createElementVNode("span",nP,e.toDisplayString((D=(p=o.report)==null?void 0:p.vessel)==null?void 0:D.name),1),e.createElementVNode("span",sP,"("+e.toDisplayString((h=(f=o.report)==null?void 0:f.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",iP,[cP,e.createElementVNode("span",dP,e.toDisplayString((C=(V=o.report)==null?void 0:V.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",rP,[mP,(k=(r=o.report)==null?void 0:r.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",pP,e.toDisplayString((B=(S=o.report)==null?void 0:S.departure)==null?void 0:B.portName),1)):(e.openBlock(),e.createElementBlock("div",hP,[e.createVNode(m,{lat:(u=(A=o.report)==null?void 0:A.departure)==null?void 0:u.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),yP,e.createVNode(i,{lng:(F=o.report.departure)==null?void 0:F.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",EP,e.toDisplayString(a.computeUTCTime((x=o.report.departure)==null?void 0:x.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",_P,[NP,(U=(L=o.report)==null?void 0:L.arrival)!=null&&U.portName?(e.openBlock(),e.createElementBlock("span",VP,e.toDisplayString((R=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",fP,[e.createVNode(m,{lat:(g=(P=o.report)==null?void 0:P.arrival)==null?void 0:g.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),gP,e.createVNode(i,{lng:(G=(I=o.report)==null?void 0:I.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",DP,e.toDisplayString(a.computeUTCTime((M=(H=o.report)==null?void 0:H.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",bP,[xP,e.createElementVNode("span",CP,e.toDisplayString((j=(Q=o.report)==null?void 0:Q.voyage)==null?void 0:j.loadCondition),1)])]),SP]),e.createElementVNode("img",{src:(K=o.report)==null?void 0:K.chartUrl,alt:""},null,8,kP)])]),BP])}const wP=Ee(RF,[["render",AP],["__scopeId","data-v-24e80f66"]]),Joe="",TP={components:{Brand:Eo,Summary:SO,Inventory:IF,Chart:wP,Loading:an},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}}},watch:{report:{handler(t,n){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 n,o;const t=[];(o=(n=this.report)==null?void 0:n.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,m,i=!1;c.inventory.sample.hours.forEach((p,D)=>{a||(a=p),(!m||i)&&(m=p,i=!1),a.segIndex===p.segIndex?a.segLength=(a.segLength||0)+1:(a=p,a.segLength=1),m.noonLength=(m.noonLength||0)+1;let f=p.type.charAt(0);["N","M","E"].includes(f)&&(i=!0,m.dailyAvgCf=p.dailyAvgCf,m.avgSpdCalc=p.avgSpdCalc,m.distanceCalc=p.distanceCalc,m.noonUtc=p.utc,m.noon=p.noon),p.abbrev=f,f=f==="M"?"*":f==="A"?"":f,p.time=`${f} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ie.LngLatHelper.lng2pretty(p.lng),p._lat=ie.LngLatHelper.lat2pretty(p.lat),p.cp=l,t.push(p)})}),t.sort((c,l)=>c.date-l.date),this.inventory=t}}};function uP(t,n,o,c,l,a){var h,V;const m=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("Summary"),D=e.resolveComponent("Inventory"),f=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((V=(h=o.report)==null?void 0:h.weather)!=null&&V.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(m,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=C=>l.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(D,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(f,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const kn=Ee(TP,[["render",uP],["__scopeId","data-v-0b5d13da"]]),OP={install(t){t.component("OpiVoyageReport",Cn),t.component("FliVoyageReport",Sn),t.component("OrmVoyageReport",kn)}},Koe="",qoe="",joe="",Xoe="",FP={props:{tropicals:{type:Object,default:()=>({})},ts:{type:String,default:()=>""}},components:{TropicalGL:yn.TropicalGL,LatLngGL:yn.LatLngGL},data(){return{map:void 0}},watch:{"tropicals.version":{handler(){var t;(t=this.map)==null||t.flyTo({center:this.tropicals.center})},immediate:!0}},mounted(){this.initMap()},methods:{async initMap(){fl.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg";const t=new fl.Map({container:"report-map",style:"mapbox://styles/neatchenheng/clxwst0tq00wd01rn0usb2eer",projection:"mercator",preserveDrawingBuffer:!0,zoom:4,dragRotate:!1,pitchWithRotate:!1,minZoom:1});t.on("load",()=>{var n,o;this.map=t,(o=this.map)==null||o.flyTo({center:(n=this.tropicals)==null?void 0:n.center})})}}},PP=t=>(e.pushScopeId("data-v-7c505d6d"),t=t(),e.popScopeId(),t),LP={class:"map"},WP=PP(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function HP(t,n,o,c,l,a){const m=e.resolveComponent("TropicalGL"),i=e.resolveComponent("LatLngGL");return e.openBlock(),e.createElementBlock("div",LP,[WP,l.map?(e.openBlock(),e.createBlock(m,{key:0,class:"hurricane",map:l.map,tropicals:o.tropicals,date:o.ts},null,8,["map","tropicals","date"])):e.createCommentVNode("",!0),l.map?(e.openBlock(),e.createBlock(i,{key:1,map:l.map,show:!0,bottom:"10px"},null,8,["map"])):e.createCommentVNode("",!0)])}const MP=Ee(FP,[["render",HP],["__scopeId","data-v-7c505d6d"]]),GP={props:{id:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},series:{type:Object,default:function(){return[]}},xAxis:{type:Object,default:function(){return[]}},color:{type:Object,default:function(){return[]}}},data(){return{chart:void 0}},watch:{series:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Yo.init(c))}const t=Number(O(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,n=Number(O(this.xAxis[this.xAxis.length-1]).utc().format("x"))-8*60*60*1e3;let o={title:{text:this.title,left:"4%"},grid:{right:"5%",bottom:"15%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"12%",right:"5%"},color:this.color,xAxis:{type:"time",min:t,max:n,axisLabel:{show:!0,formatter:function(c,l){var a=O(c).format("MMMDD"),m=O(c).format("HH");return m==="00"||l===0?a:m}}},yAxis:{name:"",nameTextStyle:{color:"#fff",fontSize:12,padding:[0,60,0,0]},type:"value",splitLine:{show:!1},axisLine:{show:!0},axislabel:{show:!0},axisTick:{show:!1}},series:this.series};this.id==="pressureChart"&&(o.yAxis.min="900"),console.log(o,"option"),this.$nextTick(()=>{this.chart.setOption(o)})}}},IP=["id"];function RP(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,IP)])}const zP=Ee(GP,[["render",RP]]);function Bn(t,n,o){o===void 0&&(o={});var c={type:"Feature"};return(o.id===0||o.id)&&(c.id=o.id),o.bbox&&(c.bbox=o.bbox),c.properties=n||{},c.geometry=t,c}function mn(t,n,o){if(o===void 0&&(o={}),!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!wn(t[0])||!wn(t[1]))throw new Error("coordinates must contain numbers");var c={type:"Point",coordinates:t};return Bn(c,n,o)}function An(t,n,o){if(o===void 0&&(o={}),t.length<2)throw new Error("coordinates must be an array of two or more positions");var c={type:"LineString",coordinates:t};return Bn(c,n,o)}function UP(t,n){n===void 0&&(n={});var o={type:"FeatureCollection"};return n.id&&(o.id=n.id),n.bbox&&(o.bbox=n.bbox),o.features=t,o}function wn(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}class Ie{static guessTimeZoneOffset(n,o){const c=Fi(o,n),l=O().tz(c).utcOffset();return this.roundPrecision(l/60,1)}static prettyTimeZoneOffset(n){let o=Math.floor(Math.abs(n)),c=Math.round((Math.abs(n)-o)*60);return c=c>9?c:`0${c}`,o=o>9?o:`0${o}`,n>0?`+${o}:${c}`:`-${o}:${c}`}static lng2pretty(n,o=6,c="H°M′"){n=Ie.convertToStdLng(n,o);let l="E";n<0&&(l="W"),n=Math.abs(n),c=c.toUpperCase();let a=n*3600,m,i,p,D,f,h;m=a%3600%60,c.indexOf("S")!==-1&&(a=a-m,i=Ie.padNumber(m,2,2)),p=a/60%60,c.indexOf("M")!==-1&&(c.indexOf("S")!==-1?D=Ie.roundPrecision(p,o).toString().padStart(2,"0"):D=Ie.padNumber(p,2,2),a=a-p*60),f=a/3600,c.indexOf("M")!==-1?h=Ie.roundPrecision(f,o).toString().padStart(3,"0"):h=Ie.padNumber(f,3,2);const V=`${c.replace(/S+/gi,i).replace(/M+/gi,D).replace(/H+/gi,h)}${l}`;return{direction:l,degree:Ie.roundPrecision(f,o),minute:Ie.roundPrecision(p,o),second:Ie.roundPrecision(m,o),pretty:V}}static lat2pretty(n,o=6,c="H°M′"){n=n%180;let l="N";n<0&&(l="S"),n=Math.abs(n),c=c.toUpperCase();let a=n*3600,m,i,p,D,f,h;m=a%3600%60,c.indexOf("S")!==-1&&(a=a-m,i=Ie.padNumber(m,2,2)),p=a/60%60,c.indexOf("M")!==-1&&(c.indexOf("S")!==-1?D=Ie.roundPrecision(p,o).toString().padStart(2,"0"):D=Ie.padNumber(p,2,2),a=a-p*60),f=a/3600,c.indexOf("M")!==-1?h=Ie.roundPrecision(f,o).toString().padStart(2,"0"):h=Ie.padNumber(f,2,2);const V=`${c.replace(/S+/gi,i).replace(/M+/gi,D).replace(/H+/gi,h)}${l}`;return{direction:l,degree:Ie.roundPrecision(f,o),minute:Ie.roundPrecision(p,o),second:Ie.roundPrecision(m,o),pretty:V}}static str2Lng(n,o=6){let c;if(isNaN(n)){n=Ie.strReplace(n,"LNG");const l=n[n.length-1].toUpperCase();n=n.substring(0,n.length-1).trim();const a=n.split(" ").filter(p=>p!=="").map(p=>Number(p));let[m,i]=a;if(m>360&&!i){const p=this.roundPrecision(m/100,0);i=m-p*100,m=p}c=m+(i??0)/60,l==="W"&&(c=c*-1)}else c=Number(n);return Ie.convertToStdLng(c,o)}static str2Lat(n,o=6){let c;if(isNaN(n)){n=Ie.strReplace(n,"LAT");const l=n[n.length-1].toUpperCase();n=n.substring(0,n.length-1).trim();const a=n.split(" ").filter(p=>p!=="").map(p=>Number(p));let[m,i]=a;if(m>90&&!i){const p=this.roundPrecision(m/100,0);i=m-p*100,m=p}c=m+(i??0)/60,l==="S"&&(c=c*-1)}else c=Number(n);return Ie.roundPrecision(c,o)}static str2LngOrLat(n,o=6,c="LAT"){n=Ie.strReplace(n,c);const l=n[n.length-1].toUpperCase();return["N","S"].includes(l)?{lat:Ie.str2Lat(n,o)}:{lng:Ie.str2Lng(n,o)}}static convertToStdLng(n,o=4){return n>180?(n=n%360,n=n>180?n-360:n):n<-180&&(n=n%360,n=n<-180?n+360:n),Ie.roundPrecision(n,o)}static roundPrecision(n,o=4){if(typeof n=="number"){const c=Number("1".padEnd(o+1,"0"));return Math.round(n*c)/c}return n}static convertToMonotonicLng2(n){for(let o=1;o<n.length;o++)n[o][0]+=Math.round((n[o-1][0]-n[o][0])/360)*360;return n}static convertToMonotonicLng(n){for(let o=1;o<n.length;o++)n[o].lng+=Math.round((n[o-1].lng-n[o].lng)/360)*360;return n}static strReplace(n,o="LAT"){n=n.replace(/([0-9]+)\.([0-9]+\.[0-9]+)/g,"$1 $2").replace(/-/g," ").replace(/°/," ").replace(/'/g," ").replace(/′/g," ").replace(/"/g," ").replace(/∼/g," ").replace(/°/g," ").replace(/,/g,".").replace(/^ /g,"").replace(/ $/g,"").trim();const c=n[n.length-1].toUpperCase();if(!["N","S","E","W"].includes(c)){const l=n,a=Number(l.split(" ")[0]);if(isNaN(a))throw new Error(`invalid Lat/Lng: ${n}`);a>=90?n=`${l}E`:a<=-90?n=`${l}W`:["LAN","LNG"].includes(o==null?void 0:o.toUpperCase())?n=`${l}${a>0?"E":"W"}`:n=`${l}${a>0?"N":"S"}`}return n}static padNumber(n,o=2,c=2){const l=Math.trunc(n).toString().padStart(o,"0"),a=Math.trunc(Ie.roundPrecision(n-Math.trunc(n),c)*Math.pow(10,c)).toString().padStart(c,"0");return`${l}.${a}`}}class YP{static convert2Geojson(n){var o;const c=UP([]);for(const l of n){if(l.forecasts){const a=(o=l.history)==null?void 0:o[0];for(const m of l.forecasts){const i=[],p=O(m.date).utc(),D=`${l.name}-${m.model}`;if(a){const f=O(a.updated).utc(),h=mn([a.lng,a.lat],{model:m.model,name:l.name,date:f.format(),hour:0,format:f.format("MMM-DD/HHmm[Z]"),pressure:a.pressure>1e4?Ie.roundPrecision(a.pressure/100,0):Ie.roundPrecision(a.pressure,0),wind:{kts:a.kts,spd:a.speed||a.spd},category:D,type:"forecast"});c.features.push(h),i.push(h.geometry.coordinates)}for(const f in m==null?void 0:m.hours){const h=m.hours[f];h.wind.spd=h.wind.spd||h.wind.speed;const V=p.clone().add(Number(f),"hour"),C=mn([h.lng,h.lat],{model:m.model,name:l.name,date:V.format(),hour:Number(f),format:V.format("MMM-DD/HHmm[Z]"),pressure:h.pressure>1e4?Ie.roundPrecision(h.pressure/100,0):Ie.roundPrecision(h.pressure,0),gusts:h.gusts,wind:h.wind||{},movement:h.movement,category:D,type:"forecast"});c.features.push(C),i.push(C.geometry.coordinates)}if((i==null?void 0:i.length)>1){const f=An(Ie.convertToMonotonicLng2(i),{date:m.date,id:l.id||l.name,model:m.model,name:l.name,category:D,type:"forecast"});c.features.push(f)}}}if(l.history){const a=[];for(const i of l.history){const p=O(i.updated).utc(),D=mn([i.lng,i.lat],{name:l.name,date:p.format(),format:p.format("MMM-DD/HHmm[Z]"),pressure:i.pressure>1e4?Ie.roundPrecision(i.pressure/100,0):Ie.roundPrecision(i.pressure,0),spd:i.speed||i.spd,kts:i.kts,source:i.source,level:i.type,type:"history",category:`${l.name}-history`});c.features.push(D),a.push(D.geometry.coordinates)}const m=l.history[0];if(a.length===1&&a.push(a[0]),a.length>1){const i=An(Ie.convertToMonotonicLng2(a),{name:l.name,type:"history",updated:m==null?void 0:m.updated,pressure:(m==null?void 0:m.pressure)>1e4?Ie.roundPrecision((m==null?void 0:m.pressure)/100,0):Ie.roundPrecision(m==null?void 0:m.pressure,0),spd:(m==null?void 0:m.speed)||(m==null?void 0:m.spd),kts:m==null?void 0:m.kts,source:m==null?void 0:m.source,level:m==null?void 0:m.type});c.features.push(i)}}}return c}static interpolate(n,o=3){var c,l,a,m;const i=(c=n==null?void 0:n.data)==null?void 0:c.features.filter(D=>D.geometry.type==="LineString"&&D.properties.type==="forecast"),p=[];for(const D of i){const f=D.properties.name,h=D.properties.model,V=O(D.properties.date).utc();let C=o*60-(V.get("hour")*60+V.get("minute"))%(o*60);const r=(l=n==null?void 0:n.data)==null?void 0:l.features.filter(B=>B.geometry.type==="Point"&&B.properties.type==="forecast"&&B.properties.category===`${f}-${h}`);let k,S=V.clone().add(C,"minute").set({minute:0,second:0,millisecond:0});for(;k=this.pickIndex(r,S),k<=r.length-1;){if(k>0){const B=r[k],A=k===0?void 0:r[k-1],u=(C/60-((a=A==null?void 0:A.properties)==null?void 0:a.hour))/(B.properties.hour-((m=A==null?void 0:A.properties)==null?void 0:m.hour)),F=this.computeNumber(A==null?void 0:A.geometry.coordinates[0],B.geometry.coordinates[0],u),x=this.computeNumber(A==null?void 0:A.geometry.coordinates[1],B.geometry.coordinates[1],u),L=mn([F,x],{name:f,model:h,category:B==null?void 0:B.properties.category,date:S.format(),format:S.format("MMM-DD/HHmm[Z]"),gusts:this.computeNumber(A==null?void 0:A.properties.gusts,B.properties.gusts,u),hour:this.computeNumber(A==null?void 0:A.properties.hour,B.properties.hour,u),movement:this.computeNumber(A==null?void 0:A.properties.movement,B.properties.movement,u),pressure:this.computeNumber(A==null?void 0:A.properties.pressure,B.properties.pressure,u),wind:this.computeNumber(A==null?void 0:A.properties.wind,B.properties.wind,u),type:"forecast"});p.push(L)}C+=o*60,S=V.clone().add(C,"minute").set({minute:0,second:0,millisecond:0})}}return p}static pickIndex(n,o){let c=0;for(const l of n){if(O(l.properties.date).isAfter(o))return c===0?-1:c;c++}return c}static computeNumber(n,o,c){if(n)if(o){if(isNaN(n)&&isNaN(o)&&typeof n!="string"&&typeof o!="string"){const l={};for(const a in n)l[a]=this.computeNumber(n[a],o[a],c);return l}return Math.round((n+(o-n)*c)*100)/100}else return n;else return o}}const voe="",ZP={name:"IdmTropical",components:{IdmBrand:Eo,Mapbox:MP,Echart:zP},props:{report:{type:Object,default:()=>({})},ts:{type:String,default:()=>""},token:{type:String,default:""},model:{type:String,default:""}},emits:["center"],data(){return{loading:!1,tropicals:void 0,activeForecast:void 0,timeSubscript:["0","6","12","18","24","36","48","72"],hourSubscript:[6,12,18,24],records:void 0,xAxis:[],probabilityColor:["#010101","#941c12","#ed0000","#ee7b00","#efd700","#5dfc02"],probabilitySeries:[],spdSeries:[],pressureSeries:[]}},computed:{computePrecision(){return function(t,n=0){return isNaN(t)||t===-999?"-":gl.LngLatHelper.roundPrecision(t,n)}},computeHours(){return function(t,n){return O(n).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,n){return`${gl.LngLatHelper.lat2pretty(t).pretty} / ${gl.LngLatHelper.lng2pretty(n).pretty}`}},computeCandidateIndex(){return function(t,n){let o=0;for(const c in t){if(Number(c)>n)return{prev:o,next:Number(c)};o=Number(c)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,n,o){return t?n?Math.round((t+(n-t)*o)*100)/100:t:n}},computeHourSubscript(){return function(t){let n="";return this.hourSubscript.forEach((o,c)=>{t<o&&n===""&&(n=c)}),n}},computeKLineData(){return function(t){const n=t.length;if(n){const o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[n-1][1],middle:""};let c=t[0][1],l=t[0][1];return t.forEach(a=>{c=!c||c<a[1]?a[1]:c,l=!l||l>a[1]?a[1]:l}),l||c?o.middle=(Number(l)+Number(c))/2:o.middle="-",o.min=l,o.max=c,o}}}},watch:{model:{handler(){var t;(t=this.report)!=null&&t.id&&!this.loading&&this.prepare()},immediate:!0},"report.id":{handler(){var t;(t=this.report)!=null&&t.id&&!this.loading&&this.prepare()},immediate:!0}},methods:{async prepare(){var a,m,i,p,D,f,h,V,C,r,k,S;this.loading=!0;const t=YP.convert2Geojson([this.report]);this.model&&t.features.forEach(B=>{B.properties.type==="forecast"&&B.properties.model!==this.model&&(B.properties.disabled=!0)});const n=(i=(m=(a=this.report)==null?void 0:a.forecasts)==null?void 0:m[0])==null?void 0:i.hours,o=((D=(p=this.report)==null?void 0:p.history)==null?void 0:D[0])||n[Object.keys(n)[0]];this.tropicals={data:t,active:!0,cached:!1,type:"json",etime:this.ts,version:Math.random()+1,center:[o==null?void 0:o.lng,o==null?void 0:o.lat]},this.activeForecast=this.model?((h=(f=this.report)==null?void 0:f.forecasts)==null?void 0:h.filter(B=>B.model===this.model)[0])||((C=(V=this.report)==null?void 0:V.forecasts)==null?void 0:C[0]):(k=(r=this.report)==null?void 0:r.forecasts)==null?void 0:k[0],this.activeForecast.sample=[];const c=O((S=this.activeForecast)==null?void 0:S.date);let l=0;for(const B in this.activeForecast.hours)if(l<8){const A=this.activeForecast.hours[B];A.pressure>1e4&&(A.pressure=gl.LngLatHelper.roundPrecision(A.pressure/100,0)),A.hour=Number(B),A.date=c.clone().add(A.hour,"h").utc().format("MMM-DD/HH[Z]"),this.activeForecast.sample.push(A),l++}else break;this.records=await this.interpolatedRecord(this.activeForecast.date,this.activeForecast.hours,1),this.fetchData().then(),this.loading=!1},async fetchData(){var D;const t=this.ts?O(Number(this.ts)).utc().format("YYYY-MM-DD HH"):O().utc().format("YYYY-MM-DD HH");for(let f in this.records)O(this.activeForecast.date).add(f,"h").utc().format("YYYY-MM-DD HH")===t&&this.$emit("center",this.records[f]);let n=this.computeHourSubscript(O(this.activeForecast.date).utc().format("H"));const o=[],c=[],l=[],a=[];let m=[],i=[],p=[];for(let f in this.records){const h=this.records[f],V=O(this.activeForecast.date).add(f,"h").utc(),C=this.computeHourSubscript(O(V).format("H")),r=`${O(V).format("YYYY-MM-DD")} ${this.hourSubscript[C]}:00:00`;n===C?(i.push([r,h.wind.kts]),p.push([r,h.pressure]),m.push([r,h.wind.spd])):(o.push(m),c.push(i),l.push(p),n=C,m=[],i=[],p=[],m.push([r,h.wind.spd]),i.push([r,h.wind.kts]),p.push([r,h.pressure]),this.xAxis.push(V))}for(let f in this.activeForecast.hours){const h=this.activeForecast.hours[f],V=O(this.activeForecast.date).add(f,"h").utc(),C=this.computeHourSubscript(O(V).format("H")),r=`${O(V).format("YYYY-MM-DD")} ${this.hourSubscript[C]}:00:00`;a.push([r,((D=h.gusts)==null?void 0:D.kts)??"-"])}this.fetchProbabilityData(o),this.fetchSpdData(c,a),this.fetchPressureData(l)},fetchProbabilityData(t){let n={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let c=0,l=0,a=0,m=0,i=0,p=0;o.forEach(f=>{const h=f[1];h<=17.1?c++:h<=24.4?l++:h<=32.6?a++:h<=41.4?m++:h<=50.9?i++:h>50.9&&p++});const D=o.length;n.td.push([o[0][0],gl.LngLatHelper.roundPrecision(c/D,2)*100]),n.ts.push([o[0][0],gl.LngLatHelper.roundPrecision(l/D,2)*100]),n.sts.push([o[0][0],gl.LngLatHelper.roundPrecision(a/D,2)*100]),n.ty.push([o[0][0],gl.LngLatHelper.roundPrecision(m/D,2)*100]),n.sty.push([o[0][0],gl.LngLatHelper.roundPrecision(i/D,2)*100]),n.supty.push([o[0][0],gl.LngLatHelper.roundPrecision(p/D,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:n.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:n.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:n.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:n.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:n.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:n.td}]},fetchSpdData(t,n){let o=[],c=[];t.forEach(l=>{const a=this.computeKLineData(l);let m=[a.time,a.first,a.last,a.min,a.max];c.push([a.time,a.middle]),o.push(m)}),this.spdSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:o},{data:c,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}},{data:n,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let n=[],o=[];t.forEach(c=>{const l=this.computeKLineData(c);let a=[l.time,l.first,l.last,l.min,l.max];o.push([l.time,l.middle]),n.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:n},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,n,o=3){var i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe;const c=O(t).set({second:0}).utc();let l=o-(c.get("hour")*60+c.get("minute"))%(o*60)/60,a;const m={};for(;a=this.computeCandidateIndex(n,l),a.next!==-1||l===a.prev;){const ee=(l-a.prev)/(a.next-a.prev);m[l]={gusts:this.computeInterpolateValue((i=n[a.prev])==null?void 0:i.gusts,(p=n[a.next])==null?void 0:p.gusts,ee),lat:this.computeInterpolateValue((D=n[a.prev])==null?void 0:D.lat,(f=n[a.next])==null?void 0:f.lat,ee),lng:this.computeInterpolateValue((h=n[a.prev])==null?void 0:h.lng,(V=n[a.next])==null?void 0:V.lng,ee),movement:{deg:this.computeInterpolateValue((r=(C=n[a.prev])==null?void 0:C.movement)==null?void 0:r.deg,(S=(k=n[a.next])==null?void 0:k.movement)==null?void 0:S.deg,ee),kts:this.computeInterpolateValue((A=(B=n[a.prev])==null?void 0:B.movement)==null?void 0:A.kts,(F=(u=n[a.next])==null?void 0:u.movement)==null?void 0:F.kts,ee),spd:this.computeInterpolateValue((L=(x=n[a.prev])==null?void 0:x.movement)==null?void 0:L.spd,(Z=(U=n[a.next])==null?void 0:U.movement)==null?void 0:Z.spd,ee)},pressure:this.computeInterpolateValue((R=n[a.prev])==null?void 0:R.pressure,(P=n[a.next])==null?void 0:P.pressure,ee),wind:{kts:this.computeInterpolateValue((I=(g=n[a.prev])==null?void 0:g.wind)==null?void 0:I.kts,(H=(G=n[a.next])==null?void 0:G.wind)==null?void 0:H.kts,ee),lat:this.computeInterpolateValue((Q=(M=n[a.prev])==null?void 0:M.wind)==null?void 0:Q.lat,(K=(j=n[a.next])==null?void 0:j.wind)==null?void 0:K.lat,ee),lng:this.computeInterpolateValue((z=(N=n[a.prev])==null?void 0:N.wind)==null?void 0:z.lng,(s=(J=n[a.next])==null?void 0:J.wind)==null?void 0:s.lng,ee),spd:this.computeInterpolateValue((d=(X=n[a.prev])==null?void 0:X.wind)==null?void 0:d.spd,(oe=(v=n[a.next])==null?void 0:v.wind)==null?void 0:oe.spd,ee)}},l+=o}return m}}},Tn=t=>(e.pushScopeId("data-v-80c7f977"),t=t(),e.popScopeId(),t),$P={class:"typhoon-report"},QP={class:"report-content"},JP={class:"map"},KP={class:"table"},qP=Tn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"Time"),e.createElementVNode("td",null,"Position"),e.createElementVNode("td",null,"Pres(hPa)"),e.createElementVNode("td",null,"Max(kts)"),e.createElementVNode("td",null,"Gusts(kts)"),e.createElementVNode("td",null,"35/50(kts)"),e.createElementVNode("td",null,"Dir(deg)"),e.createElementVNode("td",null,"Spd(kts)")])],-1)),jP=Tn(()=>e.createElementVNode("div",{class:"report-tips flex-end"}," The report is for reference only. All the material is an advisory provided so as to assist the Master in making the final route decision. ",-1));function XP(t,n,o,c,l,a){var D;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Mapbox"),p=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",$P,[e.createVNode(m,{name:"Tropical Cyclone Strike Probability Report"}),e.createElementVNode("div",QP,[e.createElementVNode("div",null,[e.createElementVNode("div",JP,[e.createVNode(i,{tropicals:l.tropicals,ts:o.ts,token:o.token},null,8,["tropicals","ts","token"])]),e.createElementVNode("div",KP,[e.createElementVNode("table",null,[qP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((D=l.activeForecast)==null?void 0:D.sample,(f,h)=>{var V,C,r,k,S,B;return e.openBlock(),e.createElementBlock("tr",{key:h},[e.createElementVNode("td",null,e.toDisplayString(f.date),1),e.createElementVNode("td",null,e.toDisplayString(a.computedLngLat(f.lat,f.lng)),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(f.pressure??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((V=f==null?void 0:f.wind)==null?void 0:V.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((C=f.gusts)==null?void 0:C.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(`${a.computePrecision(((r=f==null?void 0:f.wind)==null?void 0:r.r7)||"-")} / ${a.computePrecision(((k=f==null?void 0:f.wind)==null?void 0:k.r10)||"-")} nm`),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((S=f==null?void 0:f.movement)==null?void 0:S.deg)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((B=f==null?void 0:f.movement)==null?void 0:B.kts)??"-")),1)])}),128))])])])]),e.createElementVNode("div",null,[e.createVNode(p,{id:"probabilityChart",class:"echart",title:"Probability(%) of Tropical Cyclone Intensity falling in each category","x-axis":l.xAxis,color:l.probabilityColor,series:l.probabilitySeries},null,8,["x-axis","color","series"]),e.createVNode(p,{id:"spdChart",class:"echart",title:"10m Wind Speed(kts) [ Solid=Gusts ; Dot=Avg.Speed ]","x-axis":l.xAxis,series:l.spdSeries},null,8,["x-axis","series"]),e.createVNode(p,{id:"pressureChart",class:"echart",title:"Mean Sea Level Pressure in Tropical Cyclone Center (hPa)","x-axis":l.xAxis,series:l.pressureSeries},null,8,["x-axis","series"])])]),jP])}const un=Ee(ZP,[["render",XP],["__scopeId","data-v-80c7f977"]]),vP={install(t){t.component("TropicalReport",un)}},ele="",eL={components:{IdmBrand:en},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
42
|
`,"</br>")}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${O(t).utc().format(n)}`:"-"}},computeItem(){return function(t){if(t){const n=t.indexOf(",");if(n!==-1)return[t.substring(0,n),t.substring(n+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var m;const t=this.$refs.name.offsetHeight,n=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,c=(m=this.data)!=null&&m.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+n+280>l*1123;)l++;const a=l*1123-(t+n+280);this.breaked=a<o+c})}},yo=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),tL={class:"invoice-report"},oL=yo(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),lL={class:"report-title"},aL=yo(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),nL={class:"title-info"},sL=yo(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),iL=yo(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),cL=yo(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),dL=yo(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),rL=yo(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),mL={class:"report-content"},pL={style:{display:"flex"},ref:"name",class:"name"},hL=["innerHTML"],yL={style:{"margin-bottom":"10px"}},EL={class:"table",ref:"table"},_L=yo(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),NL=yo(()=>e.createElementVNode("td",null,null,-1)),VL={class:"total"},fL={class:"total"},gL={key:0,class:"page-break"},DL={ref:"detail",class:"detail"},bL={class:"title"},xL={class:"info"},CL={class:"info"},SL={class:"info"},kL={class:"info"},BL={class:"info"},AL={key:0},wL={class:"info"},TL=yo(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),uL={class:"info"},OL=yo(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),FL={class:"info"},PL=yo(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),LL={class:"info"},WL=yo(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),HL={key:1},ML={class:"info"},GL=yo(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),IL={key:1,ref:"memo",class:"detail"},RL=yo(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),zL=["innerHTML"];function UL(t,n,o,c,l,a){var i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R;const m=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",tL,[e.createVNode(m),oL,e.createElementVNode("div",lL,[aL,e.createElementVNode("div",nL,[sL,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),iL,cL,dL,rL])])]),e.createElementVNode("div",mL,[e.createElementVNode("div",pL,[e.createTextVNode(" To: "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((p=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:p.name)},null,8,hL)],512),e.createElementVNode("div",null,"Date: "+e.toDisplayString(a.computeUTCTime((D=o.data)==null?void 0:D.paymentDate,"YYYY MMM DD")),1),e.createElementVNode("div",yL,"No: "+e.toDisplayString((f=o.data)==null?void 0:f.number),1),e.createElementVNode("div",EL,[e.createElementVNode("table",null,[_L,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=o.data)==null?void 0:h.reservations,(P,g)=>(e.openBlock(),e.createElementBlock("tr",{key:g},[e.createElementVNode("td",null,e.toDisplayString(g+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,[NL,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((V=o.data)==null?void 0:V.rate)}`)+" ",1),e.createElementVNode("span",VL,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",fL,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(C=o.data)==null?void 0:C.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",gL)):e.createCommentVNode("",!0),e.createElementVNode("div",DL,[e.createElementVNode("div",bL,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",xL,[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",CL,[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(((k=l.company)==null?void 0:k.address[l.type])??"-"),1)]),e.createElementVNode("div",SL,[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(((S=l.company)==null?void 0:S.tel)??"-"),1)]),e.createElementVNode("div",kL,[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(((B=l.company)==null?void 0:B.bankName[l.type])??"-"),1)]),e.createElementVNode("div",BL,[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(((A=l.company)==null?void 0:A.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",AL,[e.createElementVNode("div",wL,[TL,e.createElementVNode("span",null,e.toDisplayString(((u=l.company)==null?void 0:u.bankSwift)??"-"),1)]),e.createElementVNode("div",uL,[OL,e.createElementVNode("span",null,e.toDisplayString(((F=l.company)==null?void 0:F.bankAddress)??"-"),1)]),e.createElementVNode("div",FL,[PL,e.createElementVNode("span",null,e.toDisplayString(((x=l.company)==null?void 0:x.interBank)??"-"),1)]),e.createElementVNode("div",LL,[WL,e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",HL,[e.createElementVNode("div",ML,[GL,e.createElementVNode("span",null,e.toDisplayString(((U=l.company)==null?void 0:U.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",IL,[RL,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((R=o.data)==null?void 0:R.memo)},null,8,zL)],512)):e.createCommentVNode("",!0)])])}const On=Ee(eL,[["render",UL],["__scopeId","data-v-db643e45"]]),tle="",YL={components:{IdmBrand:Eo},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,n,o,c,l,a,m;this.reservations4Route=(n=(t=this.report)==null?void 0:t.reservations)==null?void 0:n.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,p)=>Math.round((i+p.amount)*100)/100,0),(m=this.reservations4Route)!=null&&m.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${O(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},pt=t=>(e.pushScopeId("data-v-3894214e"),t=t(),e.popScopeId(),t),ZL={class:"invoice-report"},$L={class:"section items-section"},QL={class:"flex-start"},JL=pt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),KL=["innerHTML"],qL={class:"flex-space"},jL={class:"invoice-item"},XL={key:0,class:"invoice-item"},vL=pt(()=>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)),eW=pt(()=>e.createElementVNode("td",null,"NO.",-1)),tW=["colspan"],oW=pt(()=>e.createElementVNode("td",null,"Amounts",-1)),lW=["colspan"],aW=["colspan"],nW=[pt(()=>e.createElementVNode("span",null,"Total in USD",-1))],sW={class:"total"},iW=["colspan"],cW=[pt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],dW={class:"total"},rW=["colspan"],mW={class:"total"},pW={key:1},hW=["colspan"],yW=[pt(()=>e.createElementVNode("span",null,"Total in USD",-1))],EW={class:"total"},_W={key:0,class:"memo-block"},NW=pt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),VW=["innerHTML"],fW={class:"section company-section"},gW=pt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),DW={class:"company-item"},bW=pt(()=>e.createElementVNode("label",null,"Bank",-1)),xW={class:"company-item"},CW=pt(()=>e.createElementVNode("label",null,"Account",-1)),SW={class:"company-item"},kW=pt(()=>e.createElementVNode("label",null,"Title",-1)),BW={class:"company-item"},AW=pt(()=>e.createElementVNode("label",null,"Addr",-1)),wW={class:"company-item"},TW=pt(()=>e.createElementVNode("label",null,"Tel",-1)),uW={class:"company-item"},OW=pt(()=>e.createElementVNode("label",null,"Tax ID",-1)),FW={class:"company-item"},PW=pt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),LW={class:"company-item"},WW=pt(()=>e.createElementVNode("label",null,"Bank Name",-1)),HW={class:"company-item"},MW=pt(()=>e.createElementVNode("label",null,"Bank Address",-1)),GW={class:"company-item"},IW=pt(()=>e.createElementVNode("label",null,"Account No.",-1)),RW={class:"company-item"},zW=pt(()=>e.createElementVNode("label",null,"SWIFT",-1)),UW={class:"company-item"},YW=pt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),ZW={class:"company-item"},$W=pt(()=>e.createElementVNode("label",null,"SWIFT",-1)),QW={class:"company-item"},JW=pt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),KW=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 qW(t,n,o,c,l,a){var i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e;const m=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",ZL,[e.createVNode(m,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",$L,[e.createElementVNode("div",QL,[JL,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(D=(p=(i=o.report)==null?void 0:i.invoiceTitle)==null?void 0:p.name)==null?void 0:D.replace(`
|
|
43
43
|
`,"<br/>")},null,8,KL)]),e.createElementVNode("div",qL,[e.createElementVNode("div",jL,"Invoice No. "+e.toDisplayString(o.report.number),1),(f=o.report)!=null&&f.paymentDate?(e.openBlock(),e.createElementBlock("div",XL,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=l.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[vL,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(le,he)=>{var Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me;return e.openBlock(),e.createElementBlock("tr",{key:he},[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((ye=(Oe=(ue=le.props)==null?void 0:ue[0])==null?void 0:Oe.voyage)==null?void 0:ye.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((Fe=(me=(W=le.props)==null?void 0:W[0])==null?void 0:me.departure)==null?void 0:Fe.name),1),e.createElementVNode("td",null,e.toDisplayString((ke=(Le=(Pe=le.props)==null?void 0:Pe[0])==null?void 0:Le.departure)==null?void 0:ke.atd),1),e.createElementVNode("td",null,e.toDisplayString((Ze=(Ye=(We=le.props)==null?void 0:We[0])==null?void 0:Ye.destination)==null?void 0:Ze.name),1),e.createElementVNode("td",null,e.toDisplayString((Me=(we=(Y=le.props)==null?void 0:Y[0])==null?void 0:we.destination)==null?void 0:Me.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(le.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(V=l.reservations4Point)!=null&&V.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[eW,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,tW),oW])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(le,he)=>(e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString(le.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(le.items),9,lW),e.createElementVNode("td",null,"$"+e.toDisplayString(le.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((C=o.report)==null?void 0:C.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},nW,8,aW),e.createElementVNode("td",sW,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},cW,8,iW),e.createElementVNode("td",dW,[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,rW),e.createElementVNode("td",mW,"¥"+e.toDisplayString((k=o.report)==null?void 0:k.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",pW,[e.createElementVNode("td",{colspan:l.maxColspans},yW,8,hW),e.createElementVNode("td",EW,[e.createElementVNode("span",null,e.toDisplayString(`$${(S=o.report)==null?void 0:S.paymentAmount}`),1)])]))])]),(B=o.report)!=null&&B.memo?(e.openBlock(),e.createElementBlock("div",_W,[NW,e.createElementVNode("div",{class:"invoice-item",innerHTML:(u=(A=o.report)==null?void 0:A.memo)==null?void 0:u.replace(`
|
|
44
44
|
`,"<br/>")},null,8,VW)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",fW,[gW,((F=o.report)==null?void 0:F.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",DW,[bW,e.createElementVNode("span",null,e.toDisplayString((L=l.account[(x=o.report)==null?void 0:x.paymentType])==null?void 0:L.bank),1)]),e.createElementVNode("div",xW,[CW,e.createElementVNode("span",null,e.toDisplayString((Z=l.account[(U=o.report)==null?void 0:U.paymentType])==null?void 0:Z.number),1)]),e.createElementVNode("div",SW,[kW,e.createElementVNode("span",null,e.toDisplayString((P=l.account[(R=o.report)==null?void 0:R.paymentType])==null?void 0:P.title),1)]),e.createElementVNode("div",BW,[AW,e.createElementVNode("span",null,e.toDisplayString((I=l.account[(g=o.report)==null?void 0:g.paymentType])==null?void 0:I.address),1)]),e.createElementVNode("div",wW,[TW,e.createElementVNode("span",null,e.toDisplayString((H=l.account[(G=o.report)==null?void 0:G.paymentType])==null?void 0:H.tel),1)]),e.createElementVNode("div",uW,[OW,e.createElementVNode("span",null,e.toDisplayString((Q=l.account[(M=o.report)==null?void 0:M.paymentType])==null?void 0:Q.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",FW,[PW,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",LW,[WW,e.createElementVNode("span",null,e.toDisplayString((z=l.account[(N=o.report)==null?void 0:N.paymentType])==null?void 0:z.bank),1)]),e.createElementVNode("div",HW,[MW,e.createElementVNode("span",null,e.toDisplayString((s=l.account[(J=o.report)==null?void 0:J.paymentType])==null?void 0:s.bankAddr),1)]),e.createElementVNode("div",GW,[IW,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",RW,[zW,e.createElementVNode("span",null,e.toDisplayString((oe=l.account[(v=o.report)==null?void 0:v.paymentType])==null?void 0:oe.swift),1)]),e.createElementVNode("div",UW,[YW,e.createElementVNode("span",null,e.toDisplayString((se=l.account[(ee=o.report)==null?void 0:ee.paymentType])==null?void 0:se.intermediaryBank),1)]),e.createElementVNode("div",ZW,[$W,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",QW,[JW,e.createElementVNode("span",null,e.toDisplayString((_e=l.account[(re=o.report)==null?void 0:re.paymentType])==null?void 0:_e.intermediaryBankAbaNo),1)])],64))]),KW])}const Fn=Ee(YL,[["render",qW],["__scopeId","data-v-3894214e"]]),nle="",jW={components:{IdmBrand:Eo},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,n,o,c,l,a,m;this.reservations4Route=(n=(t=this.report)==null?void 0:t.reservations)==null?void 0:n.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,p)=>Math.round((i+p.amount)*100)/100,0),(m=this.reservations4Route)!=null&&m.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${O(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},Cl=t=>(e.pushScopeId("data-v-744130ab"),t=t(),e.popScopeId(),t),XW={class:"invoice-report"},vW={class:"section items-section"},eH={class:"flex-start"},tH=Cl(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),oH=["innerHTML"],lH={class:"flex-space"},aH={class:"invoice-item"},nH={key:0,class:"invoice-item"},sH=Cl(()=>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)),iH=Cl(()=>e.createElementVNode("td",null,"NO.",-1)),cH=["colspan"],dH=Cl(()=>e.createElementVNode("td",null,"Amounts",-1)),rH=["colspan"],mH=["colspan"],pH=[Cl(()=>e.createElementVNode("span",null,"Total in USD",-1))],hH={class:"total"},yH=["colspan"],EH=[Cl(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],_H={class:"total"},NH=["colspan"],VH={class:"total"},fH={key:1},gH=["colspan"],DH=[Cl(()=>e.createElementVNode("span",null,"Total in USD",-1))],bH={class:"total"},xH={key:0,class:"memo-block"},CH=Cl(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),SH=["innerHTML"];function kH(t,n,o,c,l,a){var m,i,p,D,f,h,V,C,r,k,S,B,A;return e.openBlock(),e.createElementBlock("div",XW,[e.createElementVNode("div",vW,[e.createElementVNode("div",eH,[tH,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(i=(m=o.report)==null?void 0:m.invoiceTitle)==null?void 0:i.name)==null?void 0:p.replace(`
|