@signalk/freeboard-sk 2.24.2 → 3.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/docs/screenshots/2_freeboard-sk.jpg +0 -0
- package/docs/screenshots/3_freeboard-sk.jpg +0 -0
- package/package.json +9 -4
- package/public/3rdpartylicenses.txt +45 -19
- package/public/assets/img/no-such-symbol.svg +4 -0
- package/public/chunk-2FVHKTB6.js +1010 -0
- package/public/chunk-3NORWTAX.js +1 -0
- package/public/chunk-4H477JJR.js +1612 -0
- package/public/chunk-55GTZWIA.js +1 -0
- package/public/chunk-7N46HDRA.js +1 -0
- package/public/chunk-F7DZSD5Z.js +1 -0
- package/public/chunk-FZ6NAONR.js +1 -0
- package/public/chunk-HALNSHCE.js +929 -0
- package/public/chunk-KYXYDUTF.js +1 -0
- package/public/chunk-MNPNP6MN.js +3871 -0
- package/public/{chunk-LXUTMJYP.js → chunk-MZFM2DTJ.js} +1 -1
- package/public/chunk-N7K5OEHJ.js +1709 -0
- package/public/chunk-NPNYOL2H.js +1 -0
- package/public/chunk-QBGO6O5L.js +1 -0
- package/public/chunk-UHBHOIXR.js +107 -0
- package/public/chunk-VHJDKR5K.js +1 -0
- package/public/chunk-Z5RYOUPW.js +2 -0
- package/public/index.html +1 -1
- package/public/main-E44BDMWA.js +466 -0
- package/public/chunk-2AF4T5IB.js +0 -1
- package/public/chunk-3GHIRJ3C.js +0 -2
- package/public/chunk-A4TULHTL.js +0 -1
- package/public/chunk-AFVK3UQJ.js +0 -5482
- package/public/chunk-AX3UMUXB.js +0 -1
- package/public/chunk-EFVTFEXB.js +0 -1
- package/public/chunk-FALIRPMH.js +0 -1035
- package/public/chunk-G4GM24WE.js +0 -1
- package/public/chunk-NTIQMWPW.js +0 -2718
- package/public/chunk-QIOZNURQ.js +0 -1
- package/public/chunk-SBFXQ3G7.js +0 -1
- package/public/main-AZEF35BN.js +0 -466
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as L,F as Xe,L as Ye,M as Je,N as Qe,da as $e,e as Le,ea as $,f as K,fa as ee,ja as et,ka as tt,la as it,n as Ze,o as He,p as Ke,q as O,s as ze,t as qe,ya as nt,z as je,za as at}from"./chunk-MNPNP6MN.js";import{a as We,h as Ve,j as ke,k as Pe}from"./chunk-4H477JJR.js";import{a as Be,d as Oe,i as Ie,j as Fe,k as Ae}from"./chunk-MZFM2DTJ.js";import{a as xe,b as Y,c as J,d as Ge,e as Q}from"./chunk-HALNSHCE.js";import"./chunk-UHBHOIXR.js";import{c as z,d as Ne,f as Re,i as q,j as Ue,n as j,o as X}from"./chunk-2FVHKTB6.js";import{Ba as B,Bd as ye,Ca as T,Da as D,Dd as Se,Fa as b,Ga as y,Ha as S,Hb as F,Ia as h,Ja as i,Ka as n,La as E,Lb as fe,Ld as Ce,Mb as A,N as W,Nd as Me,O as m,P as c,Q as x,Qd as N,R as me,Sa as V,Sd as we,Td as R,Ua as p,V as ce,Vd as U,Wa as M,X as I,Y as pe,_d as G,aa as _e,be as Z,ce as ve,eb as w,fe as be,ge as Te,ha as r,hb as ue,he as De,ie as Ee,jb as s,je as H,kb as C,lb as k,nb as _,ob as u,pa as P,pb as f,xd as he}from"./chunk-N7K5OEHJ.js";import"./chunk-EQVTEUXC.js";var _t=(l,d)=>d[0];function ut(l,d){if(l&1&&(i(0,"mat-option",8),x(),i(1,"svg",6),E(2,"line",7),n()()),l&2){let a=d.$implicit;h("value",a),r(2),B("stroke-width",a)}}function ft(l,d){if(l&1&&(i(0,"mat-option",8),x(),i(1,"svg",6),E(2,"line",9),n()()),l&2){let a=d.$implicit;h("value",a[0]),r(2),B("stroke-dasharray",a[1])}}var te=class l{color=A("#ff0000");dash=A("none");weight=A(1);_color=F(()=>this.color());_dash=F(()=>this.dash());_weight=F(()=>this.weight());selectionChange=fe();app=W(L);line={dashArrays:this.app.lineDashMap,weights:[1,2,3,4,5]};constructor(){}ngOnInit(){}onSelectChange(d){let a=this.app.formatLineDashArray(this._dash());this.selectionChange.emit({lineStyle:{fill:{color:this._color()},stroke:{color:this._color(),width:this._weight(),lineDash:a}},config:{color:this._color(),weight:this._weight(),dash:this._dash()}})}static \u0275fac=function(a){return new(a||l)};static \u0275cmp=P({type:l,selectors:[["linestyle-select"]],inputs:{color:[1,"color"],dash:[1,"dash"],weight:[1,"weight"]},outputs:{selectionChange:"selectionChange"},decls:25,vars:5,consts:[[2,"display","flex"],[2,"width","100px"],["mat-input","","matNativeControl","","type","color",3,"ngModelChange","change","ngModel"],[2,"width","110px"],[3,"ngModelChange","selectionChange","ngModel"],[2,"display","flex","align-items","center","gap","8px"],["width","48","height","10",2,"vertical-align","middle","margin-right","6px"],["x1","0","y1","5","x2","48","y2","5","stroke","currentColor","stroke-array","none"],[3,"value"],["x1","0","y1","5","x2","48","y2","5","stroke","currentColor","stroke-width","2"]],template:function(a,e){a&1&&(i(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),s(3,"Color"),n(),i(4,"input",2),f("ngModelChange",function(o){return u(e._color,o)||(e._color=o),o}),p("change",function(o){return e.onSelectChange({key:"color",value:o.srcElement.value})}),n()(),i(5,"mat-form-field",3)(6,"mat-label"),s(7,"Weight"),n(),i(8,"mat-select",4),f("ngModelChange",function(o){return u(e._weight,o)||(e._weight=o),o}),p("selectionChange",function(o){return e.onSelectChange({key:"weight",value:o.value})}),i(9,"mat-select-trigger")(10,"div",5),x(),i(11,"svg",6),E(12,"line",7),n()()(),y(13,ut,3,2,"mat-option",8,b),n()(),me(),i(15,"mat-form-field",3)(16,"mat-label"),s(17,"Style"),n(),i(18,"mat-select",4),f("ngModelChange",function(o){return u(e._dash,o)||(e._dash=o),o}),p("selectionChange",function(o){return e.onSelectChange({key:"dash",value:o.value})}),i(19,"mat-select-trigger")(20,"div",5),x(),i(21,"svg",6),E(22,"line",9),n()()(),y(23,ft,3,2,"mat-option",8,_t),n()()()),a&2&&(r(4),_("ngModel",e._color),r(4),_("ngModel",e._weight),r(4),B("stroke-width",e._weight()),r(),S(e.line.weights),r(5),_("ngModel",e._dash),r(4),B("stroke-dasharray",e.line.dashArrays.get(e._dash())),r(),S(e.line.dashArrays))},dependencies:[H,U,G,Z,R,N,K,X,j,q,z,Q,J,Ge,Y],encapsulation:2})};var yt=(l,d)=>d[0];function St(l,d){if(l&1){let a=V();i(0,"div",4)(1,"mat-radio-button",5,0),p("change",function(){m(a);let g=w(2),o=M().$implicit,t=M();return o[1].current=g.value,c(t.save(!0))}),s(3),n()()}if(l&2){let a=d.$implicit,e=M().$implicit;r(),h("name",e[0])("value",a)("checked",a===e[1].current),r(2),k(" ",a.split(".").slice(-1)," ")}}function Ct(l,d){if(l&1&&(i(0,"div",2)(1,"div",3)(2,"div"),s(3),n()(),i(4,"div"),y(5,St,4,4,"div",4,b),n()()),l&2){let a=d.$implicit;r(3),C(a[1].name),r(2),S(a[1].available)}}var ie=class l{title="";chosen=new ce;pathChoices={tws:{name:"True Wind Speed",choices:["environment.wind.speedTrue","environment.wind.speedOverGround"],available:[],current:""},twd:{name:"True Wind Direction",choices:["environment.wind.directionTrue","environment.wind.directionMagnetic","environment.wind.angleTrueGround","environment.wind.angleTrueWater"],available:[],current:""},heading:{name:"Heading / COG",choices:["navigation.courseOverGroundTrue","navigation.courseOverGroundMagnetic","navigation.headingTrue","navigation.headingMagnetic"],available:[],current:""}};pathChoicesArray=Object.entries(this.pathChoices);availPaths;app=W(L);constructor(){}ngOnInit(){this.initEntries()}initEntries(){this.availPaths=new Map(Object.entries(this.app.data.vessels.prefAvailablePaths)),this.pathChoices.tws.current=this.app.config.units.preferredPaths.tws,this.pathChoices.twd.current=this.app.config.units.preferredPaths.twd,this.pathChoices.heading.current=this.app.config.units.preferredPaths.heading,Object.entries(this.pathChoices).forEach(a=>{let e=a[1];e.choices.forEach(g=>{this.availPaths.has(g)&&e.available.push(g)}),e.available.length===0&&e.available.push(e.choices[0])})}save(d){let a={};Object.entries(this.pathChoices).forEach(e=>{a[e[0]]=e[1].current}),this.chosen.emit({save:d,value:a})}static \u0275fac=function(a){return new(a||l)};static \u0275cmp=P({type:l,selectors:[["signalk-preferred-paths"]],inputs:{title:"title"},outputs:{chosen:"chosen"},decls:6,vars:1,consts:[["pathopt",""],[2,"font-size","10pt"],[1,"sk-details"],[1,"title"],[2,"margin","5px 0 5px 0"],[3,"change","name","value","checked"]],template:function(a,e){a&1&&(i(0,"fieldset")(1,"legend",1),s(2),n(),i(3,"div"),y(4,Ct,7,1,"div",2,yt),n()()),a&2&&(r(2),C(e.title),r(2),S(e.pathChoicesArray))},dependencies:[ee,$],styles:[".sk-details[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;font-family:Roboto,Arial,Helvetica,sans-serif;font-size:10pt;max-height:100%;width:60vw;max-width:300px}.sk-details[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{background:left 1px -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.18)),color-stop(.65,transparent)) #b2bbc2e3;padding:3px 5px 0;margin-top:3px;font-weight:500;line-height:23px;color:#000}.sk-details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:0;line-height:23px;margin:0;flex:1 1 auto;overflow:auto}.sk-details[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{display:flex;flex-direction:row;line-height:26px;border-width:0 0 0 0;border-style:solid;border-color:gray;padding-left:5px}.sk-details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{border-width:0 0 1px 0}.sk-details[_ngcontent-%COMP%] .sectionname[_ngcontent-%COMP%]{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;font-weight:500}.sk-details[_ngcontent-%COMP%] .pathvalue[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;width:100%;background-color:#fff}.sk-details[_ngcontent-%COMP%] .pathvalue[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:italic}.sk-details[_ngcontent-%COMP%] .pathvalue[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0})};var v=(l,d)=>d[0],Mt=(l,d)=>d.id;function wt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function vt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function bt(l,d){if(l&1&&(i(0,"mat-option",116),s(1),n()),l&2){let a=d.$implicit;h("value",a.url)("matTooltip",a.description),r(),k(" ",a.name," ")}}function Tt(l,d){if(l&1){let a=V();i(0,"div",43)(1,"div",35)(2,"mat-form-field",36)(3,"mat-label"),s(4,"Select Instruments App"),n(),i(5,"mat-select",58),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.display.plugins.instruments,g)||(o.facade.settings.display.plugins.instruments=g),c(g)}),p("selectionChange",function(){m(a);let g=M();return c(g.onInstrumentApp())}),y(6,bt,2,3,"mat-option",116,b),n()()(),i(8,"div",35)(9,"mat-form-field",49)(10,"mat-label"),s(11,"Parameters"),n(),i(12,"input",117,18),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.display.plugins.parameters,g)||(o.facade.settings.display.plugins.parameters=g),c(g)}),p("change",function(){m(a);let g=M();return c(g.persistModel("pluginParameters"))}),n()()(),i(14,"div",35)(15,"mat-checkbox",118),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.display.plugins.startOnOpen,g)||(o.facade.settings.display.plugins.startOnOpen=g),c(g)}),p("change",function(){m(a);let g=M();return c(g.persistModel("pluginStartOnOpen"))}),s(16," Halt App on hide "),n()(),i(17,"div",35)(18,"button",119),p("click",function(){m(a);let g=M();return c(g.toggleFavourites())}),i(19,"mat-icon"),s(20,"star"),n(),s(21," FAVOURITES "),n()()()}if(l&2){let a=M();r(5),_("ngModel",a.facade.settings.display.plugins.instruments),r(),S(a.facade.applicationList),r(6),h("disabled",a.facade.settings.display.plugins.instruments===null),_("ngModel",a.facade.settings.display.plugins.parameters),r(3),_("ngModel",a.facade.settings.display.plugins.startOnOpen)}}function Dt(l,d){if(l&1&&(i(0,"mat-list-option",121),s(1),n()),l&2){let a=d.$implicit,e=M(2);h("disabled",a.url==e.facade.settings.display.plugins.instruments)("selected",e.facade.settings.display.plugins.favourites.includes(a.url))("value",a.url),r(),k(" ",a.name," ")}}function Et(l,d){if(l&1){let a=V();i(0,"div",34)(1,"div",35)(2,"div",98),E(3,"br"),s(4,"Select Favourite Apps: "),n(),E(5,"mat-divider"),i(6,"mat-selection-list",120,19),p("selectionChange",function(g){m(a);let o=w(7),t=M();return c(t.onFavSelected(g,o))}),y(8,Dt,2,4,"mat-list-option",121,b),n()()()}if(l&2){let a=M();r(8),S(a.facade.favouritesList)}}function Wt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Vt(l,d){l&1&&(i(0,"mat-error"),s(1,"Please enter a number >= 0"),n())}function kt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Pt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Lt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function xt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Bt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Ot(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function It(l,d){if(l&1){let a=V();i(0,"div",35)(1,"mat-form-field",36)(2,"mat-label"),s(3,"Position display format"),n(),i(4,"mat-select",122),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.units.positionFormat,g)||(o.facade.settings.units.positionFormat=g),c(g)}),p("selectionChange",function(){m(a);let g=M();return c(g.persistModel())}),y(5,Ot,2,2,"mat-option",38,b),n()()()}if(l&2){let a=M();r(4),_("ngModel",a.facade.settings.units.positionFormat),r(),S(a.options.preferredValues.coords)}}function Ft(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function At(l,d){if(l&1){let a=V();i(0,"div",35)(1,"mat-form-field",36)(2,"mat-label"),s(3,"Prefer True / Magnetic values"),n(),i(4,"mat-select",123),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.units.headingAttribute,g)||(o.facade.settings.units.headingAttribute=g),c(g)}),p("selectionChange",function(){m(a);let g=M();return c(g.persistModel("headingAttribute"))}),y(5,Ft,2,2,"mat-option",38,b),n()()()}if(l&2){let a=M();r(4),_("ngModel",a.facade.settings.units.headingAttribute),r(),S(a.options.preferredValues.heading)}}function Nt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function Rt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Ut(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Gt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Zt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Ht(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function Kt(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a positive number "),n())}function zt(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a positive number "),n())}function qt(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a positive number "),n())}function jt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Xt(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a number > 0 "),n())}function Yt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function Jt(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Qt(l,d){if(l&1&&(i(0,"mat-radio-button",38),E(1,"img",124),s(2),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),ue(`transform: scale(${a[0]})`),r(),k(" (",a[1],") ")}}function $t(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a value between -90 and 90 (max 9 decimals) "),n())}function ei(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a value between -180 and 180 (max 9 decimals) "),n())}function ti(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function ii(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function ni(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function ai(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function oi(l,d){l&1&&(i(0,"mat-error"),s(1," Please enter a number >= 1. "),n())}function ri(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function si(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function li(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function di(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function gi(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function mi(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function ci(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function pi(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function _i(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function ui(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a),r(),C(a)}}function fi(l,d){if(l&1){let a=V();i(0,"button",125),p("click",function(){m(a),M();let g=w(516);return c(g.value="")}),i(1,"mat-icon"),s(2,"close"),n()()}}function hi(l,d){if(l&1&&(i(0,"mat-list-option",100),s(1),n()),l&2){let a=d.$implicit,e=M();h("selected",e.facade.settings.resources.paths.includes(a))("value",a),r(),k(" ",a," ")}}function yi(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a.id),r(),C(a.name)}}function Si(l,d){if(l&1){let a=V();i(0,"mat-tab",101)(1,"div",29)(2,"div",30)(3,"div",113)(4,"div",32),s(5,"RADAR SETTINGS"),n(),i(6,"mat-card",33)(7,"div",43)(8,"div",35)(9,"mat-form-field",126)(10,"mat-label"),s(11,"Radar Devices"),n(),i(12,"mat-select",127,20),f("ngModelChange",function(g){m(a);let o=M();return u(o.facade.settings.radars.deviceId,g)||(o.facade.settings.radars.deviceId=g),c(g)}),p("selectionChange",function(){m(a);let g=M();return c(g.doRadar())}),y(14,yi,2,2,"mat-option",38,Mt),n()()(),i(16,"div",35)(17,"button",128),p("click",function(){m(a);let g=M();return c(g.refreshRadars())}),i(18,"mat-icon"),s(19," refresh"),n(),s(20," REFRESH "),n()()()()()()()()}if(l&2){let a=M();r(12),h("disabled",!a.radarList().length||a.app.uiCtrl().radarLayer),_("ngModel",a.facade.settings.radars.deviceId),r(2),S(a.radarList())}}function Ci(l,d){if(l&1&&(i(0,"mat-option",38),s(1),n()),l&2){let a=d.$implicit;h("value",a[0]),r(),C(a[1])}}function Mi(l,d){l&1&&(i(0,"mat-error"),s(1," Value required. "),n())}var st=class l{show={favourites:I(!1)};options;aisStateFilter={moored:!1,anchored:!1};formattedNumberModel={rangeCirclesDistance:1e3};unitsChangedSignal=I(0);radarList=I([]);saveOnClose=!1;facade=W(at);myElement=W(_e);dialogRef=W(he);wakeLock=W(Ke);s57=W(ze);app=W(L);radarApi=W(je);constructor(){this.options=new nt,pe(()=>{this.unitsChangedSignal(),this.formatNumberModel()})}ngOnInit(){this.facade.refresh(),this.facade.settings.selections.aisState.forEach(d=>{d in this.aisStateFilter&&(this.aisStateFilter[d]=!0)}),this.refreshRadars()}refreshRadars(){this.radarApi.listRadars().then(d=>{this.radarList.set(d)}).catch(()=>{this.radarList.set([])})}formatNumberModel(){this.formattedNumberModel={rangeCirclesDistance:this.facade.settings.units.distance==="kilometer"?Math.floor(this.facade.settings.vessels.rangeCirclesDistance/1e3):Math.floor(O.transform(this.facade.settings.vessels.rangeCirclesDistance,"m","naut-mile"))}}raiseChange(){this.app.alignUnitPrefs(this.app.serverConfig.unitPreferences()),this.unitsChangedSignal.update(d=>d+1)}handleClose(){this.saveOnClose&&this.persistModel(),this.dialogRef.close()}doWakelock(d){this.persistModel(),d?this.wakeLock.disable():this.wakeLock.enable()}doS57(d){this.facade.settings.map.s57Options.depthUnit=this.facade.settings.units.depth,d?this.parseNumber(d):this.persistModel(),this.s57.setOptions(this.facade.settings.map.s57Options)}doRadar(){this.radarApi.init(this.facade.settings.radars.deviceId).then(d=>{d&&this.persistModel()})}onLineStyle(d,a){let e=this.facade.settings.vessels.selfLines[d];e&&(e.color=a.config.color,e.dash=a.config.dash,e.weight=a.config.weight,this.app.selfLines.update(g=>{let o=Object.assign({},g);return o[d]=a.lineStyle,o}),this.persistModel())}toggleFavourites(){this.show.favourites.update(d=>!d)}parseNumber(d,a){if(typeof d.model!="number"){d.reset(this.fallbackToDefault());return}!a&&d.model<0&&d.reset(Math.abs(d.model)),this.persistModel()}parseFormattedNumber(d,a){typeof d.model=="number"&&(!a&&d.model<0&&d.reset(Math.abs(d.model)),this.facade.settings.vessels.rangeCirclesDistance=this.facade.settings.units.distance==="kilometer"?Math.floor(this.formattedNumberModel.rangeCirclesDistance*1e3):Math.floor(O.nauticalMilesToKm(this.formattedNumberModel.rangeCirclesDistance)*1e3),this.persistModel())}fallbackToDefault(){let d=qe();if(typeof this.facade.settings.display.statusBar.referenceSpeed!="number")return d.display.statusBar.referenceSpeed;if(typeof this.facade.settings.map.s57Options.shallowDepth!="number")return d.map.s57Options.shallowDepth;if(typeof this.facade.settings.map.s57Options.safetyDepth!="number")return d.map.s57Options.safetyDepth;if(typeof this.facade.settings.map.s57Options.deepDepth!="number")return d.map.s57Options.deepDepth;if(typeof this.facade.fixedPosition[0]!="number"||typeof this.facade.fixedPosition[1]!="number")return 0;if(typeof this.facade.settings.course.arrivalCircle!="number")return d.course.arrivalCircle}persistModel(d){this.facade.applySettings(),this.facade.emitChangeEvent(d)}get speedUnitSymbol(){return O.getSymbol(this.facade.settings.units.speed)}deferPersist(d){this.saveOnClose=!0,this.facade.emitChangeEvent(d)}onInstrumentApp(){this.persistModel("pluginInstruments"),this.facade.buildFavouritesList()}onPreferredPaths(d){d.save&&(this.facade.settings.units.preferredPaths=d.value,this.persistModel())}onFavSelected(d,a){this.facade.settings.display.plugins.favourites=a.selectedOptions.selected.map(e=>e.value),this.persistModel()}onAisStateFilter(){let d=[];for(let a in this.aisStateFilter)this.aisStateFilter[a]&&d.push(a);this.facade.settings.selections.aisState=[].concat(d),this.persistModel()}onResPathSelected(d){this.facade.settings.resources.paths=d.selectedOptions.selected.map(a=>a.value),this.facade.settings.resources.paths.forEach(a=>{a in this.facade.settings.selections.resourceSets||(this.facade.settings.selections.resourceSets[a]=[])}),this.persistModel()}clearAuthToken(){this.facade.clearToken()}renderSymbol(d){return O.getSymbol(d)}static \u0275fac=function(a){return new(a||l)};static \u0275cmp=P({type:l,selectors:[["settings-dialog"]],decls:611,vars:126,consts:[["refspeed","ngModel"],["serverprefs",""],["distunits",""],["s57shallowDepth","ngModel"],["s57safetyDepth","ngModel"],["s57deepDepth","ngModel"],["coursearrivalcircle","ngModel"],["courseautoadvance",""],["courseautoadvanceon",""],["vesselfixedlocationmode",""],["fixedlat","ngModel"],["fixedlon","ngModel"],["rangeCirclesDistance","ngModel"],["notesrootfilter",""],["respath",""],["skmaxradius",""],["videourl","ngModel"],["experiments",""],["instparams","ngModel"],["favs",""],["radarlist",""],[2,"background-color","transparent"],[1,"dialog-icon"],[2,"flex","1 1 auto","text-align","center"],[2,"text-align","right"],["mat-icon-button","",3,"click"],["mat-dialog-content","",2,"display","flex"],["dynamicHeight","false","mat-stretch-tabs","false","mat-align-tabs","start"],["label","Display"],[1,"theme-page","settings"],[1,"theme-panel"],["id","sectDisplay",1,"setting-group"],[1,"setting-group-title"],[1,"setting-card"],[1,"setting-card-row",2,"padding-bottom","10px"],[1,"setting-card-row-item"],[2,"width","100%"],["matTooltip","Dark Mode setting.",3,"ngModelChange","selectionChange","ngModel"],[3,"value"],["label","after","matTooltip","Auto-set using environment.mode value.",3,"ngModelChange","change","ngModel"],["matTooltip","Action button selection.",3,"ngModelChange","selectionChange","ngModel"],["label","after","matTooltip","Disable wake lock.",3,"ngModelChange","change","disabled","ngModel"],["label","after","matTooltip","Un-check to prefer dialogs over the information panel",3,"ngModelChange","change","ngModel"],[1,"setting-card-row"],["matTooltip","Do not play sounds","label","after",3,"ngModelChange","change","ngModel"],["label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Period of time out of alarm state before re-triggering.",3,"ngModelChange","selectionChange","ngModel","disabled"],[1,"setting-group"],["label","after","matTooltip","Show the bearing, distance and ETA from the vessel to the cursor in the status bar (mouse only).",3,"ngModelChange","change","ngModel"],["floatLabel","always",2,"width","100%"],["matInput","","type","number","min","0","matTooltip","Boat speed used to estimate ETA when SOG is unavailable (e.g. at anchor or hove to).",3,"ngModelChange","change","disabled","ngModel"],["label","Units"],["id","sectUnits",1,"setting-group"],["label","after","matTooltip","Use the unit preferences configured on the server.",3,"ngModelChange","change","disabled","ngModel"],[3,"ngModelChange","selectionChange","disabled","ngModel"],["title","Preferred Paths",3,"chosen"],["label","Map"],["id","sectMap",1,"setting-group"],[3,"ngModelChange","selectionChange","ngModel"],["matTooltip","Add close button to popovers","label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Double Click map to zoom","label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Keep tiles visible when zooming past chart maxZoom","label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Do not exit follow vessel when map is panned.","label","after",3,"ngModelChange","change","ngModel"],["placeholder","Graphicsstyle",3,"ngModelChange","selectionChange","ngModel"],["placeholder","Boundaries",3,"ngModelChange","selectionChange","ngModel"],["placeholder","Color Table",3,"ngModelChange","selectionChange","ngModel"],["placeholder","Colors",3,"ngModelChange","selectionChange","ngModel"],["matInput","","type","number","required","","min","0",3,"ngModelChange","change","ngModel"],["matSuffix",""],["multiple","","placeholder","Layers",3,"ngModelChange","selectionChange","ngModel"],["label","Course"],["id","sectCourse",1,"setting-group"],["matTooltip","Select the trigger for advancing to next point.",3,"ngModelChange","selectionChange","disabled","ngModel"],["matTooltip","Period of time before destination is advanced to next waypoint.",3,"ngModelChange","selectionChange","disabled","ngModel"],["label","Vessels"],["id","sectVessels",1,"setting-group"],[3,"ngModelChange","change","ngModel"],["label","after","matTooltip","e.g. Building, Camp, etc.",3,"ngModelChange","change","ngModel"],["floatLabel","always"],["matInput","","type","number","required","","pattern","^-?([1-8]?[0-9])(\\.\\d{1,9})?$","min","-90","max","90",3,"ngModelChange","change","ngModel","disabled"],["matInput","","type","number","required","","pattern","^-?(1[0-7]?[0-9]|[1-9]?[0-9])(\\.\\d{1,9})?$","min","-180","max","180",3,"ngModelChange","change","ngModel","disabled"],["matTooltip","Length of heading line.",3,"ngModelChange","selectionChange","ngModel"],[3,"selectionChange","color","dash","weight"],["matTooltip","Length of COG line.",3,"ngModelChange","selectionChange","ngModel"],[3,"ngModelChange","selectionChange","ngModel","disabled"],["label","after",3,"ngModelChange","change","ngModel","disabled"],["matInput","","type","number","required","","min","1",3,"ngModelChange","change","ngModel","disabled"],["matTooltip","Select to source trail data from the server","label","after",3,"ngModelChange","change","disabled","ngModel"],["discrete","","tickInterval","1","min","1","max","96",3,"disabled"],["matSliderThumb","",3,"ngModelChange","valueChange","ngModel"],["label","Resources"],["id","sectNotes",1,"setting-group"],[3,"valueChange","selectionChange","disabled","value"],["matInput","","type","text","placeholder","?radius=%note:radius%","matTooltip","Filter to apply when retrieving notes",3,"ngModelChange","change","ngModel"],["matSuffix","","mat-icon-button",""],["matTooltip","Allow group name editing.","label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Require position information when adding notes to a group.","label","after",3,"ngModelChange","change","ngModel"],["id","sectResLayers",1,"setting-group"],[2,"font-style","italic"],["matTooltip","Select resource layers to show.",3,"selectionChange"],[3,"selected","value"],["label","Radar"],["label","Signal K"],["id","sectSKConnection",1,"setting-group"],[2,"font-size","smaller"],["matToolTip","Check to receive other vessel data","label","after",3,"ngModelChange","change","ngModel"],["matToolTip","Check to receive AtoN data","matTooltipPosition","below","label","after",3,"ngModelChange","change","ngModel"],["matTooltip","Check to receive aircraft data","matTooltipPosition","below","label","after",3,"ngModelChange","change","ngModel"],["matToolTip","Check to receive SaR data","matTooltipPosition","below","label","after",3,"ngModelChange","change","ngModel"],["matToolTip","Check to receive Weather / Meteo data","matTooltipPosition","below","label","after",3,"ngModelChange","change","ngModel"],["matToolTip","Only include AIS targets within this distance","matTooltipPosition","below",3,"ngModelChange","selectionChange","ngModel"],["mat-icon-button","","matTooltip","Clear Auth Token",3,"click"],["label","Experiments"],["id","sectExperiments",1,"setting-group"],["matInput","","type","text","required","","placeholder","Video stream URL","matTooltip","Enter URL of video stream",3,"ngModelChange","change","disabled","ngModel"],["matTooltip","Enable ALL experimental Features","label","after",3,"ngModelChange","change","ngModel"],["matTooltipPosition","right",3,"value","matTooltip"],["matInput","","type","text","placeholder","e.g. ?layout=mylayout","matTooltip","Enter parameters to pass to Instrument App",3,"ngModelChange","change","disabled","ngModel"],["matTooltip","Stop instrument app when hidden","label","after",3,"ngModelChange","change","ngModel"],["mat-raised-button","","matTooltip","Favourite Apps","label","after",3,"click"],[3,"selectionChange"],[3,"disabled","selected","value"],["matTooltip","Display position in this format",3,"ngModelChange","selectionChange","ngModel"],["matTooltip","Preferred value type for paths not in Preferred Paths above",3,"ngModelChange","selectionChange","ngModel"],["src","./assets/img/vessels/self.png"],["matSuffix","","mat-icon-button","",3,"click"],[2,"width","stretch"],["matToolTip","Select radar device","matTooltipPosition","below",3,"ngModelChange","selectionChange","disabled","ngModel"],["mat-raised-button","",3,"click"]],template:function(a,e){if(a&1){let g=V();i(0,"mat-toolbar",21)(1,"span",22)(2,"mat-icon"),s(3,"settings"),n()(),i(4,"span",23),s(5,"Settings"),n(),i(6,"span",24)(7,"button",25),p("click",function(){return e.handleClose()}),i(8,"mat-icon"),s(9,"close"),n()()()(),i(10,"div",26)(11,"mat-tab-group",27)(12,"mat-tab",28)(13,"div",29)(14,"div",30)(15,"div",31)(16,"div",32),s(17,"DISPLAY"),n(),i(18,"mat-card",33)(19,"mat-card-content")(20,"div",34)(21,"div",35)(22,"mat-form-field",36)(23,"mat-label"),s(24,"Dark Mode setting"),n(),i(25,"mat-select",37),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.darkMode.source,t)||(e.facade.settings.display.darkMode.source=t),c(t)}),p("selectionChange",function(){return e.persistModel("darkTheme")}),y(26,wt,2,2,"mat-option",38,v),n()()(),i(28,"div",35)(29,"mat-checkbox",39),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.nightMode,t)||(e.facade.settings.display.nightMode=t),c(t)}),p("change",function(){return e.persistModel()}),s(30," Auto-set Night Mode "),n()(),i(31,"div",35)(32,"mat-form-field",36)(33,"mat-label"),s(34,"Action Button"),n(),i(35,"mat-select",40),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.fab,t)||(e.facade.settings.display.fab=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(36,vt,2,2,"mat-option",38,v),n()()(),i(38,"div",35)(39,"mat-checkbox",41),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.disableWakelock,t)||(e.facade.settings.display.disableWakelock=t),c(t)}),p("change",function(t){return e.doWakelock(t.checked)}),s(40," Allow Device to Sleep "),n()(),i(41,"div",35)(42,"mat-checkbox",42),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.preferInfoPanel,t)||(e.facade.settings.display.preferInfoPanel=t),c(t)}),p("change",function(){return e.persistModel()}),s(43," Prefer Info-Panel "),n()()()()(),E(44,"br"),i(45,"mat-card",33)(46,"mat-card-content"),T(47,Tt,22,4,"div",43),T(48,Et,10,0,"div",34),n()(),E(49,"br"),n(),i(50,"div",31)(51,"div",32),s(52,"SOUND"),n(),i(53,"mat-card",33)(54,"mat-card-content")(55,"div",34)(56,"div",35)(57,"mat-checkbox",44),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.muteSound,t)||(e.facade.settings.display.muteSound=t),c(t)}),p("change",function(){return e.persistModel()}),s(58," Do not Play Sounds "),n()(),i(59,"div",35)(60,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.depthAlarm.enabled,t)||(e.facade.settings.display.depthAlarm.enabled=t),c(t)}),p("change",function(){return e.persistModel()}),s(61," Show DEPTH Alarms "),n()(),i(62,"div",35)(63,"mat-form-field",36)(64,"mat-label"),s(65,"Alarm Smoothing Time"),n(),i(66,"mat-select",46),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.depthAlarm.smoothing,t)||(e.facade.settings.display.depthAlarm.smoothing=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(67,Wt,2,2,"mat-option",38,v),n()()()()()()(),i(69,"div",47)(70,"div",32),s(71,"STATUS BAR OPTIONS"),n(),i(72,"mat-card",33)(73,"mat-card-content")(74,"div",34)(75,"div",35)(76,"mat-checkbox",48),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.statusBar.liveEta,t)||(e.facade.settings.display.statusBar.liveEta=t),c(t)}),p("change",function(){return e.persistModel()}),s(77," Live ETA at cursor "),n()(),i(78,"div",35)(79,"mat-form-field",49)(80,"mat-label"),s(81),n(),i(82,"input",50,0),f("ngModelChange",function(t){return m(g),u(e.facade.settings.display.statusBar.referenceSpeed,t)||(e.facade.settings.display.statusBar.referenceSpeed=t),c(t)}),p("change",function(){m(g);let t=w(83);return c(e.parseNumber(t))}),n(),T(84,Vt,2,0,"mat-error"),n()()()()()()()()(),i(85,"mat-tab",51)(86,"div",29)(87,"div",30)(88,"div",52)(89,"div",32),s(90,"UNITS & VALUES"),n(),i(91,"mat-card",33)(92,"mat-card-content")(93,"div",34)(94,"div",35)(95,"fieldset")(96,"legend")(97,"mat-checkbox",53,1),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.useServerPrefs,t)||(e.facade.settings.units.useServerPrefs=t),c(t)}),p("change",function(){return m(g),e.raiseChange(),c(e.persistModel())}),s(99," Use Server Unit Preferences "),n()(),i(100,"div",34)(101,"div",35)(102,"mat-form-field",36)(103,"mat-label"),s(104,"Distance units"),n(),i(105,"mat-select",54,2),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.distance,t)||(e.facade.settings.units.distance=t),c(t)}),p("selectionChange",function(){return m(g),e.raiseChange(),c(e.persistModel())}),y(107,kt,2,2,"mat-option",38,v),n()()(),i(109,"div",35)(110,"mat-form-field",36)(111,"mat-label"),s(112,"Depth units"),n(),i(113,"mat-select",54),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.depth,t)||(e.facade.settings.units.depth=t),c(t)}),p("selectionChange",function(){return m(g),e.raiseChange(),c(e.doS57())}),y(114,Pt,2,2,"mat-option",38,v),n()()(),i(116,"div",35)(117,"mat-form-field",36)(118,"mat-label"),s(119,"Length units"),n(),i(120,"mat-select",54),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.length,t)||(e.facade.settings.units.length=t),c(t)}),p("selectionChange",function(){return m(g),e.raiseChange(),c(e.persistModel())}),y(121,Lt,2,2,"mat-option",38,v),n()()(),i(123,"div",35)(124,"mat-form-field",36)(125,"mat-label"),s(126,"Temperature units"),n(),i(127,"mat-select",54),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.temperature,t)||(e.facade.settings.units.temperature=t),c(t)}),p("selectionChange",function(){return m(g),e.raiseChange(),c(e.persistModel())}),y(128,xt,2,2,"mat-option",38,v),n()()(),i(130,"div",35)(131,"mat-form-field",36)(132,"mat-label"),s(133,"Speed units"),n(),i(134,"mat-select",54),f("ngModelChange",function(t){return m(g),u(e.facade.settings.units.speed,t)||(e.facade.settings.units.speed=t),c(t)}),p("selectionChange",function(){return m(g),e.raiseChange(),c(e.persistModel())}),y(135,Bt,2,2,"mat-option",38,v),n()()()()()()(),i(137,"div",34),T(138,It,7,1,"div",35),T(139,At,7,1,"div",35),i(140,"div",35)(141,"signalk-preferred-paths",55),p("chosen",function(t){return e.onPreferredPaths(t)}),n()()()()()()()()(),i(142,"mat-tab",56)(143,"div",29)(144,"div",30)(145,"div",57)(146,"div",32),s(147,"MAP"),n(),i(148,"mat-card")(149,"mat-card-content")(150,"div",34)(151,"div",35)(152,"mat-form-field",36)(153,"mat-label"),s(154,"Feature label zoom level"),n(),i(155,"mat-select",58),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.labelsMinZoom,t)||(e.facade.settings.map.labelsMinZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(156,Nt,2,2,"mat-option",38,b),n()()(),i(158,"div",35)(159,"mat-form-field",36)(160,"mat-label"),s(161,"Offset Vessel Center"),n(),i(162,"mat-select",58),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.centerOffset,t)||(e.facade.settings.map.centerOffset=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(163,Rt,2,2,"mat-option",38,v),n()()(),i(165,"div",35)(166,"mat-checkbox",59),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.popoverMulti,t)||(e.facade.settings.map.popoverMulti=t),c(t)}),p("change",function(){return e.persistModel()}),s(167," Popovers close with button "),n()(),i(168,"div",35)(169,"mat-checkbox",60),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.doubleClickZoom,t)||(e.facade.settings.map.doubleClickZoom=t),c(t)}),p("change",function(){return e.persistModel()}),s(170," Double click to Zoom "),n()(),i(171,"div",35)(172,"mat-checkbox",61),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.overZoomTiles,t)||(e.facade.settings.map.overZoomTiles=t),c(t)}),p("change",function(){return e.persistModel()}),s(173," Keep tiles visible on max zoom "),n()(),i(174,"div",35)(175,"mat-checkbox",62),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.lockMoveMap,t)||(e.facade.settings.map.lockMoveMap=t),c(t)}),p("change",function(){return e.persistModel()}),s(176," Lock Follow Vessel "),n()()()()(),i(177,"div",32),s(178,"VECTOR CHARTS"),n(),i(179,"mat-card")(180,"mat-card-content")(181,"div",34)(182,"div",35)(183,"mat-form-field",36)(184,"mat-label"),s(185,"Graphics Style"),n(),i(186,"mat-select",63),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.graphicsStyle,t)||(e.facade.settings.map.s57Options.graphicsStyle=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(187,Ut,2,2,"mat-option",38,v),n()()(),i(189,"div",35)(190,"mat-form-field",36)(191,"mat-label"),s(192,"Boundaries"),n(),i(193,"mat-select",64),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.boundaries,t)||(e.facade.settings.map.s57Options.boundaries=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(194,Gt,2,2,"mat-option",38,v),n()()(),i(196,"div",35)(197,"mat-form-field",36)(198,"mat-label"),s(199,"Color Table (Requires refresh)"),n(),i(200,"mat-select",65),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.colorTable,t)||(e.facade.settings.map.s57Options.colorTable=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(201,Zt,2,2,"mat-option",38,v),n()()(),i(203,"div",35)(204,"mat-form-field",36)(205,"mat-label"),s(206,"Colors"),n(),i(207,"mat-select",66),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.colors,t)||(e.facade.settings.map.s57Options.colors=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(208,Ht,2,2,"mat-option",38,b),n()()()(),i(210,"div",34)(211,"div",35)(212,"mat-form-field",36)(213,"mat-label"),s(214,"Shallow depth"),n(),i(215,"input",67,3),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.shallowDepth,t)||(e.facade.settings.map.s57Options.shallowDepth=t),c(t)}),p("change",function(){m(g);let t=w(216);return c(e.doS57(t))}),n(),T(217,Kt,2,0,"mat-error"),i(218,"span",68),s(219,"m"),n()()(),i(220,"div",35)(221,"mat-form-field",36)(222,"mat-label"),s(223,"Safety depth"),n(),i(224,"input",67,4),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.safetyDepth,t)||(e.facade.settings.map.s57Options.safetyDepth=t),c(t)}),p("change",function(){m(g);let t=w(225);return c(e.doS57(t))}),n(),T(226,zt,2,0,"mat-error"),i(227,"span",68),s(228,"m"),n()()(),i(229,"div",35)(230,"mat-form-field",36)(231,"mat-label"),s(232,"Deep depth"),n(),i(233,"input",67,5),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.deepDepth,t)||(e.facade.settings.map.s57Options.deepDepth=t),c(t)}),p("change",function(){m(g);let t=w(234);return c(e.doS57(t))}),n(),T(235,qt,2,0,"mat-error"),i(236,"span",68),s(237,"m"),n()()(),i(238,"div",35)(239,"mat-form-field",36)(240,"mat-label"),s(241,"Layers"),n(),i(242,"mat-select",69),f("ngModelChange",function(t){return m(g),u(e.facade.settings.map.s57Options.otherLayers,t)||(e.facade.settings.map.s57Options.otherLayers=t),c(t)}),p("selectionChange",function(){return e.doS57()}),y(243,jt,2,2,"mat-option",38,v),n()()()()()()()()()(),i(245,"mat-tab",70)(246,"div",29)(247,"div",30)(248,"div",71)(249,"div",32),s(250,"COURSE"),n(),i(251,"mat-card",33)(252,"mat-card-content")(253,"div",34)(254,"div",35)(255,"mat-form-field",36)(256,"mat-label"),s(257,"Arrival Circle"),n(),i(258,"input",67,6),f("ngModelChange",function(t){return m(g),u(e.facade.settings.course.arrivalCircle,t)||(e.facade.settings.course.arrivalCircle=t),c(t)}),p("change",function(){m(g);let t=w(259);return c(e.parseNumber(t))}),n(),T(260,Xt,2,0,"mat-error"),i(261,"span",68),s(262,"m"),n()()()(),i(263,"div",34)(264,"div",35)(265,"mat-checkbox",45,7),f("ngModelChange",function(t){return m(g),u(e.facade.settings.course.autoNextPointOnArrival,t)||(e.facade.settings.course.autoNextPointOnArrival=t),c(t)}),p("change",function(){return e.persistModel()}),s(267," Auto-advance to next point on arrival "),n()()(),i(268,"div",34)(269,"div",35)(270,"mat-form-field",36)(271,"mat-label"),s(272,"Notification type to use"),n(),i(273,"mat-select",72,8),f("ngModelChange",function(t){return m(g),u(e.facade.settings.course.autoNextPointTrigger,t)||(e.facade.settings.course.autoNextPointTrigger=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(275,Yt,2,2,"mat-option",38,b),n()()(),i(277,"div",35)(278,"mat-form-field",36)(279,"mat-label"),s(280,"Time to wait before advancing"),n(),i(281,"mat-select",73),f("ngModelChange",function(t){return m(g),u(e.facade.settings.course.autoNextPointDelay,t)||(e.facade.settings.course.autoNextPointDelay=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(282,Jt,2,2,"mat-option",38,v),n()()()()()()()()()(),i(284,"mat-tab",74)(285,"div",29)(286,"div",30)(287,"div",75)(288,"div",32),s(289,"VESSEL"),n(),i(290,"mat-card",33)(291,"mat-card-content")(292,"div",34)(293,"div",35)(294,"fieldset")(295,"legend"),s(296,"Vessel Icon Size"),n(),i(297,"div",34)(298,"div",35)(299,"mat-radio-group",76),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.iconScale,t)||(e.facade.settings.vessels.iconScale=t),c(t)}),p("change",function(){return e.persistModel()}),y(300,Qt,3,4,"mat-radio-button",38,v),n()()()()()(),i(302,"div",35)(303,"fieldset")(304,"legend")(305,"mat-checkbox",77,9),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.fixedLocationMode,t)||(e.facade.settings.vessels.fixedLocationMode=t),c(t)}),p("change",function(){return e.persistModel()}),s(307," Fixed Location Mode "),n()(),i(308,"div",34)(309,"div",35)(310,"mat-form-field",78)(311,"mat-label"),s(312,"Latitude"),n(),i(313,"input",79,10),f("ngModelChange",function(t){return m(g),u(e.facade.fixedPosition[1],t)||(e.facade.fixedPosition[1]=t),c(t)}),p("change",function(){m(g);let t=w(314);return c(e.parseNumber(t,!0))}),n(),T(315,$t,2,0,"mat-error"),n(),i(316,"mat-form-field",78)(317,"mat-label"),s(318,"Longitude"),n(),i(319,"input",80,11),f("ngModelChange",function(t){return m(g),u(e.facade.fixedPosition[0],t)||(e.facade.fixedPosition[0]=t),c(t)}),p("change",function(){m(g);let t=w(320);return c(e.parseNumber(t,!0))}),n(),T(321,ei,2,0,"mat-error"),n()()()()()()(),E(322,"br"),i(323,"mat-card",33)(324,"mat-card-content")(325,"div",35)(326,"fieldset")(327,"legend"),s(328,"Vessel Lines:"),n(),i(329,"div",34)(330,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.windVectors,t)||(e.facade.settings.vessels.windVectors=t),c(t)}),p("change",function(){return e.persistModel()}),s(331," Display Wind Vectors "),n(),i(332,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.laylines,t)||(e.facade.settings.vessels.laylines=t),c(t)}),p("change",function(){return e.persistModel()}),s(333," Display Laylines "),n()(),i(334,"div",34)(335,"div",35)(336,"fieldset")(337,"legend"),s(338,"Heading Line"),n(),i(339,"div",34)(340,"div",35)(341,"mat-form-field")(342,"mat-label"),s(343,"Heading Line Length"),n(),i(344,"mat-select",81),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.selfLines.heading.length,t)||(e.facade.settings.vessels.selfLines.heading.length=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(345,ti,2,2,"mat-option",38,v),n()()(),i(347,"div",35)(348,"linestyle-select",82),p("selectionChange",function(t){return e.onLineStyle("heading",t)}),n()()()()()(),i(349,"div",34)(350,"div",35)(351,"fieldset")(352,"legend"),s(353,"COG Line"),n(),i(354,"div",34)(355,"div",35)(356,"mat-form-field")(357,"mat-label"),s(358,"COG Line Length"),n(),i(359,"mat-select",83),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.selfLines.cog.length,t)||(e.facade.settings.vessels.selfLines.cog.length=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(360,ii,2,2,"mat-option",38,v),n()()(),i(362,"div",35)(363,"linestyle-select",82),p("selectionChange",function(t){return e.onLineStyle("cog",t)}),n()()()()()()()(),i(364,"div",35)(365,"fieldset")(366,"legend")(367,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.rangeCircles,t)||(e.facade.settings.vessels.rangeCircles=t),c(t)}),p("change",function(){return e.persistModel()}),s(368," Display Range Circles "),n()(),i(369,"div",34)(370,"div",35)(371,"mat-form-field",36)(372,"mat-label"),s(373,"Number of Range Circles"),n(),i(374,"mat-select",84),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.rangeCircleCount,t)||(e.facade.settings.vessels.rangeCircleCount=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(375,ni,2,2,"mat-option",38,b),n()()(),i(377,"div",35)(378,"mat-form-field",36)(379,"mat-label"),s(380,"Minimum Zoom Level"),n(),i(381,"mat-select",84),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.rangeCircleMinZoom,t)||(e.facade.settings.vessels.rangeCircleMinZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(382,ai,2,2,"mat-option",38,b),n()()()(),i(384,"div",34)(385,"div",35)(386,"mat-checkbox",85),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.rangeCirclesFixed,t)||(e.facade.settings.vessels.rangeCirclesFixed=t),c(t)}),p("change",function(){return e.persistModel()}),s(387," Use Fixed Distance "),n()(),i(388,"div",35)(389,"mat-form-field",78)(390,"mat-label"),s(391),n(),i(392,"input",86,12),f("ngModelChange",function(t){return m(g),u(e.formattedNumberModel.rangeCirclesDistance,t)||(e.formattedNumberModel.rangeCirclesDistance=t),c(t)}),p("change",function(){m(g);let t=w(393);return c(e.parseFormattedNumber(t))}),n(),T(394,oi,2,0,"mat-error"),n()()()()()()(),E(395,"br"),i(396,"mat-card",33)(397,"mat-card-content")(398,"div",34)(399,"fieldset")(400,"legend")(401,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trail,t)||(e.facade.settings.vessels.trail=t),c(t)}),p("change",function(){return e.persistModel("vesselTrail")}),s(402," Display Vessel Track "),n()(),i(403,"div",34)(404,"div",35)(405,"mat-checkbox",87),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trailFromServer,t)||(e.facade.settings.vessels.trailFromServer=t),c(t)}),p("change",function(){return e.persistModel("trailFromServer")}),s(406," Get Track from server "),n(),s(407," \xA0\xA0 "),i(408,"mat-slider",88)(409,"input",89),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trailDuration,t)||(e.facade.settings.vessels.trailDuration=t),c(t)}),p("valueChange",function(){return e.deferPersist()}),n()(),s(410),n()(),i(411,"div",34)(412,"div",35)(413,"mat-form-field",36)(414,"mat-label"),s(415,"Resolution: Last hour"),n(),i(416,"mat-select",84),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trailResolution.lastHour,t)||(e.facade.settings.vessels.trailResolution.lastHour=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(417,ri,2,2,"mat-option",38,v),n()()(),i(419,"div",35)(420,"mat-form-field",36)(421,"mat-label"),s(422,"Resolution: 1 hr -> 24 hrs"),n(),i(423,"mat-select",84),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trailResolution.next23,t)||(e.facade.settings.vessels.trailResolution.next23=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(424,si,2,2,"mat-option",38,v),n()()(),i(426,"div",35)(427,"mat-form-field",36)(428,"mat-label"),s(429,"Resolution: > 24 hrs"),n(),i(430,"mat-select",84),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.trailResolution.beyond24,t)||(e.facade.settings.vessels.trailResolution.beyond24=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(431,li,2,2,"mat-option",38,v),n()()()()()()()(),i(433,"div",32),s(434,"OTHER VESSELS"),n(),i(435,"mat-card",33)(436,"mat-card-content")(437,"div",34)(438,"div",35)(439,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisShowTrack,t)||(e.facade.settings.vessels.aisShowTrack=t),c(t)}),p("change",function(){return e.persistModel()}),s(440," Show Track "),n(),s(441," \xA0 "),i(442,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.aisStateFilter.moored,t)||(e.aisStateFilter.moored=t),c(t)}),p("change",function(){return e.onAisStateFilter()}),s(443," Hide Moored "),n(),s(444," \xA0 "),i(445,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.aisStateFilter.anchored,t)||(e.aisStateFilter.anchored=t),c(t)}),p("change",function(){return e.onAisStateFilter()}),s(446," Hide Anchored "),n()()(),i(447,"div",34)(448,"div",35)(449,"mat-form-field",36)(450,"mat-label"),s(451,"Mark AIS target inactive after"),n(),i(452,"mat-select",58),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisStaleAge,t)||(e.facade.settings.vessels.aisStaleAge=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(453,di,2,2,"mat-option",38,v),n()()(),i(455,"div",35)(456,"mat-form-field",36)(457,"mat-label"),s(458,"Remove AIS target after"),n(),i(459,"mat-select",58),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisMaxAge,t)||(e.facade.settings.vessels.aisMaxAge=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(460,gi,2,2,"mat-option",38,v),n()()(),i(462,"div",35)(463,"mat-form-field",36)(464,"mat-label"),s(465,"Wind Vector Value"),n(),i(466,"mat-select",58),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisWindApparent,t)||(e.facade.settings.vessels.aisWindApparent=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(467,mi,2,2,"mat-option",38,v),n()()(),i(469,"div",35)(470,"mat-form-field",36)(471,"mat-label"),s(472,"Wind / Track Zoom Level"),n(),i(473,"mat-select",58),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisWindMinZoom,t)||(e.facade.settings.vessels.aisWindMinZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(474,ci,2,2,"mat-option",38,b),n()()(),i(476,"div",35)(477,"mat-form-field",36)(478,"mat-label"),s(479,"COG Line"),n(),i(480,"mat-select",58),f("ngModelChange",function(t){return m(g),u(e.facade.settings.vessels.aisCogLine,t)||(e.facade.settings.vessels.aisCogLine=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(481,pi,2,2,"mat-option",38,v),n()()()()()()()()()(),i(483,"mat-tab",90)(484,"div",29)(485,"div",30)(486,"div",91)(487,"div",32),s(488,"NOTES"),n(),i(489,"mat-card",33)(490,"mat-card-content")(491,"div",43)(492,"div",35)(493,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.facade.settings.ui.showNotes,t)||(e.facade.settings.ui.showNotes=t),c(t)}),p("change",function(){return e.persistModel()}),s(494," Display Notes on Map "),n()(),i(495,"div",35)(496,"mat-form-field",36)(497,"mat-label"),s(498,"Notes Zoom Level"),n(),i(499,"mat-select",92),f("valueChange",function(t){return m(g),u(e.facade.settings.resources.notes.minZoom,t)||(e.facade.settings.resources.notes.minZoom=t),c(t)}),p("selectionChange",function(){return e.persistModel("fetchNotes")}),y(500,_i,2,2,"mat-option",38,b),n()()()(),i(502,"div",43)(503,"div",35)(504,"mat-form-field",36)(505,"mat-label"),s(506),n(),i(507,"mat-select",54),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.notes.getRadius,t)||(e.facade.settings.resources.notes.getRadius=t),c(t)}),p("selectionChange",function(){return e.persistModel("fetchNotes")}),y(508,ui,2,2,"mat-option",38,b),n()()()(),i(510,"div",43)(511,"div",35)(512,"mat-form-field",49)(513,"mat-label"),s(514,"Notes fetch filter:"),n(),i(515,"input",93,13),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.notes.rootFilter,t)||(e.facade.settings.resources.notes.rootFilter=t),c(t)}),p("change",function(){return e.persistModel("fetchNotes")}),n(),T(517,fi,3,0,"button",94),n()()(),i(518,"div",43)(519,"div",35)(520,"mat-checkbox",95),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.notes.groupNameEdit,t)||(e.facade.settings.resources.notes.groupNameEdit=t),c(t)}),p("change",function(){return e.persistModel()}),s(521," Edit Group Names "),n()(),i(522,"div",35)(523,"mat-checkbox",96),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.notes.groupRequiresPosition,t)||(e.facade.settings.resources.notes.groupRequiresPosition=t),c(t)}),p("change",function(){return e.persistModel()}),s(524," Position Group Note "),n()()()()()(),i(525,"div",97)(526,"div",32),s(527,"CUSTOM RESOURCES"),n(),i(528,"mat-card",33)(529,"mat-card-content")(530,"div",43)(531,"div",35)(532,"div",98),s(533," Select custom resource types (./resources/<name>) "),n(),i(534,"mat-selection-list",99,14),p("selectionChange",function(){m(g);let t=w(535);return c(e.onResPathSelected(t))}),y(536,hi,2,3,"mat-list-option",100,b),n()()()()()()()()(),T(538,Si,21,2,"mat-tab",101),i(539,"mat-tab",102)(540,"div",29)(541,"div",30)(542,"div",103)(543,"div",32),s(544,"SIGNAL K: CONNECTION"),n(),i(545,"mat-card",33)(546,"mat-card-content")(547,"div",43)(548,"fieldset")(549,"legend"),s(550,"Filter Stream data:"),n(),i(551,"span",104),s(552," Check to include Signal K schema groups on display."),E(553,"br"),i(554,"i"),s(555,"Use to manage display performance."),n()(),i(556,"div",35)(557,"mat-checkbox",105),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.vessels,t)||(e.facade.settings.signalk.vessels=t),c(t)}),p("change",function(){return e.persistModel()}),s(558," Vessels (other than Self) "),n()(),i(559,"div",35)(560,"mat-checkbox",106),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.atons,t)||(e.facade.settings.signalk.atons=t),c(t)}),p("change",function(){return e.persistModel()}),s(561," Aids to Navigation (AtoN) "),n()(),i(562,"div",35)(563,"mat-checkbox",107),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.aircraft,t)||(e.facade.settings.signalk.aircraft=t),c(t)}),p("change",function(){return e.persistModel()}),s(564," Aircraft "),n()(),i(565,"div",35)(566,"mat-checkbox",108),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.sar,t)||(e.facade.settings.signalk.sar=t),c(t)}),p("change",function(){return e.persistModel()}),s(567," Search and Rescue (SaR) "),n()(),i(568,"div",35)(569,"mat-checkbox",109),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.meteo,t)||(e.facade.settings.signalk.meteo=t),c(t)}),p("change",function(){return e.persistModel()}),s(570," Weather (Meteo) "),n()(),i(571,"div",35),E(572,"br"),i(573,"mat-form-field",36)(574,"mat-label"),s(575,"Max. distance from vessel"),n(),i(576,"mat-select",110,15),f("ngModelChange",function(t){return m(g),u(e.facade.settings.signalk.maxRadius,t)||(e.facade.settings.signalk.maxRadius=t),c(t)}),p("selectionChange",function(){return e.persistModel()}),y(578,Ci,2,2,"mat-option",38,v),n()()()()(),i(580,"div",43)(581,"div",35)(582,"button",111),p("click",function(){return e.clearAuthToken()}),i(583,"mat-icon"),s(584,"key_off"),n()()()()()()()()()(),i(585,"mat-tab",112)(586,"div",29)(587,"div",30)(588,"div",113)(589,"div",32),s(590,"EXPERIMENTS"),n(),i(591,"mat-card",33)(592,"mat-card-content")(593,"div",43)(594,"div",35)(595,"mat-checkbox",45),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.video.enable,t)||(e.facade.settings.resources.video.enable=t),c(t)}),p("change",function(){return e.persistModel()}),s(596," Enable Video "),n()(),i(597,"div",35)(598,"mat-form-field",49)(599,"mat-label"),s(600,"url:"),n(),i(601,"input",114,16),f("ngModelChange",function(t){return m(g),u(e.facade.settings.resources.video.url,t)||(e.facade.settings.resources.video.url=t),c(t)}),p("change",function(){return e.persistModel("videoUrl")}),n(),T(603,Mi,2,0,"mat-error"),n()()(),i(604,"div",43)(605,"div",35)(606,"mat-checkbox",115,17),f("ngModelChange",function(t){return m(g),u(e.facade.settings.experiments,t)||(e.facade.settings.experiments=t),c(t)}),p("change",function(){return e.persistModel()}),i(608,"mat-icon"),s(609,"science"),n(),s(610," Experimental Features "),n()()()()()()()()()()()}if(a&2){let g=w(83),o=w(106),t=w(216),ne=w(225),ae=w(234),oe=w(259),de=w(266),ge=w(306),re=w(314),se=w(320),le=w(393),lt=w(516),dt=w(602);r(25),_("ngModel",e.facade.settings.display.darkMode.source),r(),S(e.options.darkMode),r(3),_("ngModel",e.facade.settings.display.nightMode),r(6),_("ngModel",e.facade.settings.display.fab),r(),S(e.options.buttons.fab),r(3),h("disabled",!e.wakeLock.isAvailable),_("ngModel",e.facade.settings.display.disableWakelock),r(3),_("ngModel",e.facade.settings.display.preferInfoPanel),r(5),D(e.facade.applicationList.length>1?47:-1),r(),D(e.show.favourites()?48:-1),r(9),_("ngModel",e.facade.settings.display.muteSound),r(3),_("ngModel",e.facade.settings.display.depthAlarm.enabled),r(6),_("ngModel",e.facade.settings.display.depthAlarm.smoothing),h("disabled",!e.facade.settings.display.depthAlarm.enabled),r(),S(e.options.alarm.smoothing),r(9),_("ngModel",e.facade.settings.display.statusBar.liveEta),r(5),k("Reference Boat Speed (",e.speedUnitSymbol,")"),r(),h("disabled",!e.facade.settings.display.statusBar.liveEta),_("ngModel",e.facade.settings.display.statusBar.referenceSpeed),r(2),D(g.invalid&&(g.dirty||g.touched)?84:-1),r(13),h("disabled",!e.app.serverConfig.unitPreferences()),_("ngModel",e.facade.settings.units.useServerPrefs),r(8),h("disabled",e.facade.settings.units.useServerPrefs),_("ngModel",e.facade.settings.units.distance),r(2),S(e.options.availableUnits.distance),r(6),h("disabled",e.facade.settings.units.useServerPrefs),_("ngModel",e.facade.settings.units.depth),r(),S(e.options.availableUnits.depth),r(6),h("disabled",e.facade.settings.units.useServerPrefs),_("ngModel",e.facade.settings.units.length),r(),S(e.options.availableUnits.length),r(6),h("disabled",e.facade.settings.units.useServerPrefs),_("ngModel",e.facade.settings.units.temperature),r(),S(e.options.availableUnits.temperature),r(6),h("disabled",e.facade.settings.units.useServerPrefs),_("ngModel",e.facade.settings.units.speed),r(),S(e.options.availableUnits.speed),r(3),D(e.options.preferredValues.coords.length!==0?138:-1),r(),D(e.options.preferredValues.heading.length!==0?139:-1),r(16),_("ngModel",e.facade.settings.map.labelsMinZoom),r(),S(e.options.zoomLevels),r(6),_("ngModel",e.facade.settings.map.centerOffset),r(),S(e.options.map.centerOffset),r(3),_("ngModel",e.facade.settings.map.popoverMulti),r(3),_("ngModel",e.facade.settings.map.doubleClickZoom),r(3),_("ngModel",e.facade.settings.map.overZoomTiles),r(3),_("ngModel",e.facade.settings.map.lockMoveMap),r(11),_("ngModel",e.facade.settings.map.s57Options.graphicsStyle),r(),S(e.options.map.s57.graphicsStyle),r(6),_("ngModel",e.facade.settings.map.s57Options.boundaries),r(),S(e.options.map.s57.boundaries),r(6),_("ngModel",e.facade.settings.map.s57Options.colorTable),r(),S(e.options.map.s57.colorTables),r(6),_("ngModel",e.facade.settings.map.s57Options.colors),r(),S(e.options.map.s57.colors),r(7),_("ngModel",e.facade.settings.map.s57Options.shallowDepth),r(2),D(t.invalid&&(t.dirty||t.touched)?217:-1),r(7),_("ngModel",e.facade.settings.map.s57Options.safetyDepth),r(2),D(ne.invalid&&(ne.dirty||ne.touched)?226:-1),r(7),_("ngModel",e.facade.settings.map.s57Options.deepDepth),r(2),D(ae.invalid&&(ae.dirty||ae.touched)?235:-1),r(7),_("ngModel",e.facade.settings.map.s57Options.otherLayers),r(),S(e.options.map.s57.otherLayers),r(15),_("ngModel",e.facade.settings.course.arrivalCircle),r(2),D(oe.invalid&&(oe.dirty||oe.touched)?260:-1),r(5),_("ngModel",e.facade.settings.course.autoNextPointOnArrival),r(8),h("disabled",de.checked===!1),_("ngModel",e.facade.settings.course.autoNextPointTrigger),r(2),S(e.options.course.nextPointTrigger),r(6),h("disabled",de.checked===!1),_("ngModel",e.facade.settings.course.autoNextPointDelay),r(),S(e.options.course.nextPointDelay),r(17),_("ngModel",e.facade.settings.vessels.iconScale),r(),S(e.options.vessel.selfIconScale),r(5),_("ngModel",e.facade.settings.vessels.fixedLocationMode),r(8),_("ngModel",e.facade.fixedPosition[1]),h("disabled",!ge.checked),r(2),D(re.invalid&&(re.dirty||re.touched)?315:-1),r(4),_("ngModel",e.facade.fixedPosition[0]),h("disabled",!ge.checked),r(2),D(se.invalid&&(se.dirty||se.touched)?321:-1),r(9),_("ngModel",e.facade.settings.vessels.windVectors),r(2),_("ngModel",e.facade.settings.vessels.laylines),r(12),_("ngModel",e.facade.settings.vessels.selfLines.heading.length),r(),S(e.options.vessel.headingLine),r(3),h("color",e.facade.settings.vessels.selfLines.heading.color)("dash",e.facade.settings.vessels.selfLines.heading.dash)("weight",e.facade.settings.vessels.selfLines.heading.weight),r(11),_("ngModel",e.facade.settings.vessels.selfLines.cog.length),r(),S(e.options.vessel.cogLine),r(3),h("color",e.facade.settings.vessels.selfLines.cog.color)("dash",e.facade.settings.vessels.selfLines.cog.dash)("weight",e.facade.settings.vessels.selfLines.cog.weight),r(4),_("ngModel",e.facade.settings.vessels.rangeCircles),r(7),_("ngModel",e.facade.settings.vessels.rangeCircleCount),h("disabled",!e.facade.settings.vessels.rangeCircles),r(),S(e.options.rangeCircles.count),r(6),_("ngModel",e.facade.settings.vessels.rangeCircleMinZoom),h("disabled",!e.facade.settings.vessels.rangeCircles),r(),S(e.options.rangeCircles.zoomLevels),r(4),_("ngModel",e.facade.settings.vessels.rangeCirclesFixed),h("disabled",!e.facade.settings.vessels.rangeCircles),r(5),k(" Distance between circles (",e.renderSymbol(e.facade.settings.units.distance),") "),r(),_("ngModel",e.formattedNumberModel.rangeCirclesDistance),h("disabled",!e.facade.settings.vessels.rangeCircles||!e.facade.settings.vessels.rangeCirclesFixed),r(2),D(le.invalid&&(le.dirty||le.touched)?394:-1),r(7),_("ngModel",e.facade.settings.vessels.trail),r(4),h("disabled",!e.facade.settings.vessels.trail),_("ngModel",e.facade.settings.vessels.trailFromServer),r(3),h("disabled",!e.facade.settings.vessels.trailFromServer||!e.facade.settings.vessels.trail),r(),_("ngModel",e.facade.settings.vessels.trailDuration),r(),k(" Length (",e.facade.settings.vessels.trailDuration," hrs) "),r(6),_("ngModel",e.facade.settings.vessels.trailResolution.lastHour),h("disabled",!e.facade.settings.vessels.trailFromServer||!e.facade.settings.vessels.trail),r(),S(e.options.trailIntervals.highResolution),r(6),_("ngModel",e.facade.settings.vessels.trailResolution.next23),h("disabled",!e.facade.settings.vessels.trailFromServer||!e.facade.settings.vessels.trail),r(),S(e.options.trailIntervals.highResolution),r(6),_("ngModel",e.facade.settings.vessels.trailResolution.beyond24),h("disabled",!e.facade.settings.vessels.trailFromServer||!e.facade.settings.vessels.trail),r(),S(e.options.trailIntervals.mediumResolution),r(8),_("ngModel",e.facade.settings.vessels.aisShowTrack),r(3),_("ngModel",e.aisStateFilter.moored),r(3),_("ngModel",e.aisStateFilter.anchored),r(7),_("ngModel",e.facade.settings.vessels.aisStaleAge),r(),S(e.options.vessel.aisTimeouts),r(6),_("ngModel",e.facade.settings.vessels.aisMaxAge),r(),S(e.options.vessel.aisTimeouts),r(6),_("ngModel",e.facade.settings.vessels.aisWindApparent),r(),S(e.options.preferredValues.wind),r(6),_("ngModel",e.facade.settings.vessels.aisWindMinZoom),r(),S(e.options.zoomLevels),r(6),_("ngModel",e.facade.settings.vessels.aisCogLine),r(),S(e.options.vessel.aisCogLine),r(12),_("ngModel",e.facade.settings.ui.showNotes),r(6),h("disabled",!e.facade.settings.ui.showNotes),_("value",e.facade.settings.resources.notes.minZoom),r(),S(e.options.zoomLevels),r(6),C("Fetch Notes radius: ("+e.options.availableUnits.distance.get(o.value)+")"),r(),h("disabled",!e.facade.settings.ui.showNotes),_("ngModel",e.facade.settings.resources.notes.getRadius),r(),S(e.options.resources.noteRadius),r(7),_("ngModel",e.facade.settings.resources.notes.rootFilter),r(2),D(lt.value?517:-1),r(3),_("ngModel",e.facade.settings.resources.notes.groupNameEdit),r(3),_("ngModel",e.facade.settings.resources.notes.groupRequiresPosition),r(13),S(e.facade.resourcePathList),r(2),D(e.app.featureFlags().radarApi?538:-1),r(19),_("ngModel",e.facade.settings.signalk.vessels),r(3),_("ngModel",e.facade.settings.signalk.atons),r(3),_("ngModel",e.facade.settings.signalk.aircraft),r(3),_("ngModel",e.facade.settings.signalk.sar),r(3),_("ngModel",e.facade.settings.signalk.meteo),r(7),_("ngModel",e.facade.settings.signalk.maxRadius),r(2),S(e.options.vessel.aisMaxRadius),r(17),_("ngModel",e.facade.settings.resources.video.enable),r(6),h("disabled",!e.facade.settings.resources.video.enable),_("ngModel",e.facade.settings.resources.video.url),r(2),D(dt.invalid?603:-1),r(3),_("ngModel",e.facade.settings.experiments)}},dependencies:[H,U,ve,G,De,Ee,Te,be,Z,Se,ye,Ae,Fe,ee,$e,$,Ie,Be,Oe,Pe,ke,Ve,We,N,Me,Ce,R,we,K,xe,it,et,tt,Xe,Q,q,z,Ne,Re,J,Y,Ue,X,j,Le,He,Ze,Qe,Ye,Je,ie,te],styles:["[_nghost-%COMP%] .mat-dialog-content{padding:0 4px}.settings[_ngcontent-%COMP%] .setting-group-title[_ngcontent-%COMP%]{font-weight:700;font-size:10pt;font-family:Arial,Helvetica,sans-serif;padding:10px 0}.setting-card-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.settings[_ngcontent-%COMP%] .setting-card-row-item[_ngcontent-%COMP%]{padding-right:15px;flex:1 1 auto}@media only screen and (max-width:599px){.settings[_ngcontent-%COMP%] .setting-group[_ngcontent-%COMP%]{padding:5px 5%}}@media only screen and (min-width:600px)and (max-width:959px),screen and (min-width:960px)and (max-width:1279px),screen and (min-width:1280px)and (max-width:1919px),screen and (min-width:1920px)and (max-width:5000px){.settings[_ngcontent-%COMP%] .setting-group[_ngcontent-%COMP%]{padding:5px 5%}}"]})};export{st as SettingsDialog};
|