(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-536cd4f4"],{"13b3":function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("details",[t._t("default",(function(){return[a("summary")]}))],2)},i=[],o=(a("0643"),a("fffc"),a("fd1f")),s={name:"WetDetails",mounted(){window.wb.isReady&&!1===window.Modernizr.details?setTimeout(()=>{const t=window.jQuery(this.$el);t.find("summary").trigger("wb-init.wb-details"),t.on("toggle",t=>{this.$emit("toggle",t)})},o["w"]):this.$el.addEventListener("toggle",t=>{this.$emit("toggle",t)})}},n=s,l=a("2877"),d=Object(l["a"])(n,r,i,!1,null,null,null);e["a"]=d.exports},"17db":function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"container-adjust",attrs:{id:"url5088"}},[a("wet-details",{staticClass:"alert alert-info",attrs:{id:"alert-info",open:""}},[a("summary",[a("h2",{staticClass:"h4"},[a("translate",[t._v("Unique Weather Profile Address")])],1)]),a("translate",{attrs:{tag:"p"}},[t._v("Your unique weather profile token contains your current profile settings. You can copy/paste the token below in an email to share or to use in another browser window or on another.")]),a("p",{staticClass:"linkwrap"},[a("router-link",{attrs:{to:{name:"myprofile",query:{token:t.token}},custom:""},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.href,i=e.navigate;return[a("a",{attrs:{href:r},on:{click:i}},[t._v(t._s(t.relativeOrigin+r))])]}}])})],1)],1)],1)},i=[],o=a("13b3"),s={name:"ProfileAddress",components:{WetDetails:o["a"]},props:{token:{type:String,required:!0}},computed:{relativeOrigin(){return this.$store.state.relOrigin}}},n=s,l=a("2877"),d=Object(l["a"])(n,r,i,!1,null,null,null);e["a"]=d.exports},"2fa1":function(t,e,a){var r=a("aef2");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("499e").default;i("8a3b5f80",r,!0,{sourceMap:!1,shadowMode:!1})},4109:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"container-fluid"},[a("section",{directives:[{name:"show",rawName:"v-show",value:t.profiledeleted,expression:"profiledeleted"}],staticClass:"alert alert-success container-adjust",attrs:{id:"confirm-deleteall"}},[a("translate",{attrs:{tag:"h3"}},[t._v("Profile Deleted")]),a("translate",{attrs:{tag:"p"}},[t._v("Your settings have been removed from your current browser")])],1),a("div",{staticClass:"container-adjust"},[a("form",{staticClass:"container-fluid",attrs:{name:"editProfile"},on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[a("section",{staticClass:"row sm-gutter container-adjust"},[a("h3",[a("translate",[t._v("Step 1 : Area forecasts list")])],1),a("wet-details",{staticClass:"alert alert-info instruction-wrapper mrgn-bttm-md",attrs:{open:""}},[a("summary",[a("translate",{attrs:{tag:"h4"}},[t._v("Adding cities to your profile")])],1),a("p",[a("step-one-details")],1)]),"forecast"===t.warningState.page?a("div",{staticClass:"alert alert-danger mrgn-bttm-md",attrs:{id:"warning-forecasts"}},[a("p",[t._v(t._s(t.warning_message))])]):t._e(),a("div",{staticClass:"col-lg-12 col-md-12 col-sm-10 col-xs-10"},[a("div",{staticClass:"row sm-gutter"},[a("div",{staticClass:"col-md-3 form-group"},[a("label",{attrs:{for:"province-forecasts"}},[a("strong",[a("translate",[t._v("Select a region")])],1)]),a("select",{directives:[{name:"model",rawName:"v-model",value:t.foreregion,expression:"foreregion"}],staticClass:"form-control box-width",attrs:{id:"province-forecasts",size:"5"},on:{focus:t.focusClearMessages,change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.foreregion=e.target.multiple?a:a[0]}}},t._l(t.regions,(function(e){return a("option",{key:e.prov,domProps:{value:e.prov}},[t._v(t._s(e.provName))])})),0)]),a("div",{staticClass:"col-md-4 form-group mrgn-bttm-sm"},[a("label",{attrs:{for:"citylist-forecasts"}},[a("strong",[a("translate",[t._v("Select one or more cities")])],1)]),a("select",{directives:[{name:"model",rawName:"v-model",value:t.addcities,expression:"addcities"}],staticClass:"form-control box-width",attrs:{size:"5",id:"citylist-forecasts",multiple:"multiple"},on:{focus:t.focusClearMessages,change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.addcities=e.target.multiple?a:a[0]}}},t._l(t.cities_dict[t.foreregion],(function(e,r){return a("option",{key:r,domProps:{value:e[0]}},[t._v(t._s(e[1]))])})),0)]),a("div",{staticClass:"col-md-5"},[a("div",{staticClass:"row sm-gutter"},[a("div",{staticClass:"col-md-3 form-group"},[a("div",{staticClass:"btn-list btn-wrapper"},[a("button",{staticClass:"btn btn-primary btn-sm mrgn-rght-sm",attrs:{type:"button",id:"btn-add-forecasts",disabled:!t.addcities.length},on:{click:function(e){return t.addSelection(t.addcities,t.formData.forecastslist,"forecast")}}},[a("span",{staticClass:"hidden-lt-md glyphicon glyphicon-circle-arrow-right mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("span",{staticClass:"hidden-gt-md glyphicon glyphicon-circle-arrow-down mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("translate",[t._v("Add")])],1),a("button",{staticClass:"btn btn-danger btn-sm",attrs:{type:"button",id:"btn-remove-forecasts",disabled:t.formData["forecastslist"].length<1},on:{click:function(e){return t.removeSelection(t.removecities,t.formData["forecastslist"])}}},[a("span",{staticClass:"hidden-lt-md glyphicon glyphicon-circle-arrow-left mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("span",{staticClass:"hidden-gt-md glyphicon glyphicon-circle-arrow-up mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("translate",[t._v("Remove")])],1)])]),a("div",{staticClass:"col-md-9 form-group"},[a("label",{attrs:{for:"current-forecasts"}},[a("strong",[a("translate",[t._v("My selected city list")])],1)]),a("select",{directives:[{name:"model",rawName:"v-model",value:t.removecities,expression:"removecities"}],staticClass:"form-control box-current-forecasts",size:"5",multiple:"multiple"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.removecities=e.target.multiple?a:a[0]}}},t._l(t.sel_cities_names,(function(e,r){return a("option",{key:r,domProps:{value:e[0]}},[t._v(t._s(e[1]))])})),0),a("button",{staticClass:"btn btn-default mrgn-tp-sm",attrs:{type:"button",id:"btn-up-forecasts",disabled:t.formData["forecastslist"].length<2},on:{click:function(e){return t.moveUp(t.removecities,t.formData["forecastslist"])}}},[a("span",{staticClass:"glyphicon glyphicon-circle-arrow-up mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("translate",[t._v("Up")])],1),a("button",{staticClass:"btn btn-default mrgn-tp-sm mrgn-lft-sm",attrs:{type:"button",id:"btn-down-forecasts",disabled:t.formData["forecastslist"].length<2},on:{click:function(e){return t.moveDown(t.removecities,t.formData["forecastslist"])}}},[a("span",{staticClass:"glyphicon glyphicon-circle-arrow-down mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("translate",[t._v("Down")])],1)])])])])])],1),a("section",{staticClass:"row sm-gutter container-adjust"},[a("h3",[a("translate",[t._v("Step 2 : Current conditions list")])],1),a("wet-details",{staticClass:"alert alert-info instruction-wrapper mrgn-bttm-md",attrs:{open:""}},[a("summary",[a("h4",[a("step-two")],1)]),a("p",[a("step-two-details")],1)]),"conditions"===t.warningState.page?a("div",{staticClass:"alert alert-danger mrgn-bttm-md",attrs:{id:"warning-conditions"}},[a("p",[t._v(t._s(t.warning_message))])]):t._e(),a("div",{staticClass:"col-lg-12 col-md-12 col-sm-10 col-xs-10"},[a("div",{staticClass:"row sm-gutter"},[a("div",{staticClass:"col-md-3 form-group"},[a("label",{attrs:{for:"province-conditions"}},[a("strong",[a("translate",[t._v("Select a region")])],1)]),a("select",{directives:[{name:"model",rawName:"v-model",value:t.condregion,expression:"condregion"}],staticClass:"form-control box-province-conditions",size:"5"},on:{focus:t.focusClearMessages,change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.condregion=e.target.multiple?a:a[0]}}},t._l(t.regions,(function(e){return a("option",{key:e.prov,domProps:{value:e.prov}},[t._v(t._s(e.provName))])})),0)]),a("div",{staticClass:"col-md-4 form-group mrgn-bttm-sm"},[a("label",{attrs:{id:"fn-rf",for:"citylist-conditions"}},[a("strong",[a("translate",[t._v("Select one or more stations")])],1)]),a("select",{directives:[{name:"model",rawName:"v-model",value:t.addstations,expression:"addstations"}],staticClass:"form-control box-width station-select",attrs:{size:"5",id:"citylist-conditions",multiple:"multiple"},on:{focus:t.focusClearMessages,change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.addstations=e.target.multiple?a:a[0]}}},t._l(t.stations_dict[t.condregion],(function(e,r){return a("option",{key:r,domProps:{value:e[0]}},[t._v(" "+t._s(e[1])+" "),e[2].includes("msc")?t._e():a("sup",[t._v("†")])])})),0)]),a("div",{staticClass:"col-md-5"},[a("div",{staticClass:"row sm-gutter"},[a("div",{staticClass:"col-md-3 form-group"},[a("div",{staticClass:"btn-list btn-wrapper"},[a("button",{staticClass:"btn btn-primary btn-sm btn-align mrgn-rght-sm",attrs:{type:"button",id:"btn-add-conditions",disabled:!t.addstations.length},on:{click:function(e){return t.addSelection(t.addstations,t.formData["conditionslist"],"conditions")}}},[a("span",{staticClass:"hidden-lt-md glyphicon glyphicon-circle-arrow-right mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("span",{staticClass:"hidden-gt-md glyphicon glyphicon-circle-arrow-down mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("translate",[t._v("Add")])],1),a("button",{staticClass:"btn btn-danger btn-sm",attrs:{type:"button",id:"btn-remove-conditions",disabled:t.formData["conditionslist"].length<1},on:{click:function(e){return t.removeSelection(t.removestations,t.formData["conditionslist"])}}},[a("span",{staticClass:"hidden-lt-md glyphicon glyphicon-circle-arrow-left mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("span",{staticClass:"hidden-gt-md glyphicon glyphicon-circle-arrow-up mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("translate",[t._v("Remove")])],1)])]),a("div",{staticClass:"col-md-9 form-group"},[a("label",{attrs:{for:"current-conditions"}},[a("strong",[a("translate",[t._v("My selected station list")])],1)]),a("select",{directives:[{name:"model",rawName:"v-model",value:t.removestations,expression:"removestations"}],staticClass:"form-control box-width station-select",attrs:{size:"5",id:"current-conditions",multiple:"multiple"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.removestations=e.target.multiple?a:a[0]}}},t._l(t.sel_stations_names,(function(e,r){return a("option",{key:r,domProps:{value:e[0]}},[t._v(" "+t._s(e[1])+" ")])})),0),a("button",{staticClass:"btn btn-default mrgn-tp-sm",attrs:{type:"button",id:"btn-up-conditions",disabled:t.formData["conditionslist"].length<2},on:{click:function(e){return t.moveUp(t.removestations,t.formData["conditionslist"])}}},[a("span",{staticClass:"glyphicon glyphicon-circle-arrow-up mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("translate",[t._v("Up")])],1),a("button",{staticClass:"btn btn-default mrgn-tp-sm mrgn-lft-sm",attrs:{type:"button",id:"btn-down-conditions",disabled:t.formData["conditionslist"].length<2},on:{click:function(e){return t.moveDown(t.removestations,t.formData["conditionslist"])}}},[a("span",{staticClass:"glyphicon glyphicon-circle-arrow-down mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("translate",[t._v("Down")])],1)])])])])])],1),a("p",{staticClass:"small"},[a("translate",[t._v("† Third Party Data: these observations come to Environment and Climate Change Canada from an outside agency. Environment and Climate Change Canada has no control over maintenance of the observing equipment and does cannot guarantee availability or quality of the data.")])],1),a("section",{staticClass:"row sm-gutter container-adjust"},[a("h3",[a("translate",[t._v("Step 3 : My preferences")])],1),a("wet-details",{staticClass:"alert alert-info instruction-wrapper mrgn-bttm-md",attrs:{open:""}},[a("summary",[a("translate",{attrs:{tag:"h4"}},[t._v("Saving your profile")])],1),a("p",[a("step-three-details")],1)]),a("div",{staticClass:"col-md-12 form-group"},[a("div",{staticClass:"well mrgn-bttm-0"},[a("p",[a("strong",[a("translate",[t._v("Default tab to display in My Weather Profile page")])],1)]),a("div",{staticClass:"radio mrgn-tp-sm"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.formData["pannel"],expression:"formData['pannel']"}],attrs:{type:"radio",name:"pannel",id:"areaforecast",value:"areaforecast"},domProps:{checked:t._q(t.formData["pannel"],"areaforecast")},on:{change:function(e){return t.$set(t.formData,"pannel","areaforecast")}}}),a("translate",[t._v("Area forecasts")])],1)]),a("div",{staticClass:"radio"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.formData["pannel"],expression:"formData['pannel']"}],attrs:{type:"radio",name:"pannel",id:"currconditions",value:"currconditions"},domProps:{checked:t._q(t.formData["pannel"],"currconditions")},on:{change:function(e){return t.$set(t.formData,"pannel","currconditions")}}}),a("translate",[t._v("Current conditions")])],1)]),a("p",[a("strong",[a("translate",[t._v("Default Area Forecast display")])],1)]),a("div",{staticClass:"radio mrgn-tp-sm"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.formData["foretype"],expression:"formData['foretype']"}],attrs:{type:"radio",name:"foretype",id:"iconsforecast",value:"icon"},domProps:{checked:t._q(t.formData["foretype"],"icon")},on:{change:function(e){return t.$set(t.formData,"foretype","icon")}}}),a("translate",[t._v("Icons")])],1)]),a("div",{staticClass:"radio"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.formData["foretype"],expression:"formData['foretype']"}],attrs:{type:"radio",name:"foretype",id:"textforecast",value:"text"},domProps:{checked:t._q(t.formData["foretype"],"text")},on:{change:function(e){return t.$set(t.formData,"foretype","text")}}}),a("translate",[t._v("Text")])],1)]),a("p",{staticClass:"mrgn-tp-md"},[a("strong",[a("translate",[t._v("Default unit to display in My Weather Profile page")])],1)]),a("div",{staticClass:"radio mrgn-tp-sm"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.formData["unit"],expression:"formData['unit']"}],attrs:{type:"radio",name:"unit",id:"metric",value:"metric"},domProps:{checked:t._q(t.formData["unit"],"metric")},on:{change:function(e){return t.$set(t.formData,"unit","metric")}}}),a("translate",[t._v(" Metric (default)")])],1)]),a("div",{staticClass:"radio"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.formData["unit"],expression:"formData['unit']"}],attrs:{type:"radio",name:"unit",id:"imperial",value:"imperial"},domProps:{checked:t._q(t.formData["unit"],"imperial")},on:{change:function(e){return t.$set(t.formData,"unit","imperial")}}}),a("translate",[t._v("Imperial")])],1)]),a("div",{staticClass:"checkbox mrgn-tp-md"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.formData["autorefresh"],expression:"formData['autorefresh']"}],attrs:{type:"checkbox",name:"autorefresh",id:"checkrefresh","true-value":"checkrefresh","false-value":null},domProps:{checked:Array.isArray(t.formData["autorefresh"])?t._i(t.formData["autorefresh"],null)>-1:t._q(t.formData["autorefresh"],"checkrefresh")},on:{change:function(e){var a=t.formData["autorefresh"],r=e.target,i=r.checked?"checkrefresh":null;if(Array.isArray(a)){var o=null,s=t._i(a,o);r.checked?s<0&&t.$set(t.formdata,"autorefresh",a.concat([o])):s>-1&&t.$set(t.formData,"autorefresh",a.slice(0,s).concat(a.slice(s+1)))}else t.$set(t.formData,"autorefresh",i)}}}),a("translate",[t._v("Set a 5 minute auto-refresh for all pages that display the My Alert box.")])],1)])])]),a("div",{staticClass:"row sm-gutter container-adjust"},[a("div",{staticClass:"col-md-12 form-group"},[a("input",{attrs:{type:"hidden",name:"forecastslist",id:"forecasts-input"},domProps:{value:t.formData["forecastslist"]}}),a("input",{attrs:{type:"hidden",name:"conditionslist",id:"conditions-input"},domProps:{value:t.formData["conditionslist"]}}),a("input",{attrs:{type:"hidden",name:"submit"},domProps:{value:t._f("translate")("Submit")}}),a("button",{staticClass:"btn btn-success btn-aligner",attrs:{id:"btn-submit",disabled:t.submitDisable,value:t._f("translate")("Submit"),name:"submit"}},[a("translate",[t._v("Submit")])],1),a("button",{staticClass:"btn btn-default btn-aligner mrgn-lft-sm",attrs:{type:"button",id:"btn-reset",disabled:t.disable},on:{click:t.reset}},[a("translate",{attrs:{"translate-context":"Edit Profile"}},[t._v("Reset")])],1)])])],1)])]),a("section",{staticClass:"panel panel-default container-adjust",attrs:{open:""}},[a("header",{staticClass:"panel-heading"},[a("translate",{staticClass:"panel-title",attrs:{tag:"h3"}},[t._v("Delete My Weather Profile")])],1),a("div",{staticClass:"panel-body"},[a("translate",{attrs:{tag:"p"}},[t._v("If you don't want to use My Weather Profile anymore, you can delete your profile.")]),a("button",{staticClass:"btn btn-danger",attrs:{"aria-controls":"centred-popup",disabled:t.is_profile_empty},on:{click:t.deleteProfileModal}},[a("span",{staticClass:"glyphicon glyphicon-remove-circle mrgn-rght-sm",attrs:{"aria-hidden":"true"}}),a("translate",[t._v("Delete My Weather Profile")])],1)],1)]),a("modal",{directives:[{name:"focus-trap",rawName:"v-focus-trap"}],attrs:{name:"delete-modal",adaptive:"",height:"auto"}},[a("wet-modal",{attrs:{id:"centred-popup"},on:{close:t.hideDeleteProfileModal},scopedSlots:t._u([{key:"header",fn:function(){return[a("h2",{staticClass:"modal-title"},[a("translate",[t._v("Delete My Weather Profile")])],1)]},proxy:!0},{key:"footer",fn:function(){return[a("button",{staticClass:"btn btn-sm btn-primary pull-left",attrs:{type:"button"},on:{click:t.hideDeleteProfileModal}},[a("translate",[t._v("Close")])],1)]},proxy:!0}])},[a("translate",{attrs:{tag:"p"}},[t._v("Are you sure you want to delete your settings from this computer?")]),a("button",{staticClass:"btn btn-primary mrgn-rght-sm",attrs:{type:"button",id:"btn-deleteall"},on:{click:t.deleteProfile}},[a("translate",[t._v("Yes")])],1),a("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.hideDeleteProfileModal}},[a("translate",[t._v("No")])],1)],1)],1),t.is_profile_empty?t._e():a("profileaddress",{attrs:{token:t.token}})],1)},i=[],o=(a("0643"),a("4e3e"),a("14d9"),a("a573"),a("4918")),s=a("d8ef"),n=a("17db"),l=a("177c"),d=a("76f4"),c=a("e16c"),p=a("8c71"),m=a("13b3"),f=a("b231"),u=a("c6c0");const h=1,g=2,v=100;var b={name:"EditProfile",components:{Profileaddress:n["a"],WetDetails:m["a"],WetModal:f["a"],StepOneDetails:{functional:!0,render(t,{parent:e}){const a=e.$pgettext("editprofile_step_1_detail",'Select your desired ${cities} by ${region}, then click the "${add}" button to update "My selected city list". You can change the order by selecting one, or more, cities in "My selected city list", then using the "${up}" and "${down}" buttons to move them.'),r={"${cities}":t("b",e.$pgettext("editprofile_step_1_detail","Cities")),"${region}":t("b",e.$pgettext("editprofile_step_1_detail","Region")),"${add}":t("b",e.$gettext("Add")),"${up}":t("b",e.$gettext("Up")),"${down}":t("b",e.$gettext("Down"))};return Object(s["B"])(a,r)}},StepTwo:{functional:!0,render(t,{parent:e}){const a=e.$pgettext("editprofile_step_2","Adding observation stations${cross} to your profile"),r={"${cross}":t("sup","†")};return Object(s["B"])(a,r)}},StepTwoDetails:{functional:!0,render(t,{parent:e}){const a=e.$pgettext("editprofile_step_2_detail",'Select your desired ${stations} by ${region}, and then click the "${add}" button to update "My selected station list". You can change the order by selecting one, or more, stations in "My selected station list", then using the "${up}" and "${down}" buttons to move them.'),r={"${stations}":t("b",e.$pgettext("editprofile_step_2_detail","Stations")),"${region}":t("b",e.$pgettext("editprofile_step_2_detail","Region")),"${add}":t("b",e.$gettext("Add")),"${up}":t("b",e.$gettext("Up")),"${down}":t("b",e.$gettext("Down"))};return Object(s["B"])(a,r)}},StepThreeDetails:{functional:!0,render(t,{parent:e}){const a=e.$pgettext("editprofile_step_3_detail","Select your ${preferences}. Clicking ${submit} will save your settings."),r={"${preferences}":t("b",e.$gettext("preferences")),"${submit}":t("b",e.$gettext("Submit"))};return Object(s["B"])(a,r)}}},directives:{FocusTrap:u["a"]},data(){const t="fr"===this.$language.current?d["a"]:l["a"],e="fr"===this.$language.current?p["a"]:c["a"],a={AB:[],BC:[],PE:[],MB:[],NS:[],NB:[],NL:[],ON:[],QC:[],SK:[],YT:[],NT:[],NU:[]};Object.entries(e).forEach((function(t){a[t[1][0]].push([t[0],t[1][1],t[1][2]])}));const r={AB:[],BC:[],PE:[],MB:[],NS:[],NB:[],NL:[],ON:[],QC:[],SK:[],YT:[],NT:[],NU:[]};Object.entries(t).forEach((function(t){r[t[1][0]].push([t[0],t[1][1]])}));const i=Object(s["t"])(),o=Object(s["b"])(this.$language.current),n=Object.keys(i).sort((t,e)=>o(i[t],i[e])).map(t=>({prov:t,provName:i[t]}));return{cities_dict:r,stations_dict:a,formData:{pannel:"areaforecast",foretype:"icon",unit:"metric",autorefresh:null,forecastslist:[],conditionslist:[]},foreregion:"",condregion:"",addcities:[],addstations:[],removecities:[],removestations:[],regions:n,warningState:{page:"",state:0},ismodified:!1,profiledeleted:!1}},computed:{disable(){return!this.isprefmodified&&!this.ismodified},submitDisable(){return this.disable||0==this.formData.forecastslist.length&&0==this.formData.conditionslist.length},sel_cities_names(){const t="fr"===this.$language.current?d["a"]:l["a"],e=[];for(const a of this.formData.forecastslist)if(t[a]){const[r,i]=t[a];e.push([a,i+", "+r])}return e},sel_stations_names(){const t="fr"===this.$language.current?p["a"]:c["a"],e=[];for(const a of this.formData.conditionslist)if(t[a]){const[r,i,o]=t[a],s=o.includes("msc")?"":" †";e.push([a,i+s+", "+r])}return e},warning_message(){switch(this.warningState.state){case h:return this.$gettext("Your selection is already in the list");case g:return this.$gettext("Your selection has reached the maximum size")+" "+v}return""},isprefmodified(){const t=this.profile.preferences,e="textforecast"===t[0]||"areaforecast"===t[0]?"areaforecast":"currconditions";return this.formData.pannel!=e||this.formData.unit!=t[1]||this.formData.autorefresh!=t[2]||this.formData.foretype!=t[3]},is_profile_empty(){return 0==this.profile.forecasts.length&&0==this.profile.conditions.length},token(){return this.$store.state.myweatherprofile.token},profile(){return this.$store.state.myweatherprofile.profile}},watch:{profile(){this.loadProfileData()}},beforeMount(){this.loadProfileData(),this.$modal.hide("delete-modal")},methods:{loadProfileData(){const t=this.profile.preferences;this.formData.pannel="currconditions"===t[0]?t[0]:"areaforecast",this.formData.unit="string"===typeof t[1]?t[1]:"metric",this.formData.autorefresh="string"===typeof t[2]?t[2]:null,this.formData.foretype="string"===typeof t[3]?t[3]:"icon",this.formData.forecastslist=this.profile.forecasts.slice(),this.formData.conditionslist=this.profile.conditions.slice()},addSelection(t,e,a){if(!t.length)return;let r=0;while(t.length>0&&e.length-1&&(e.splice(t,1),this.ismodified=!0)}},moveUp(t,e){for(const a of t){const t=e.indexOf(a);t>0&&(e.splice(t-1,0,a),e.splice(t+1,1))}this.ismodified=!0},moveDown(t,e){for(let a=t.length;a>0;--a){const r=t[a-1],i=e.indexOf(r);ithead>tr>th{vertical-align:top}table.textforecast tr td,table.textforecast tr th{border:0}table.textforecast tr.pdg-btm-0 td,table.textforecast tr.pdg-btm-0 th{padding-bottom:0}table.textforecast tr.pdg-tp-0 td,table.textforecast tr.pdg-tp-0 th{padding-top:0}table.textforecast{border:0!important}table.textforecast tbody{border-top:0}.high{font-size:120%;font-weight:600}.pop{font-size:95%}@media print{body{font-size:13px}.breadcrumb{padding:2px}.panel{margin-bottom:0}#wb-lng{display:none!important}#mainContent{margin-top:15px}h1{font-size:22px;margin-top:5px}h3{font-size:14px!important}.panel h2{font-size:18px}.panel-heading{padding:5px}.dl-horizontal,dd,dl,dt{margin-bottom:0!important}#data .wb-eqht div{min-height:28px!important}}@media screen and (min-width:480px) and (max-width:767px){.dl-horizontal dt{clear:left;float:left;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd:after,.dl-horizontal dd:before{content:" ";display:table}.dl-horizontal dd:after{clear:both}}@media screen and (min-width:351px) and (max-width:479px){.dl-horizontal dt{clear:left;float:left;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd:after,.dl-horizontal dd:before{content:" ";display:table}.dl-horizontal dd:after{clear:both}}@media screen and (max-width:350px){.dl-horizontal dt{clear:left;float:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd:after,.dl-horizontal dd:before{content:" ";display:table}.dl-horizontal dd:after{clear:both}}',""]),t.exports=e},a430:function(t,e,a){var r=a("24fb");e=r(!1),e.push([t.i,"a.btn-danger,a.btn-danger:hover{color:#fff}",""]),t.exports=e},aef2:function(t,e,a){var r=a("24fb");e=r(!1),e.push([t.i,'.wxo-lowtemp{background-color:#aaf;white-space:nowrap}.wxo-hightemp{background-color:#faa;white-space:nowrap}.wxo-lowtemp:after{content:"\\e094"}.wxo-hightemp:after,.wxo-lowtemp:after{font-family:Glyphicons Halflings;font-size:.7em;margin-left:5px}.wxo-hightemp:after{content:"\\e093"}table.dataTable{width:99.9%!important;width:inherit!important}table.forecasts{table-layout:fixed}.table.conditions>tbody>tr>td{vertical-align:middle}.table.conditions>thead>tr>th{vertical-align:middle;text-align:center}table img.pull-left{margin-right:5px}.bold{font-weight:700}.bottom-spacer{padding-bottom:5px}.overflow{overflow-x:hidden}.condition-text{vertical-align:top;display:inline-flex}.wb-tabs [role=tabpanel]{overflow-x:hidden}.nopaddingbtm{padding-bottom:0}.greybkgrd{background-color:#eee}.foreground{position:relative;z-index:1}.text-filter{margin-top:-45px;margin-bottom:-15px}.sm-gutter{margin:0}.sm-gutter>[class*=col-]{padding:0}.container-adjust{margin-left:-15px;margin-right:-15px}.box-width{width:98%;padding-right:2px;padding-left:6px;overflow:auto}.instruction-wrapper summary{border:0;font-family:inherit;color:inherit}.bullet-mrgn{margin-bottom:0}.header-width{min-width:700px!important}.wrap-text{white-space:normal}.wrap-text-important{white-space:normal!important}.smidgen-left{left:2px}.btn-aligner{position:relative;left:16px}.en-bttn{width:125px}.en-bttn,.fr-bttn{float:right;padding-right:15px}.fr-bttn{width:170px}.howto_justify_text{text-align:justify}.howto_first_image{float:left;vertical-align:top;margin-left:12px;margin-right:12px}.howto_image{display:block;max-width:100%}.fade.in,.fade.out.noheight{animation-name:none!important;animation-duration:0s!important}.tabpanels{min-height:0!important}.linkwrap{word-wrap:break-word}#url5088 details{margin-left:15px;margin-right:15px;padding-right:5px}@media print{#viewprofile .wb-tabs>.tabpanels>details>summary{font-weight:700;font-size:18px;border:0}#viewprofile details[open]{border:0}#viewprofile .wb-tabs>.tabpanels>details:not([open]){display:none!important}div{border:1px solid #fff}}@media (min-width:992px){.btn-wrapper{width:95%;margin-top:40px;text-align:center}.btn-wrapper button{margin-bottom:5px}}',""]),t.exports=e},ccd4:function(t,e,a){var r=a("a430");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("499e").default;i("e76f86e2",r,!0,{sourceMap:!1,shadowMode:!1})}}]);

AltStyle によって変換されたページ (->オリジナル) /