diff options
author | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2021-09-14 16:59:02 +0300 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2021-09-14 16:59:02 +0300 |
commit | 1e28d144460984f535434cf7665c4db807ae7275 (patch) | |
tree | 13718ba2c0ac2ab0889dfda876669021b90c47a0 /apps/settings/js/vue-settings-personal-info.js | |
parent | cec68f3f8d7cac5492fb7bd28cb4564f4f5c8cb5 (diff) |
Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/settings/js/vue-settings-personal-info.js')
-rw-r--r-- | apps/settings/js/vue-settings-personal-info.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings/js/vue-settings-personal-info.js b/apps/settings/js/vue-settings-personal-info.js index aa14d598a76..49edb1be51c 100644 --- a/apps/settings/js/vue-settings-personal-info.js +++ b/apps/settings/js/vue-settings-personal-info.js @@ -199,7 +199,7 @@ r.VTooltip.options.defaultTemplate='<div class="vue-tooltip" role="tooltip" data * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * - */t.default=r.a}])},,function(e,t){function n(e,t,n){var r,a,o,i,s;function l(){var u=Date.now()-i;u<t&&u>=0?r=setTimeout(l,t-u):(r=null,n||(s=e.apply(o,a),o=a=null))}null==t&&(t=100);var u=function(){o=this,a=arguments,i=Date.now();var u=n&&!r;return r||(r=setTimeout(l,t)),u&&(s=e.apply(o,a),o=a=null),s};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(s=e.apply(o,a),o=a=null,clearTimeout(r),r=null)},u}n.debounce=n,e.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildConsoleLogger=function(e){return new a(e)},t.ConsoleLogger=void 0;var r=n(336);class a{constructor(e){this.context=e}formatMessage(e,t,n){let r="["+t+"]";return n&&n.app&&(r+=" "+n.app+": "),r+e}log(e,t,n){switch(e){case 0:console.debug(this.formatMessage(t,r.LogLevel.Debug,n),n);break;case 1:console.info(this.formatMessage(t,r.LogLevel.Info,n),n);break;case 2:console.warn(this.formatMessage(t,r.LogLevel.Warn,n),n);break;case 3:console.error(this.formatMessage(t,r.LogLevel.Error,n),n);break;default:console.error(this.formatMessage(t,r.LogLevel.Fatal,n),n)}}debug(e,t){this.log(0,e,Object.assign({},this.context,t))}info(e,t){this.log(1,e,Object.assign({},this.context,t))}warn(e,t){this.log(2,e,Object.assign({},this.context,t))}error(e,t){this.log(3,e,Object.assign({},this.context,t))}fatal(e,t){this.log(4,e,Object.assign({},this.context,t))}}t.ConsoleLogger=a},function(e,t,n){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=void 0,t.LogLevel=r,function(e){e.Debug="DEBUG",e.Info="INFO",e.Warn="WARN",e.Error="ERROR",e.Fatal="FATAL"}(r||(t.LogLevel=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerBuilder=void 0;var r=n(30);t.LoggerBuilder=class{constructor(e){this.context={},this.factory=e}setApp(e){return this.context.app=e,this}setUid(e){return this.context.uid=e,this}detectUser(){const e=(0,r.getCurrentUser)();return null!==e&&(this.context.uid=e.uid),this}build(){return this.factory(this.context)}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o),s=n(416),l=n.n(s),u=n(455),c=n(456),p=i()(a.a),f=l()(u.a),d=l()(c.a);p.push([e.i,".toastify.dialogs{min-width:200px;background:none;background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 6px 0 var(--color-box-shadow);padding:12px;padding-right:34px;margin-top:45px;position:fixed;z-index:10100;border-radius:var(--border-radius)}.toastify.dialogs .toast-undo-button,.toastify.dialogs .toast-close{position:absolute;top:0;right:0;overflow:hidden;box-sizing:border-box;min-width:44px;height:100%;padding:12px;white-space:nowrap;background-repeat:no-repeat;background-position:center;background-color:transparent;min-height:0}.toastify.dialogs .toast-undo-button.toast-close,.toastify.dialogs .toast-close.toast-close{background-image:url("+f+");text-indent:200%;opacity:.4}.toastify.dialogs .toast-undo-button.toast-undo-button,.toastify.dialogs .toast-close.toast-undo-button{margin:3px;height:calc(100% - 2 * 3px)}.toastify.dialogs .toast-undo-button:hover,.toastify.dialogs .toast-undo-button:focus,.toastify.dialogs .toast-undo-button:active,.toastify.dialogs .toast-close:hover,.toastify.dialogs .toast-close:focus,.toastify.dialogs .toast-close:active{cursor:pointer;opacity:1}.toastify.dialogs.toastify-top{right:10px}.toastify.dialogs.toast-with-click{cursor:pointer}.toastify.dialogs.toast-error{border-left:3px solid var(--color-error)}.toastify.dialogs.toast-info{border-left:3px solid var(--color-primary)}.toastify.dialogs.toast-warning{border-left:3px solid var(--color-warning)}.toastify.dialogs.toast-success{border-left:3px solid var(--color-success)}.toastify.dialogs.toast-undo{border-left:3px solid var(--color-success)}.theme--dark .toastify.dialogs .toast-close.toast-close{background-image:url("+d+")}","",{version:3,sources:["webpack://./node_modules/@nextcloud/dialogs/styles/toast.scss"],names:[],mappings:"AAwBA,kBACC,eAAA,CACA,eAAA,CACA,6CAAA,CACA,4BAAA,CACA,4CAAA,CACA,YAAA,CACA,kBAAA,CACA,eAAA,CACA,cAAA,CACA,aAAA,CACA,kCAAA,CAEA,oEAEC,iBAAA,CACA,KAAA,CACA,OAAA,CACA,eAAA,CACA,qBAAA,CACA,cAAA,CACA,WAAA,CACA,YAAA,CACA,kBAAA,CACA,2BAAA,CACA,0BAAA,CACA,4BAAA,CACA,YAAA,CAGA,4FACC,wDAAA,CACA,gBAAA,CACA,UAAA,CAGD,wGAEC,UADS,CAET,2BAAA,CAGD,kPACC,cAAA,CACA,SAAA,CAIF,+BACC,UAAA,CAID,mCACC,cAAA,CAID,8BACC,wCAAA,CAGD,6BACC,0CAAA,CAGD,gCACC,0CAAA,CAGD,gCACC,0CAAA,CAGD,6BACC,0CAAA,CASC,wDACC,wDAAA",sourcesContent:["/**\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\n// using a different class than server\n// remember to import this scss file into your app\n.toastify.dialogs {\n\tmin-width: 200px;\n\tbackground: none;\n\tbackground-color: var(--color-main-background);\n\tcolor: var(--color-main-text);\n\tbox-shadow: 0 0 6px 0 var(--color-box-shadow);\n\tpadding: 12px;\n\tpadding-right: 34px;\n\tmargin-top: 45px;\n\tposition: fixed;\n\tz-index: 10100;\n\tborder-radius: var(--border-radius);\n\n\t.toast-undo-button,\n\t.toast-close {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tright: 0;\n\t\toverflow: hidden;\n\t\tbox-sizing: border-box;\n\t\tmin-width: 44px;\n\t\theight: 100%;\n\t\tpadding: 12px;\n\t\twhite-space: nowrap;\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: center;\n\t\tbackground-color: transparent;\n\t\tmin-height: 0;\n\n\t\t// icon styling\n\t\t&.toast-close {\n\t\t\tbackground-image: url('./close.svg');\n\t\t\ttext-indent: 200%;\n\t\t\topacity: .4;\n\t\t}\n\n\t\t&.toast-undo-button {\n\t\t\t$margin: 3px;\n\t\t\tmargin: $margin;\n\t\t\theight: calc(100% - 2 * #{$margin});\n\t\t}\n\n\t\t&:hover, &:focus, &:active {\n\t\t\tcursor: pointer;\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t&.toastify-top {\n\t\tright: 10px;\n\t}\n\n\t// Toast with onClick callback\n\t&.toast-with-click {\n\t\tcursor: pointer;\n\t}\n\n\t// Various toasts types\n\t&.toast-error {\n\t\tborder-left: 3px solid var(--color-error);\n\t}\n\n\t&.toast-info {\n\t\tborder-left: 3px solid var(--color-primary);\n\t}\n\n\t&.toast-warning {\n\t\tborder-left: 3px solid var(--color-warning);\n\t}\n\n\t&.toast-success {\n\t\tborder-left: 3px solid var(--color-success);\n\t}\n\n\t&.toast-undo {\n\t\tborder-left: 3px solid var(--color-success);\n\t}\n}\n\n/* dark theme overrides */\n.theme--dark {\n\t.toastify.dialogs {\n\t\t.toast-close {\n\t\t\t/* close icon style */\n\t\t\t&.toast-close {\n\t\t\t\tbackground-image: url('./close-dark.svg');\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]),t.a=p},function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,".displayname[data-v-1686f79f]{display:grid;align-items:center}.displayname input[data-v-1686f79f]{grid-area:1/1;width:100%;height:34px;margin:3px 3px 3px 0;padding:7px 6px;color:var(--color-main-text);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);background-color:var(--color-main-background);font-family:var(--font-face);cursor:text}.displayname .displayname__actions-container[data-v-1686f79f]{grid-area:1/1;justify-self:flex-end;height:30px;display:flex;gap:0 2px;margin-right:5px}.displayname .displayname__actions-container .icon-checkmark[data-v-1686f79f],.displayname .displayname__actions-container .icon-error[data-v-1686f79f]{height:30px !important;min-height:30px !important;width:30px !important;min-width:30px !important;top:0;right:0;float:none}.fade-enter[data-v-1686f79f],.fade-leave-to[data-v-1686f79f]{opacity:0}.fade-enter-active[data-v-1686f79f]{transition:opacity 200ms ease-out}.fade-leave-active[data-v-1686f79f]{transition:opacity 300ms ease-out}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/DisplayNameSection/DisplayName.vue"],names:[],mappings:"AA8HA,8BACC,YAAA,CACA,kBAAA,CAEA,oCACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,oBAAA,CACA,eAAA,CACA,4BAAA,CACA,yCAAA,CACA,kCAAA,CACA,6CAAA,CACA,4BAAA,CACA,WAAA,CAGD,8DACC,aAAA,CACA,qBAAA,CACA,WAAA,CAEA,YAAA,CACA,SAAA,CACA,gBAAA,CAEA,wJAEC,sBAAA,CACA,0BAAA,CACA,qBAAA,CACA,yBAAA,CACA,KAAA,CACA,OAAA,CACA,UAAA,CAKH,6DAEC,SAAA,CAGD,oCACC,iCAAA,CAGD,oCACC,iCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.displayname {\n\tdisplay: grid;\n\talign-items: center;\n\n\tinput {\n\t\tgrid-area: 1 / 1;\n\t\twidth: 100%;\n\t\theight: 34px;\n\t\tmargin: 3px 3px 3px 0;\n\t\tpadding: 7px 6px;\n\t\tcolor: var(--color-main-text);\n\t\tborder: 1px solid var(--color-border-dark);\n\t\tborder-radius: var(--border-radius);\n\t\tbackground-color: var(--color-main-background);\n\t\tfont-family: var(--font-face);\n\t\tcursor: text;\n\t}\n\n\t.displayname__actions-container {\n\t\tgrid-area: 1 / 1;\n\t\tjustify-self: flex-end;\n\t\theight: 30px;\n\n\t\tdisplay: flex;\n\t\tgap: 0 2px;\n\t\tmargin-right: 5px;\n\n\t\t.icon-checkmark,\n\t\t.icon-error {\n\t\t\theight: 30px !important;\n\t\t\tmin-height: 30px !important;\n\t\t\twidth: 30px !important;\n\t\t\tmin-width: 30px !important;\n\t\t\ttop: 0;\n\t\t\tright: 0;\n\t\t\tfloat: none;\n\t\t}\n\t}\n}\n\n.fade-enter,\n.fade-leave-to {\n\topacity: 0;\n}\n\n.fade-enter-active {\n\ttransition: opacity 200ms ease-out;\n}\n\n.fade-leave-active {\n\ttransition: opacity 300ms ease-out;\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,"button[data-v-1240dd96]{height:44px;padding:0 16px;border:none;background-color:transparent}button .icon[data-v-1240dd96]{margin-right:8px}button[data-v-1240dd96]:enabled{opacity:.4 !important}button:enabled .icon[data-v-1240dd96]{opacity:.8 !important}button[data-v-1240dd96]:hover{background-color:rgba(127,127,127,.15)}button[data-v-1240dd96]:enabled:hover{background-color:rgba(127,127,127,.25);opacity:.8 !important}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/shared/AddButton.vue"],names:[],mappings:"AA4CA,wBACC,WAAA,CACA,cAAA,CACA,WAAA,CACA,4BAAA,CAEA,8BACC,gBAAA,CAGD,gCACC,qBAAA,CAEA,sCACC,qBAAA,CAIF,8BACC,sCAAA,CAGD,sCACC,sCAAA,CACA,qBAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nbutton {\n\theight: 44px;\n\tpadding: 0 16px;\n\tborder: none;\n\tbackground-color: transparent;\n\n\t.icon {\n\t\tmargin-right: 8px;\n\t}\n\n\t&:enabled {\n\t\topacity: 0.4 !important;\n\n\t\t.icon {\n\t\t\topacity: 0.8 !important;\n\t\t}\n\t}\n\n\t&:hover {\n\t\tbackground-color: rgba(127, 127, 127, .15);\n\t}\n\n\t&:enabled:hover {\n\t\tbackground-color: rgba(127, 127, 127, .25);\n\t\topacity: 0.8 !important;\n\t}\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,".federation-actions[data-v-8a941ef4],.federation-actions--additional[data-v-8a941ef4]{opacity:.4 !important}.federation-actions[data-v-8a941ef4]:hover,.federation-actions--additional[data-v-8a941ef4]:hover{opacity:.8 !important}.federation-actions--additional[data-v-8a941ef4] button{padding-bottom:7px;height:30px !important;min-height:30px !important;width:30px !important;min-width:30px !important}.federation-actions__btn[data-v-8a941ef4] p{width:150px !important;padding:8px 0 !important;color:var(--color-main-text) !important;font-size:12.8px !important;line-height:1.5em !important}.federation-actions__btn--active[data-v-8a941ef4]{background-color:var(--color-primary-light) !important;box-shadow:inset 2px 0 var(--color-primary) !important}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/shared/FederationControl.vue"],names:[],mappings:"AA+KA,sFAEC,qBAAA,CAEA,kGACC,qBAAA,CAKD,wDAEC,kBAAA,CACA,sBAAA,CACA,0BAAA,CACA,qBAAA,CACA,yBAAA,CAKD,4CACC,sBAAA,CACA,wBAAA,CACA,uCAAA,CACA,2BAAA,CACA,4BAAA,CAIF,kDACC,sDAAA,CACA,sDAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.federation-actions,\n.federation-actions--additional {\n\topacity: 0.4 !important;\n\n\t&:hover {\n\t\topacity: 0.8 !important;\n\t}\n}\n\n.federation-actions--additional {\n\t&::v-deep button {\n\t\t// TODO remove this hack\n\t\tpadding-bottom: 7px;\n\t\theight: 30px !important;\n\t\tmin-height: 30px !important;\n\t\twidth: 30px !important;\n\t\tmin-width: 30px !important;\n\t}\n}\n\n.federation-actions__btn {\n\t&::v-deep p {\n\t\twidth: 150px !important;\n\t\tpadding: 8px 0 !important;\n\t\tcolor: var(--color-main-text) !important;\n\t\tfont-size: 12.8px !important;\n\t\tline-height: 1.5em !important;\n\t}\n}\n\n.federation-actions__btn--active {\n\tbackground-color: var(--color-primary-light) !important;\n\tbox-shadow: inset 2px 0 var(--color-primary) !important;\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,"h3[data-v-5a80735a]{display:inline-flex;width:100%;margin:12px 0 0 0;font-size:16px;color:var(--color-text-light)}h3.setting-property[data-v-5a80735a]{height:38px}h3 label[data-v-5a80735a]{cursor:pointer}.federation-control[data-v-5a80735a]{margin:-12px 0 0 8px}.add-button[data-v-5a80735a]{margin:-12px 0 0 auto !important}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue"],names:[],mappings:"AAsHA,oBACC,mBAAA,CACA,UAAA,CACA,iBAAA,CACA,cAAA,CACA,6BAAA,CAEA,qCACC,WAAA,CAGD,0BACC,cAAA,CAIF,qCACC,oBAAA,CAGD,6BACC,gCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nh3 {\n\tdisplay: inline-flex;\n\twidth: 100%;\n\tmargin: 12px 0 0 0;\n\tfont-size: 16px;\n\tcolor: var(--color-text-light);\n\n\t&.setting-property {\n\t\theight: 38px;\n\t}\n\n\tlabel {\n\t\tcursor: pointer;\n\t}\n}\n\n.federation-control {\n\tmargin: -12px 0 0 8px;\n}\n\n.add-button {\n\tmargin: -12px 0 0 auto !important;\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,"section[data-v-e9a16b38]{padding:10px 10px}section[data-v-e9a16b38] button:disabled{cursor:default}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/DisplayNameSection/DisplayNameSection.vue"],names:[],mappings:"AAkFA,yBACC,iBAAA,CAEA,yCACC,cAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,".email[data-v-5db560c8]{display:grid;align-items:center}.email input[data-v-5db560c8]{grid-area:1/1;width:100%;height:34px;margin:3px 3px 3px 0;padding:7px 6px;color:var(--color-main-text);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);background-color:var(--color-main-background);font-family:var(--font-face);cursor:text}.email .email__actions-container[data-v-5db560c8]{grid-area:1/1;justify-self:flex-end;height:30px;display:flex;gap:0 2px;margin-right:5px}.email .email__actions-container .email__actions[data-v-5db560c8]{opacity:.4 !important}.email .email__actions-container .email__actions[data-v-5db560c8]:hover{opacity:.8 !important}.email .email__actions-container .email__actions[data-v-5db560c8] button{height:30px !important;min-height:30px !important;width:30px !important;min-width:30px !important}.email .email__actions-container .icon-checkmark[data-v-5db560c8],.email .email__actions-container .icon-error[data-v-5db560c8]{height:30px !important;min-height:30px !important;width:30px !important;min-width:30px !important;top:0;right:0;float:none}.fade-enter[data-v-5db560c8],.fade-leave-to[data-v-5db560c8]{opacity:0}.fade-enter-active[data-v-5db560c8]{transition:opacity 200ms ease-out}.fade-leave-active[data-v-5db560c8]{transition:opacity 300ms ease-out}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/EmailSection/Email.vue"],names:[],mappings:"AA4SA,wBACC,YAAA,CACA,kBAAA,CAEA,8BACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,oBAAA,CACA,eAAA,CACA,4BAAA,CACA,yCAAA,CACA,kCAAA,CACA,6CAAA,CACA,4BAAA,CACA,WAAA,CAGD,kDACC,aAAA,CACA,qBAAA,CACA,WAAA,CAEA,YAAA,CACA,SAAA,CACA,gBAAA,CAEA,kEACC,qBAAA,CAEA,wEACC,qBAAA,CAGD,yEACC,sBAAA,CACA,0BAAA,CACA,qBAAA,CACA,yBAAA,CAIF,gIAEC,sBAAA,CACA,0BAAA,CACA,qBAAA,CACA,yBAAA,CACA,KAAA,CACA,OAAA,CACA,UAAA,CAKH,6DAEC,SAAA,CAGD,oCACC,iCAAA,CAGD,oCACC,iCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.email {\n\tdisplay: grid;\n\talign-items: center;\n\n\tinput {\n\t\tgrid-area: 1 / 1;\n\t\twidth: 100%;\n\t\theight: 34px;\n\t\tmargin: 3px 3px 3px 0;\n\t\tpadding: 7px 6px;\n\t\tcolor: var(--color-main-text);\n\t\tborder: 1px solid var(--color-border-dark);\n\t\tborder-radius: var(--border-radius);\n\t\tbackground-color: var(--color-main-background);\n\t\tfont-family: var(--font-face);\n\t\tcursor: text;\n\t}\n\n\t.email__actions-container {\n\t\tgrid-area: 1 / 1;\n\t\tjustify-self: flex-end;\n\t\theight: 30px;\n\n\t\tdisplay: flex;\n\t\tgap: 0 2px;\n\t\tmargin-right: 5px;\n\n\t\t.email__actions {\n\t\t\topacity: 0.4 !important;\n\n\t\t\t&:hover {\n\t\t\t\topacity: 0.8 !important;\n\t\t\t}\n\n\t\t\t&::v-deep button {\n\t\t\t\theight: 30px !important;\n\t\t\t\tmin-height: 30px !important;\n\t\t\t\twidth: 30px !important;\n\t\t\t\tmin-width: 30px !important;\n\t\t\t}\n\t\t}\n\n\t\t.icon-checkmark,\n\t\t.icon-error {\n\t\t\theight: 30px !important;\n\t\t\tmin-height: 30px !important;\n\t\t\twidth: 30px !important;\n\t\t\tmin-width: 30px !important;\n\t\t\ttop: 0;\n\t\t\tright: 0;\n\t\t\tfloat: none;\n\t\t}\n\t}\n}\n\n.fade-enter,\n.fade-leave-to {\n\topacity: 0;\n}\n\n.fade-enter-active {\n\ttransition: opacity 200ms ease-out;\n}\n\n.fade-leave-active {\n\ttransition: opacity 300ms ease-out;\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,"section[data-v-33eadc4b]{padding:10px 10px}section[data-v-33eadc4b] button:disabled{cursor:default}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/EmailSection/EmailSection.vue"],names:[],mappings:"AAsKA,yBACC,iBAAA,CAEA,yCACC,cAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,".language[data-v-4cad651b]{display:grid}.language select[data-v-4cad651b]{width:100%;height:34px;margin:3px 3px 3px 0;padding:6px 16px;color:var(--color-main-text);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);background:var(--icon-triangle-s-000) no-repeat right 4px center;font-family:var(--font-face);appearance:none;cursor:pointer}.language a[data-v-4cad651b]{color:var(--color-main-text);text-decoration:none;width:max-content}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/LanguageSection/Language.vue"],names:[],mappings:"AAkJA,2BACC,YAAA,CAEA,kCACC,UAAA,CACA,WAAA,CACA,oBAAA,CACA,gBAAA,CACA,4BAAA,CACA,yCAAA,CACA,kCAAA,CACA,gEAAA,CACA,4BAAA,CACA,eAAA,CACA,cAAA,CAGD,6BACC,4BAAA,CACA,oBAAA,CACA,iBAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.language {\n\tdisplay: grid;\n\n\tselect {\n\t\twidth: 100%;\n\t\theight: 34px;\n\t\tmargin: 3px 3px 3px 0;\n\t\tpadding: 6px 16px;\n\t\tcolor: var(--color-main-text);\n\t\tborder: 1px solid var(--color-border-dark);\n\t\tborder-radius: var(--border-radius);\n\t\tbackground: var(--icon-triangle-s-000) no-repeat right 4px center;\n\t\tfont-family: var(--font-face);\n\t\tappearance: none;\n\t\tcursor: pointer;\n\t}\n\n\ta {\n\t\tcolor: var(--color-main-text);\n\t\ttext-decoration: none;\n\t\twidth: max-content;\n\t}\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,"section[data-v-a8a3dde4]{padding:10px 10px}section[data-v-a8a3dde4] button:disabled{cursor:default}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/LanguageSection/LanguageSection.vue"],names:[],mappings:"AAkFA,yBACC,iBAAA,CAEA,yCACC,cAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n}\n"],sourceRoot:""}]),t.a=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";t.a="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6Ii8+Cjwvc3ZnPgo="},function(e,t,n){"use strict";t.a="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6IiBzdHlsZT0iZmlsbC1vcGFjaXR5OjE7ZmlsbDojZmZmZmZmIi8+Cjwvc3ZnPgo="},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,n,r){"use strict";r.r(n);var a,o,i=r(10),s=r(30),l=r(39),u=r(18),c=r.n(u),p=r(415),f={insert:"head",singleton:!1},d=(c()(p.a,f),p.a.locals,r(150)),m=r(41),h=r(166),g=r(299),v=r.n(g),y=r(15),b=r.n(y),A=r(6),x=r(38),C=r.n(x);function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e} + */t.default=r.a}])},,function(e,t){function n(e,t,n){var r,a,o,i,s;function l(){var u=Date.now()-i;u<t&&u>=0?r=setTimeout(l,t-u):(r=null,n||(s=e.apply(o,a),o=a=null))}null==t&&(t=100);var u=function(){o=this,a=arguments,i=Date.now();var u=n&&!r;return r||(r=setTimeout(l,t)),u&&(s=e.apply(o,a),o=a=null),s};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(s=e.apply(o,a),o=a=null,clearTimeout(r),r=null)},u}n.debounce=n,e.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildConsoleLogger=function(e){return new a(e)},t.ConsoleLogger=void 0;var r=n(336);class a{constructor(e){this.context=e}formatMessage(e,t,n){let r="["+t+"]";return n&&n.app&&(r+=" "+n.app+": "),r+e}log(e,t,n){switch(e){case 0:console.debug(this.formatMessage(t,r.LogLevel.Debug,n),n);break;case 1:console.info(this.formatMessage(t,r.LogLevel.Info,n),n);break;case 2:console.warn(this.formatMessage(t,r.LogLevel.Warn,n),n);break;case 3:console.error(this.formatMessage(t,r.LogLevel.Error,n),n);break;default:console.error(this.formatMessage(t,r.LogLevel.Fatal,n),n)}}debug(e,t){this.log(0,e,Object.assign({},this.context,t))}info(e,t){this.log(1,e,Object.assign({},this.context,t))}warn(e,t){this.log(2,e,Object.assign({},this.context,t))}error(e,t){this.log(3,e,Object.assign({},this.context,t))}fatal(e,t){this.log(4,e,Object.assign({},this.context,t))}}t.ConsoleLogger=a},function(e,t,n){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=void 0,t.LogLevel=r,function(e){e.Debug="DEBUG",e.Info="INFO",e.Warn="WARN",e.Error="ERROR",e.Fatal="FATAL"}(r||(t.LogLevel=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerBuilder=void 0;var r=n(30);t.LoggerBuilder=class{constructor(e){this.context={},this.factory=e}setApp(e){return this.context.app=e,this}setUid(e){return this.context.uid=e,this}detectUser(){const e=(0,r.getCurrentUser)();return null!==e&&(this.context.uid=e.uid),this}build(){return this.factory(this.context)}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o),s=n(416),l=n.n(s),u=n(455),c=n(456),p=i()(a.a),f=l()(u.a),d=l()(c.a);p.push([e.i,".toastify.dialogs{min-width:200px;background:none;background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 6px 0 var(--color-box-shadow);padding:12px;padding-right:34px;margin-top:45px;position:fixed;z-index:10100;border-radius:var(--border-radius)}.toastify.dialogs .toast-undo-button,.toastify.dialogs .toast-close{position:absolute;top:0;right:0;overflow:hidden;box-sizing:border-box;min-width:44px;height:100%;padding:12px;white-space:nowrap;background-repeat:no-repeat;background-position:center;background-color:transparent;min-height:0}.toastify.dialogs .toast-undo-button.toast-close,.toastify.dialogs .toast-close.toast-close{background-image:url("+f+");text-indent:200%;opacity:.4}.toastify.dialogs .toast-undo-button.toast-undo-button,.toastify.dialogs .toast-close.toast-undo-button{margin:3px;height:calc(100% - 2 * 3px)}.toastify.dialogs .toast-undo-button:hover,.toastify.dialogs .toast-undo-button:focus,.toastify.dialogs .toast-undo-button:active,.toastify.dialogs .toast-close:hover,.toastify.dialogs .toast-close:focus,.toastify.dialogs .toast-close:active{cursor:pointer;opacity:1}.toastify.dialogs.toastify-top{right:10px}.toastify.dialogs.toast-with-click{cursor:pointer}.toastify.dialogs.toast-error{border-left:3px solid var(--color-error)}.toastify.dialogs.toast-info{border-left:3px solid var(--color-primary)}.toastify.dialogs.toast-warning{border-left:3px solid var(--color-warning)}.toastify.dialogs.toast-success{border-left:3px solid var(--color-success)}.toastify.dialogs.toast-undo{border-left:3px solid var(--color-success)}.theme--dark .toastify.dialogs .toast-close.toast-close{background-image:url("+d+")}","",{version:3,sources:["webpack://./node_modules/@nextcloud/dialogs/styles/toast.scss"],names:[],mappings:"AAwBA,kBACC,eAAA,CACA,eAAA,CACA,6CAAA,CACA,4BAAA,CACA,4CAAA,CACA,YAAA,CACA,kBAAA,CACA,eAAA,CACA,cAAA,CACA,aAAA,CACA,kCAAA,CAEA,oEAEC,iBAAA,CACA,KAAA,CACA,OAAA,CACA,eAAA,CACA,qBAAA,CACA,cAAA,CACA,WAAA,CACA,YAAA,CACA,kBAAA,CACA,2BAAA,CACA,0BAAA,CACA,4BAAA,CACA,YAAA,CAGA,4FACC,wDAAA,CACA,gBAAA,CACA,UAAA,CAGD,wGAEC,UADS,CAET,2BAAA,CAGD,kPACC,cAAA,CACA,SAAA,CAIF,+BACC,UAAA,CAID,mCACC,cAAA,CAID,8BACC,wCAAA,CAGD,6BACC,0CAAA,CAGD,gCACC,0CAAA,CAGD,gCACC,0CAAA,CAGD,6BACC,0CAAA,CASC,wDACC,wDAAA",sourcesContent:["/**\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\n// using a different class than server\n// remember to import this scss file into your app\n.toastify.dialogs {\n\tmin-width: 200px;\n\tbackground: none;\n\tbackground-color: var(--color-main-background);\n\tcolor: var(--color-main-text);\n\tbox-shadow: 0 0 6px 0 var(--color-box-shadow);\n\tpadding: 12px;\n\tpadding-right: 34px;\n\tmargin-top: 45px;\n\tposition: fixed;\n\tz-index: 10100;\n\tborder-radius: var(--border-radius);\n\n\t.toast-undo-button,\n\t.toast-close {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tright: 0;\n\t\toverflow: hidden;\n\t\tbox-sizing: border-box;\n\t\tmin-width: 44px;\n\t\theight: 100%;\n\t\tpadding: 12px;\n\t\twhite-space: nowrap;\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: center;\n\t\tbackground-color: transparent;\n\t\tmin-height: 0;\n\n\t\t// icon styling\n\t\t&.toast-close {\n\t\t\tbackground-image: url('./close.svg');\n\t\t\ttext-indent: 200%;\n\t\t\topacity: .4;\n\t\t}\n\n\t\t&.toast-undo-button {\n\t\t\t$margin: 3px;\n\t\t\tmargin: $margin;\n\t\t\theight: calc(100% - 2 * #{$margin});\n\t\t}\n\n\t\t&:hover, &:focus, &:active {\n\t\t\tcursor: pointer;\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t&.toastify-top {\n\t\tright: 10px;\n\t}\n\n\t// Toast with onClick callback\n\t&.toast-with-click {\n\t\tcursor: pointer;\n\t}\n\n\t// Various toasts types\n\t&.toast-error {\n\t\tborder-left: 3px solid var(--color-error);\n\t}\n\n\t&.toast-info {\n\t\tborder-left: 3px solid var(--color-primary);\n\t}\n\n\t&.toast-warning {\n\t\tborder-left: 3px solid var(--color-warning);\n\t}\n\n\t&.toast-success {\n\t\tborder-left: 3px solid var(--color-success);\n\t}\n\n\t&.toast-undo {\n\t\tborder-left: 3px solid var(--color-success);\n\t}\n}\n\n/* dark theme overrides */\n.theme--dark {\n\t.toastify.dialogs {\n\t\t.toast-close {\n\t\t\t/* close icon style */\n\t\t\t&.toast-close {\n\t\t\t\tbackground-image: url('./close-dark.svg');\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]),t.a=p},function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,".displayname[data-v-1686f79f]{display:grid;align-items:center}.displayname input[data-v-1686f79f]{grid-area:1/1;width:100%;height:34px;margin:3px 3px 3px 0;padding:7px 6px;color:var(--color-main-text);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);background-color:var(--color-main-background);font-family:var(--font-face);cursor:text}.displayname .displayname__actions-container[data-v-1686f79f]{grid-area:1/1;justify-self:flex-end;height:30px;display:flex;gap:0 2px;margin-right:5px}.displayname .displayname__actions-container .icon-checkmark[data-v-1686f79f],.displayname .displayname__actions-container .icon-error[data-v-1686f79f]{height:30px !important;min-height:30px !important;width:30px !important;min-width:30px !important;top:0;right:0;float:none}.fade-enter[data-v-1686f79f],.fade-leave-to[data-v-1686f79f]{opacity:0}.fade-enter-active[data-v-1686f79f]{transition:opacity 200ms ease-out}.fade-leave-active[data-v-1686f79f]{transition:opacity 300ms ease-out}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/DisplayNameSection/DisplayName.vue"],names:[],mappings:"AA8HA,8BACC,YAAA,CACA,kBAAA,CAEA,oCACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,oBAAA,CACA,eAAA,CACA,4BAAA,CACA,yCAAA,CACA,kCAAA,CACA,6CAAA,CACA,4BAAA,CACA,WAAA,CAGD,8DACC,aAAA,CACA,qBAAA,CACA,WAAA,CAEA,YAAA,CACA,SAAA,CACA,gBAAA,CAEA,wJAEC,sBAAA,CACA,0BAAA,CACA,qBAAA,CACA,yBAAA,CACA,KAAA,CACA,OAAA,CACA,UAAA,CAKH,6DAEC,SAAA,CAGD,oCACC,iCAAA,CAGD,oCACC,iCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.displayname {\n\tdisplay: grid;\n\talign-items: center;\n\n\tinput {\n\t\tgrid-area: 1 / 1;\n\t\twidth: 100%;\n\t\theight: 34px;\n\t\tmargin: 3px 3px 3px 0;\n\t\tpadding: 7px 6px;\n\t\tcolor: var(--color-main-text);\n\t\tborder: 1px solid var(--color-border-dark);\n\t\tborder-radius: var(--border-radius);\n\t\tbackground-color: var(--color-main-background);\n\t\tfont-family: var(--font-face);\n\t\tcursor: text;\n\t}\n\n\t.displayname__actions-container {\n\t\tgrid-area: 1 / 1;\n\t\tjustify-self: flex-end;\n\t\theight: 30px;\n\n\t\tdisplay: flex;\n\t\tgap: 0 2px;\n\t\tmargin-right: 5px;\n\n\t\t.icon-checkmark,\n\t\t.icon-error {\n\t\t\theight: 30px !important;\n\t\t\tmin-height: 30px !important;\n\t\t\twidth: 30px !important;\n\t\t\tmin-width: 30px !important;\n\t\t\ttop: 0;\n\t\t\tright: 0;\n\t\t\tfloat: none;\n\t\t}\n\t}\n}\n\n.fade-enter,\n.fade-leave-to {\n\topacity: 0;\n}\n\n.fade-enter-active {\n\ttransition: opacity 200ms ease-out;\n}\n\n.fade-leave-active {\n\ttransition: opacity 300ms ease-out;\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,"button[data-v-1240dd96]{height:44px;padding:0 16px;border:none;background-color:transparent}button .icon[data-v-1240dd96]{margin-right:8px}button[data-v-1240dd96]:enabled{opacity:.4 !important}button:enabled .icon[data-v-1240dd96]{opacity:.8 !important}button[data-v-1240dd96]:hover{background-color:rgba(127,127,127,.15)}button[data-v-1240dd96]:enabled:hover{background-color:rgba(127,127,127,.25);opacity:.8 !important}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/shared/AddButton.vue"],names:[],mappings:"AA4CA,wBACC,WAAA,CACA,cAAA,CACA,WAAA,CACA,4BAAA,CAEA,8BACC,gBAAA,CAGD,gCACC,qBAAA,CAEA,sCACC,qBAAA,CAIF,8BACC,sCAAA,CAGD,sCACC,sCAAA,CACA,qBAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nbutton {\n\theight: 44px;\n\tpadding: 0 16px;\n\tborder: none;\n\tbackground-color: transparent;\n\n\t.icon {\n\t\tmargin-right: 8px;\n\t}\n\n\t&:enabled {\n\t\topacity: 0.4 !important;\n\n\t\t.icon {\n\t\t\topacity: 0.8 !important;\n\t\t}\n\t}\n\n\t&:hover {\n\t\tbackground-color: rgba(127, 127, 127, .15);\n\t}\n\n\t&:enabled:hover {\n\t\tbackground-color: rgba(127, 127, 127, .25);\n\t\topacity: 0.8 !important;\n\t}\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,".federation-actions[data-v-8a941ef4],.federation-actions--additional[data-v-8a941ef4]{opacity:.4 !important}.federation-actions[data-v-8a941ef4]:hover,.federation-actions--additional[data-v-8a941ef4]:hover{opacity:.8 !important}.federation-actions--additional[data-v-8a941ef4] button{padding-bottom:7px;height:30px !important;min-height:30px !important;width:30px !important;min-width:30px !important}.federation-actions__btn[data-v-8a941ef4] p{width:150px !important;padding:8px 0 !important;color:var(--color-main-text) !important;font-size:12.8px !important;line-height:1.5em !important}.federation-actions__btn--active[data-v-8a941ef4]{background-color:var(--color-primary-light) !important;box-shadow:inset 2px 0 var(--color-primary) !important}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/shared/FederationControl.vue"],names:[],mappings:"AA+KA,sFAEC,qBAAA,CAEA,kGACC,qBAAA,CAKD,wDAEC,kBAAA,CACA,sBAAA,CACA,0BAAA,CACA,qBAAA,CACA,yBAAA,CAKD,4CACC,sBAAA,CACA,wBAAA,CACA,uCAAA,CACA,2BAAA,CACA,4BAAA,CAIF,kDACC,sDAAA,CACA,sDAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.federation-actions,\n.federation-actions--additional {\n\topacity: 0.4 !important;\n\n\t&:hover {\n\t\topacity: 0.8 !important;\n\t}\n}\n\n.federation-actions--additional {\n\t&::v-deep button {\n\t\t// TODO remove this hack\n\t\tpadding-bottom: 7px;\n\t\theight: 30px !important;\n\t\tmin-height: 30px !important;\n\t\twidth: 30px !important;\n\t\tmin-width: 30px !important;\n\t}\n}\n\n.federation-actions__btn {\n\t&::v-deep p {\n\t\twidth: 150px !important;\n\t\tpadding: 8px 0 !important;\n\t\tcolor: var(--color-main-text) !important;\n\t\tfont-size: 12.8px !important;\n\t\tline-height: 1.5em !important;\n\t}\n}\n\n.federation-actions__btn--active {\n\tbackground-color: var(--color-primary-light) !important;\n\tbox-shadow: inset 2px 0 var(--color-primary) !important;\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,"h3[data-v-5a80735a]{display:inline-flex;width:100%;margin:12px 0 0 0;font-size:16px;color:var(--color-text-light)}h3.setting-property[data-v-5a80735a]{height:38px}h3 label[data-v-5a80735a]{cursor:pointer}.federation-control[data-v-5a80735a]{margin:-12px 0 0 8px}.add-button[data-v-5a80735a]{margin:-12px 0 0 auto !important}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue"],names:[],mappings:"AAsHA,oBACC,mBAAA,CACA,UAAA,CACA,iBAAA,CACA,cAAA,CACA,6BAAA,CAEA,qCACC,WAAA,CAGD,0BACC,cAAA,CAIF,qCACC,oBAAA,CAGD,6BACC,gCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nh3 {\n\tdisplay: inline-flex;\n\twidth: 100%;\n\tmargin: 12px 0 0 0;\n\tfont-size: 16px;\n\tcolor: var(--color-text-light);\n\n\t&.setting-property {\n\t\theight: 38px;\n\t}\n\n\tlabel {\n\t\tcursor: pointer;\n\t}\n}\n\n.federation-control {\n\tmargin: -12px 0 0 8px;\n}\n\n.add-button {\n\tmargin: -12px 0 0 auto !important;\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,"section[data-v-e9a16b38]{padding:10px 10px}section[data-v-e9a16b38] button:disabled{cursor:default}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/DisplayNameSection/DisplayNameSection.vue"],names:[],mappings:"AAkFA,yBACC,iBAAA,CAEA,yCACC,cAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,".email[data-v-5db560c8]{display:grid;align-items:center}.email input[data-v-5db560c8]{grid-area:1/1;width:100%;height:34px;margin:3px 3px 3px 0;padding:7px 6px;color:var(--color-main-text);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);background-color:var(--color-main-background);font-family:var(--font-face);cursor:text}.email .email__actions-container[data-v-5db560c8]{grid-area:1/1;justify-self:flex-end;height:30px;display:flex;gap:0 2px;margin-right:5px}.email .email__actions-container .email__actions[data-v-5db560c8]{opacity:.4 !important}.email .email__actions-container .email__actions[data-v-5db560c8]:hover{opacity:.8 !important}.email .email__actions-container .email__actions[data-v-5db560c8] button{height:30px !important;min-height:30px !important;width:30px !important;min-width:30px !important}.email .email__actions-container .icon-checkmark[data-v-5db560c8],.email .email__actions-container .icon-error[data-v-5db560c8]{height:30px !important;min-height:30px !important;width:30px !important;min-width:30px !important;top:0;right:0;float:none}.fade-enter[data-v-5db560c8],.fade-leave-to[data-v-5db560c8]{opacity:0}.fade-enter-active[data-v-5db560c8]{transition:opacity 200ms ease-out}.fade-leave-active[data-v-5db560c8]{transition:opacity 300ms ease-out}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/EmailSection/Email.vue"],names:[],mappings:"AA4SA,wBACC,YAAA,CACA,kBAAA,CAEA,8BACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,oBAAA,CACA,eAAA,CACA,4BAAA,CACA,yCAAA,CACA,kCAAA,CACA,6CAAA,CACA,4BAAA,CACA,WAAA,CAGD,kDACC,aAAA,CACA,qBAAA,CACA,WAAA,CAEA,YAAA,CACA,SAAA,CACA,gBAAA,CAEA,kEACC,qBAAA,CAEA,wEACC,qBAAA,CAGD,yEACC,sBAAA,CACA,0BAAA,CACA,qBAAA,CACA,yBAAA,CAIF,gIAEC,sBAAA,CACA,0BAAA,CACA,qBAAA,CACA,yBAAA,CACA,KAAA,CACA,OAAA,CACA,UAAA,CAKH,6DAEC,SAAA,CAGD,oCACC,iCAAA,CAGD,oCACC,iCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.email {\n\tdisplay: grid;\n\talign-items: center;\n\n\tinput {\n\t\tgrid-area: 1 / 1;\n\t\twidth: 100%;\n\t\theight: 34px;\n\t\tmargin: 3px 3px 3px 0;\n\t\tpadding: 7px 6px;\n\t\tcolor: var(--color-main-text);\n\t\tborder: 1px solid var(--color-border-dark);\n\t\tborder-radius: var(--border-radius);\n\t\tbackground-color: var(--color-main-background);\n\t\tfont-family: var(--font-face);\n\t\tcursor: text;\n\t}\n\n\t.email__actions-container {\n\t\tgrid-area: 1 / 1;\n\t\tjustify-self: flex-end;\n\t\theight: 30px;\n\n\t\tdisplay: flex;\n\t\tgap: 0 2px;\n\t\tmargin-right: 5px;\n\n\t\t.email__actions {\n\t\t\topacity: 0.4 !important;\n\n\t\t\t&:hover {\n\t\t\t\topacity: 0.8 !important;\n\t\t\t}\n\n\t\t\t&::v-deep button {\n\t\t\t\theight: 30px !important;\n\t\t\t\tmin-height: 30px !important;\n\t\t\t\twidth: 30px !important;\n\t\t\t\tmin-width: 30px !important;\n\t\t\t}\n\t\t}\n\n\t\t.icon-checkmark,\n\t\t.icon-error {\n\t\t\theight: 30px !important;\n\t\t\tmin-height: 30px !important;\n\t\t\twidth: 30px !important;\n\t\t\tmin-width: 30px !important;\n\t\t\ttop: 0;\n\t\t\tright: 0;\n\t\t\tfloat: none;\n\t\t}\n\t}\n}\n\n.fade-enter,\n.fade-leave-to {\n\topacity: 0;\n}\n\n.fade-enter-active {\n\ttransition: opacity 200ms ease-out;\n}\n\n.fade-leave-active {\n\ttransition: opacity 300ms ease-out;\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,"section[data-v-80cdc11a]{padding:10px 10px}section[data-v-80cdc11a] button:disabled{cursor:default}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/EmailSection/EmailSection.vue"],names:[],mappings:"AAqKA,yBACC,iBAAA,CAEA,yCACC,cAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,".language[data-v-4cad651b]{display:grid}.language select[data-v-4cad651b]{width:100%;height:34px;margin:3px 3px 3px 0;padding:6px 16px;color:var(--color-main-text);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);background:var(--icon-triangle-s-000) no-repeat right 4px center;font-family:var(--font-face);appearance:none;cursor:pointer}.language a[data-v-4cad651b]{color:var(--color-main-text);text-decoration:none;width:max-content}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/LanguageSection/Language.vue"],names:[],mappings:"AAkJA,2BACC,YAAA,CAEA,kCACC,UAAA,CACA,WAAA,CACA,oBAAA,CACA,gBAAA,CACA,4BAAA,CACA,yCAAA,CACA,kCAAA,CACA,gEAAA,CACA,4BAAA,CACA,eAAA,CACA,cAAA,CAGD,6BACC,4BAAA,CACA,oBAAA,CACA,iBAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.language {\n\tdisplay: grid;\n\n\tselect {\n\t\twidth: 100%;\n\t\theight: 34px;\n\t\tmargin: 3px 3px 3px 0;\n\t\tpadding: 6px 16px;\n\t\tcolor: var(--color-main-text);\n\t\tborder: 1px solid var(--color-border-dark);\n\t\tborder-radius: var(--border-radius);\n\t\tbackground: var(--icon-triangle-s-000) no-repeat right 4px center;\n\t\tfont-family: var(--font-face);\n\t\tappearance: none;\n\t\tcursor: pointer;\n\t}\n\n\ta {\n\t\tcolor: var(--color-main-text);\n\t\ttext-decoration: none;\n\t\twidth: max-content;\n\t}\n}\n"],sourceRoot:""}]),t.a=i},function(e,t,n){"use strict";var r=n(19),a=n.n(r),o=n(20),i=n.n(o)()(a.a);i.push([e.i,"section[data-v-a8a3dde4]{padding:10px 10px}section[data-v-a8a3dde4] button:disabled{cursor:default}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/LanguageSection/LanguageSection.vue"],names:[],mappings:"AAkFA,yBACC,iBAAA,CAEA,yCACC,cAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n}\n"],sourceRoot:""}]),t.a=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";t.a="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6Ii8+Cjwvc3ZnPgo="},function(e,t,n){"use strict";t.a="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6IiBzdHlsZT0iZmlsbC1vcGFjaXR5OjE7ZmlsbDojZmZmZmZmIi8+Cjwvc3ZnPgo="},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,n,r){"use strict";r.r(n);var a,o,i=r(10),s=r(30),l=r(39),u=r(18),c=r.n(u),p=r(415),f={insert:"head",singleton:!1},d=(c()(p.a,f),p.a.locals,r(150)),m=r(41),h=r(166),g=r(299),v=r.n(g),y=r(15),b=r.n(y),A=r(6),x=r(38),C=r.n(x);function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e} /** * @copyright 2021, Christopher Ng <chrng8@gmail.com> * @@ -284,7 +284,7 @@ function R(e){return""!==e}function D(e){return"string"==typeof e&&P.test(e)&&"\ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * - */var Ce=function(){var e=xe(regeneratorRuntime.mark((function e(t){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(s.getCurrentUser)().uid,r=Object(A.generateOcsUrl)("cloud/users/{userId}",{userId:n}),e.next=4,C()();case 4:return e.next=6,b.a.put(r,{key:_.EMAIL,value:t});case 6:return a=e.sent,e.abrupt("return",a.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),we=function(){var e=xe(regeneratorRuntime.mark((function e(t){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(s.getCurrentUser)().uid,r=Object(A.generateOcsUrl)("cloud/users/{userId}",{userId:n}),e.next=4,C()();case 4:return e.next=6,b.a.put(r,{key:_.EMAIL_COLLECTION,value:t});case 6:return a=e.sent,e.abrupt("return",a.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_e=function(){var e=xe(regeneratorRuntime.mark((function e(t){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(s.getCurrentUser)().uid,r=Object(A.generateOcsUrl)("cloud/users/{userId}/{collection}",{userId:n,collection:_.EMAIL_COLLECTION}),e.next=4,C()();case 4:return e.next=6,b.a.put(r,{key:t,value:""});case 6:return a=e.sent,e.abrupt("return",a.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Te=function(){var e=xe(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=Object(s.getCurrentUser)().uid,a=Object(A.generateOcsUrl)("cloud/users/{userId}/{collection}",{userId:r,collection:_.EMAIL_COLLECTION}),e.next=4,C()();case 4:return e.next=6,b.a.put(a,{key:t,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)}}(),Se=function(){var e=xe(regeneratorRuntime.mark((function e(t){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(s.getCurrentUser)().uid,r=Object(A.generateOcsUrl)("cloud/users/{userId}",{userId:n}),e.next=4,C()();case 4:return e.next=6,b.a.put(r,{key:"".concat(_.EMAIL).concat("Scope"),value:t});case 6:return a=e.sent,e.abrupt("return",a.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ee=function(){var e=xe(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=Object(s.getCurrentUser)().uid,a=Object(A.generateOcsUrl)("cloud/users/{userId}/{collectionScope}",{userId:r,collectionScope:"".concat(_.EMAIL_COLLECTION).concat("Scope")}),e.next=4,C()();case 4:return e.next=6,b.a.put(a,{key:t,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)}}();function ke(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Oe(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){ke(o,r,a,i,s,"next",e)}function s(e){ke(o,r,a,i,s,"throw",e)}i(void 0)}))}}var je={name:"Email",components:{Actions:J.a,ActionButton:ee.a,FederationControl:ue},props:{email:{type:String,required:!0},index:{type:Number,default:0},primary:{type:Boolean,default:!1},scope:{type:String,required:!0}},data:function(){return{accountProperty:T.EMAIL,initialEmail:this.email,localScope:this.scope,saveAdditionalEmailScope:Ee,showCheckmarkIcon:!1,showErrorIcon:!1}},computed:{deleteDisabled:function(){return this.primary?""===this.email||this.initialEmail!==this.email:""!==this.initialEmail&&this.initialEmail!==this.email},deleteEmailLabel:function(){return this.primary?t("settings","Remove primary email"):t("settings","Delete email")},federationDisabled:function(){return!this.initialEmail},inputName:function(){return this.primary?"email":"additionalEmail[]"},inputPlaceholder:function(){return this.primary?t("settings","Your email address"):t("settings","Additional email address {index}",{index:this.index+1})}},mounted:function(){var e=this;this.primary||""!==this.initialEmail||this.$nextTick((function(){var t;return null===(t=e.$refs.email)||void 0===t?void 0:t.focus()}))},methods:{onEmailChange:function(e){this.$emit("update:email",e.target.value),this.debounceEmailChange(e.target.value.trim())},debounceEmailChange:v()(function(){var e=Oe(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!D(t)&&""!==t){e.next=14;break}if(!this.primary){e.next=6;break}return e.next=4,this.updatePrimaryEmail(t);case 4:e.next=14;break;case 6:if(!t){e.next=14;break}if(""!==this.initialEmail){e.next=12;break}return e.next=10,this.addAdditionalEmail(t);case 10:e.next=14;break;case 12:return e.next=14,this.updateAdditionalEmail(t);case 14:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),500),deleteEmail:function(){var e=this;return Oe(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.primary){t.next=6;break}return e.$emit("update:email",""),t.next=4,e.updatePrimaryEmail("");case 4:t.next=8;break;case 6:return t.next=8,e.deleteAdditionalEmail();case 8:case"end":return t.stop()}}),t)})))()},updatePrimaryEmail:function(e){var t=this;return Oe(regeneratorRuntime.mark((function n(){var r,a,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Ce(e);case 3:o=n.sent,t.handleResponse({email:e,status:null===(r=o.ocs)||void 0===r||null===(a=r.meta)||void 0===a?void 0:a.status}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),""===e?t.handleResponse({errorMessage:"Unable to delete primary email address",error:n.t0}):t.handleResponse({errorMessage:"Unable to update primary email address",error:n.t0});case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},addAdditionalEmail:function(e){var t=this;return Oe(regeneratorRuntime.mark((function n(){var r,a,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,we(e);case 3:o=n.sent,t.handleResponse({email:e,status:null===(r=o.ocs)||void 0===r||null===(a=r.meta)||void 0===a?void 0:a.status}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),t.handleResponse({errorMessage:"Unable to add additional email address",error:n.t0});case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},updateAdditionalEmail:function(e){var t=this;return Oe(regeneratorRuntime.mark((function n(){var r,a,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Te(t.initialEmail,e);case 3:o=n.sent,t.handleResponse({email:e,status:null===(r=o.ocs)||void 0===r||null===(a=r.meta)||void 0===a?void 0:a.status}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),t.handleResponse({errorMessage:"Unable to update additional email address",error:n.t0});case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},deleteAdditionalEmail:function(){var e=this;return Oe(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_e(e.initialEmail);case 3:a=t.sent,e.handleDeleteAdditionalEmail(null===(n=a.ocs)||void 0===n||null===(r=n.meta)||void 0===r?void 0:r.status),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),e.handleResponse({errorMessage:"Unable to delete additional email address",error:t.t0});case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},handleDeleteAdditionalEmail:function(e){"ok"===e?this.$emit("delete-additional-email"):this.handleResponse({errorMessage:"Unable to delete additional email address"})},handleResponse:function(e){var n=this,r=e.email,a=e.status,o=e.errorMessage,i=e.error;"ok"===a?(this.initialEmail=r,this.showCheckmarkIcon=!0,setTimeout((function(){n.showCheckmarkIcon=!1}),2e3)):(Object(h.a)(t("settings",o)),this.logger.error(o,i),this.showErrorIcon=!0,setTimeout((function(){n.showErrorIcon=!1}),2e3))},onScopeChange:function(e){this.$emit("update:scope",e)}}},Ne=r(422),Pe={insert:"head",singleton:!1},Le=(c()(Ne.a,Pe),Ne.a.locals,Object(H.a)(je,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"email"},[n("input",{ref:"email",attrs:{id:"email",type:"email",name:e.inputName,placeholder:e.inputPlaceholder,autocapitalize:"none",autocomplete:"on",autocorrect:"off",required:""},domProps:{value:e.email},on:{input:e.onEmailChange}}),e._v(" "),n("div",{staticClass:"email__actions-container"},[n("transition",{attrs:{name:"fade"}},[e.showCheckmarkIcon?n("span",{staticClass:"icon-checkmark"}):e.showErrorIcon?n("span",{staticClass:"icon-error"}):e._e()]),e._v(" "),e.primary?e._e():[n("FederationControl",{attrs:{"account-property":e.accountProperty,additional:!0,"additional-value":e.email,disabled:e.federationDisabled,"handle-scope-change":e.saveAdditionalEmailScope,scope:e.localScope},on:{"update:scope":[function(t){e.localScope=t},e.onScopeChange]}})],e._v(" "),n("Actions",{staticClass:"email__actions",attrs:{"aria-label":e.t("settings","Email options"),disabled:e.deleteDisabled,"force-menu":!0}},[n("ActionButton",{attrs:{"aria-label":e.deleteEmailLabel,"close-after-click":!0,disabled:e.deleteDisabled,icon:"icon-delete"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.deleteEmail.apply(null,arguments)}}},[e._v("\n\t\t\t\t\t"+e._s(e.deleteEmailLabel)+"\n\t\t\t\t")])],1)],2)]),e._v(" "),e.primary?n("em",[e._v("\n\t\t"+e._s(e.t("settings","Primary email for password reset and notifications"))+"\n\t")]):e._e()])}),[],!1,null,"5db560c8",null).exports);function Fe(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Be(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Fe(o,r,a,i,s,"next",e)}function s(e){Fe(o,r,a,i,s,"throw",e)}i(void 0)}))}}var Ie=Object(m.loadState)("settings","personalInfoParameters",{}).emails,Re=Ie.additionalEmails,De=Ie.primaryEmail,$e=Object(m.loadState)("settings","accountParameters",{}).displayNameChangeSupported,Me={name:"EmailSection",components:{HeaderBar:de,Email:Le},data:function(){return{accountProperty:T.EMAIL,additionalEmails:Re,displayNameChangeSupported:$e,primaryEmail:De,savePrimaryEmailScope:Se}},computed:{firstAdditionalEmail:function(){return this.additionalEmails.length?this.additionalEmails[0].value:null},isValidSection:function(){return D(this.primaryEmail.value)&&this.additionalEmails.map((function(e){return e.value})).every(D)},primaryEmailValue:{get:function(){return this.primaryEmail.value},set:function(e){this.primaryEmail.value=e}}},methods:{onAddAdditionalEmail:function(){this.isValidSection&&this.additionalEmails.push({value:"",scope:N})},onDeleteAdditionalEmail:function(e){this.$delete(this.additionalEmails,e)},onUpdateEmail:function(){var e=this;return Be(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==e.primaryEmailValue||!e.firstAdditionalEmail){t.next=7;break}return n=e.firstAdditionalEmail,t.next=4,e.deleteFirstAdditionalEmail();case 4:return e.primaryEmailValue=n,t.next=7,e.updatePrimaryEmail();case 7:case"end":return t.stop()}}),t)})))()},updatePrimaryEmail:function(){var e=this;return Be(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Ce(e.primaryEmailValue);case 3:a=t.sent,e.handleResponse(null===(n=a.ocs)||void 0===n||null===(r=n.meta)||void 0===r?void 0:r.status),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),e.handleResponse("error","Unable to update primary email address",t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},deleteFirstAdditionalEmail:function(){var e=this;return Be(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_e(e.firstAdditionalEmail);case 3:a=t.sent,e.handleDeleteFirstAdditionalEmail(null===(n=a.ocs)||void 0===n||null===(r=n.meta)||void 0===r?void 0:r.status),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),e.handleResponse("error","Unable to delete additional email address",t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},handleDeleteFirstAdditionalEmail:function(e){"ok"===e?this.$delete(this.additionalEmails,0):this.handleResponse("error","Unable to delete additional email address",{})},handleResponse:function(e,n,r){"ok"!==e&&(Object(h.a)(t("settings",n)),this.logger.error(n,r))}}},Ue=r(423),ze={insert:"head",singleton:!1},Ge=(c()(Ue.a,ze),Ue.a.locals,Object(H.a)(Me,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("HeaderBar",{attrs:{"account-property":e.accountProperty,"label-for":"email","handle-scope-change":e.savePrimaryEmailScope,"is-editable":e.displayNameChangeSupported,"is-multi-value-supported":!0,"is-valid-section":e.isValidSection,scope:e.primaryEmail.scope},on:{"update:scope":function(t){return e.$set(e.primaryEmail,"scope",t)},"add-additional":e.onAddAdditionalEmail}}),e._v(" "),e.displayNameChangeSupported?[n("Email",{attrs:{primary:!0,scope:e.primaryEmail.scope,email:e.primaryEmail.value},on:{"update:scope":function(t){return e.$set(e.primaryEmail,"scope",t)},"update:email":[function(t){return e.$set(e.primaryEmail,"value",t)},e.onUpdateEmail]}}),e._v(" "),e._l(e.additionalEmails,(function(t,r){return n("Email",{key:r,attrs:{index:r,scope:t.scope,email:t.value},on:{"update:scope":function(n){return e.$set(t,"scope",n)},"update:email":[function(n){return e.$set(t,"value",n)},e.onUpdateEmail],"delete-additional-email":function(t){return e.onDeleteAdditionalEmail(r)}}})}))]:n("span",[e._v("\n\t\t"+e._s(e.primaryEmail.value||e.t("settings","No email address set"))+"\n\t")])],2)}),[],!1,null,"33eadc4b",null).exports);function Ve(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)} + */var Ce=function(){var e=xe(regeneratorRuntime.mark((function e(t){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(s.getCurrentUser)().uid,r=Object(A.generateOcsUrl)("cloud/users/{userId}",{userId:n}),e.next=4,C()();case 4:return e.next=6,b.a.put(r,{key:_.EMAIL,value:t});case 6:return a=e.sent,e.abrupt("return",a.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),we=function(){var e=xe(regeneratorRuntime.mark((function e(t){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(s.getCurrentUser)().uid,r=Object(A.generateOcsUrl)("cloud/users/{userId}",{userId:n}),e.next=4,C()();case 4:return e.next=6,b.a.put(r,{key:_.EMAIL_COLLECTION,value:t});case 6:return a=e.sent,e.abrupt("return",a.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_e=function(){var e=xe(regeneratorRuntime.mark((function e(t){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(s.getCurrentUser)().uid,r=Object(A.generateOcsUrl)("cloud/users/{userId}/{collection}",{userId:n,collection:_.EMAIL_COLLECTION}),e.next=4,C()();case 4:return e.next=6,b.a.put(r,{key:t,value:""});case 6:return a=e.sent,e.abrupt("return",a.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Te=function(){var e=xe(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=Object(s.getCurrentUser)().uid,a=Object(A.generateOcsUrl)("cloud/users/{userId}/{collection}",{userId:r,collection:_.EMAIL_COLLECTION}),e.next=4,C()();case 4:return e.next=6,b.a.put(a,{key:t,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)}}(),Se=function(){var e=xe(regeneratorRuntime.mark((function e(t){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(s.getCurrentUser)().uid,r=Object(A.generateOcsUrl)("cloud/users/{userId}",{userId:n}),e.next=4,C()();case 4:return e.next=6,b.a.put(r,{key:"".concat(_.EMAIL).concat("Scope"),value:t});case 6:return a=e.sent,e.abrupt("return",a.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ee=function(){var e=xe(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=Object(s.getCurrentUser)().uid,a=Object(A.generateOcsUrl)("cloud/users/{userId}/{collectionScope}",{userId:r,collectionScope:"".concat(_.EMAIL_COLLECTION).concat("Scope")}),e.next=4,C()();case 4:return e.next=6,b.a.put(a,{key:t,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)}}();function ke(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Oe(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){ke(o,r,a,i,s,"next",e)}function s(e){ke(o,r,a,i,s,"throw",e)}i(void 0)}))}}var je={name:"Email",components:{Actions:J.a,ActionButton:ee.a,FederationControl:ue},props:{email:{type:String,required:!0},index:{type:Number,default:0},primary:{type:Boolean,default:!1},scope:{type:String,required:!0}},data:function(){return{accountProperty:T.EMAIL,initialEmail:this.email,localScope:this.scope,saveAdditionalEmailScope:Ee,showCheckmarkIcon:!1,showErrorIcon:!1}},computed:{deleteDisabled:function(){return this.primary?""===this.email||this.initialEmail!==this.email:""!==this.initialEmail&&this.initialEmail!==this.email},deleteEmailLabel:function(){return this.primary?t("settings","Remove primary email"):t("settings","Delete email")},federationDisabled:function(){return!this.initialEmail},inputName:function(){return this.primary?"email":"additionalEmail[]"},inputPlaceholder:function(){return this.primary?t("settings","Your email address"):t("settings","Additional email address {index}",{index:this.index+1})}},mounted:function(){var e=this;this.primary||""!==this.initialEmail||this.$nextTick((function(){var t;return null===(t=e.$refs.email)||void 0===t?void 0:t.focus()}))},methods:{onEmailChange:function(e){this.$emit("update:email",e.target.value),this.debounceEmailChange(e.target.value.trim())},debounceEmailChange:v()(function(){var e=Oe(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!D(t)&&""!==t){e.next=14;break}if(!this.primary){e.next=6;break}return e.next=4,this.updatePrimaryEmail(t);case 4:e.next=14;break;case 6:if(!t){e.next=14;break}if(""!==this.initialEmail){e.next=12;break}return e.next=10,this.addAdditionalEmail(t);case 10:e.next=14;break;case 12:return e.next=14,this.updateAdditionalEmail(t);case 14:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),500),deleteEmail:function(){var e=this;return Oe(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.primary){t.next=6;break}return e.$emit("update:email",""),t.next=4,e.updatePrimaryEmail("");case 4:t.next=8;break;case 6:return t.next=8,e.deleteAdditionalEmail();case 8:case"end":return t.stop()}}),t)})))()},updatePrimaryEmail:function(e){var t=this;return Oe(regeneratorRuntime.mark((function n(){var r,a,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Ce(e);case 3:o=n.sent,t.handleResponse({email:e,status:null===(r=o.ocs)||void 0===r||null===(a=r.meta)||void 0===a?void 0:a.status}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),""===e?t.handleResponse({errorMessage:"Unable to delete primary email address",error:n.t0}):t.handleResponse({errorMessage:"Unable to update primary email address",error:n.t0});case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},addAdditionalEmail:function(e){var t=this;return Oe(regeneratorRuntime.mark((function n(){var r,a,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,we(e);case 3:o=n.sent,t.handleResponse({email:e,status:null===(r=o.ocs)||void 0===r||null===(a=r.meta)||void 0===a?void 0:a.status}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),t.handleResponse({errorMessage:"Unable to add additional email address",error:n.t0});case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},updateAdditionalEmail:function(e){var t=this;return Oe(regeneratorRuntime.mark((function n(){var r,a,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Te(t.initialEmail,e);case 3:o=n.sent,t.handleResponse({email:e,status:null===(r=o.ocs)||void 0===r||null===(a=r.meta)||void 0===a?void 0:a.status}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),t.handleResponse({errorMessage:"Unable to update additional email address",error:n.t0});case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},deleteAdditionalEmail:function(){var e=this;return Oe(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_e(e.initialEmail);case 3:a=t.sent,e.handleDeleteAdditionalEmail(null===(n=a.ocs)||void 0===n||null===(r=n.meta)||void 0===r?void 0:r.status),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),e.handleResponse({errorMessage:"Unable to delete additional email address",error:t.t0});case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},handleDeleteAdditionalEmail:function(e){"ok"===e?this.$emit("delete-additional-email"):this.handleResponse({errorMessage:"Unable to delete additional email address"})},handleResponse:function(e){var n=this,r=e.email,a=e.status,o=e.errorMessage,i=e.error;"ok"===a?(this.initialEmail=r,this.showCheckmarkIcon=!0,setTimeout((function(){n.showCheckmarkIcon=!1}),2e3)):(Object(h.a)(t("settings",o)),this.logger.error(o,i),this.showErrorIcon=!0,setTimeout((function(){n.showErrorIcon=!1}),2e3))},onScopeChange:function(e){this.$emit("update:scope",e)}}},Ne=r(422),Pe={insert:"head",singleton:!1},Le=(c()(Ne.a,Pe),Ne.a.locals,Object(H.a)(je,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"email"},[n("input",{ref:"email",attrs:{id:"email",type:"email",name:e.inputName,placeholder:e.inputPlaceholder,autocapitalize:"none",autocomplete:"on",autocorrect:"off",required:""},domProps:{value:e.email},on:{input:e.onEmailChange}}),e._v(" "),n("div",{staticClass:"email__actions-container"},[n("transition",{attrs:{name:"fade"}},[e.showCheckmarkIcon?n("span",{staticClass:"icon-checkmark"}):e.showErrorIcon?n("span",{staticClass:"icon-error"}):e._e()]),e._v(" "),e.primary?e._e():[n("FederationControl",{attrs:{"account-property":e.accountProperty,additional:!0,"additional-value":e.email,disabled:e.federationDisabled,"handle-scope-change":e.saveAdditionalEmailScope,scope:e.localScope},on:{"update:scope":[function(t){e.localScope=t},e.onScopeChange]}})],e._v(" "),n("Actions",{staticClass:"email__actions",attrs:{"aria-label":e.t("settings","Email options"),disabled:e.deleteDisabled,"force-menu":!0}},[n("ActionButton",{attrs:{"aria-label":e.deleteEmailLabel,"close-after-click":!0,disabled:e.deleteDisabled,icon:"icon-delete"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.deleteEmail.apply(null,arguments)}}},[e._v("\n\t\t\t\t\t"+e._s(e.deleteEmailLabel)+"\n\t\t\t\t")])],1)],2)]),e._v(" "),e.primary?n("em",[e._v("\n\t\t"+e._s(e.t("settings","Primary email for password reset and notifications"))+"\n\t")]):e._e()])}),[],!1,null,"5db560c8",null).exports);function Fe(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Be(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Fe(o,r,a,i,s,"next",e)}function s(e){Fe(o,r,a,i,s,"throw",e)}i(void 0)}))}}var Ie=Object(m.loadState)("settings","personalInfoParameters",{}).emails,Re=Ie.additionalEmails,De=Ie.primaryEmail,$e=Object(m.loadState)("settings","accountParameters",{}).displayNameChangeSupported,Me={name:"EmailSection",components:{HeaderBar:de,Email:Le},data:function(){return{accountProperty:T.EMAIL,additionalEmails:Re,displayNameChangeSupported:$e,primaryEmail:De,savePrimaryEmailScope:Se}},computed:{firstAdditionalEmail:function(){return this.additionalEmails.length?this.additionalEmails[0].value:null},isValidSection:function(){return D(this.primaryEmail.value)&&this.additionalEmails.map((function(e){return e.value})).every(D)},primaryEmailValue:{get:function(){return this.primaryEmail.value},set:function(e){this.primaryEmail.value=e}}},methods:{onAddAdditionalEmail:function(){this.isValidSection&&this.additionalEmails.push({value:"",scope:N})},onDeleteAdditionalEmail:function(e){this.$delete(this.additionalEmails,e)},onUpdateEmail:function(){var e=this;return Be(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==e.primaryEmailValue||!e.firstAdditionalEmail){t.next=7;break}return n=e.firstAdditionalEmail,t.next=4,e.deleteFirstAdditionalEmail();case 4:return e.primaryEmailValue=n,t.next=7,e.updatePrimaryEmail();case 7:case"end":return t.stop()}}),t)})))()},updatePrimaryEmail:function(){var e=this;return Be(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Ce(e.primaryEmailValue);case 3:a=t.sent,e.handleResponse(null===(n=a.ocs)||void 0===n||null===(r=n.meta)||void 0===r?void 0:r.status),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),e.handleResponse("error","Unable to update primary email address",t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},deleteFirstAdditionalEmail:function(){var e=this;return Be(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_e(e.firstAdditionalEmail);case 3:a=t.sent,e.handleDeleteFirstAdditionalEmail(null===(n=a.ocs)||void 0===n||null===(r=n.meta)||void 0===r?void 0:r.status),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),e.handleResponse("error","Unable to delete additional email address",t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},handleDeleteFirstAdditionalEmail:function(e){"ok"===e?this.$delete(this.additionalEmails,0):this.handleResponse("error","Unable to delete additional email address",{})},handleResponse:function(e,n,r){"ok"!==e&&(Object(h.a)(t("settings",n)),this.logger.error(n,r))}}},Ue=r(423),ze={insert:"head",singleton:!1},Ge=(c()(Ue.a,ze),Ue.a.locals,Object(H.a)(Me,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("HeaderBar",{attrs:{"account-property":e.accountProperty,"label-for":"email","handle-scope-change":e.savePrimaryEmailScope,"is-editable":!0,"is-multi-value-supported":!0,"is-valid-section":e.isValidSection,scope:e.primaryEmail.scope},on:{"update:scope":function(t){return e.$set(e.primaryEmail,"scope",t)},"add-additional":e.onAddAdditionalEmail}}),e._v(" "),e.displayNameChangeSupported?[n("Email",{attrs:{primary:!0,scope:e.primaryEmail.scope,email:e.primaryEmail.value},on:{"update:scope":function(t){return e.$set(e.primaryEmail,"scope",t)},"update:email":[function(t){return e.$set(e.primaryEmail,"value",t)},e.onUpdateEmail]}})]:n("span",[e._v("\n\t\t"+e._s(e.primaryEmail.value||e.t("settings","No email address set"))+"\n\t")]),e._v(" "),e._l(e.additionalEmails,(function(t,r){return n("Email",{key:r,attrs:{index:r,scope:t.scope,email:t.value},on:{"update:scope":function(n){return e.$set(t,"scope",n)},"update:email":[function(n){return e.$set(t,"value",n)},e.onUpdateEmail],"delete-additional-email":function(t){return e.onDeleteAdditionalEmail(r)}}})}))],2)}),[],!1,null,"80cdc11a",null).exports);function Ve(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)} /** * @copyright 2021, Christopher Ng <chrng8@gmail.com> * @@ -329,4 +329,4 @@ var He=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,r,a;re * */ r.nc=btoa(Object(s.getRequestToken)()),i.default.mixin({props:{logger:d.a},methods:{t:l.translate}});var pt=i.default.extend(be),ft=i.default.extend(Ge),dt=i.default.extend(ct);(new pt).$mount("#vue-displaynamesection"),(new ft).$mount("#vue-emailsection"),(new dt).$mount("#vue-languagesection")}]); -//# sourceMappingURL=vue-settings-personal-info.js.map?v=5eb3aaed59a40f11e2b7
\ No newline at end of file +//# sourceMappingURL=vue-settings-personal-info.js.map?v=52a9850a033cd79b1772
\ No newline at end of file |