/*! For license information please see settings-vue-settings-personal-info.js.LICENSE.txt */ !function(){var e,n={52079:function(e,n,r){"use strict";var a=r(20144),i=r(22200),o=r(16453),s=r(9944),l=(r(36144),r(4820)),c=r(79753),u=r(64024),d=r(74854),p=r(75925),A=r.n(p),f=r(10861),m=r.n(f),v=r(17652),g=(r(74063),r(53983)),h=r(44580),b=r(11341),y=r(69141),C=r(12945),x=r.n(C),w=r(45400),E={name:"FederationControlAction",components:{NcActionButton:r.n(w)()},props:{activeScope:{type:String,required:!0},displayName:{type:String,required:!0},handleScopeChange:{type:Function,default:function(){}},iconClass:{type:String,required:!0},isSupportedScope:{type:Boolean,required:!0},name:{type:String,required:!0},tooltipDisabled:{type:String,default:""},tooltip:{type:String,required:!0}},methods:{updateScope:function(){this.handleScopeChange(this.name)}}},_=r(93379),O=r.n(_),P=r(7795),j=r.n(P),I=r(90569),S=r.n(I),k=r(3565),L=r.n(k),D=r(19216),R=r.n(D),B=r(44589),N=r.n(B),T=r(8915),Z={};Z.styleTagTransform=N(),Z.setAttributes=L(),Z.insert=S().bind(null,"head"),Z.domAPI=j(),Z.insertStyleElement=R(),O()(T.Z,Z),T.Z&&T.Z.locals&&T.Z.locals;var M,U,z,F,H=r(51900),V=(0,H.Z)(E,(function(){var e=this;return(0,e._self._c)("NcActionButton",{staticClass:"federation-actions__btn",class:{"federation-actions__btn--active":e.activeScope===e.name},attrs:{"aria-label":e.isSupportedScope?e.tooltip:e.tooltipDisabled,"close-after-click":!0,disabled:!e.isSupportedScope,icon:e.iconClass,title:e.isSupportedScope?e.tooltip:e.tooltipDisabled},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.updateScope.apply(null,arguments)}}},[e._v("\n\t"+e._s(e.isSupportedScope?e.tooltip:e.tooltipDisabled)+"\n")])}),[],!1,null,"2dff160a",null),G=V.exports;function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=Object.freeze({ADDRESS:"address",AVATAR:"avatar",BIOGRAPHY:"biography",DISPLAYNAME:"displayname",EMAIL_COLLECTION:"additional_mail",EMAIL:"email",HEADLINE:"headline",NOTIFICATION_EMAIL:"notify_email",ORGANISATION:"organisation",PHONE:"phone",PROFILE_ENABLED:"profile_enabled",ROLE:"role",TWITTER:"twitter",WEBSITE:"website"}),$=Object.freeze({ADDRESS:(0,s.translate)("settings","Location"),AVATAR:(0,s.translate)("settings","Profile picture"),BIOGRAPHY:(0,s.translate)("settings","About"),DISPLAYNAME:(0,s.translate)("settings","Full name"),EMAIL_COLLECTION:(0,s.translate)("settings","Additional email"),EMAIL:(0,s.translate)("settings","Email"),HEADLINE:(0,s.translate)("settings","Headline"),ORGANISATION:(0,s.translate)("settings","Organisation"),PHONE:(0,s.translate)("settings","Phone number"),PROFILE_ENABLED:(0,s.translate)("settings","Profile"),ROLE:(0,s.translate)("settings","Role"),TWITTER:(0,s.translate)("settings","Twitter"),WEBSITE:(0,s.translate)("settings","Website")}),W=Object.freeze((q(M={},Y.ADDRESS,$.ADDRESS),q(M,Y.AVATAR,$.AVATAR),q(M,Y.BIOGRAPHY,$.BIOGRAPHY),q(M,Y.DISPLAYNAME,$.DISPLAYNAME),q(M,Y.EMAIL_COLLECTION,$.EMAIL_COLLECTION),q(M,Y.EMAIL,$.EMAIL),q(M,Y.HEADLINE,$.HEADLINE),q(M,Y.ORGANISATION,$.ORGANISATION),q(M,Y.PHONE,$.PHONE),q(M,Y.PROFILE_ENABLED,$.PROFILE_ENABLED),q(M,Y.ROLE,$.ROLE),q(M,Y.TWITTER,$.TWITTER),q(M,Y.WEBSITE,$.WEBSITE),M)),K=Object.freeze({PROFILE_VISIBILITY:(0,s.translate)("settings","Profile visibility")}),Q=Object.freeze((q(U={},$.ADDRESS,Y.ADDRESS),q(U,$.AVATAR,Y.AVATAR),q(U,$.BIOGRAPHY,Y.BIOGRAPHY),q(U,$.DISPLAYNAME,Y.DISPLAYNAME),q(U,$.EMAIL_COLLECTION,Y.EMAIL_COLLECTION),q(U,$.EMAIL,Y.EMAIL),q(U,$.HEADLINE,Y.HEADLINE),q(U,$.ORGANISATION,Y.ORGANISATION),q(U,$.PHONE,Y.PHONE),q(U,$.PROFILE_ENABLED,Y.PROFILE_ENABLED),q(U,$.ROLE,Y.ROLE),q(U,$.TWITTER,Y.TWITTER),q(U,$.WEBSITE,Y.WEBSITE),U)),X=Object.freeze({LANGUAGE:"language",LOCALE:"locale"}),J=Object.freeze({LANGUAGE:(0,s.translate)("settings","Language"),LOCALE:(0,s.translate)("settings","Locale")}),ee=Object.freeze({PRIVATE:"v2-private",LOCAL:"v2-local",FEDERATED:"v2-federated",PUBLISHED:"v2-published"}),te=Object.freeze((q(z={},$.ADDRESS,[ee.LOCAL,ee.PRIVATE]),q(z,$.AVATAR,[ee.LOCAL,ee.PRIVATE]),q(z,$.BIOGRAPHY,[ee.LOCAL,ee.PRIVATE]),q(z,$.DISPLAYNAME,[ee.LOCAL]),q(z,$.EMAIL_COLLECTION,[ee.LOCAL]),q(z,$.EMAIL,[ee.LOCAL]),q(z,$.HEADLINE,[ee.LOCAL,ee.PRIVATE]),q(z,$.ORGANISATION,[ee.LOCAL,ee.PRIVATE]),q(z,$.PHONE,[ee.LOCAL,ee.PRIVATE]),q(z,$.PROFILE_ENABLED,[ee.LOCAL,ee.PRIVATE]),q(z,$.ROLE,[ee.LOCAL,ee.PRIVATE]),q(z,$.TWITTER,[ee.LOCAL,ee.PRIVATE]),q(z,$.WEBSITE,[ee.LOCAL,ee.PRIVATE]),z)),ne=Object.freeze([$.BIOGRAPHY,$.HEADLINE,$.ORGANISATION,$.ROLE]),re="Scope",ae=Object.freeze((q(F={},ee.PRIVATE,{name:ee.PRIVATE,displayName:(0,s.translate)("settings","Private"),tooltip:(0,s.translate)("settings","Only visible to people matched via phone number integration through Talk on mobile"),tooltipDisabled:(0,s.translate)("settings","Not available as this property is required for core functionality including file sharing and calendar invitations"),iconClass:"icon-phone"}),q(F,ee.LOCAL,{name:ee.LOCAL,displayName:(0,s.translate)("settings","Local"),tooltip:(0,s.translate)("settings","Only visible to people on this instance and guests"),iconClass:"icon-password"}),q(F,ee.FEDERATED,{name:ee.FEDERATED,displayName:(0,s.translate)("settings","Federated"),tooltip:(0,s.translate)("settings","Only synchronize to trusted servers"),tooltipDisabled:(0,s.translate)("settings","Not available as federation has been disabled for your account, contact your system administrator if you have any questions"),iconClass:"icon-contacts-dark"}),q(F,ee.PUBLISHED,{name:ee.PUBLISHED,displayName:(0,s.translate)("settings","Published"),tooltip:(0,s.translate)("settings","Synchronize to trusted servers and the global and public address book"),tooltipDisabled:(0,s.translate)("settings","Not available as publishing user specific data to the lookup server is not allowed, contact your system administrator if you have any questions"),iconClass:"icon-link"}),F)),ie=ee.LOCAL,oe=Object.freeze({NOT_VERIFIED:0,VERIFICATION_IN_PROGRESS:1,VERIFIED:2}),se=/^(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){255,})(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){65,}@)(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22))(?:\.(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22)))*@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-z0-9]+(?:-+[a-z0-9]+)*\.){1,126}){1,}(?:(?:[a-z][a-z0-9]*)|(?:(?:xn--)[a-z0-9]+))(?:-+[a-z0-9]+)*)|(?:\[(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){7})|(?:(?!(?:.*[a-f0-9][:\]]){7,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?)))|(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){5}:)|(?:(?!(?:.*[a-f0-9]:){5,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\]))$/i,le=r(10128);function ce(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function ue(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){ce(i,r,a,o,s,"next",e)}function s(e){ce(i,r,a,o,s,"throw",e)}o(void 0)}))}}r(65509);var de=function(){var e=ue(regeneratorRuntime.mark((function e(t,n){var r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"boolean"==typeof n&&(n=n?"1":"0"),r=(0,i.getCurrentUser)().uid,a=(0,c.generateOcsUrl)("cloud/users/{userId}",{userId:r}),e.next=5,(0,le.confirmPassword)();case 5:return e.next=7,l.default.put(a,{key:t,value:n});case 7:return o=e.sent,e.abrupt("return",o.data);case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),pe=function(){var e=ue(regeneratorRuntime.mark((function e(t,n){var r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(0,i.getCurrentUser)().uid,a=(0,c.generateOcsUrl)("cloud/users/{userId}",{userId:r}),e.next=4,(0,le.confirmPassword)();case 4:return e.next=6,l.default.put(a,{key:"".concat(t).concat(re),value:n});case 6:return o=e.sent,e.abrupt("return",o.data);case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Ae=(0,r(17499).IY)().setApp("settings").detectUser().build();function fe(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function me(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){fe(i,r,a,o,s,"next",e)}function s(e){fe(i,r,a,o,s,"throw",e)}o(void 0)}))}}var ve=(0,o.loadState)("settings","accountParameters",{}),ge=ve.federationEnabled,he=ve.lookupServerUploadEnabled,be={name:"FederationControl",components:{NcActions:x(),FederationControlAction:G},props:{readable:{type:String,required:!0,validator:function(e){return Object.values($).includes(e)||Object.values(J).includes(e)||e===K.PROFILE_VISIBILITY}},additional:{type:Boolean,default:!1},additionalValue:{type:String,default:""},disabled:{type:Boolean,default:!1},handleAdditionalScopeChange:{type:Function,default:null},scope:{type:String,required:!0}},data:function(){return{readableLowerCase:this.readable.toLocaleLowerCase(),initialScope:this.scope}},computed:{ariaLabel:function(){return t("settings","Change scope level of {property}, current scope is {scope}",{property:this.readableLowerCase,scope:this.scopeDisplayNameLowerCase})},scopeDisplayNameLowerCase:function(){return ae[this.scope].displayName.toLocaleLowerCase()},scopeIcon:function(){return ae[this.scope].iconClass},federationScopes:function(){return Object.values(ae)},supportedScopes:function(){var e=te[this.readable];return ne.includes(this.readable)||(ge&&e.push(ee.FEDERATED),he&&e.push(ee.PUBLISHED)),e}},methods:{changeScope:function(e){var t=this;return me(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.$emit("update:scope",e),t.additional){n.next=6;break}return n.next=4,t.updatePrimaryScope(e);case 4:n.next=8;break;case 6:return n.next=8,t.updateAdditionalScope(e);case 8:case"end":return n.stop()}}),n)})))()},updatePrimaryScope:function(e){var n=this;return me(regeneratorRuntime.mark((function r(){var a,i,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,pe(Q[n.readable],e);case 3:o=r.sent,n.handleResponse({scope:e,status:null===(a=o.ocs)||void 0===a||null===(i=a.meta)||void 0===i?void 0:i.status}),r.next=10;break;case 7:r.prev=7,r.t0=r.catch(0),n.handleResponse({errorMessage:t("settings","Unable to update federation scope of the primary {property}",{property:n.readableLowerCase}),error:r.t0});case 10:case"end":return r.stop()}}),r,null,[[0,7]])})))()},updateAdditionalScope:function(e){var n=this;return me(regeneratorRuntime.mark((function r(){var a,i,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,n.handleAdditionalScopeChange(n.additionalValue,e);case 3:o=r.sent,n.handleResponse({scope:e,status:null===(a=o.ocs)||void 0===a||null===(i=a.meta)||void 0===i?void 0:i.status}),r.next=10;break;case 7:r.prev=7,r.t0=r.catch(0),n.handleResponse({errorMessage:t("settings","Unable to update federation scope of additional {property}",{property:n.readableLowerCase}),error:r.t0});case 10:case"end":return r.stop()}}),r,null,[[0,7]])})))()},handleResponse:function(e){var t=e.scope,n=e.status,r=e.errorMessage,a=e.error;"ok"===n?this.initialScope=t:(this.$emit("update:scope",this.initialScope),(0,u.x2)(r),Ae.error(r,a))}}},ye=r(59003),Ce={};Ce.styleTagTransform=N(),Ce.setAttributes=L(),Ce.insert=S().bind(null,"head"),Ce.domAPI=j(),Ce.insertStyleElement=R(),O()(ye.Z,Ce),ye.Z&&ye.Z.locals&&ye.Z.locals;var xe=(0,H.Z)(be,(function(){var e=this,t=e._self._c;return t("NcActions",{class:{"federation-actions":!e.additional,"federation-actions--additional":e.additional},attrs:{"aria-label":e.ariaLabel,"default-icon":e.scopeIcon,disabled:e.disabled}},e._l(e.federationScopes,(function(n){return t("FederationControlAction",{key:n.name,attrs:{"active-scope":e.scope,"display-name":n.displayName,"handle-scope-change":e.changeScope,"icon-class":n.iconClass,"is-supported-scope":e.supportedScopes.includes(n.name),name:n.name,"tooltip-disabled":n.tooltipDisabled,tooltip:n.tooltip,"aria-label":n.tooltip}})})),1)}),[],!1,null,"2513166c",null).exports,we={name:"HeaderBar",components:{FederationControl:xe,NcButton:m(),Plus:y.Z},props:{scope:{type:String,default:null},readable:{type:String,required:!0},inputId:{type:String,default:null},isEditable:{type:Boolean,default:!0},isMultiValueSupported:{type:Boolean,default:!1},isValidSection:{type:Boolean,default:!0}},data:function(){return{localScope:this.scope}},computed:{isProfileProperty:function(){return this.readable===$.PROFILE_ENABLED},isSettingProperty:function(){return!Object.values($).includes(this.readable)&&!Object.values(K).includes(this.readable)}},methods:{onAddAdditional:function(){this.$emit("add-additional")},onScopeChange:function(e){this.$emit("update:scope",e)}}},Ee=r(37684),_e={};_e.styleTagTransform=N(),_e.setAttributes=L(),_e.insert=S().bind(null,"head"),_e.domAPI=j(),_e.insertStyleElement=R(),O()(Ee.Z,_e),Ee.Z&&Ee.Z.locals&&Ee.Z.locals;var Oe=(0,H.Z)(we,(function(){var e=this,t=e._self._c;return t("h3",{class:{"setting-property":e.isSettingProperty,"profile-property":e.isProfileProperty}},[t("label",{attrs:{for:e.inputId}},[e._v("\n\t\t"+e._s(e.readable)+"\n\t")]),e._v(" "),e.scope?[t("FederationControl",{staticClass:"federation-control",attrs:{readable:e.readable,scope:e.localScope},on:{"update:scope":[function(t){e.localScope=t},e.onScopeChange]}})]:e._e(),e._v(" "),e.isEditable&&e.isMultiValueSupported?[t("NcButton",{attrs:{type:"tertiary",disabled:!e.isValidSection,"aria-label":e.t("settings","Add additional email")},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.onAddAdditional.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Plus",{attrs:{size:20}})]},proxy:!0}],null,!1,32235154)},[e._v("\n\t\t\t"+e._s(e.t("settings","Add"))+"\n\t\t")])]:e._e()],2)}),[],!1,null,"8094b2e6",null),Pe=Oe.exports;function je(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Ie(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){je(i,r,a,o,s,"next",e)}function s(e){je(i,r,a,o,s,"throw",e)}o(void 0)}))}}function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ke(e){for(var t=1;t{usage}",{usage:Ke}):t("settings","You are using {usage} of {totalSpace} ({usageRelative}%)",{usage:Ke,totalSpace:We,usageRelative:Qe})}},data:function(){return{groups:Ye,usageRelative:Qe}}},Je=r(94122),et={};et.styleTagTransform=N(),et.setAttributes=L(),et.insert=S().bind(null,"head"),et.domAPI=j(),et.insertStyleElement=R(),O()(Je.Z,et),Je.Z&&Je.Z.locals&&Je.Z.locals;var tt=(0,H.Z)(Xe,(function(){var e=this,t=e._self._c;return t("section",[t("HeaderBar",{attrs:{readable:e.t("settings","Details")}}),e._v(" "),t("div",{staticClass:"details"},[t("div",{staticClass:"details__groups"},[t("Account",{attrs:{size:20}}),e._v(" "),t("div",{staticClass:"details__groups-info"},[t("p",[e._v(e._s(e.t("settings","You are a member of the following groups:")))]),e._v(" "),t("p",{staticClass:"details__groups-list"},[e._v(e._s(e.groups.join(", ")))])])],1),e._v(" "),t("div",{staticClass:"details__quota"},[t("CircleSlice",{attrs:{size:20}}),e._v(" "),t("div",{staticClass:"details__quota-info"},[t("p",{staticClass:"details__quota-text",domProps:{innerHTML:e._s(e.quotaText)}}),e._v(" "),t("NcProgressBar",{attrs:{size:"medium",value:e.usageRelative,error:e.usageRelative>80}})],1)],1)])],1)}),[],!1,null,"546e7ece",null).exports,nt=r(20296),rt=r.n(nt),at=r(93207),it=r(68469),ot=r(38384);function st(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function lt(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){st(i,r,a,o,s,"next",e)}function s(e){st(i,r,a,o,s,"throw",e)}o(void 0)}))}}var ct={name:"AccountPropertySection",components:{AlertCircle:at.default,AlertOctagon:it.Z,Check:ot.default,HeaderBar:Pe},props:{name:{type:String,required:!0},value:{type:String,required:!0},scope:{type:String,required:!0},readable:{type:String,required:!0},placeholder:{type:String,required:!0},type:{type:String,default:"text"},isEditable:{type:Boolean,default:!0},multiLine:{type:Boolean,default:!1},onValidate:{type:Function,default:null},onSave:{type:Function,default:null}},data:function(){return{initialValue:this.value,helperText:null,showCheckmarkIcon:!1,showErrorIcon:!1}},computed:{inputId:function(){return"account-property-".concat(this.name)}},methods:{onPropertyChange:function(e){this.$emit("update:value",e.target.value),this.debouncePropertyChange(e.target.value.trim())},debouncePropertyChange:rt()(function(){var e=lt(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.helperText=null,!this.$refs.input||!this.$refs.input.validationMessage){e.next=4;break}return this.helperText=this.$refs.input.validationMessage,e.abrupt("return");case 4:if(!this.onValidate||this.onValidate(t)){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,this.updateProperty(t);case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),500),updateProperty:function(e){var n=this;return lt(regeneratorRuntime.mark((function r(){var a,i,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,de(n.name,e);case 3:o=r.sent,n.handleResponse({value:e,status:null===(a=o.ocs)||void 0===a||null===(i=a.meta)||void 0===i?void 0:i.status}),r.next=10;break;case 7:r.prev=7,r.t0=r.catch(0),n.handleResponse({errorMessage:t("settings","Unable to update {property}",{property:n.readable.toLocaleLowerCase()}),error:r.t0});case 10:case"end":return r.stop()}}),r,null,[[0,7]])})))()},handleResponse:function(e){var t=this,n=e.value,r=e.status,a=e.errorMessage,i=e.error;"ok"===r?(this.initialValue=n,this.onSave&&this.onSave(n),this.showCheckmarkIcon=!0,setTimeout((function(){t.showCheckmarkIcon=!1}),2e3)):(this.$emit("update:value",this.initialValue),(0,u.x2)(a),Ae.error(a,i),this.showErrorIcon=!0,setTimeout((function(){t.showErrorIcon=!1}),2e3))}}},ut=ct,dt=r(69728),pt={};pt.styleTagTransform=N(),pt.setAttributes=L(),pt.insert=S().bind(null,"head"),pt.domAPI=j(),pt.insertStyleElement=R(),O()(dt.Z,pt),dt.Z&&dt.Z.locals&&dt.Z.locals;var At=(0,H.Z)(ut,(function(){var e=this,t=e._self._c;return t("section",[t("HeaderBar",{attrs:{scope:e.scope,readable:e.readable,"input-id":e.inputId,"is-editable":e.isEditable},on:{"update:scope":function(t){e.scope=t},"update:readable":function(t){e.readable=t}}}),e._v(" "),e.isEditable?t("div",{staticClass:"property"},[e.multiLine?t("textarea",{attrs:{id:e.inputId,placeholder:e.placeholder,rows:"8",autocapitalize:"none",autocomplete:"off",autocorrect:"off"},domProps:{value:e.value},on:{input:e.onPropertyChange}}):t("input",{ref:"input",attrs:{id:e.inputId,placeholder:e.placeholder,type:e.type,"aria-describedby":e.helperText?"".concat(e.name,"-helper-text"):"",autocapitalize:"none",autocomplete:"on",autocorrect:"off"},domProps:{value:e.value},on:{input:e.onPropertyChange}}),e._v(" "),t("div",{staticClass:"property__actions-container"},[t("transition",{attrs:{name:"fade"}},[e.showCheckmarkIcon?t("Check",{attrs:{size:20}}):e.showErrorIcon?t("AlertOctagon",{attrs:{size:20}}):e._e()],1)],1)]):t("span",[e._v("\n\t\t"+e._s(e.value||e.t("settings","No {property} set",{property:e.readable.toLocaleLowerCase()}))+"\n\t")]),e._v(" "),e.helperText?t("p",{staticClass:"property__helper-text-message property__helper-text-message--error",attrs:{id:"".concat(e.name,"-helper-text")}},[t("AlertCircle",{staticClass:"property__helper-text-message__icon",attrs:{size:18}}),e._v("\n\t\t"+e._s(e.helperText)+"\n\t")],1):e._e()],1)}),[],!1,null,"2943fbd4",null).exports;function ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mt(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=i)&&Object.keys(a.O).every((function(e){return a.O[e](n[l])}))?n.splice(l--,1):(s=!1,i0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,r,i]},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},a.j=4418,function(){a.b=document.baseURI||self.location.href;var e={4418:0};a.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,i,o=n[0],s=n[1],l=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(l)var u=l(a)}for(t&&t(n);c