text: (window.webpackJsonp=window.webpackJsonp||[]).push([[38,6],{1023:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return u})),n.d(e,"c",(function(){return p}));var o,r=n(189),i=["gdoc","gslides","gsheet","gdraw","gtable"],a=";base64,";function c(t){return t?t.split("?").shift().split(".").pop().toLowerCase():void 0}function s(t,e,n,i){void 0===i&&(i=!1);var a=function(t,e){var n=c(t.name);if(!n)return{reason:o.FileWithoutExtension,extension:""};return{reason:l(e,n),extension:n||t.type.substr(t.type.lastIndexOf("/")+1)}}(t,e),s=a.extension,d=a.reason,u={valid:!1,reason:d,extension:s};return i||d==o.Valid?!function(t,e){return t.size<=e}(t,n)?u.errorMessage="Sorry, this file is too big. The maximum upload file size is %size% MB".replace(/%size%/,(n/1024/1024).toString()):u.valid=!0:(u.errorMessage=function(t){switch(t){case o.FileWithoutExtension:return"File without extension";case o.FileFormatNotSupported:return"Sorry, this file type is not supported";case o.GoogleDriveAppFile:return"To upload Google Docs, Sheets or Slides to the board, please use the Google Drive option in the Insert menu";default:return""}}(d),function(t,e){switch(t){case o.FileFormatNotSupported:case o.GoogleDriveAppFile:r.uploadUnsupportedFileType(e)}}(d,s)),u}function l(t,e){return-1!=t.indexOf(e)?o.Valid:-1!=i.indexOf(e)?o.GoogleDriveAppFile:o.FileFormatNotSupported}function d(t){for(var e=t.split(a),n=e[0].split(":")[1],o=window.atob(e[1]),r=o.length,i=new Uint8Array(r),c=0;c<r;++c)i[c]=o.charCodeAt(c);return new Blob([i],{type:n})}function u(t){if(-1==t.indexOf(a)){var e=t.split(","),n=e[0].split(":")[1],o=decodeURIComponent(e[1]);return new Blob([o],{type:n})}return d(t)}function p(t){return-1!==t.indexOf(a)?Promise.resolve(d(t)):new Promise((function(e,n){var o=new XMLHttpRequest;o.open("GET",t,!0),o.responseType="blob",o.onload=function(){200===o.status?e(o.response):n()},o.onerror=n,o.send()}))}!function(t){t[t.Valid=0]="Valid",t[t.FileWithoutExtension=1]="FileWithoutExtension",t[t.FileFormatNotSupported=2]="FileFormatNotSupported",t[t.GoogleDriveAppFile=3]="GoogleDriveAppFile"}(o||(o={}))},1038:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var o=n(274),r=n(182),i=0,a=0,c=1/Math.round(20);function s(){n(592),Object(r.b)().directive("uiLoader",l)}function l(){return{replace:!0,restrict:"E",template:n(1339),scope:{show:"="},link:function(t,e){var n;t.id=o.b(),t.startAnimation=function(){n=setTimeout(t.continueAnimation,c/1e3)},t.continueAnimation=function(){i++,a+=32,i>=18&&(i=0,a=0),e.css("background-position",-a+"px 0"),n=setTimeout(t.continueAnimation,1e3*c)},t.stopAnimation=function(){clearTimeout(n)},t.$watch("show",(function(e){e?t.startAnimation():t.stopAnimation()})),t.$on("$destroy",(function(){return t.stopAnimation()}))}}}},1095:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var o=n(1340);function r(t,e,n){return a.pickFiles(t,e,!1,n).then((function(t){return t?t[0]:void 0}))}function i(t,e,n){return a.pickFiles(t,e,!0,n)}var a=function(){function t(){}return t.pickFiles=function(e,n,r,i){var a=this;return void 0===i&&(i=[]),this.tryClear(),Object(o.a)(i).then((function(o){return o?new Promise((function(o){var i=function(t,e,n){var o=document.createElement("input");o.type="file",t&&(o.accept=t);e&&o.setAttribute("capture",e);n&&o.setAttribute("multiple","multiple");return o.style.position="absolute",o.style.top="-99999px",o.style.left="-99999px",o.style.width="0",o.style.height="0",o.style.opacity="0",document.body.appendChild(o),o}(e,n,r);a.input=i,i.onchange=function(){i.files&&i.files.length?o(i.files):o(void 0),t.tryClear()},i.click()})):Promise.resolve(void 0)}))},t.tryClear=function(){this.input&&(this.input.parentNode&&this.input.parentNode.removeChild(this.input),this.input=void 0)},t}()},11260:function(t,e,n){"use strict";n.r(e);var o=n(0),r=n(716),i=n(189),a=n(184),c=n(238),s=n(186),l=n(627),d=n(573),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.submit=function(){var e=this,n=this.params.inputValue;if(n.length>0){var o={title:n};Object(s.a)().processPromise({promise:a.a.boards.selectById(this.params.boardId).set(o),waitingMessage:"Saving\u2026",successMessage:"Saved",successCallback:function(){i.renameBoard(),e.params.renameBoardBeforeSharing&&i.renameBoardBeforeSharing();var t=e.params.boardId;d.a.instance&&d.a.instance.getSignals().ui.dashboard.boardInfoUpdated({boardId:t,changedParams:o}),Object(c.a)().isBoardOpened()&&l.c.instance&&l.c.instance.updateCurrentBoardInfo(t,o,!1)}}),t.prototype.submit.call(this,n)}},e}(r.a),p=n(205),b=n(202),h=n(217),m=n(230),f={caption:"Rename board",label:"Enter a new board name:",submitButtonCaption:"Ok",cancelButtonCaption:"Cancel",placeholder:"Type here",enableSubmitByEnter:!0},g={caption:"Give your board a title",text:"Please name the board before inviting participants:",submitButtonCaption:"Save",cancelButtonCaption:"Skip",placeholder:"Type here",enableSubmitByEnter:!0,renameBoardBeforeSharing:!0},_=n(206),v=n(183),E=n(195),O=n(187),x=n(2),A=n(275),y=n.n(A),T=n(211),S=n(256),I=n(679),w=n(403),C=n(214),R=n(280),N=n(252),k=n(232),D=n(42),M="Renew subscription";var j=!1;var P=n(365),L=n(27),B=n(750),U=n(492),F=n(244),W=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.init=function(){var t=Object(F.a)().$sce;this.text=t.trustAsHtml(this.params.text)},e.prototype.onTextClicked=function(t){var e=this;if(this.params.onTextClicked){var n=this.params.onTextClicked(t);Promise.resolve(n).then((function(t){t&&e.submit()}))}},e.prototype.submit=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this.params.submitCallback){var o=this.params.submitCallback();o||t.prototype.submit.call(this)}else t.prototype.submit.apply(this,e)},e}(_.b),z=n(3107),H=function(t){return Object(h.a)(),Object(m.a)(),Object(z.a)(),p.b(b.a.BOARD_CANNOT_BE_CREATED,W,n(5789),t)},G=n(314),V=n(2221),K=n(47),Y=n(247),$=n.n(Y),J=Object(V.a)(),Z=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.caption="Copy board in account",e.waiting=!1,e.accounts=[],e.accountSelectVisible=!1,e.finishSpan=function(t,e,n,o){void 0===n&&(n=!0),t&&(o&&t.log({error:o}),t.setTag("finishReason",e),t.setTag("isResolvedCorrectly",n),t.finish())},e}return Object(o.d)(e,t),e.prototype.init=function(){var t=this,e=Object(x.i)().startSpan("openDuplicateBoardMC");this.params.caption&&(this.caption=this.params.caption),Promise.all([a.a.boards.selectById(this.params.boardId).get({fields:"title,account{id,features},project"},e),Object(O.a)().getAccountsAsync(e)]).then((function(n){var o=n[0],r=n[1];t.accounts=r,t.boardInfo=o,t.originalAccountId=o.account.id,t.selectedAccountId=t.getInitAccountId(t.originalAccountId),t.accountSelectVisible=t.params.mustChooseAccount||t.originalAccountId!==t.selectedAccountId,t.projectCheckboxVisible=!!o.project&&Object(v.hasFeature)(o.account,E.b.PROJECTS),t.originalBoardTitle=o.title,t.params.title="Copy of "+o.title,t.$scope.$digest();var i=document.querySelector('[data-autotest-id="duplicate-modal__name-input"]');i&&i.select(),t.finishSpan(e,"DuplicateBoardMC opened")})).catch((function(n){t.finishSpan(e,"Failed init DuplicateBoardMC",!1,n),Object(s.a)().showErrorByData(n),t.cancel()}))},e.prototype.getInitAccountId=function(t){if(this.getAccounts().some((function(e){return e.id===t})))return t;var e=this.getAccounts();return Object(B.m)(e)||e[0].id},e.prototype.getAccounts=function(){return Object(B.i)(this.accounts)},e.prototype.getAccountsOptions=function(){var t=this;return J(this.getAccounts().map((function(e){return{key:$()(t.getAccountTitle(e)),value:e.id,disabled:e.expired}})))},e.prototype.getAccountTitle=function(t){return v.getAccountTitle(t)},e.prototype.isCheckboxVisible=function(){return!this.params.hideCopyPermissions&&!this.isDestinationAccountChanged()},e.prototype.isWarningVisible=function(){return!this.params.hideCopyPermissions&&this.isDestinationAccountChanged()},e.prototype.needToCopyPermissions=function(){return!this.isDestinationAccountChanged()&&!!this.copyPermissions},e.prototype.isDestinationAccountChanged=function(){return this.originalAccountId!==this.selectedAccountId},e.prototype.submit=function(){var e=this;if(this.params.title.length>0){var n=Object(x.i)().startSpan("duplicateBoard");this.waiting=!0,Mt({projectId:this.copyInTheSameProject?this.boardInfo.project.id:void 0,accountId:this.selectedAccountId,sourceBoardId:this.params.boardId,newBoardTitle:this.params.title,copyPermissions:this.needToCopyPermissions(),parentSpan:n}).then((function(){return e.finishSpan(n,"duplicate board success"),Object(D.a)().sendApiEvent("operation_finished",{location:"dashboard",operation_name:"duplicate_board",items_taken:1,operation_type:"single",duration:Object(K.a)(n)}),t.prototype.submit.call(e)})).catch((function(t){e.finishSpan(n,"fail copy board",!1,t)})),this.isDestinationAccountChanged()&&i.copyBoardToAnotherAccount()}},e}(_.b),X=n(433),Q=n(414),q=n(811),tt=n(337),et=n(326),nt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inited=!1,e}return Object(o.d)(e,t),e.prototype.init=function(){this.inited=!0},e.prototype.submitAction=function(){return Object(o.b)(this,void 0,void 0,(function(){var e,n;return Object(o.e)(this,(function(o){switch(o.label){case 0:if(this.submitLoading=!0,!this.params.submitButton||!this.params.submitButton.action)return[3,5];o.label=1;case 1:return o.trys.push([1,3,,4]),e=this.submit,[4,this.params.submitButton.action()];case 2:return e.apply(this,[o.sent()]),[3,4];case 3:return n=o.sent(),this.onErrorHandler(n),this.submit(n),[3,4];case 4:return[3,6];case 5:t.prototype.submit.call(this),o.label=6;case 6:return[2]}}))}))},e.prototype.cancelAction=function(){return Object(o.b)(this,void 0,void 0,(function(){var e,n;return Object(o.e)(this,(function(o){switch(o.label){case 0:if(!this.params.cancelButton||!this.params.cancelButton.action)return[3,5];this.cancelLoading=!0,o.label=1;case 1:return o.trys.push([1,3,,4]),e=this.cancel,[4,this.params.cancelButton.action()];case 2:return e.apply(this,[o.sent()]),[3,4];case 3:return n=o.sent(),this.onErrorHandler(n),this.cancel(n),[3,4];case 4:return[3,6];case 5:t.prototype.cancel.call(this),o.label=6;case 6:return[2]}}))}))},e.prototype.onErrorHandler=function(t){var e=this.params.onError;e&&e(t)},e}(_.b),ot=n(8),rt=n(3),it={id:{},name:{},features:{},trial:{},type:{},integrations:{},installedApplications:{array:!0,fields:n(28).r},limits:{}},at=Object(o.a)(Object(o.a)({},it),{currentUserPermission:{permissions:{},user:{},role:{}},expired:{},boardsNumber:{},organization:{features:{},currentUserPermission:{role:{}}}}),ct={id:{},picture:{},title:{},description:{},ownerName:{},owner:{},updatedAt:{},createdAt:{},currentUserPermission:{id:{},role:{},permissions:{}},currentUserContext:{id:{},role:{},permissions:{},directlyShared:{}},demo:{},project:{title:{}},template:{},lockedByActiveBoardsPerAccountLimitExceeded:{},integrations:{},sharingPolicyOnAccount:{},copyAccessLevel:{},account:it,publicVisitorsNamesAllowance:{}},st=Object.assign({},ct,{account:at}),lt=(rt.d.createFieldStr(ct),rt.d.createFieldStr(st)),dt=n(456),ut=n(29),pt=n(660),bt=s.b(),ht=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.waiting=!1,e.emailsIsVisible=!1,e.finishSpan=function(t,e,n,o){void 0===n&&(n=!0),t&&(o&&t.log({error:o}),t.setTag("finishReason",e),t.setTag("isResolvedCorrectly",n),t.finish())},e}return Object(o.d)(e,t),e.prototype.init=function(){this.account=this.params.account,this.originAccount=this.params.originAccount,this.boardInfo=this.params.boardInfo,this.emails=this.params.emails;var t=Object(ut.c)(Object(pt.a)().getState().workspace);this.downloadUrl="/api/v1/boards/"+this.boardInfo.id+"/not-moved-members?accountId="+this.account.id+(t?"&"+rt.c+"="+encodeURIComponent(t):"")},e.prototype.viewEmails=function(){this.emailsIsVisible=!0},e.prototype.copyEmails=function(){Object(dt.a)(this.emails.data.toString(),{notifications:{successMessage:this.emails.size+" emails have been copied to clipboard"}})},e.prototype.submit=function(){var e=this;this.waiting=!0;var n=Object(x.i)().startSpan("moveBoardToAccount");n.setTag("modalName","MoveBoardResultMC"),bt().processPromise({promise:a.a.boards.selectById(this.boardInfo.id).attachToAccount(this.account.id,!0),waitingMessage:"Waiting\u2026",successMessage:"Board has been moved",successCallback:function(){i.movedBoardToAnotherAccount(e.originAccount,e.account),d.a.instance?d.a.instance.getSignals().ui.dashboard.boardMoved({parentSpan:n,onChainComplete:function(){e.finishSpan(n,"After chain boardMoved")}}):e.finishSpan(n,"DashboardModule isn't exist",!1),t.prototype.submit.call(e)},errorCallback:function(t){e.finishSpan(n,"Attach to account error",!1,t)}})},e}(_.b),mt=n(4037),ft=n(3469),gt=n(3944),_t=n(357),vt=rt.d.createFieldStr({id:{},currentUserPermission:{},usersNumber:{},title:{},limits:{},expired:{},type:{},role:{},trial:{},boardsNumber:{},organization:{features:{},currentUserPermission:{},id:{},type:{}}});function Et(){return a.a.accounts.get({fields:mt.a}).then((function(t){return t.filter((function(t){return Object(B.c)(t)}))}))}function Ot(t,e,n){return Object(o.b)(this,void 0,Promise,(function(){var r;return Object(o.e)(this,(function(o){switch(o.label){case 0:return[4,Object(B.l)(t,(function(t,n){return St(t,n,e,!0)}))];case 1:return(r=o.sent())&&r.chooseAnotherTeam?n?[3,3]:[4,xt()]:[3,4];case 2:n=o.sent(),o.label=3;case 3:return[2,At(n,t.id)];case 4:return[4,Object(B.k)(t,Boolean(r&&r.boardLimitHasExceeded),(function(){return It(t,e,!0)}))];case 5:return o.sent()!==B.b.SWITCH_TEAM?[3,8]:n?[3,7]:[4,xt()];case 6:n=o.sent(),o.label=7;case 7:return[2,At(n,t.id)];case 8:return[2,t.id]}}))}))}function xt(){return Object(o.b)(this,void 0,Promise,(function(){var t;return Object(o.e)(this,(function(e){switch(e.label){case 0:return[4,Et()];case 1:return t=e.sent(),[2,t=Object(v.sortAccountsByLastActivityDate)(t)]}}))}))}function At(t,e){return Object(o.b)(this,void 0,Promise,(function(){var n;return Object(o.e)(this,(function(o){switch(o.label){case 0:return n=t.filter((function(t){return t.id!==e})),[4,Object(ft.a)()];case 1:return[4,o.sent().showAccountPickerModal({headerText:gt.a,accountsInfos:[{accounts:n,user:Object(O.a)().userInfo,workspace:Object(ut.a)(Object(pt.a)().getState().workspace)}]})];case 2:return[2,o.sent()]}}))}))}function yt(t){return Mt(t).then((function(t){return _t.a.getSignals().ui.onboarding.welcome.setShowBoardCreatedNotification({value:!0}),t}))}function Tt(t){a.a.accounts.selectById(t).get({fields:vt}).then((function(t){t&&P.c(t).then((function(e){Object(T.a)().show(H(function(t,e){if(!C.a.upgradeIsSupported)return{text:'Your <b class="break-word">%teamTitle%</b> account has reached the limit of&nbsp;%boardsLimit% boards. Please delete one of the boards to create a new one.'.replace("%teamTitle%",t.title).replace("%boardsLimit%",t.limits.boardsPerAccount.toString())};if(t.expired){if(i.boardCanNotBeCreated("expired"),t.type===E.f.TEAM){if(t.role===E.g.ADMIN)return{text:'The <b class="break-word">%teamTitle%</b> team subscription has expired, and you can\'t create boards within this team.\nTo create a new board, please renew your subscription.'.replace("%teamTitle%",t.title),submitButtonCaption:M,submitCallback:function(){var e=Object(w.c)(t,i.FreeTeamsStat.StatFeatureList.board_cannot_be_create);Object(D.a)().sendApiEvent("click_upgrade",e),Object(N.a)((function(){return Object(k.d)()})).then((function(e){return e.buyExistingTeam(t)}))}};if(t.role===E.g.USER)return{text:'The <b class="break-word">%teamTitle%</b> team subscription has expired, and you can\'t create boards within this team.\nTo create a new board,please ask the account administrator at&nbsp;<b class="break-word">%adminEmail%</b> to resubscribe.'.replace("%teamTitle%",t.title).replace("%adminEmail%",e)};throw new Error("showCanNotCreateBoardModal called in wrong case")}if(t.type===E.f.PAID_TEAM||t.type===E.f.EDU_TEAM){if(v.canIChooseAccountPlan(t))return{text:'The <b class="break-word">%teamTitle%</b> account has been paused, and you can\'t create boards within this account.\nTo create a new board, please choose your plan.'.replace("%teamTitle%",t.title),submitButtonCaption:"Choose a plan",submitCallback:function(){Object(N.a)((function(){return Object(k.d)()})).then((function(e){return e.getPaymentModal(t)}))}};if(t.role===E.g.USER)return{text:'The <b class="break-word">%teamTitle%</b> account has been paused, and you can\'t create boards within this account.\nTo create a new board, please ask the account administrator at&nbsp;<b class="break-word">%adminEmail%</b> to log in and choose a plan.'.replace("%teamTitle%",t.title).replace("%adminEmail%",e)};throw new Error("showCanNotCreateBoardModal called in wrong case")}if(t.type===E.f.EDUCATION||t.type===E.f.PREMIUM||t.type===E.f.NEW_PREMIUM)return{text:"Your <b>Personal</b> account has been paused, and you can't create boards within this account.\nTo create a new board, please choose your plan.".replace("%teamTitle%",t.title),submitButtonCaption:M,submitCallback:function(){Object(N.a)((function(){return Object(k.d)()})).then((function(e){return e.getPaymentModal(t)}))}};throw new Error("showCanNotCreateBoardModal called in wrong case")}if(t.boardsNumber>=t.limits.boardsPerAccount){if(i.boardCanNotBeCreated("boardsLimitsExceeded"),t.type===E.f.FREE||t.type===E.f.NEW_FREE)return{text:"You have reached the limit of&nbsp;3 boards available in the Free account.\nPlease delete one of your boards to create a new one, or upgrade to get access to unlimited boards and advanced features.",submitButtonCaption:"Upgrade",submitCallback:function(){var e=Object(w.c)(t,i.FreeTeamsStat.StatFeatureList.board_cannot_be_create);Object(D.a)().sendApiEvent("click_upgrade",e),Object(N.a)((function(){return Object(k.d)()})).then((function(e){return e.openPricing(t)}))}};throw new Error("showCanNotCreateBoardModal called in wrong case")}throw new Error("showCanNotCreateBoardModal called in wrong case. account.expired: "+t.expired+"  account.boardsNumber: "+t.boardsNumber+" account.limits.boardsPerAccount: "+t.limits.boardsPerAccount+" account.type:"+t.type+" Round 1")}(t,e)))}))}))}function St(t,e,n,o){return C.a.upgradeIsSupported?new Promise((function(r,i){e.limits.activeBoardsPerAccount-e.boardsNumber<=0?(G.c(),Object(k.d)().then((function(a){var c=a.showBoardWillBeSharedModal({account:e,onSubmit:function(t){r({boardLimitHasExceeded:!0,chooseAnotherTeam:t===B.b.SWITCH_TEAM})},editableBoardsLimitReached:!0,board:t,actionType:n,canSwitchTeam:o});c.submitted.addOnce((function(){return r({boardLimitHasExceeded:!0})})),c.canceled.addOnce(i)}))):r()})):new Promise((function(e,n){var o={title:"You are over boards limit",text:'If you create a new board, "'+$()(t.title)+'" board will become view-only.',info:!0,submitButton:{caption:"Create a board anyway"}},r=Object(T.a)().show(Object(tt.a)(o));r.submitted.addOnce((function(){e({boardLimitHasExceeded:!0})})),r.canceled.addOnce(n)}))}function It(t,e,n){return function(t,e,n){return C.a.upgradeIsSupported?new Promise((function(o,r){var a=Object(w.b)(t,i.FreeTeamsStat.StatFeatureList.private_board_popup,t.boardsNumber);Object(D.a)().sendApiEvent("click_locked_feature",a),G.c(),Object(k.d)().then((function(i){i.showBoardWillBeSharedModal({account:t,onSubmit:o,editableBoardsLimitReached:!1,actionType:e,canSwitchTeam:n}).canceled.addOnce(r)}))})):Promise.resolve()}(t,e,n)}function wt(t){return Object(B.c)(t)?Promise.resolve():(Tt(t.id),Promise.reject(null))}function Ct(){return Object(s.a)().show({text:"Loading\u2026",durationInMS:0}),Promise.resolve()}function Rt(t){return function(e){return t?e&&e.id?Object(s.a)().show({text:t,actionText:"Go to board",actionCallback:function(){Object(c.a)().openBoard(e.id,!1)}}):Object(s.a)().show(t):Object(s.a)().hide(),e}}function Nt(t){t&&(console.error(t),Object(s.a)().showErrorByData(t))}function kt(t){if(t){var e=Object(o.a)({},t);console.error(t),404===t.status&&(e.responseJSON.error.message="This board is permanently deleted"),Object(s.a)().showErrorByData(e)}}function Dt(t){return function(e){var n=Object(x.i)().startSpan("spanUpdateUserProfileInfo",{childOf:ot.a.spanCreateBoard});Object(O.a)().updateUserProfileInfo(n).then((function(){n.finish()}));var o=Object(x.i)().startSpan("spanOpenBoard",{childOf:ot.a.spanCreateBoard});return t&&(t.parentSpan=o),Object(c.a)().openBoard(e.id,!!(null===t||void 0===t?void 0:t.newTab)&&t.newTab,t),e}}function Mt(t){var e=t.accountId,n=t.projectId,r=t.sourceBoardId,i=t.newBoardTitle,c=t.copyPermissions,s=t.params,l=t.successMessageVisible,d=void 0===l||l,u=t.parentSpan;return Object(o.b)(this,void 0,Promise,(function(){var t;return Object(o.e)(this,(function(o){return t={accountId:e},i&&(t.title=i),[2,Object(B.j)(e).then((function(t){return wt(t)})).then(Ct).then((function(){return a.a.boards.copy(r,c,t,n,u)})).then(Dt(s)).then(d?Rt("Board has been copied"):Rt()).catch(Nt)]}))}))}function jt(t,e){var n=!1,o={code:-1,reason:"unknown",message:"unknown",backup_size:e.size},r=function(t){return function(e){return function(t,e){if(!n){n=!0;var r=rt.b.getJsonError(e);r.reason?(o.code=r.code,o.reason=r.reason||"unknown",o.message=r.message||"unknown"):(o.message=t,e&&413===e.status&&(o.code=413,o.reason="File is too big"))}throw e}(t,e)}};return Object(B.j)(t).catch(r("Failed to load account info")).then((function(t){return wt(t)})).catch(r("Failed to create board by logic")).then(Ct).catch(r("Failed to show loading message")).then((function(){return a.a.boards.upload(e,{accountId:t})})).catch(r("Failed to upload backup file")).then(Dt()).catch(r("Failed to open created board")).then(Rt("Backup uploaded")).catch(r("Failed to show complete message")).catch((function(t){t&&413===t.status?Object(s.a)().showError("Sorry, the backup file is too big"):Nt(t),Object(D.a)().sendApiEvent("notification_shown",{notification_message:"backup_upload_failed",params:JSON.stringify(o)})}))}var Pt={account:{id:{},limits:{},expired:{},currentUserPermission:{},boardsNumber:{},organization:{features:{},currentUserPermission:{role:{}}}}};function Lt(t){return a.a.boards.selectById(t).get({fields:rt.d.createFieldStr(Pt)}).then((function(t){return wt(t.account)})).then(Ct).then((function(){return a.a.boards.selectById(t).restore()})).then((function(){return d.a.instance&&d.a.instance.getSignals().ui.dashboard.boardRestored(),Object(O.a)().updateUserProfileInfo(),Promise.resolve({id:t})})).then(Rt("Board has been restored")).catch(kt)}function Bt(){return i.boardCanNotBeCreated("noAccounts"),Object(T.a)().show(H({text:"You can't create a board because your profile is&nbsp;not&nbsp;connected to an active account. To create a&nbsp;board, please create your own team account.",submitButtonCaption:"Create my team",submitCallback:function(){j||(j=!0,Object(R.a)().then((function(t){return t.getTeam({from:"no_account",becauseOfRestrictionReached:!1})})).then((function(){return j=!1})).catch((function(){return j=!1})))}})),Promise.reject("no_account")}function Ut(t,e){var r,i=Object(v.isPaidAccount)(t.account)||Object(v.isPersonalAccount)(t.account),a="You are about to delete <b>"+$()(t.title)+"</b>.";Object(T.a)().show((r={title:"Delete this board?",text:i?a+" It will stay in trash for 30 days.":a,submitButton:{caption:"Delete",action:function(){return Object(s.a)().show("Deleting\u2026"),Object(et.a)().then((function(e){e.deleteBoard(t.id,i)})),e&&e(),Promise.resolve()}},cancelButton:{caption:"Cancel",action:function(){return Promise.resolve()}}},Object(h.a)(),Object(m.a)(),n(5791),p.b(b.a.DELETE_BOARD_CONFIRMATION,nt,n(5793),Object(o.a)({enableSubmitByEnter:!1},r))))}function Ft(t,e,r,a){return new Promise((function(c,s){var l,d=Object(T.a)().show((l={boardId:t.id,hideCopyPermissions:r,mustChooseAccount:r,caption:a},Object(Q.a)(),Object(X.a)(),Object(h.a)(),Object(m.a)(),p.b(b.a.DUPLICATE_BOARD,Z,n(5790),Object(o.a)({enableSubmitByEnter:!0},l))));d.submitted.addOnce((function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];Object(U.e)(t)||i.FreeTeamsStat.duplicateInactiveBoard({plan:e&&e.type||"",user_role:e&&(e.currentUserPermission&&e.currentUserPermission.role||e.role)||"",account_id:e&&e.id||"",board_role:t.currentUserPermission.role,board_id:t.id}),c.apply(void 0,n)})),d.canceled.addOnce(s)}))}function Wt(t,e){return C.a.upgradeIsSupported?new Promise((function(n,o){G.c(),Object(k.d)().then((function(r){r.showShopWindowModal({upgradeReason:L.z.BOARD_WILL_BE_INACTIVE_DUPLICATE,statReason:i.FreeTeamsStat.StatFeatureList.over_boards_limit_popup,account:e,extendActionText:"Duplicate anyway",onExtendActionClick:function(){return n({boardLimitHasExceeded:!0})},board:t}).canceled.addOnce(o)}))})):new Promise((function(e,n){var o={title:"You are over boards limit",text:'If you duplicate the board, "'+$()(t.title)+'" board will become view-only.',info:!0,submitButton:{caption:"Duplicate anyway"}},r=Object(T.a)().show(Object(tt.a)(o));r.submitted.addOnce((function(){e({boardLimitHasExceeded:!0})})),r.canceled.addOnce(n)}))}function zt(t,e,r,c){var l=t.account;return new Promise((function(u,f){Object(s.a)().processPromise({promise:a.a.boards.selectById(t.id).attachToAccount(e.id,void 0,r),waitingMessage:"Waiting\u2026",successCallback:function(a){var g;a.emails?(c&&c(r,"Show MoveBoardResultModal"),f(),Object(T.a)().show((g={boardInfo:t,account:e,originAccount:l,emails:a.emails},Object(h.a)(),Object(m.a)(),n(5795),p.b(b.a.MOVE_BOARD_RESULT,ht,n(5797),Object(o.a)({enableSubmitByEnter:!0},g))))):(i.movedBoardToAnotherAccount(l,e),Object(s.a)().show("Board moved to <b>"+e.title+"</b>"),d.a.instance?d.a.instance.getSignals().ui.dashboard.boardMoved({parentSpan:r,onChainComplete:function(){c&&c(r,"After chain boardMoved")}}):c&&c(r,"DashboardModule isn't exist",!1),u())},errorCallback:function(t){c&&c(r,"Attach to account error",!1,t),Object(s.a)().showErrorByData(t)}})}))}function Ht(t,e,n,r,i){return Object(o.b)(this,void 0,Promise,(function(){var a;return Object(o.e)(this,(function(o){switch(o.label){case 0:return t.account.id!==e.id?[3,1]:(i&&i(r,"originalAccountId the same as selectedAccountId",!1),[2,Promise.resolve()]);case 1:return[4,Object(B.j)(e.id)];case 2:return[4,Ot(o.sent(),B.a.MOVE,n)];case 3:return(a=o.sent())?a===e.id?[3,5]:[4,Object(B.j)(a)]:[3,6];case 4:e=o.sent(),o.label=5;case 5:return[2,zt(t,e,r,i)];case 6:return[2]}}))}))}var Gt=s.b(),Vt=function(t){function e(e){var n=t.call(this,e)||this;return n.waiting=!1,n.finishSpan=function(t,e,n,o){void 0===n&&(n=!0),t&&(o&&t.log({error:o}),t.setTag("finishReason",e),t.setTag("isResolvedCorrectly",n),t.finish(),n&&Object(D.a)().sendApiEvent("operation_finished",{location:"dashboard",operation_name:"move_board_to_account",items_taken:1,operation_type:"single",duration:Object(K.a)(t)}))},n}return Object(o.d)(e,t),e.prototype.init=function(){var t=this,e=Object(x.i)().startSpan("openMoveBoardToAccountMC");Promise.all([a.a.boards.selectById(this.params.boardId).get({fields:"id,title,account"},e),Object(O.a)().getAccountsAsync(e)]).then((function(n){var o=n[0],r=n[1];t.boardInfo=o,t.originalAccountId=t.selectedAccountId=o.account.id,t.accounts=r,t.accountsOptions=t.accounts.filter((function(t){return Object(v.canMoveBoardToAccount)(t)})).map((function(e){return{key:$()(t.getAccountTitle(e)),value:e.id,disabled:e.expired||!Object(v.hasFeature)(e,E.b.IMPORT_BOARD)}})),t.$scope.$digest(),t.finishSpan(e,"MoveBoardMC opened"),Object(D.a)().sendApiEvent("operation_finished",{location:"dashboard",operation_name:"move_board_opened",items_taken:1,operation_type:"single",duration:Object(K.a)(e)})})).catch((function(n){t.finishSpan(e,"Failed init MoveBoardMC",!1,n),Gt().showErrorByData(n),t.cancel()}))},e.prototype.getAccountTitle=function(t){return v.getAccountTitle(t)},e.prototype.getSelectedAccount=function(){var t=this;return this.accounts.find((function(e){return e.id===t.selectedAccountId}))},e.prototype.getOriginalAccount=function(){var t=this;return this.accounts.find((function(e){return e.id===t.originalAccountId}))},e.prototype.submit=function(){var e=this,n=Object(x.i)().startSpan("moveBoardToAccount");n.setTag("modalName","MoveBoardMC"),this.waiting=!0,Ht(this.boardInfo,this.getSelectedAccount(),void 0,n,this.finishSpan.bind(this)).then((function(){return t.prototype.submit.call(e)})).catch((function(t){}))},e}(_.b),Kt=n(5799),Yt=n(2250),$t=n(3471),Jt=n(612),Zt=n(727),Xt=n(324),Qt=n(1750),qt=n(1038),te=n(317),ee=n(1023),ne=n(1095),oe=n(1184),re=n(1481),ie=5242880,ae=["jpg","jpeg","png","bmp"],ce="image/"+ae.join(",image/");function se(t,e){var n=Object(ee.d)(e,ae,ie);return n.valid?le(t,e):Promise.reject(n.errorMessage)}function le(t,e){return a.a.boards.selectById(t).setPicture(e).catch((function(t){throw Object(s.a)().showErrorByData(t),t}))}var de=n(1338),ue=n(243),pe=n(253);var be,he=n(254),me=n(180),fe=n.n(me),ge=n(250),_e=n(234),ve=n(227),Ee=(n(5804),n(1748)),Oe=n(952),xe=n(53),Ae=n(263),ye=n(1210),Te=n(279),Se=n(2023),Ie=n(179),we=n(270),Ce=n(268),Re=n(666),Ne=n(474);!function(t){t[t.UPLOAD=0]="UPLOAD",t[t.BOARD=1]="BOARD"}(be||(be={}));var ke={key:"Upload image",value:be.UPLOAD},De={key:"Select from board",value:be.BOARD};function Me(t){var e,o=Object(me.useState)(t.board.picture),r=o[0],i=o[1],a=Object(me.useState)(!1),c=a[0],d=a[1],u=Object(me.useState)(!!(null===(e=t.board)||void 0===e?void 0:e.picture.resourceId)),p=u[0],b=u[1],h=[ke];t.boardPreviewEnabled&&h.push(De);var m=t.canEditInfo&&(c||!p);return fe.a.createElement(Ne.a,{options:h,className:"board-details-dialog__picture rtb-select--small",menuPlacement:"bottom-start",onChange:function(e){switch(e.value){case be.UPLOAD:Object(Ee.a)(t.modalName,t.openedFrom,"set image"),Object(et.a)().then((function(e){e.selectFileForBoardPicture().then((function(n){n&&(d(!0),e.setBoardPicture(t.board.id,n).then((function(e){i(e),d(!1),b(!0),Object(re.a)({type:"image"}),oe.a.dispatch({boardId:t.board.id,changedParams:{picture:e}}),Object(s.a)().show("Board cover updated")})).catch((function(){d(!1)})))}))}));break;case be.BOARD:Object(Ee.a)(t.modalName,t.openedFrom,"set preview"),Object(l.a)().modals.showMakeBoardPreviewModal({enableCloseByBackground:!1,showLockLayer:!1,text:"Select area for a board preview",source:"Board Details"}),Object(re.a)({type:"board_preview"}),t.closeWithoutOpeningChildWindows()}},isDisabled:!t.canEditInfo||c},m?fe.a.createElement("button",{className:Object(Ie.i)("board-details-dialog__picture-placeholder",{"board-details-dialog__picture-spinner":c})},!c&&fe.a.createElement("div",null,fe.a.createElement("svg",{className:"board-details-dialog__picture-placeholder-svg"},fe.a.createElement("use",{xlinkHref:n(5806)})),fe.a.createElement("div",{className:"board-details-dialog__picture-placeholder-div"},"Set cover image"))):fe.a.createElement("button",{className:"board-details-dialog__picture-button",disabled:!t.canEditInfo},fe.a.createElement("img",{src:t.isTemplate?null===r||void 0===r?void 0:r.image:null===r||void 0===r?void 0:r.size210,alt:""})))}var je=n(277),Pe=n(228),Le=n(260),Be=n(292),Ue=n(290);function Fe(t){var e=this,r=t.board,i=t.modalName,a=t.waitForDialogCancel,c=t.closeWithoutOpeningChildWindows,s=r.currentUserPermission.permissions,l=Object(B.c)(r.account),d=s.includes(xe.C.EDIT_USERS),u=s.includes(xe.C.COPY_BOARD),p=s.includes(xe.C.TRASH_BOARD),b=r.currentUserContext.directlyShared&&s.includes(xe.C.LEAVE_BOARD),h=Object(O.a)().userType===Pe.a.REGULAR,m=!h&&Object(je.q)(r),f=a((function(){Object(Ee.a)(i,t.modalName,"create board"),Object(Le.j)(r.account.id).openInNewTab()})),g=a((function(){return Object(o.b)(e,void 0,void 0,(function(){var e,n;return Object(o.e)(this,(function(o){switch(o.label){case 0:return Object(Ee.a)(i,t.openedFrom,"duplicate board"),Object(D.a)().sendApiEvent("duplicate_board_clicked",{source:"more_button"}),[4,Object(O.a)().getAccountsAsync()];case 1:return e=o.sent(),Object(B.i)(e).length?[4,Object(et.a)()]:[3,3];case 2:return o.sent().copyBoardToLastActiveAccount(r),[3,7];case 3:return[4,Object(R.a)()];case 4:return[4,o.sent().getTeam({from:"from-board-duplicate",becauseOfRestrictionReached:!1})];case 5:return(n=o.sent())?[4,Object(et.a)()]:[3,7];case 6:o.sent().copyBoard({accountId:n.id,sourceBoardId:r.id,copyPermissions:!1,successMessageVisible:!1,newBoardTitle:Object(B.f)(r.title)}),o.label=7;case 7:return[2]}}))}))})),_=a((function(){Object(Ee.a)(i,t.openedFrom,"share"),Object(N.a)((function(){return Object(R.a)()})).then((function(e){e.showShareBoardModal(Object(o.a)({boardId:r.id,from:"board_info"},t.shareModalParams)),e.sendShareClickedStat(r,"board name card")}))})),v=a((function(){Object(Ee.a)(i,t.openedFrom,"delete board"),Object(et.a)().then((function(t){t.showDeleteConfirmModal(r)}))})),E=a((function(){Object(Ee.a)(i,t.openedFrom,"leave board"),Object(et.a)().then((function(t){return t.showLeaveModal(r.id)})).then((function(){c()}))}));return fe.a.createElement("div",{className:"board-details-dialog__footer"},l&&fe.a.createElement(We,{iconSrc:n(5807),text:"New board",callback:f,dataAutoTestId:"board-info-modal-create"}),(u||m)&&fe.a.createElement(We,{iconSrc:n(5808),text:"Duplicate",callback:function(){h?g():(Object(Ee.a)(i,t.openedFrom,"sign up to duplicate"),Object(Be.Z)(r.id),Object(pt.a)().dispatch(Object(Ue.j)({openBoardId:r.id})))},dataAutoTestId:"board-info-modal-duplicate"}),d&&fe.a.createElement(We,{iconSrc:n(5809),text:"Share",callback:_,dataAutoTestId:"board-info-modal-share"}),p&&fe.a.createElement(We,{iconSrc:n(5810),text:"Delete",callback:v,isDangerous:!0,dataAutoTestId:"board-info-modal-delete"}),b&&fe.a.createElement(We,{iconSrc:n(5811),text:"Leave",callback:E,isDangerous:!0,dataAutoTestId:"board-info-modal-leave"}))}function We(t){return fe.a.createElement(Ie.f.Button,{className:Object(Ie.i)("board-details-dialog-action",{"board-details-dialog-action--dangerous":t.isDangerous}),hmTap:t.callback,dataAutoTestId:t.dataAutoTestId},fe.a.createElement("svg",{className:"board-details-dialog-action__icon"},fe.a.createElement("use",{xlinkHref:t.iconSrc})),fe.a.createElement("div",{className:"board-details-dialog-action__text"},t.text))}var ze={content:"board-details-dialog__content"},He=b.a[b.a.BOARD_DETAILS];var Ge=Object(ve.a)((function(t,e){return{boardId:t.boardId,openedFrom:t.openedFrom,board:t.board,boardPreviewEnabled:t.boardPreviewEnabled,isTemplate:t.isTemplate,shareModalParams:t.shareModalParams,parentSpan:t.parentSpan,onCloseWithoutOpeningChildWindows:t.onCloseWithoutOpeningChildWindows,onSubmit:function(){e({type:"success"})},onCancel:function(){return e({type:"cancel"})}}}))(fe.a.memo((function(t){var e,n,o,r,c,l=Object(me.useState)(null===(e=t.board)||void 0===e?void 0:e.title),d=l[0],u=l[1],p=Object(me.useState)(null===(n=t.board)||void 0===n?void 0:n.title),b=p[0],h=p[1],m=Object(me.useState)((null===(o=t.board)||void 0===o?void 0:o.description)||""),f=m[0],g=m[1],_=Object(me.useState)((null===(r=t.board)||void 0===r?void 0:r.description)||""),O=_[0],A=_[1],y=t.board,T=t.parentSpan,S=t.isTemplate,I=Object(me.useRef)(null),w=Object(me.useRef)(null);if(Object(we.a)(t.onCancel),Object(Ce.a)(I,t.onCancel),Object(me.useEffect)((function(){setTimeout((function(){w&&w.current.focus()}),250)}),[]),y){Object(x.i)().startSpan("boardResolveCb",{childOf:T});var C=y.currentUserPermission.permissions,R=!!t.boardPreviewEnabled&&ye.a,D=C.includes(xe.C.EDIT_BOARD_PARAMS),M=Ae.i(y.ownerName),j=C.includes(xe.C.EDIT_BOARD_PARAMS),P=Object(v.hasFeature)(y.account,E.b.PROJECTS),B=(null===(c=y.project)||void 0===c?void 0:c.title)||"no project",U=function(e){return function(){t.onCancel(),setTimeout(e,250)}},F=U((function(){Object(Ee.a)(He,t.openedFrom,"project");var e=y.account;P?Object(Re.a)().then((function(n){n.showMoveBoardToProjectModal({boardId:t.boardId,sendNotification:!v.isPaidAccount(e),showAsSubModal:!0}).submitted.addOnce((function(e){y.project=e,oe.a.dispatch({boardId:t.boardId,changedParams:{project:e}})}))})):Object(N.a)((function(){return Object(k.d)()})).then((function(t){return t.showShopWindowModal({account:e,statReason:i.FreeTeamsStat.StatFeatureList.create_project,fromLockedPlace:!0,upgradeReason:L.z.CREATE_PROJECT})}))}));return fe.a.createElement("div",{id:"board-details","data-auto-test-id":"board-info-modal",ref:I},fe.a.createElement(_e.a,{classNames:ze,onCancel:t.onCancel},fe.a.createElement(ge.a,null,fe.a.createElement("div",{className:"board-details-dialog__body"},fe.a.createElement("div",{className:"board-details-dialog__info"},D&&fe.a.createElement("div",null,fe.a.createElement("input",{type:"text",className:"rtb-input rtb-input--big rtb-input--light rtb-input--fluid",value:b,onChange:function(t){h(t.target.value)},onBlur:z,onKeyDown:function(e){"Enter"===e.key&&(z(),e.target.blur(),t.onSubmit())},maxLength:60,ref:w,"data-auto-test-id":"board-info-modal-title"}),fe.a.createElement("input",{className:"board-details-dialog__description rtb-input rtb-input--small rtb-input--light rtb-input--fluid",value:O,placeholder:"Add description",onChange:function(t){A(t.target.value)},onBlur:function(){if(O&&f!==O){Object(Ee.a)(He,t.openedFrom,"description");var e={description:O};Object(s.a)().processPromise({promise:a.a.boards.selectById(t.boardId).set(e),waitingMessage:"Saving\u2026",successMessage:"Saved",successCallback:function(){g(O),oe.a.dispatch({boardId:t.boardId,changedParams:e})},errorCallback:function(){A(f)}})}},maxLength:300,"data-auto-test-id":"board-info-modal-description"}),fe.a.createElement("div",{className:"board-details-dialog__fieldset"},fe.a.createElement("span",{className:"board-details-dialog__label"},"Board owner"),fe.a.createElement(Te.g,{className:"board-details-dialog__user-picture",size:Te.b.Size16,pictureUrl:y.owner.picture.size44}),fe.a.createElement("span",{"data-auto-test-id":"board-info-modal-owner-name",className:"board-details-dialog__name"},M))),!D&&fe.a.createElement("div",null,fe.a.createElement("div",{className:"board-details-dialog__title-text rtb-h2"},b),fe.a.createElement("div",{className:"board-details-dialog__description-text"},O)),fe.a.createElement("div",{className:"board-details-dialog__fieldset"},fe.a.createElement("span",{className:"board-details-dialog__label"},"Created"),fe.a.createElement(Se.a,{value:new Date(y.createdAt).getTime(),absoluteFormat:"MMMM DD, YYYY",relativeFormat:"",dataAutoTestId:"board-info-modal-created-date"})),fe.a.createElement("div",{className:"board-details-dialog__fieldset"},fe.a.createElement("span",{className:"board-details-dialog__label"},"Last modified"),fe.a.createElement(Se.a,{value:new Date(y.updatedAt).getTime(),absoluteFormat:"MMMM DD, YYYY",relativeFormat:"",dataAutoTestId:"board-info-modal-modified-date"}))),fe.a.createElement(Me,{board:y,canEditInfo:D,modalName:He,boardPreviewEnabled:R,isTemplate:S,closeWithoutOpeningChildWindows:W,openedFrom:t.openedFrom}),!y.template&&j&&D&&fe.a.createElement("div",{className:"board-details-dialog__fieldset board-details-dialog__location"},fe.a.createElement("span",{className:"board-details-dialog__label"},"Location"),fe.a.createElement("span",{"data-auto-test-id":"board-info-modal-team-name",className:"board-details-dialog__name board-details-dialog__team-name"},y.account.name),",",fe.a.createElement(Ie.f.Span,{className:"rtb-link rtb-link--primary board-details-dialog__name board-details-dialog__project-name",hmTap:F,dataAutoTestId:"board-info-modal-project-name"},B))),fe.a.createElement(Fe,{board:y,modalName:He,canEditInfo:D,closeWithoutOpeningChildWindows:W,waitForDialogCancel:U,openedFrom:t.openedFrom}))))}return function(t,e,n,o){t&&(o&&t.log({error:o}),t.setTag("finishReason",e),t.setTag("isResolvedCorrectly",n),t.finish())}(T,"Board is undefined",!1),W(),null;function W(){t.onCloseWithoutOpeningChildWindows&&t.onCloseWithoutOpeningChildWindows(),t.onCancel()}function z(){if(b&&d!==b){Object(Ee.a)(He,t.openedFrom,"title"),h(b||"Untitled");var e={title:b};Object(s.a)().processPromise({promise:a.a.boards.selectById(t.boardId).set(e),waitingMessage:"Saving\u2026",successMessage:"Saved",successCallback:function(){i.renameBoard(),u(b),oe.a.dispatch({boardId:t.boardId,changedParams:e}),Object(Oe.b)(b)},errorCallback:function(){h(d)}})}}}))),Ve=function(){function t(){}return t.prototype.showDetailsModal=function(t){var e,r,i=Object(x.i)().startSpan("OpenBoardDetailsModal"),c=Object(T.a)().show(Object(de.a)({}));(e=t.boardId,r=i,a.a.boards.selectById(e).get({fields:lt},r)).then((function(e){var r=Object(o.a)(Object(o.a)({},t),{parentSpan:i,board:e});Object(ue.a)().isEnabled(pe.a.NEW_BOARD_DETAILS_WINDOW)?Object(he.a)().show({componentFactory:Ge(r)}):Object(T.a)().show(function(t){return Object(te.a)(),Object(qt.a)(),Object(Qt.a)(),Object(Xt.a)(),Object(Yt.a)(),Object($t.a)(),Object(Jt.a)(),Object(Zt.a)(),n(5800),p.b(b.a.BOARD_INFO,Kt.a,n(5802),t)}(r))})).catch((function(t){i.log({error:t}),i.setTag("isResolvedCorrectly",!1),i.setTag("finishReason","Board loading failed"),i.finish(),Object(D.a)().sendApiEvent("operation_finished",{location:"dashboard",operation_name:"open_board",items_taken:1,operation_type:"single",duration:Object(K.a)(i)}),Object(s.a)().showErrorByData(t)})).finally((function(){return c.cancel()}))},t.prototype.showRenameModal=function(t){return Object(T.a)().show(function(t){Object(h.a)(),Object(m.a)();var e=t.beforeSharing?g:f;return p.b(b.a.RENAME_BOARD,u,n(5788),Object(o.a)(Object(o.a)({},e),t))}(t))},t.prototype.showMoveToAccountModal=function(t){return Object(T.a)().show(function(t){return Object(h.a)(),Object(m.a)(),Object(Q.a)(),p.b(b.a.MOVE_BOARD,Vt,n(5798),{boardId:t,enableSubmitByEnter:!0})}(t))},t.prototype.moveBoardToAnotherAccount=function(t,e,n){return Ht(t,e,n)},t.prototype.showDuplicateModal=function(t,e,n){return function(t,e,n){return Object(o.b)(this,void 0,Promise,(function(){var r,i;return Object(o.e)(this,(function(o){switch(o.label){case 0:return[4,Object(O.a)().getAccountsAsync()];case 1:return r=o.sent(),Object(B.i)(r)?[4,Object(O.a)().getAccountAsync(t.account.id)]:[2,Bt()];case 2:return(i=o.sent())?[4,Object(B.l)(i,Wt)]:[3,4];case 3:o.sent(),o.label=4;case 4:return[2,Ft(t,i,e,n)]}}))}))}(t,e,n)},t.prototype.showLeaveModal=function(t){return new Promise((function(e){var r;Object(T.a)().show((void 0===r&&(r={}),Object(h.a)(),p.b(b.a.LEAVE_BOARD_CONFIRMATION,_.b,n(5803),Object(o.a)({},r)))).submitted.addOnce((function(){B.h.accessRevokedModalEnabled=!1,Object(s.a)().processPromise({promise:a.a.boards.selectById(t).leave(),waitingMessage:"Leaving the board\u2026",successMessage:"You have been removed from the board",successCallback:function(){e(),Object(c.a)().isDashboardOpened()?d.a.instance&&d.a.instance.getSignals().ui.dashboard.boardLeft():Object(c.a)().openDashboard()}})}))}))},t.prototype.downloadBoardBackup=function(t){!function(t){var e=Object(ut.c)(Object(pt.a)().getState().workspace),n={urlOrBlob:"/api/v1/boards/"+t+"/?archive=true"+(e?"&"+rt.c+"="+encodeURIComponent(e):""),attrs:{type:"application/octet-stream"}};Object(s.a)().show({text:"Downloading...",durationInMS:3e3}),q.a.start(n,i.downloadBoardBackup)}(t)},t.prototype.showModalBoardCannotBeCreatedModal=function(t){Tt(t)},t.prototype.getAccountIdForNewBoard=function(t){return void 0===t&&(t=!0),function(t){return void 0===t&&(t=!0),Object(o.b)(this,void 0,Promise,(function(){var e,n;return Object(o.e)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,Object(O.a)().getAccountsAsync()];case 1:if(e=o.sent(),!(n=Object(B.m)(e,t,Object(S.a)().getCurrentId())))throw new Error("go catch");return[2,n];case 2:return o.sent(),[2,Bt()];case 3:return[2]}}))}))}(t)},t.prototype.getAccountsForNewBoard=function(){return Et()},t.prototype.copyBoard=function(t){return Mt(t)},t.prototype.createBoardByAccountId=function(t,e,n,o,r){return function(t,e,n,o,r){void 0===o&&(o=!0);var i,a=I.c(),c=Object(x.i)().startSpan("spanLoadBoardsLogicAccountInfo",{childOf:ot.a.spanCreateBoard});return Object(B.j)(t,c).then((function(t){c.finish();var n={showNoPermission:function(){return Tt(t.id)},showAccountExpired:function(){return Tt(t.id)},showBoardsLimitsReached:function(){return Tt(t.id)},showThisBoardWillBecomeInactive:function(t,e){return St(t,e,B.a.CREATE)},showPrivateBoardsTrigger:function(){return function(t,e){return e||0===t.boardsNumber}(t,r)?Promise.resolve():It(t,B.a.CREATE)},onBeforeBoardCreateCalled:function(){if(o)return Ct()}};return i=Object(x.i)().startSpan("createBoardApiSpan",{childOf:ot.a.spanCreateBoard}),Object(B.g)(n,t,e,r,i)})).then((function(t){return null===i||void 0===i||i.finish(),Dt(y()({showTemplatePicker:a},n))(t)})).then(Rt()).catch((function(t){i&&(i.setTag("finish reason","fail or modal is shown"),i.finish()),ot.a.finishSpanCreateBoard("Fail loadBoardsLogicAccountInfo",!1),Nt(t)}))}(t,e,n,o,r)},t.prototype.updateBoardPicture=function(t,e){return se(t,e)},t.prototype.setBoardPicture=function(t,e){return le(t,e)},t.prototype.selectBoardPicture=function(t,e){!function(t,e){Object(ne.a)(ce,void 0,L.j).then((function(n){n&&Object(s.a)().processPromise({promise:se(t,n),waitingMessage:"Loading\u2026",successMessage:"Board cover updated",successCallback:function(n){oe.a.dispatch({boardId:t,changedParams:{picture:n}}),null===e||void 0===e||e(n),Object(re.a)({type:"image"})}})}))}(t,e)},t.prototype.selectFileForBoardPicture=function(){return Object(ne.a)(ce,void 0,L.j).then((function(t){if(t&&Object(ee.d)(t,ae,ie).valid)return t}))},t.prototype.deleteBoard=function(t,e){!function(t,e){var n=Object(x.i)().startSpan("deleteBoardSpan");B.h.boardDeletedModalEnabled=!1;var o=e?"Board has been moved to trash. It will be permanently deleted in 30 days.":"Board has been deleted";Object(s.a)().processPromise({promise:a.a.boards.selectById(t).delete(n),actionText:"Undo",waitingMessage:"Deleting\u2026",successMessage:o,showDurationInMS:1e4,cancelCallback:function(){return Lt(t)},successCallback:function(){var e;if(Object(c.a)().isDashboardOpened()){var o=d.a.instance;o&&(e=new Promise((function(e){var r=Object(x.i)().startSpan("boardDeletedChainSpan",{childOf:n});o.getSignals().ui.dashboard.boardDeleted({boardId:t,parentSpan:r,onChainComplete:function(){null===r||void 0===r||r.finish(),e()}})})))}else C.a.multiTabsAvailable?window.close():Object(c.a)().openDashboard();var r=new Promise((function(t){Object(O.a)().updateUserProfileInfo(n).then((function(){t()}))}));Promise.all([e,r]).then((function(){n.setTag("finishReason","Boards updated"),n.setTag("isResolvedCorrectly",!0),n.finish(),Object(D.a)().sendApiEvent("operation_finished",{location:"dashboard",operation_name:"delete_board",items_taken:1,operation_type:"single",duration:Object(K.a)(n)})}))}})}(t,e)},t.prototype.restoreBoard=function(t){return Lt(t)},t.prototype.uploadBoard=function(t,e){return jt(t,e)},t.prototype.updateBoardIfNeed=function(t){return function(t){d.a.instance&&d.a.instance.getSignals().ui.dashboard.boardUpdated({boardId:t})}(t)},t.prototype.showDeleteConfirmModal=function(t,e){Ut(t,e)},t.prototype.copyBoardToLastActiveAccount=function(t){return function(t){return Object(o.b)(this,void 0,Promise,(function(){var e,n,r,i;return Object(o.e)(this,(function(o){switch(o.label){case 0:return[4,xt()];case 1:return(e=o.sent()).length>0?(n=void 0,n=e.some((function(e){return e.id===t.account.id}))?t.account.id:e[0].id,[4,Object(B.j)(n)]):[3,4];case 2:return r=o.sent(),i={accountId:r.id,sourceBoardId:t.id,copyPermissions:!1,successMessageVisible:!1,newBoardTitle:Object(B.f)(t.title)},[4,Ot(r,B.a.DUPLICATE,e)];case 3:return(n=o.sent())&&(i.accountId=n),[2,e.length>1?yt(i):Mt(i)];case 4:return[2]}}))}))}(t)},t.prototype.closeCorruptedBoardNotification=function(t){return a.a.boards.selectById(t).closeNotification().catch((function(t){return Object(s.a)().showErrorByData(t)}))},t}();e.default=new Ve},1184:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return o}));var o=new t.Signal}).call(this,n(110))},1210:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));var o=n(16),r=o.a.safari||o.a.ios,i=!(o.a.safari||o.a.ios||o.a.msie||o.a.msedge)},1338:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"c",(function(){return p})),n.d(e,"b",(function(){return b}));var o=n(0),r=n(205),i=n(202),a=n(217),c=n(206),s=n(303),l=n(211);function d(t){return Object(s.a)(),Object(a.a)(),r.b(i.a.LOADER,u,n(1746),Object(o.a)({enableSubmitByEnter:!1,enableCloseByBackground:!1,enableCloseByEscape:!1,enableSubmitByCtrlEnter:!1,enableAutoClose:!0},t))}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e}(c.b);function p(){return Object(l.a)().show(d({}))}function b(t){var e=p();return t.then((function(t){return e.cancel(),t})).catch((function(t){throw e.cancel(),t}))}},1339:function(t,e){t.exports='<div class="ui-directive ui-loader" ng-attr-id="ui-loader-{{::id}}" ng-show="show"></div>\n'},1340:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));var o=void 0;function r(t){o=t}function i(t){return o&&t.length>0?o.requestPermissions(t):Promise.resolve(!0)}},1481:function(t,e,n){"use strict";var o=n(42);e.a=function(t){Object(o.a)().sendApiEvent("thumbnail_updated",t)}},1746:function(t,e){t.exports='<rtb-modal class="rtb-modal rtb-modal--center rtb-modal--without-shadow">\n\t<div class="rtb-modal-loader">\n\t\t<material-spinner class="rtb-material-spinner--white"></material-spinner>\n\t</div>\n</rtb-modal>\n'},1748:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n(0),r=n(42);function i(t,e,n,i){Object(r.a)().sendApiEvent("modal_window_action_performed",Object(o.a)({modal_name:t,opened_from:e,action_name:n},i))}},1749:function(t,e,n){"use strict";var o=function(){function t(t){t._onFocus=function(e){t.failState=!1,t.onFocus&&t.onFocus({$event:e})},t._onChange=function(){t.failState=!1,t.onChange()},t.$watch("done",(function(e){e&&setTimeout((function(){t.done=!1,t.$digest()}),2e3)}))}return t.$inject=["$scope"],t}();e.a=o},1750:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n(182);function r(){n(592),Object(o.b)().directive("uiUpload",i)}function i(){return{replace:!0,restrict:"E",template:n(1751),scope:{accept:"=",ngDisabled:"=",onSelect:"&"},link:function(t,e){var n=e.prev(),o="mouseenter";e.mouseenter((function(){n.addClass(o)})).mouseleave((function(){n.removeClass(o)}))}}}},1751:function(t,e){t.exports='<div class="ui-upload" ng-class="{\'ui-button__disabled\': ngDisabled}">\n\t<input\n\t\ttype="file"\n\t\tname="file"\n\t\tng-file-select="onSelect({$files: $files, $event: $event})"\n\t\tng-attr-accept="{{accept || \'image/png,image/jpeg\'}}"\n\t/>\n</div>\n'},182:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var o,r={};function i(t,e){return void 0===e&&(e=!1),e&&(r={}),t,o={directive:function(e,n){return r[e]||(t.directive(e,n),r[e]=!0),t},controller:function(e,n){return t.controller(e,n)},component:function(e,n){return r[e]||(t.component(e,n),r[e]=!0),t}}}function a(){if(o)return o;throw new Error("rtbApp wrapper does not created yet")}},190:function(t,e,n){"use strict";var o=n(356);e.a=o.b},199:function(t,e,n){"use strict";var o=n(891);e.a=o.a},200:function(t,e,n){"use strict";n.d(e,"d",(function(){return a.react2angular})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return d}));var o=n(0),r=n(223),i=n(179),a=n(336),c=(n(236),function(t){var e;void 0===t&&(t=function(t){return t()});var n=[],o=function(){n.forEach((function(t){return t()})),n=[]};return function(r){return 0===n.length&&(e=Promise.resolve().then((function(){return t(o)}))),n.push(r),e}}),s=(c(),c((function(t){i.e.unstable_batchedUpdates?i.e.unstable_batchedUpdates(t):t()})),function(t){return a.react2angular}),l=function(t){return d};function d(t,e,n){void 0===e&&(e=null),void 0===n&&(n=[]);var c=t.displayName||"",s=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(o.d)(n,e),n.prototype.render=function(){return i.d.createElement(i.b,{controller:r.a.getInstance(),strict:!0},i.d.createElement(t,Object(o.a)({},this.props)))},n}(i.d.PureComponent);return s.displayName="React2Angular_"+c,Object(a.react2angular)(s,e,n)}},202:function(t,e,n){"use strict";var o;!function(t){t[t.BOARD_CANNOT_BE_CREATED=0]="BOARD_CANNOT_BE_CREATED",t[t.SELECT_USERS_FOR_ADDING_TO_TEAM_AND_BOARD=1]="SELECT_USERS_FOR_ADDING_TO_TEAM_AND_BOARD",t[t.INVITE_EDITOR_TO_ORG_TEAM=2]="INVITE_EDITOR_TO_ORG_TEAM",t[t.SELECT_USERS_FOR_ADDING_OUTSIDE_WHITELIST=3]="SELECT_USERS_FOR_ADDING_OUTSIDE_WHITELIST",t[t.INCREASE_TEAM_SIZE_OR_ADD_TO_BOARD=4]="INCREASE_TEAM_SIZE_OR_ADD_TO_BOARD",t[t.SHARE_LOCKED_IN_TEAM_BOARD_FOR_NOT_TEAM_MEMBER=5]="SHARE_LOCKED_IN_TEAM_BOARD_FOR_NOT_TEAM_MEMBER",t[t.COLLABORATORS_LIMIT_REACHED_NOT_OWNER=6]="COLLABORATORS_LIMIT_REACHED_NOT_OWNER",t[t.INVITE_NON_TEAM_USERS=7]="INVITE_NON_TEAM_USERS",t[t.LOADER=8]="LOADER",t[t.CHOOSE_EXPIRED_ACCOUNT_PLAN=9]="CHOOSE_EXPIRED_ACCOUNT_PLAN",t[t.TEAM_HAS_EXPIRED_FOR_USER=10]="TEAM_HAS_EXPIRED_FOR_USER",t[t.DOWNGRADE_TEAM=11]="DOWNGRADE_TEAM",t[t.DOWNGRADE_CONFIRMAION=12]="DOWNGRADE_CONFIRMAION",t[t.BOARD_LOCKED_FOR_ADMIN_OR_USER=13]="BOARD_LOCKED_FOR_ADMIN_OR_USER",t[t.COLLABORATOR_CANT_SHARE_BECAUSE_UNABLE_TO_SHARE=14]="COLLABORATOR_CANT_SHARE_BECAUSE_UNABLE_TO_SHARE",t[t.SUBSCRIPTION_SWITCH_PREMIUM=15]="SUBSCRIPTION_SWITCH_PREMIUM",t[t.SUBSCRIPTION_INCREASE=16]="SUBSCRIPTION_INCREASE",t[t.SUBSCRIPTION_SUCCESS_SWITCH=17]="SUBSCRIPTION_SUCCESS_SWITCH",t[t.SUBSCRIPTION_SUCCESS_INCREASE=18]="SUBSCRIPTION_SUCCESS_INCREASE",t[t.SUBSCRIPTION_SUCCESS_RESUBSCRIBE=19]="SUBSCRIPTION_SUCCESS_RESUBSCRIBE",t[t.SUBSCRIPTION_REMOVE=20]="SUBSCRIPTION_REMOVE",t[t.SUBSCRIPTION_RESUBSCRIBE=21]="SUBSCRIPTION_RESUBSCRIBE",t[t.GREETINGS_TO_PAID_PLAN=22]="GREETINGS_TO_PAID_PLAN",t[t.RENAME_BOARD=23]="RENAME_BOARD",t[t.DUPLICATE_BOARD=24]="DUPLICATE_BOARD",t[t.INVITE_FROM_TEAM=25]="INVITE_FROM_TEAM",t[t.SELECT_USERS=26]="SELECT_USERS",t[t.GET_TEAM=27]="GET_TEAM",t[t.FIND_TEAM_ENTERPRISE=28]="FIND_TEAM_ENTERPRISE",t[t.ASK_TO_JOIN=29]="ASK_TO_JOIN",t[t.INVITE_TO_NEWLY_CREATED_TEAM=30]="INVITE_TO_NEWLY_CREATED_TEAM",t[t.INVITE_TO_TEAM=31]="INVITE_TO_TEAM",t[t.BOARD_ACCESS=32]="BOARD_ACCESS",t[t.SHARE=33]="SHARE",t[t.BOARD_INFO=34]="BOARD_INFO",t[t.BOARD_DETAILS=35]="BOARD_DETAILS",t[t.BOARD_EXPORT=36]="BOARD_EXPORT",t[t.EXPORT_QUALITY_SETTINGS=37]="EXPORT_QUALITY_SETTINGS",t[t.EXPORT_EMPTY_FRAMES_WARNING=38]="EXPORT_EMPTY_FRAMES_WARNING",t[t.SET_START_VIEW=39]="SET_START_VIEW",t[t.CHOOSE_NAVIGATION_MODE=40]="CHOOSE_NAVIGATION_MODE",t[t.UPLOAD_FROM=41]="UPLOAD_FROM",t[t.LEAVE_BOARD_CONFIRMATION=42]="LEAVE_BOARD_CONFIRMATION",t[t.CLIPBOARD_SHORTCUTS=43]="CLIPBOARD_SHORTCUTS",t[t.LOGIN_OR_ENTER_NAME=44]="LOGIN_OR_ENTER_NAME",t[t.MOVE_BOARD=45]="MOVE_BOARD",t[t.MOVE_BOARD_RESULT=46]="MOVE_BOARD_RESULT",t[t.WIDGET_LINK_PICKER=47]="WIDGET_LINK_PICKER",t[t.GET_EMBED_CODE=48]="GET_EMBED_CODE",t[t.MOVE_BOARD_TO_PROJECT=49]="MOVE_BOARD_TO_PROJECT",t[t.PROJECT_ACCESS=50]="PROJECT_ACCESS",t[t.INVITE_TO_PROJECT=51]="INVITE_TO_PROJECT",t[t.ADD_BOARDS_TO_PROJECT=52]="ADD_BOARDS_TO_PROJECT",t[t.CONFIRM_CREATING_BOARD_IN_PROJECT=53]="CONFIRM_CREATING_BOARD_IN_PROJECT",t[t.MARKETPLACE=54]="MARKETPLACE",t[t.INSTALL_CHROME_EXTENSION=55]="INSTALL_CHROME_EXTENSION",t[t.SET_BOARD_PREVIEW=56]="SET_BOARD_PREVIEW",t[t.CREATE_APP=57]="CREATE_APP",t[t.DEV_TEAM_CREATED=58]="DEV_TEAM_CREATED",t[t.DELETE_BOARD_CONFIRMATION=59]="DELETE_BOARD_CONFIRMATION",t[t.CONFIRMATION=60]="CONFIRMATION",t[t.NOTIFICATION=61]="NOTIFICATION",t[t.IFRAME_EXTENSION_POINT=62]="IFRAME_EXTENSION_POINT",t[t.SHORTCUTS=63]="SHORTCUTS",t[t.CHANGES=64]="CHANGES",t[t.CREATE_TICKET=65]="CREATE_TICKET",t[t.VIDEO_PLAYER=66]="VIDEO_PLAYER",t[t.GIF_PLAYER=67]="GIF_PLAYER",t[t.DRAWING_RECOGNITION=68]="DRAWING_RECOGNITION",t[t.REQUEST_LICENSE=69]="REQUEST_LICENSE",t[t.REQUEST_EDITOR=70]="REQUEST_EDITOR",t[t.JOIN_TEAM_TO_CREATE_BOARD=71]="JOIN_TEAM_TO_CREATE_BOARD",t[t.SLACK_TEAM_EXPIRED=72]="SLACK_TEAM_EXPIRED",t[t.JIRA_ISSUE_PICKER=73]="JIRA_ISSUE_PICKER",t[t.JIRA_ADDON_UNAVAILABLE=74]="JIRA_ADDON_UNAVAILABLE",t[t.JIRA_ADDON_USER_UNMAPPED=75]="JIRA_ADDON_USER_UNMAPPED",t[t.JIRA_CARDS_ISSUE_PICKER=76]="JIRA_CARDS_ISSUE_PICKER",t[t.JIRA_CARDS_UNAVAILABLE=77]="JIRA_CARDS_UNAVAILABLE",t[t.JIRA_CARDS_CREATOR=78]="JIRA_CARDS_CREATOR",t[t.JIRA_CARDS_ACTION=79]="JIRA_CARDS_ACTION",t[t.JIRA_CARDS_EDITOR=80]="JIRA_CARDS_EDITOR",t[t.JIRA_CARDS_CREATOR_FAILED=81]="JIRA_CARDS_CREATOR_FAILED",t[t.RALLY_ISSUE_PICKER=82]="RALLY_ISSUE_PICKER",t[t.RALLY_MESSAGE=83]="RALLY_MESSAGE",t[t.CARD_INTEGRATION_FIELDS=84]="CARD_INTEGRATION_FIELDS",t[t.SYNCHRONIZATION=85]="SYNCHRONIZATION",t[t.UPDATE_AVAILABLE=86]="UPDATE_AVAILABLE",t[t.ACCESS_REVOKED=87]="ACCESS_REVOKED",t[t.BOARD_HAS_BEEN_DELETED=88]="BOARD_HAS_BEEN_DELETED",t[t.BOARD_HAS_BEEN_DELETED_FOR_OWNER=89]="BOARD_HAS_BEEN_DELETED_FOR_OWNER",t[t.BOARD_DOES_NOT_EXIST=90]="BOARD_DOES_NOT_EXIST",t[t.BOARD_IS_PRIVATE_FOR_ACCOUNT=91]="BOARD_IS_PRIVATE_FOR_ACCOUNT",t[t.BOARD_IS_OVERLOADED=92]="BOARD_IS_OVERLOADED",t[t.ACCESS_DENIED=93]="ACCESS_DENIED",t[t.ACCESS_REQUESTED=94]="ACCESS_REQUESTED",t[t.APP_UPDATE_REQUIRED=95]="APP_UPDATE_REQUIRED",t[t.ACCOUNT_HAS_BEEN_LOCKED=96]="ACCOUNT_HAS_BEEN_LOCKED",t[t.PASSWORD_VERIFICATION_REQUIRED=97]="PASSWORD_VERIFICATION_REQUIRED",t[t.DISALLOW_PLUGIN_MODAL=98]="DISALLOW_PLUGIN_MODAL",t[t.EDUCATION_USERS_LIMIT_REACHED=99]="EDUCATION_USERS_LIMIT_REACHED",t[t.ACCOUNT_REMOVE=100]="ACCOUNT_REMOVE",t[t.ACCOUNT_UNABLE_TO_REMOVE=101]="ACCOUNT_UNABLE_TO_REMOVE",t[t.ACCOUNT_REMOVE_MEMBER=102]="ACCOUNT_REMOVE_MEMBER",t[t.DAY_PASSES_INQUIRY=103]="DAY_PASSES_INQUIRY",t[t.WHITELIST_VALIDATION_RESULTS=104]="WHITELIST_VALIDATION_RESULTS",t[t.UNABLE_TO_DELETE_USERS=105]="UNABLE_TO_DELETE_USERS",t[t.ACCOUNT_LEAVE_TEAM=106]="ACCOUNT_LEAVE_TEAM",t[t.AUDIT_DETAIL=107]="AUDIT_DETAIL",t[t.DOMAIN_CONFIRMATION=108]="DOMAIN_CONFIRMATION",t[t.WHITELIST_DOMAIN_REMOVE_CONFIRMATION=109]="WHITELIST_DOMAIN_REMOVE_CONFIRMATION",t[t.WHITELIST_DOMAIN_SYNCHRONIZATION=110]="WHITELIST_DOMAIN_SYNCHRONIZATION",t[t.SHARING_WITH_EXTERNAL_USER_OUTSIDE_OF_WHITELIST=111]="SHARING_WITH_EXTERNAL_USER_OUTSIDE_OF_WHITELIST",t[t.EDIT_TEMPLATE=112]="EDIT_TEMPLATE",t[t.EDIT_CUSTOM_TEMPLATE=113]="EDIT_CUSTOM_TEMPLATE",t[t.TEMPLATE_PICKER_PREVIEW=114]="TEMPLATE_PICKER_PREVIEW",t[t.CLOUDS_AUTH_REQUEST=115]="CLOUDS_AUTH_REQUEST",t[t.CLOUDS_UPLOAD_CHOOSE=116]="CLOUDS_UPLOAD_CHOOSE",t[t.CHOOSE_PLAN=117]="CHOOSE_PLAN",t[t.COMPANY_INQUIRY=118]="COMPANY_INQUIRY",t[t.NOTIFICATION_OF_RESULT=119]="NOTIFICATION_OF_RESULT",t[t.PLAN_CHANGE=120]="PLAN_CHANGE",t[t.COMPLEX_TRIGGER=121]="COMPLEX_TRIGGER",t[t.WHY_UPGRADE=122]="WHY_UPGRADE",t[t.PLAN_TUTORIAL=123]="PLAN_TUTORIAL",t[t.PAYMENT_MODAL=124]="PAYMENT_MODAL",t[t.COMPLETE_OUTSTANDING_PAYMENT_MODAL=125]="COMPLETE_OUTSTANDING_PAYMENT_MODAL",t[t.CANT_CHANGE_SUBSCRIPTION=126]="CANT_CHANGE_SUBSCRIPTION",t[t.CREATE_NEW_DOMAIN=127]="CREATE_NEW_DOMAIN",t[t.DOMAIN_DETAILS=128]="DOMAIN_DETAILS",t[t.SHOP_WINDOW=129]="SHOP_WINDOW",t[t.INVITE_NEW_MEMBERS=130]="INVITE_NEW_MEMBERS",t[t.INVITE_TO_ORGANIZATION_TEAM=131]="INVITE_TO_ORGANIZATION_TEAM",t[t.CHOOSE_USER_TYPE_IN_ORGANIZATION=132]="CHOOSE_USER_TYPE_IN_ORGANIZATION",t[t.CHANGE_LICENSES_FOR_USER=133]="CHANGE_LICENSES_FOR_USER",t[t.MEMBER_DETAILS=134]="MEMBER_DETAILS",t[t.ADD_USERS_TO_TEAMS=135]="ADD_USERS_TO_TEAMS",t[t.MOVE_USERS_TO_TEAMS=136]="MOVE_USERS_TO_TEAMS",t[t.CREATE_NEW_TEAM=137]="CREATE_NEW_TEAM",t[t.INVITE_FROM_COMPANY=138]="INVITE_FROM_COMPANY",t[t.DEACTIVATE_USERS_CONFIRMATION_STEP=139]="DEACTIVATE_USERS_CONFIRMATION_STEP",t[t.DEACTIVATE_USERS_REASSIGN_CONTENT_STEP=140]="DEACTIVATE_USERS_REASSIGN_CONTENT_STEP",t[t.REACTIVATION=141]="REACTIVATION",t[t.DELETE_USER_FROM_ORG_TEAM=142]="DELETE_USER_FROM_ORG_TEAM",t[t.DELETE_USER_WITHOUT_TEAMS_FROM_ORG=143]="DELETE_USER_WITHOUT_TEAMS_FROM_ORG",t[t.DOWNGRADE_TO_NON_TEAM_USER_AND_REASSIGN=144]="DOWNGRADE_TO_NON_TEAM_USER_AND_REASSIGN",t[t.DOWNGRADE_TO_NON_TEAM_USER_WITHOUT_TEAMS=145]="DOWNGRADE_TO_NON_TEAM_USER_WITHOUT_TEAMS",t[t.CHANGE_TO_TEAM_GUEST_AND_REASSIGN=146]="CHANGE_TO_TEAM_GUEST_AND_REASSIGN",t[t.CARD_WIDGET_EDITOR=147]="CARD_WIDGET_EDITOR",t[t.INSTALL_APP_FOR_TEST=148]="INSTALL_APP_FOR_TEST",t[t.USM_TUTORIAL=149]="USM_TUTORIAL",t[t.CARD_WIDGET_TUTORIAL=150]="CARD_WIDGET_TUTORIAL",t[t.WELCOME_TO_FREE_2018=151]="WELCOME_TO_FREE_2018",t[t.STICKIES_CAPTURE_TRY_NOW=152]="STICKIES_CAPTURE_TRY_NOW",t[t.STICKIES_CAPTURE_DOWNLOAD_MOBILE_APP=153]="STICKIES_CAPTURE_DOWNLOAD_MOBILE_APP",t[t.ACCESS_REQUIRED_NEED_AUTH=154]="ACCESS_REQUIRED_NEED_AUTH",t[t.SEARCH_UPGRADE_TRIGGER=155]="SEARCH_UPGRADE_TRIGGER",t[t.SAVE_ANONYMOUS_BOARD=156]="SAVE_ANONYMOUS_BOARD",t[t.BOARD_WILL_BE_SHARED_MODAL=157]="BOARD_WILL_BE_SHARED_MODAL",t[t.ACCOUNT_PICKER=158]="ACCOUNT_PICKER",t[t.EMBED_DISABLED=159]="EMBED_DISABLED",t[t.FIND_TEAM_SS=160]="FIND_TEAM_SS",t[t.GET_EMBED_CODE_NEW=161]="GET_EMBED_CODE_NEW",t[t.RESTORE_BOARD_FROM_VERSION=162]="RESTORE_BOARD_FROM_VERSION",t[t.BOARD_A11Y_INFO=163]="BOARD_A11Y_INFO",t[t.BOARD_A11Y_ITEM_DETAILS=164]="BOARD_A11Y_ITEM_DETAILS"}(o||(o={})),e.a=o},2023:function(t,e,n){"use strict";var o=n(0),r=n(179),i=n(607),a=/Yesterday|Today/i,c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={formattedValue:""},e.onTimer=function(){e.updateFormattedValue(),clearTimeout(e.updateTimeoutId),e.shouldUpdate()&&(e.updateTimeoutId=setTimeout(e.onTimer,6e4))},e}return Object(o.d)(e,t),Object.defineProperty(e.prototype,"formattedValue",{get:function(){return this.state.formattedValue},set:function(t){this.setState({formattedValue:t})},enumerable:!1,configurable:!0}),e.prototype.updateFormattedValue=function(){this.props.value?this.formattedValue=Object(i.a)(this.props.value,this.props.absoluteFormat,this.props.relativeFormat):this.formattedValue=""},e.prototype.shouldUpdate=function(){return a.test(this.formattedValue)},e.prototype.componentDidUpdate=function(t,e,n){this.props.value!==t.value&&this.onTimer()},e.prototype.componentDidMount=function(){this.onTimer()},e.prototype.componentWillUnmount=function(){clearTimeout(this.updateTimeoutId)},e.prototype.render=function(){return r.d.createElement("span",{"data-auto-test-id":this.props.dataAutoTestId},this.formattedValue)},e}(r.d.PureComponent);e.a=c},205:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var o=n(275),r=n.n(o),i=".md-content, .select-options, .canvasContextMenu, .popup-container, .rtb-modal-container, .rtb-popper-tooltip, #hubspot-chat-button, #hubspot-chat-welcome-message, #hubspot-chat-widget-container";function a(t,e,n,o,i){return r()({},{name:t,controller:e,template:n,rnParams:i},o)}},206:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var o=n(0),r=n(275),i=n.n(r),a=n(211),c=n(226),s=Object(a.b)(),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.lockSignals=!1,e}return Object(o.d)(e,t),e.prototype.init=function(){},e.prototype.submit=function(t,e){this.windowInstance.submit(t,e)},e.prototype.cancel=function(t,e){this.windowInstance.cancel(t,e)},e.prototype.onBeforeSubmit=function(t,e){return t},e.prototype.onBeforeCancel=function(t,e){return t},e.prototype.onBeforeClose=function(){},e.prototype.reOpen=function(t){return s().show(i()({},this.params,t))},e.prototype.onSubmitByEnter=function(t){},e.prototype.onCancelByEsc=function(t){},e.prototype.destroy=function(){},e}(c.a);e.b=l},210:function(t,e,n){"use strict";var o=n(0),r=n(179),i=n(300),a=r.d.lazy((function(){return Object(i.a)().then((function(t){return{default:t.Reference}}))})),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.onRef=function(){},e.prototype.render=function(){var t=this.props.children({ref:this.onRef})||null;return r.d.createElement(r.d.Suspense,{fallback:t},r.d.createElement(a,Object(o.a)({},this.props)))},e}(r.d.PureComponent);var s=n(281),l=r.d.lazy((function(){return Object(i.a)().then((function(t){return{default:t.Manager}}))})),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.render=function(){var t=Object(s.b)(this.props.children)||null;return r.d.createElement(r.d.Suspense,{fallback:t},r.d.createElement(l,Object(o.a)({},this.props)))},e}(r.d.PureComponent);var u,p=n(441);!function(t){function e(t){var e;return(e=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(o.d)(n,e),n.prototype.render=function(){var e=this.props,n=e.hmTap,i=e.dataAutoTestId,a=Object(o.h)(e,["hmTap","dataAutoTestId"]);return r.d.createElement(c,null,(function(e){var c=e.ref;return r.d.createElement(r.f.NoDom,{hmTap:n},r.d.createElement(t,Object(o.a)(Object(o.a)({},a),{ref:c,"data-autotest-id":i})))}))},n}(s.a)).displayName="RTBPopup.Anchor."+t,e}t.Anchor={div:e("div"),span:e("span"),button:e("button"),rect:e("rect")},t.RTBScrollPopupManager=d,t.RTBPopper=p.a}(u||(u={}));e.a=u},212:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n(0),r=n(180),i=n.n(r),a=n(16).a.safari?function(t){var e=t.href;return i.a.createElement("use",{xlinkHref:e})}:function(t){var e=t.href;return i.a.createElement("use",{href:e})},c=i.a.memo((function(t){var e=t.href,n=Object(o.h)(t,["href"]);return i.a.createElement("svg",Object(o.a)({},n),i.a.createElement(a,{href:e}))}))},217:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var o=n(190),r=n(182),i=n(427);function a(){return Object(r.b)().directive("rtbModal",c),i}function c(){return Object(o.a)({restrict:"E",template:i,transclude:!0})}},220:function(t,e,n){"use strict";n.d(e,"e",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"g",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"b",(function(){return u})),n.d(e,"r",(function(){return p})),n.d(e,"d",(function(){return b})),n.d(e,"f",(function(){return h})),n.d(e,"h",(function(){return m})),n.d(e,"s",(function(){return f})),n.d(e,"o",(function(){return g})),n.d(e,"l",(function(){return _})),n.d(e,"p",(function(){return v})),n.d(e,"i",(function(){return E})),n.d(e,"n",(function(){return O})),n.d(e,"j",(function(){return x})),n.d(e,"k",(function(){return A})),n.d(e,"q",(function(){return y})),n.d(e,"m",(function(){return T}));var o=n(377),r=n(297),i=n(1292),a=n(58);function c(t,e){void 0===e&&(e=i.a);var n=o.getOpener();return{openInNewTab:function(){n.openInNewTab(t,e)},navigateTo:function(){Object(r.a)()?n.openInNewTab(t,e):n.navigateTo(t)},download:function(e,o){n.download(t,e,o)}}}var s={indexLink:function(){return"/index/"},appsPageLink:function(){return"/apps/"},marketplaceLink:function(t){var e="/marketplace/";return t&&(e=Object(a.a)(e,t)),e},appLink:function(t,e){var n=""+s.marketplaceLink()+t;return e&&(n=Object(a.a)(n,e)),n},appInstallLink:function(t){var e=Object(a.e)("/oauth/authorize/");return t&&(e=Object(a.a)(e,t)),e},slackAppLink:function(){return"/slack-app/"},pricingLink:function(){return"/pricing/"},educationLink:function(){return"/education/"},getPremiumLink:function(){return"/professional-users/"},getMiroverseLink:function(){return"/miroverse/"},getTemplatesLibraryLink:function(){return"/templates/"},invoice:function(t,e){return"/pricing/invoice/?invoiceId="+t+"&receiverId="+e},salesFromCompanyTriggerLink:function(t){return"/contact/sales/?lead_source="+t+"&Trigger=company_plan"}};function l(){return c(s.indexLink())}function d(){return c(s.appsPageLink())}function u(t,e){return c(s.appLink(t,e))}function p(){return c(s.pricingLink())}function b(){return c(s.educationLink())}function h(){return c(s.getPremiumLink())}function m(){return c(s.getMiroverseLink())}function f(){return c(s.getTemplatesLibraryLink())}function g(t,e){return c(s.invoice(t,e)).openInNewTab()}function _(){c("https://help.miro.com/hc/en-us/articles/360017571814-Day-Passes-for-Business-and-Consultant-Plans").openInNewTab()}function v(){c("https://miro.com/page/membership_trial").openInNewTab()}function E(){c("https://help.miro.com/hc/en-us/articles/360017571714-How-Am-I-Going-to-Be-Charged-/").openInNewTab()}function O(){c("https://miro.com/page/non-team-editors/").openInNewTab()}function x(){c("https://miro.com/page/board-guest/").openInNewTab()}function A(){c("https://help.miro.com/hc/en-us/articles/360021580759").openInNewTab()}function y(){c("https://help.miro.com/hc/en-us/articles/360017730073-Managing-Team-Discovery-and-Access").openInNewTab()}function T(){c("https://help.miro.com/hc/en-us/articles/360017571594-Manage-Teams-on-Enterprise-Plan#h_36d9385c-4a1c-49e5-9ca1-a8b6a0e49c22").openInNewTab()}},221:function(t,e){t.exports="#img__close-24"},2221:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n(335),r=n.n(o);function i(){var t=function(){};return function(e){return r()(e,t)||(t=e),t}}},2250:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n(182),r=n(317);function i(){Object(r.a)(),n(592),Object(o.b)().directive("uiButtonOld",a)}function a(){return{replace:!0,restrict:"E",template:n(3470),scope:{icon:"=",width:"=",caption:"=",ngDisabled:"="}}}},226:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return l})),n.d(e,"b",(function(){return d})),n.d(e,"e",(function(){return u})),n.d(e,"a",(function(){return b}));var o=n(222),r=n.n(o),i=n(293),a=n.n(i),c=n(223);function s(){console.info(a()(c.a.getState()))}function l(){console.info(JSON.stringify(c.a.getState(),null,"\t"))}function d(t){return function(e,n){p(e,t),Object.defineProperty(e,n,{get:function(){return c.a.__getUntypedState(t)},set:function(){throw new Error("You can not change state '"+t+"' directly")},enumerable:!0,configurable:!0})}}function u(t){return function(t){return function(e,n,o){var r=e[n];return p(e,t,(function(t,e){r.call(t,e)})),o}}(t)}function p(t,e,n){if(!(t instanceof b))throw new Error('Component that use "@subscribe" or "@inject" must extend the ComponentController');t.__subscribes||(t.__subscribes=[]),t.__subscribes.push((function(t){return c.a.addStateChangeListenerOld(e,(function(e){n&&n(t,e),t.debouncedSafeDigest()}),!0)}))}var b=function(){function t(t){var e=this;if(this.$scope=t,this.debouncedSafeDigest=r()(this.safeDigest,10),this.__subscribes){var n=this.__subscribes.map((function(t){return t(e)}));t.$on("$destroy",(function(){e.debouncedSafeDigest.cancel(),n&&n.forEach((function(t){return t()}))}))}}return t.prototype.safeDigest=function(){this.$scope.safeDigest()},t.$inject=["$scope"],t}()},227:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n(0),r=n(392),i=n(180),a=n.n(i);function c(t){return function(e,n){return function(i){return function(c){var s=t(i,c.resolve,c.reject),l=function(t){return a.a.createElement(e,Object(o.a)({},s,t))};return l.displayName="dialog-connect",{Component:l,dialogStoreParams:{reducer:(null===n||void 0===n?void 0:n.reducer)||r.c,initialState:(null===n||void 0===n?void 0:n.initialState)||r.b}}}}}}},229:function(t,e){t.exports=function(t){return"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},230:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var o=n(190),r=n(182),i=n(378);function a(){return Object(r.b)().directive("rtbModalCloseButton",c),i}function c(){return Object(o.a)({restrict:"E",template:i})}},232:function(t,e,n){"use strict";n.d(e,"e",(function(){return s})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return l}));var o,r,i=n(6),a=n(329),c=["Please, bear with us! We are loading your billing info.","Take a moment to meditate while your billing info is loading.","We are loading your billing info and appreciating your patience!","While your billing info is loading, let us remind you that Miro loves you <3","Who else can you invite to your Miro team while your billing info is loading?"];function s(){var t=Math.floor(Math.random()*c.length);return c[t]}!function(t){t.SUBMIT="submit",t.CANCEL="cancel",t.NOT_LOCKED="not_locked"}(o||(o={})),function(t){t.SUBMIT="submit",t.CANCEL="cancel"}(r||(r={}));var l,d="Billing";i.f(d,(function(){return Object(a.a)().then((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(35)]).then(n.bind(null,1517))})).then((function(t){return t.default}))})),e.d=i.d(d),function(t){t[t.CHANGE_PLAN=0]="CHANGE_PLAN",t[t.CHANGE_TEAM_SIZE=1]="CHANGE_TEAM_SIZE",t[t.CHANGE_PAYMENT_INTERVAL=2]="CHANGE_PAYMENT_INTERVAL",t[t.CHANGE_PAYMENT_METHOD=3]="CHANGE_PAYMENT_METHOD"}(l||(l={}))},234:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var o=n(185),r=n.n(o),i=n(180),a=n.n(i),c=n(400);function s(t){var e=t.children,n=t.onCancel,o=t.classNames,i=t.dataAutotestId;return a.a.createElement("div",{className:r()("rtb-modal-container",null===o||void 0===o?void 0:o.container),"data-autotest-id":i},a.a.createElement("div",{className:r()("rtb-modal-container__content","rtb-modal-content",null===o||void 0===o?void 0:o.content)},a.a.createElement("section",null,e)),n&&a.a.createElement(c.a,{onCancel:n,className:null===o||void 0===o?void 0:o.closeButton}))}e.b=a.a.memo(s)},244:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return i}));var o=n(5);function r(){return"NgServices"}function i(){return o.a("NgServices")}e.a=i()},247:function(t,e,n){var o=n(462),r=n(348),i=/[&<>"']/g,a=RegExp(i.source);t.exports=function(t){return(t=r(t))&&a.test(t)?t.replace(i,o):t}},250:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n(185),r=n.n(o),i=n(180),a=n.n(i);function c(t){var e=t.className,n=t.children,o=t.dataAutoTestId;return a.a.createElement("div",{className:r()("rtb-modal-content__body","rtb-modal-body",e),"data-autotest-id":o},n)}e.b=a.a.memo(c)},251:function(t,e){t.exports="#img__ic-info"},252:function(t,e,n){"use strict";var o=n(558);n.d(e,"a",(function(){return o.a}))},254:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return i}));var o=n(5);function r(){return"DialogService"}function i(){return o.a("DialogService")}e.a=i()},259:function(t,e,n){"use strict";var o=n(0),r=n(179);n(320);var i=1,a={input:"rtb-checkbox-auto-test-id__input",text:"rtb-checkbox-auto-test-id__text"},c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.autoTestIds=Object(o.a)(Object(o.a)({},a),e.props.dataAutoTestIds),e.labelId="checkboxLabel-"+i++,e}return Object(o.d)(e,t),e.prototype.onChange=function(t){var e=this.props.onChange,n=t.target.checked;e&&e(n)},e.prototype.onKeyDown=function(t){var e=this.props,n=e.checked,o=e.onChange;o&&["Enter"," ","Spacebar"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),o(!n))},e.prototype.render=function(){var t=this.props,e=t.checked,o=t.label,i=t.name,a=t.isDisabled,c=t.rootElement,s=void 0===c?"label":c,l=t.a11y,d=t.className,u=Object(r.i)("rtb-checkbox",{"rtb-checkbox--disabled":a},d),p=s;return r.d.createElement(p,{className:u,"data-autotest-id":this.autoTestIds.wrapper},r.d.createElement("input",{type:"checkbox",name:i,checked:e,onChange:this.onChange,disabled:a,"data-autotest-id":this.autoTestIds.input,"aria-hidden":!0}),r.d.createElement("span",{className:"rtb-checkbox__check","data-autotest-id":this.autoTestIds.checkbox,role:"checkbox","aria-checked":e,"aria-disabled":a,"aria-labelledby":this.labelId,"aria-label":null===l||void 0===l?void 0:l["aria-label"],tabIndex:a?-1:0,onKeyDown:this.onKeyDown},r.d.createElement("svg",{className:"rtb-checkbox__icon rtb-checkbox__icon--medium",role:"none"},r.d.createElement("use",{xlinkHref:n(299)})),r.d.createElement("svg",{className:"rtb-checkbox__icon rtb-checkbox__icon--large",role:"none"},r.d.createElement("use",{xlinkHref:n(304)}))),o&&r.d.createElement("span",{"data-autotest-id":this.autoTestIds.text,className:"rtb-checkbox__label",id:this.labelId},o))},Object(o.c)([r.j.autobind],e.prototype,"onChange",null),Object(o.c)([r.j.autobind],e.prototype,"onKeyDown",null),e}(r.d.PureComponent);e.a=c},263:function(t,e,n){"use strict";n.d(e,"v",(function(){return _})),n.d(e,"m",(function(){return v})),n.d(e,"r",(function(){return E})),n.d(e,"s",(function(){return O})),n.d(e,"q",(function(){return x})),n.d(e,"n",(function(){return A})),n.d(e,"a",(function(){return y})),n.d(e,"d",(function(){return T})),n.d(e,"c",(function(){return S})),n.d(e,"i",(function(){return I})),n.d(e,"k",(function(){return w})),n.d(e,"h",(function(){return C})),n.d(e,"e",(function(){return R})),n.d(e,"o",(function(){return N})),n.d(e,"p",(function(){return k})),n.d(e,"w",(function(){return D})),n.d(e,"l",(function(){return M})),n.d(e,"g",(function(){return j})),n.d(e,"b",(function(){return P})),n.d(e,"j",(function(){return L})),n.d(e,"u",(function(){return B})),n.d(e,"f",(function(){return U})),n.d(e,"t",(function(){return F}));var o,r=n(622),i=n(380),a=n(43),c=n(199),s=n(276),l=n(12),d=n(247),u=n.n(d),p=n(16),b=a.a,h=Object(i.a)("dom_text_utils",1).getContext("2d"),m=h.measureText(s.a).width,f=new Map,g=new Map,_=new RegExp("(<([^>]+)>)","gi"),v=new RegExp("&[#a-zA-Z0-9]+;");function E(t){return void 0===t&&(t=""),t=y(t=t.trim(),"p"),(t=I(t=y(t.replace(/<li>/g,"<li>- "),"li"))).trim()}function O(t){return void 0===t&&(t=""),t=x(t=(t=u()(t)).replace(/(\r\n|\r)/gm,"\n")),Object(s.h)(t.trim())}function x(t){var e=!1,n="";return t.split("\n").forEach((function(t,o){t.startsWith("- ")?(e||(n+="\n<ul>",e=!0),n+="<li>"+t.slice(2)+"</li>"):(e?(n+="</ul>",e=!1):0!==o&&(n+="\n"),n+=t)})),e&&(n+="</ul>",e=!1),n}function A(t,e,n){void 0===n&&(n=!1),n&&(e-=3);for(var o=/<([^>\s]*)[^>]*>|(&#?\w+;)/g,r=[],i=0,a="",c=o.exec(t);c&&e;){var l=t.substring(i,c.index).substr(0,e);a+=l,e-=l.length,i=o.lastIndex,e&&(a+=c[0],0===c[0].indexOf("&")?e-=1:0===c[1].indexOf("/")?r.pop():c[1].lastIndexOf("/")!==c[1].length-1&&r.push(c[1]),"br"!==c[1]&&"br/"!==c[1]&&"p"!==c[1]||(e-=1)),c=o.exec(t)}for(a+=t.substr(i,e),n&&r.length&&(a+=s.a);r.length;){var d=r.pop();"br"!=d&&(a+="</"+d+">")}return a}function y(t,e){if((t=(t=t.replace(new RegExp("<"+e+">(<br>|<br/>|<br />)</"+e+">","g"),"<"+e+"></"+e+">")).replace(new RegExp("</"+e+">","g"),"</"+e+">\n")).trim().endsWith("</"+e+">")){var n=t.lastIndexOf("</"+e+">\n");t=t.slice(0,n)+t.slice(n).replace("</"+e+">\n","</"+e+">")}return t}function T(t){return S(t,"\n")}function S(t,e){return t.replace(/<br>|<br\/>|<br \/>|<\/p>/g,e)}function I(t){var e;if(f.has(t))e=f.get(t);else{t=function(t){return function(t,e){return t.replace(/<br>|<br\/>|<br \/>/g,e)}(t,"\n")}(t);var n=b.parseFromString(t,"text/html");if(e=n&&n.body?n.body.innerText:"",(p.a.mobileApp||p.a.tabletApp)&&p.a.ios&&t&&!e){o||((o=document.createElement("iframe")).style.display="none",o.src="about:blank",o.sandbox.add("allow-same-origin"),document.body.appendChild(o));var r=o.contentDocument;r&&(r.body.innerHTML=t,e=r.body.innerText,r.body.innerHTML="")}f.set(t,e)}return e}function w(t){var e;return g.has(t)?e=g.get(t):(e=(e=I(S(t," ")))?e.trim().replace(new RegExp(String.fromCharCode(160),"g")," "):"",g.set(t,e)),e}function C(t){return p.a.msedge&&(t=(t=(t=(t=t.replace(/<div><\/?br\/?><\/div>/gi,"<br>")).replace(/<\/?br\/?><\/div>/gi,"</div>")).replace(/<div>/gi,"")).replace(/(<\/div>)+/gi,"<br>")),t}function R(t){return t&&(t=(t=(t=((t=Object(s.h)(t)).charCodeAt(0)===c.a.SPACE?"&nbsp;":t[0])+t.slice(1)).replace(/<br> /g,"<br>&nbsp;")).replace(/ {2}/g," &nbsp;")),t}function N(t){if(window.getSelection){var e=window.getSelection();if(e){var n=e.getRangeAt(0);n.deleteContents(),n.insertNode(t),n.setStartAfter(t),n.setEndAfter(t),n.collapse(!1),e.removeAllRanges(),e.addRange(n)}}}function k(t){if(t)if("number"==typeof t.selectionStart)t.selectionStart=t.selectionEnd=t.value.length;else if("undefined"!=typeof t.createTextRange){t.focus();var e=t.createTextRange();e.collapse(!1),e.select()}}function D(t,e,n){var o=t.getElementsByTagName(e);Array.prototype.slice.call(o).forEach((function(t){if(n(t)){for(var e=t.parentNode;t.firstChild;)e.insertBefore(t.firstChild,t);e.removeChild(t)}}))}function M(t){var e="",n=w(t);return Object(l.j)(n)&&(e=n),e}function j(t,e,n){void 0===n&&(n="14px OpenSans"),h.font=n;var o=h.measureText(t).width;if(o<=e||o<=m)return t;for(var r=t.length;o>=e-m&&r-- >0;)t=t.substring(0,r),o=h.measureText(t).width;return t+s.a}function P(t){return"<b>"+t+"</b>"}function L(t){for(var e="rtb_link_replacer";-1!==t.indexOf(e);)e+="_temp";return e}function B(t){return Object(r.a)(t)}function U(t){try{return new URL(t).href}catch(e){return t}}function F(t){Array.from(t.getElementsByTagName("pre")).forEach((function(t){t.innerHTML=Object(s.h)(t.innerHTML)}))}},268:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n(180),r=n(16);function i(t,e){Object(o.useEffect)((function(){function n(n){t.current&&!t.current.contains(n.target)&&e()}return r.a.canUseSyntheticMouseEvents?document.addEventListener("mousedown",n):document.addEventListener("touchstart",n),function(){document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}}),[t,e])}},269:function(t,e,n){"use strict";n.r(e),n.d(e,"autobind",(function(){return o.a})),n.d(e,"debounce",(function(){return r.a})),n.d(e,"throttle",(function(){return i.a})),n.d(e,"sealed",(function(){return a.c}));var o=n(191),r=n(368),i=n(404),a=n(201)},270:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n(180);function r(t){return e="Escape",n=t,void Object(o.useEffect)((function(){var t=function(t){t.code!==e&&t.key!==e||n()};return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}),[e,n]);var e,n}},276:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"e",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"h",(function(){return l})),n.d(e,"j",(function(){return p})),n.d(e,"g",(function(){return b})),n.d(e,"d",(function(){return h})),n.d(e,"i",(function(){return m}));var o=n(401);n.d(e,"c",(function(){return o.a}));var r="\u2026";function i(t){return t?t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#39;").replace(/"/g,"&#34;").replace(/=/g,"&#61;").replace(/\+/g,"&#43;"):""}function a(t,e){return e&&!isNaN(e)?t.substr(0,e):t}var c=new RegExp("<body[^>]*>([\\s\\S]*)<\\/body>","i");function s(t){var e=c.exec(t);return e&&e[1]&&(t=e[1]),t}function l(t){return m(t,"<br/>")}function d(t,e){var n,o=t.charCodeAt(e);return o>=55296&&o<=56319&&t.length>e+1&&(n=t.charCodeAt(e+1))>=56320&&n<=57343?t.substring(e,e+2):t[e]}function u(t,e,n){for(var o,r="",i=0,a=0,c=t.length;i<c;)o=d(t,i),a>=e&&a<n&&(r+=o),i+=o.length,a+=1;return r}function p(t,e,n){return void 0===n&&(n=t.length),n==e?"":n>e?u(t,e,n):u(t,n,e)}function b(t){return/\s/.test(t)}function h(t,e){return t.substr(0,(e||1)-1).trim()+r}function m(t,e){return t.replace(/\r\n|\n\r|\r|\n/g,e)}},277:function(t,e,n){"use strict";n.d(e,"n",(function(){return r})),n.d(e,"o",(function(){return i})),n.d(e,"p",(function(){return a})),n.d(e,"f",(function(){return c})),n.d(e,"k",(function(){return s})),n.d(e,"m",(function(){return l})),n.d(e,"e",(function(){return d})),n.d(e,"c",(function(){return u})),n.d(e,"r",(function(){return p})),n.d(e,"i",(function(){return b})),n.d(e,"d",(function(){return h})),n.d(e,"g",(function(){return m})),n.d(e,"a",(function(){return f})),n.d(e,"q",(function(){return g})),n.d(e,"h",(function(){return _})),n.d(e,"b",(function(){return v})),n.d(e,"j",(function(){return E})),n.d(e,"l",(function(){return O}));var o=n(53);function r(t,e){return void 0===e&&(e=[]),e.every((function(e){var n;return((null===(n=null===t||void 0===t?void 0:t.currentUserPermission)||void 0===n?void 0:n.permissions)||[]).includes(e)}))}function i(t,e){return void 0===e&&(e=[]),!e.length||e.some((function(e){var n;return((null===(n=null===t||void 0===t?void 0:t.currentUserPermission)||void 0===n?void 0:n.permissions)||[]).includes(e)}))}function a(t,e){return!t.length||t.some((function(t){var n;return t===(null===(n=null===e||void 0===e?void 0:e.currentUserPermission)||void 0===n?void 0:n.role)}))}function c(t){return r(t,[o.C.EDIT_USERS])}function s(t){return r(t,[o.C.SET_COOWNERS])}function l(t){return r(t,[o.C.SET_OWNER])}function d(t){return r(t,[o.C.EDIT_BOARD_PARAMS])}function u(t){return r(t,[o.C.TRASH_BOARD])}function p(t){return r(t,[o.C.VIEW_BOARD])}function b(t){return r(t,[o.C.EXPORT_BOARD_DATA])}function h(t){return r(t,[o.C.COPY_BOARD])}function m(t){return r(t,[o.C.EDIT_WIDGETS])}function f(t){return r(t,[o.C.CHANGE_BOARD_COPY_ACCESS_LEVEL])}function g(t){return!(!t||t.copyAccessLevel!==o.b.ANYONE)}function _(t){return d(t)||h(t)||g(t)}function v(t){return r(t,[o.C.CHANGE_PUBLIC_VISITORS_NAMES_SETTING])}function E(t){return r(t,[o.C.MANAGE_ACCESS_SETTINGS])}function O(t){return r(t,[o.C.SET_COLLABORATION_TOOLS_ACCESS])}},279:function(t,e,n){"use strict";n.d(e,"g",(function(){return p})),n.d(e,"a",(function(){return g})),n.d(e,"d",(function(){return E})),n.d(e,"f",(function(){return A})),n.d(e,"e",(function(){return T})),n.d(e,"b",(function(){return _.a})),n.d(e,"c",(function(){return _.b}));var o=n(0),r=n(180),i=n.n(r),a=n(185),c=n.n(a),s=n(308),l=n(630),d=n.n(l),u=n(298),p=i.a.memo((function(t){var e=t.className;return i.a.createElement(s.a,Object(o.a)({},t,{className:c()(d.a.userPictureClass,e),fallbackPictureUrl:u}))})),b=n(201),h=n(16),m=n(298);n(632);var f=0,g=function(t){function e(e){var n=t.call(this,e)||this;return n.state={isErrorLoading:!1,isDoubleError:!1,svgId:f+=1},n}return Object(o.d)(e,t),e.prototype.onError=function(){this.setState((function(t){return{isErrorLoading:!0,isDoubleError:t.isErrorLoading}}))},e.prototype.render=function(){var t=this.props,e=t.dataAutoTestId,n=t.pictureUrl,o=t.pictureOpacity,r=void 0===o?1:o,a=t.color,c=t.colorOverlayOpacity,s=void 0===c?0:c,l=t.clipPathId,d=this.state,u=d.isErrorLoading,p=d.isDoubleError,b=.4613*100+"%",f=.0387*100+"%",g="84.52%",_="colorUserPicture__image-"+d.svgId,v=u?m:n;return i.a.createElement("div",{className:"color-user-picture","data-auto-test-id":e,"data-autotest-id":e},i.a.createElement("svg",null,i.a.createElement("defs",null,i.a.createElement("pattern",{id:_,x:"0",y:"0",width:"1",height:"1"},i.a.createElement("image",{onError:this.onError,href:v,xlinkHref:h.a.safari?v:void 0,x:f,y:f,width:g,height:g,opacity:r}))),i.a.createElement("g",{clipPath:l?"url(#"+l+")":void 0},i.a.createElement("circle",{cx:"50%",cy:"50%",r:b,fill:p?"#cdccd7":"url(#"+_+")",stroke:a,strokeWidth:"8.6%"}),s>0?i.a.createElement("circle",{cx:"50%",cy:"50%",r:b,fill:a,stroke:"transparent",opacity:s,strokeWidth:"8.6%"}):null)))},Object(o.c)([b.a],e.prototype,"onError",null),e}(i.a.PureComponent),_=n(322),v=(n(634),n(298)),E=function(t){function e(e){var n=t.call(this,e)||this;return n.state={isHidden:!!e.shouldHideBeforeImageLoad,isErrorLoading:!1,isDoubleError:!1},n}return Object(o.d)(e,t),e.prototype.onLoad=function(){this.setState({isHidden:!1})},e.prototype.onError=function(){this.setState((function(t){return{isErrorLoading:!0,isDoubleError:t.isErrorLoading,isHidden:!1}}))},e.prototype.render=function(){var t=this.props,e=t.pictureSize,n=void 0===e?_.b.Size30:e,o=t.pictureUrl,r=t.iconSize,a=void 0===r?_.b.Size12:r,l=t.iconUrl,d=t.fallbackIconUrl,u=t.iconBorderWidth,p=void 0===u?3:u,b=t.className,h=t.shouldHideBeforeImageLoad,m=n-(a+p),f=this.state,g=f.isHidden,E=f.isErrorLoading,O=f.isDoubleError;return i.a.createElement("div",{className:c()("picture-with-icon",b,{"picture-with-icon--collapsed":g})},i.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:n,height:n,viewBox:"0 0 "+n+" "+n},i.a.createElement("defs",null,i.a.createElement("rect",{id:"rect",x:m,y:m,width:n/2,height:n/2,rx:4}),i.a.createElement("rect",{id:"circle",x:0,y:0,width:n,height:n,rx:n/2}),i.a.createElement("mask",{id:"mask"},i.a.createElement("use",{xlinkHref:"#circle"}),i.a.createElement("use",{xlinkHref:"#rect"}))),i.a.createElement("image",{className:"picture-with-icon__picture",href:E?v:o,width:n,height:n,mask:"url(#mask)",onLoad:this.onLoad,onError:this.onError,key:"try"+E})),i.a.createElement(s.a,{className:"picture-with-icon__icon",pictureUrl:l,size:_.c[a],fallbackPictureUrl:d,shouldHideBeforeImageLoad:h}),O?i.a.createElement("div",{className:"picture-with-icon--cover"}):null)},Object(o.c)([b.a],e.prototype,"onLoad",null),Object(o.c)([b.a],e.prototype,"onError",null),e}(i.a.PureComponent),O=n(636),x=n(298),A=function(t){var e=t.className;return i.a.createElement(s.a,Object(o.a)({},t,{className:c()(O.teamPicture,e),fallbackPictureUrl:x}))},y=n(298),T=function(t){return i.a.createElement(s.a,Object(o.a)({},t,{fallbackPictureUrl:y}))}},280:function(t,e,n){"use strict";var o=n(6),r=n(329),i="ShareAndInvite";o.f(i,(function(){return Object(r.a)().then((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(5),n.e(8),n.e(77)]).then(n.bind(null,1431))})).then((function(t){return t.default}))})),e.a=o.d(i)},281:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return c}));var o=n(0),r=n(179),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.render=function(){return null},e}(r.d.PureComponent);function a(t){var e=t&&t.type;return i.isPrototypeOf(e)}function c(t){if(!t)return null;var e=null;return r.d.Children.forEach(t,(function(t){a(t)&&(e=t)})),e}},289:function(t,e,n){var o=n(499);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},295:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(0),r=n(179),i=n(210),a=n(281),c=n(393),s=n.n(c),l={enter:"rtb-popup-manual-start",enterDone:"rtb-popup-manual-finish",exit:"rtb-popup-manual-start",exitDone:"rtb-popup-manual-start"},d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.render=function(){var t=this.props,e=t.isOpen,n=t.children,o=t.timeoutInMs,c=t.animationClasses;return r.d.createElement(i.a.RTBScrollPopupManager,null,r.d.Children.map(n,(function(t){return Object(a.c)(t)?t:r.d.createElement(r.a,{in:e,mountOnEnter:!0,unmountOnExit:!0,classNames:c||l,timeout:s()(o)?300:o},t)})))},e.defaultProps={isOpen:!0},e}(r.d.PureComponent)},298:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjgiIGhlaWdodD0iNjgiIHZpZXdCb3g9IjAgMCA2OCA2OCI+Cgk8ZGVmcz4KCQk8cmVjdCBpZD0iYSIgd2lkdGg9IjY4IiBoZWlnaHQ9IjY4Ii8+Cgk8L2RlZnM+Cgk8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgoJCTxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj4KCQkJPHVzZSB4bGluazpocmVmPSIjYSIvPgoJCTwvbWFzaz4KCQk8dXNlIGZpbGw9IiNDQ0MiIGZpbGwtcnVsZT0ibm9uemVybyIgeGxpbms6aHJlZj0iI2EiLz4KCQk8cGF0aCBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0zNCAzNWE4IDggMCAxIDAgMC0xNiA4IDggMCAwIDAgMCAxNnptLTcuMjg2IDEuNTM2QTExLjk4IDExLjk4IDAgMCAxIDIyIDI3YzAtNi42MjcgNS4zNzMtMTIgMTItMTJzMTIgNS4zNzMgMTIgMTJhMTEuOTggMTEuOTggMCAwIDEtNC43MTQgOS41MzZDNDcuNTk3IDM5LjMzMyA1MiA0NS42NTIgNTIgNTNoLTRjMC03LjczMi02LjI2OC0xNC0xNC0xNHMtMTQgNi4yNjgtMTQgMTRoLTRjMC03LjM0OCA0LjQwMy0xMy42NjcgMTAuNzE0LTE2LjQ2NHoiIG1hc2s9InVybCgjYikiLz4KCTwvZz4KPC9zdmc+Cg=="},299:function(t,e){t.exports="#img__checkbox-round"},300:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n(4);function r(){return Object(o.a)((function(){return Promise.all([n.e(152),n.e(156),n.e(141)]).then(n.bind(null,814))}),{maxTries:1/0}).then((function(t){return t}))}},303:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var o=n(200),r=n(182),i=n(347);function a(){n(541),Object(r.b)().component("materialSpinner",Object(o.c)(t)(i.a,["width","color","strokeWidth"]))}}).call(this,n(111)(t))},304:function(t,e){t.exports="#img__checkbox-large"},306:function(t,e,n){var o=n(694),r=n(697),i=n(114),a=n(56),c=n(701);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?r(t[0],t[1]):o(t):c(t)}},308:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var o=n(0),r=n(201),i=n(180),a=n(185),c=n.n(a),s=n(322),l=(n(628),function(t){function e(e){var n=t.call(this,e)||this;return n.state={isHidden:!!e.shouldHideBeforeImageLoad,isErrorLoading:!1,isDoubleError:!1},n}return Object(o.d)(e,t),e.prototype.onLoad=function(){this.setState({isHidden:!1})},e.prototype.onError=function(){this.setState((function(t){return{isErrorLoading:!0,isDoubleError:t.isErrorLoading,isHidden:!1}}))},e.prototype.render=function(){var t=this.props,e=t.alt,n=void 0===e?"":e,o=t.className,r=t.pictureUrl,a=t.fallbackPictureUrl,l=t.size,d=void 0===l?s.a.Size30:l,u=t.style,p=t.forwardedRef,b=t.dataAutoTestId,h=this.state,m=h.isHidden,f=h.isErrorLoading,g=h.isDoubleError;return i.createElement("div",{"data-autotest-id":b,style:u,className:c()("base-picture",o,d,{"base-picture--collapsed":m}),ref:p},i.createElement("img",{alt:n,src:f?a:r,onLoad:this.onLoad,onError:this.onError,key:"try"+f}),g?i.createElement("div",{className:"base-picture--cover"}):null)},Object(o.c)([r.a],e.prototype,"onLoad",null),Object(o.c)([r.a],e.prototype,"onError",null),e}(i.PureComponent));var d,u=(d=l,i.forwardRef((function(t,e){return i.createElement(d,Object(o.a)({},t,{forwardedRef:e}))})))},310:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var o,r=n(180),i=n(185),a=n.n(i),c=n(466);!function(t){t.YELLOW="yellow",t.BLUE="blue",t.GRAY="gray",t.INDIGO="indigo"}(o||(o={}));var s=function(t){var e=t.type,n=void 0===e?o.YELLOW:e,i=t.className,s=t.children,l=function(t){switch(t){case o.YELLOW:return"tag_yellow";case o.BLUE:return"tag_blue";case o.GRAY:return"tag_gray";case o.INDIGO:return"tag_indigo";default:throw new Error("expected TagType, received "+t)}}(n);return r.createElement("span",{className:a()(c.tag,l,i)},s)}},3107:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n(182),r=n(16);function i(){Object(o.b)().directive("clickableText",a)}function a(){return{restrict:"A",link:function(t,e,n){function o(e){var o=e.target.getAttribute("clickable-element"),r=e.target.innerHTML;t.$eval(n.clickableText,{$clickedElementName:o,$clickedElementInnerHTML:r})}var i=r.a.isTouchSupportedAndNotDesktop?"touchend":"click";e.on(i,o),t.$on("$destroy",(function(){e.off(i,o)}))}}}},317:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n(182);function r(){Object(o.b)().directive("icon",i)}function i(){return{replace:!0,restrict:"E",template:n(591),scope:{iconName:"="}}}},320:function(t,e,n){var o=n(366);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},322:function(t,e,n){"use strict";var o,r,i,a;n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c})),function(t){t.Size12="base-picture--size12",t.Size16="base-picture--size16",t.Size24="base-picture--size24",t.Size30="base-picture--size30",t.Size32="base-picture--size32",t.Size36="base-picture--size36",t.Size74="base-picture--size74",t.Size140="base-picture--size140",t.Size180="base-picture--size180",t.Size100Percent="base-picture--size100percent"}(i||(i={})),function(t){t[t.Size12=12]="Size12",t[t.Size16=16]="Size16",t[t.Size24=24]="Size24",t[t.Size30=30]="Size30",t[t.Size32=32]="Size32",t[t.Size36=36]="Size36",t[t.Size74=74]="Size74",t[t.Size140=140]="Size140",t[t.Size180=180]="Size180"}(a||(a={}));(o={})[i.Size12]=a.Size12,o[i.Size16]=a.Size16,o[i.Size24]=a.Size24,o[i.Size30]=a.Size30,o[i.Size32]=a.Size32,o[i.Size36]=a.Size36,o[i.Size74]=a.Size74,o[i.Size140]=a.Size140,o[i.Size180]=a.Size180;var c=((r={})[a.Size12]=i.Size12,r[a.Size16]=i.Size16,r[a.Size24]=i.Size24,r[a.Size30]=i.Size30,r[a.Size32]=i.Size32,r[a.Size36]=i.Size36,r[a.Size74]=i.Size74,r[a.Size140]=i.Size140,r[a.Size180]=i.Size180,r)},324:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var o=n(190),r=n(182),i=n(650);function a(){return Object(r.b)().directive("rtbModalOld",c),i}function c(){return Object(o.a)({restrict:"E",template:i,transclude:!0})}},332:function(t,e){t.exports="#img__ic-alert-small"},337:function(t,e,n){"use strict";var o=n(0),r=n(205),i=n(202),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inited=!1,e}return Object(o.d)(e,t),e.prototype.init=function(){this.inited=!0},Object.defineProperty(e.prototype,"shouldShowModalActions",{get:function(){var t=this.params,e=t.submitButton,n=t.cancelButton,o=t.strongMessage;return!!e||!!n||!!o},enumerable:!1,configurable:!0}),e.prototype.submitAction=function(){return Object(o.b)(this,void 0,void 0,(function(){var e,n;return Object(o.e)(this,(function(o){switch(o.label){case 0:if(this.submitLoading=!0,!this.params.submitButton||!this.params.submitButton.action)return[3,5];o.label=1;case 1:return o.trys.push([1,3,,4]),e=this.submit,[4,this.params.submitButton.action()];case 2:return e.apply(this,[o.sent()]),[3,4];case 3:return n=o.sent(),this.onErrorHandler(n),this.submit(n),[3,4];case 4:return[3,6];case 5:t.prototype.submit.call(this),o.label=6;case 6:return[2]}}))}))},e.prototype.cancelAction=function(){return Object(o.b)(this,void 0,void 0,(function(){var e,n;return Object(o.e)(this,(function(o){switch(o.label){case 0:if(!this.params.cancelButton||!this.params.cancelButton.action)return[3,5];this.cancelLoading=!0,o.label=1;case 1:return o.trys.push([1,3,,4]),e=this.cancel,[4,this.params.cancelButton.action()];case 2:return e.apply(this,[o.sent()]),[3,4];case 3:return n=o.sent(),this.onErrorHandler(n),this.cancel(n),[3,4];case 4:return[3,6];case 5:t.prototype.cancel.call(this),o.label=6;case 6:return[2]}}))}))},e.prototype.onErrorHandler=function(t){var e=this.params.onError;e&&e(t)},e}(n(206).b),c=n(217),s=n(230);e.a=function(t){return Object(c.a)(),Object(s.a)(),r.b(i.a.CONFIRMATION,a,n(475),Object(o.a)({enableSubmitByEnter:!1},t))}},3469:function(t,e,n){"use strict";var o=n(6),r="AccountPicker";o.f(r,(function(){return n.e(31).then(n.bind(null,4472)).then((function(t){return t.default}))})),e.a=o.d(r)},347:function(t,e,n){"use strict";var o=n(421);e.a=o.a},3470:function(t,e){t.exports='<div class="ui-directive ui-button" ng-style="{width: width}" ng-class="{\'ui-button__disabled\': ngDisabled}">\n\t<icon class="ui-button__icon" icon-name="icon" ng-show="icon"></icon>\n\t<div class="ui-button__caption" ng-bind-html="caption"></div>\n</div>\n'},3471:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var o=n(293),r=n.n(o),i=n(274),a=n(1749),c=n(182),s=n(317);function l(){Object(s.a)(),n(592),Object(c.b)().directive("uiSelectOld",d)}function d(){return{replace:!0,restrict:"E",template:n(3472),controller:a.a,scope:{label:"=",width:"=",options:"=",selected:"=?",placeholder:"=",description:"=",selectDisabled:"=",done:"=",failState:"=",failMessage:"=",onSelected:"&"},link:function(t){t.prev=r()(t.selected),t.id=i.b(),t.placeholder&&(t.$watch("options",(function(e){Array.isArray(e)&&e[0]&&""!==e[0].value&&(e.unshift({value:"",caption:t.placeholder}),t.selected=t.selected||e[0])})),t.$watch("placeholder",(function(e){t.options&&t.options[0]&&(t.options[0].caption=e)}))),t.getCaption=function(t){return t.caption||t.title||t.name}}}}},3472:function(t,e){t.exports='<div\n\tclass="ui-directive ui-select"\n\tng-style="{width: width}"\n\tng-class="{\'ui-directive--done\': done, \'ui-directive--fail\': failState, \'ui-select--disabled\': !options.length || selectDisabled}"\n>\n\t<label ng-attr-for="ui-input-{{::id}}">\n\t\t<div class="ui-select__label" ng-show="label">{{label}}</div>\n\t\t<div class="ui-select__description" ng-show="description">{{description}}</div>\n\t\t<div\n\t\t\tclass="ui-select__select-wrapper ui-directive__border"\n\t\t\tng-class="{\'ui-select__select-wrapper--selected\': selected.value}"\n\t\t>\n\t\t\t<div class="ui-select__triangle">\n\t\t\t\t<icon icon-name="\'general--triangle-black-bottom\'"></icon>\n\t\t\t</div>\n\n\t\t\t<select\n\t\t\t\tng-class="{\'--placeholder\': placeholder}"\n\t\t\t\tng-attr-id="ui-select-{{::id}}"\n\t\t\t\tng-model="selected"\n\t\t\t\tng-options="option as getCaption(option) for option in options"\n\t\t\t\tng-change="onSelected({option: selected, prev: prev})"\n\t\t\t\tng-disabled="!options.length || selectDisabled"\n\t\t\t></select>\n\t\t</div>\n\n\t\t<div class="ui-directive__done">Saved</div>\n\t</label>\n</div>\n'},351:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var o=n(0),r=n(179),i=n(236),a=n(210),c=function(t){var e=t.children,n=t.schedulePopperUpdate;return r.d.useLayoutEffect(n,[e,n]),r.d.createElement(r.d.Fragment,null,e)},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.render=function(){var t=this.props,e=t.portalTarget,n=t.placement,s=t.modifiers,l=t.children,d=t.showArrow,u=t.arrowClassName,p=t.className,b=t.positionFixed,h=void 0===b||b,m=Object(o.h)(t,["portalTarget","placement","modifiers","children","showArrow","arrowClassName","className","positionFixed"]),f=r.d.createElement(a.a.RTBPopper,{placement:n,positionFixed:h,modifiers:s},(function(t){var e=t.ref,n=t.style,i=t.placement,a=t.arrowProps,s=t.outOfBoundaries,b=t.scheduleUpdate;return r.d.createElement("div",Object(o.a)({},m,{className:Object(r.i)("rtb-popper-tooltip",p),ref:e,style:n,"data-placement":i,"data-out-of-boundaries":s}),r.d.createElement(c,{schedulePopperUpdate:b},l),d?r.d.createElement("div",Object(o.a)({},a,{className:u,"data-placement":i})):null)}));return e?Object(i.createPortal)(f,e):f},e}(r.d.PureComponent)},353:function(t,e){t.exports="#img__ic-success"},356:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return l}));var o=n(222),r=n.n(o),i=function(){function t(t){var e=this;if(this.$scope=t,this.debouncedSafeDigest=r()(this.safeDigest,10),this.__subscribes){var n=this.__subscribes.map((function(t){return t(e)}));t.$on("$destroy",(function(){e.debouncedSafeDigest.cancel(),n&&n.forEach((function(t){return t()}))}))}}return t.prototype.safeDigest=function(){this.$scope.safeDigest()},t.$inject=["$scope"],t}();function a(t,e,n,o){if(!(t instanceof i))throw new Error('Component that use "@subscribe" or "@inject" must extend the ComponentController');t.__subscribes||(t.__subscribes=[]),t.__subscribes.push((function(t){return n().addStateChangeListenerOld(e,(function(e){o&&o(t,e),t.debouncedSafeDigest()}),!0)}))}var c=function(t){return{inject:function(e){return function(n,o){var r=e;a(n,r,t),Object.defineProperty(n,o,{get:function(){return t().__getUntypedState(r)},set:function(){throw new Error("You can not change state '"+e+"' directly")},enumerable:!0,configurable:!0})}},subscribe:function(e){return function(n,o,r){var i=e,c=n[o];return a(n,i,t,(function(t,e){c.call(t,e)})),r}}}},s=n(0);function l(t){return Object(s.a)({replace:!0,restrict:"E",scope:{}},t)}},365:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"l",(function(){return u})),n.d(e,"j",(function(){return p})),n.d(e,"c",(function(){return b})),n.d(e,"f",(function(){return h})),n.d(e,"d",(function(){return m})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return g})),n.d(e,"e",(function(){return _})),n.d(e,"b",(function(){return v})),n.d(e,"k",(function(){return E})),n.d(e,"g",(function(){return O}));var o=n(184),r=n(53),i=n(195),a=n(183),c=(n(28),n(667),n(216)),s=n(3),l={role:{}},d={user:{email:{}}};function u(t,e){return Object(a.isPersonalAccount)(t)?Promise.resolve(!0):o.a.accounts.selectById(t.id).selectUserConnectionById(e).get(s.d.createFieldStr(l)).then((function(t){return t.role===i.g.ADMIN||t.role===i.g.USER})).catch((function(){return!1}))}function p(t){return o.a.accounts.selectById(t.id).get({fields:"organization{id,features}"}).then((function(t){var e=t.organization;return!!e&&(!!Object(c.j)(e,r.p.GUEST_USERS_FREE_OF_CHARGE)||o.a.organizations.selectById(e.id).dayPasses().then((function(t){return Object(a.dayPassesActivated)(t)})))}))}function b(t){return t&&t.currentUserPermission&&t.currentUserPermission.role!==i.g.ADMIN?o.a.accounts.selectById(t.id).userConnections({roles:[i.g.ADMIN]}).get({fields:s.d.createFieldStr(d),limit:1}).then((function(t){var e=t.data;return e[0]&&e[0].user.email})):Promise.resolve("")}function h(t){return o.a.accounts.selectById(t).get({fields:"limits,usersNumber,organization{remainingFullLicenseNumber,fullUsersLimit}"})}function m(t){return o.a.accounts.selectById(t).get({fields:"boardsNumber"}).then((function(t){return t.boardsNumber}))}function f(t,e){return o.a.accounts.selectById(t).get({fields:"usersNumber,boardsNumber"},e)}function g(t){return o.a.boards.selectById(t).get({fields:"account{usersNumber,boardsNumber}"}).then((function(t){return t.account}))}function _(t){return o.a.billing.selectById(t).getPastDueInvoices()}function v(t){return o.a.accounts.selectById(t).get({fields:"type,usersNumber,invitesNumber,role"})}function E(t){return new Promise((function(e,n){o.a.accounts.selectById(t).get({fields:"usersNumber"}).then((function(t){e(t.usersNumber<2)})).catch((function(t){return n(t)}))}))}function O(t){return o.a.accounts.selectById(t.id).userConnections({filter:r.J.REGISTERED,roles:[i.g.USER,i.g.ADMIN]}).getSize()}},366:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".rtb-checkbox {\n  position: relative;\n  display: inline-block;\n  vertical-align: baseline;\n  cursor: pointer;\n  font-size: 14px;\n  line-height: 20px;\n  padding-left: 16px;\n  min-height: 20px;\n}\n.rtb-checkbox input {\n  display: none;\n}\n.rtb-checkbox input:checked + .rtb-checkbox__check .rtb-checkbox__icon {\n  transform: scale(1);\n}\n.rtb-checkbox.rtb-checkbox--disabled {\n  opacity: 0.4;\n  cursor: default;\n}\n.rtb-checkbox .rtb-checkbox__check {\n  width: 16px;\n  height: 16px;\n  line-height: 20px;\n}\n.rtb-checkbox .rtb-checkbox__label {\n  padding-left: 12px;\n}\n.rtb-checkbox .rtb-checkbox__icon.rtb-checkbox__icon--medium {\n  display: block;\n}\n.rtb-checkbox input:checked + .rtb-checkbox__check {\n  background-color: rgba(66, 98, 255, 1);\n  background-color: var(--blue700);\n  border-color: rgba(66, 98, 255, 1);\n  border-color: var(--blue700);\n}\n.rtb-checkbox:hover input:not(:checked) + .rtb-checkbox__check {\n  border-color: rgba(66, 98, 255, 1);\n  border-color: var(--blue700);\n}\n.rtb-checkbox:hover input:disabled:not(:checked) + .rtb-checkbox__check {\n  border-color: rgba(205, 204, 215, 1);\n  border-color: var(--indigo400);\n}\n.rtb-checkbox input:not(:checked) + .rtb-checkbox__check:focus {\n  border-color: rgba(66, 98, 255, 1);\n  border-color: var(--blue700);\n}\n.rtb-checkbox input:checked + .rtb-checkbox__check:focus {\n  border-color: rgba(205, 204, 215, 1);\n  border-color: var(--indigo400);\n}\n.rtb-checkbox .rtb-checkbox__check {\n  border-color: rgba(205, 204, 215, 1);\n  border-color: var(--indigo400);\n}\n.rtb-checkbox .rtb-checkbox__icon {\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n}\n.rtb-checkbox .rtb-checkbox__label {\n  display: block;\n}\n.rtb-checkbox.rtb-checkbox--large {\n  font-size: 16px;\n  line-height: 24px;\n  padding-left: 20px;\n  min-height: 24px;\n}\n.rtb-checkbox.rtb-checkbox--large .rtb-checkbox__check {\n  width: 20px;\n  height: 20px;\n  line-height: 24px;\n}\n.rtb-checkbox.rtb-checkbox--large .rtb-checkbox__label {\n  padding-left: 14px;\n}\n.rtb-checkbox.rtb-checkbox--large .rtb-checkbox__icon.rtb-checkbox__icon--medium {\n  display: none;\n}\n.rtb-checkbox.rtb-checkbox--large .rtb-checkbox__icon.rtb-checkbox__icon--large {\n  display: block;\n}\n.rtb-checkbox.rtb-checkbox--large.rtb-checkbox--indeterminate .rtb-checkbox__check:before {\n  width: 10px;\n  left: 4px;\n  top: 8px;\n}\n.rtb-checkbox__check {\n  position: absolute;\n  left: 0;\n  top: 2px;\n  display: inline-block;\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  background-color: rgba(255, 255, 255, 1);\n  background-color: var(--white);\n  border-width: 1px;\n  border-style: solid;\n  box-sizing: border-box;\n  overflow: hidden;\n  transition: background-color 250ms, border 250ms;\n}\n.rtb-checkbox__icon {\n  display: none;\n  height: 24px;\n  width: 24px;\n  transform: scale(0);\n  transform-origin: 50%;\n  transition: transform 250ms 200ms;\n}\n.rtb-checkbox__icon.rtb-checkbox__icon--large {\n  margin-left: -3px;\n  margin-top: -3px;\n}\n.rtb-checkbox__icon.rtb-checkbox__icon--medium {\n  margin-left: -5px;\n  margin-top: -5px;\n}\n.rtb-checkbox.rtb-checkbox--indeterminate .rtb-checkbox__icon {\n  display: none;\n}\n.rtb-checkbox.rtb-checkbox--indeterminate .rtb-checkbox__check:before {\n  content: '';\n  position: absolute;\n  left: 3px;\n  top: 6px;\n  display: block;\n  width: 8px;\n  height: 2px;\n  background: rgba(255, 255, 255, 1);\n  background: var(--white);\n  border-radius: 1px;\n  transform: scale(0);\n  transform-origin: 50%;\n  transition: transform 250ms 200ms;\n}\n.rtb-checkbox.rtb-checkbox--indeterminate input:checked + .rtb-checkbox__check:before {\n  transform: scale(1);\n}\n.rtb-checkbox.rtb-checkbox--indeterminate input:checked + .rtb-checkbox__check .rtb-checkbox__icon {\n  display: none;\n}\n",""])},368:function(t,e,n){"use strict";var o=n(201);n.d(e,"a",(function(){return o.b}))},370:function(t,e,n){"use strict";var o=n(310);n.d(e,"a",(function(){return o.a})),n.d(e,"b",(function(){return o.b}))},378:function(t,e,n){t.exports='<div class="rtb-modal-container__close rtb-modal-close" data-autotest-id="rtbModalCloseAction">\n\t<svg  class="rtb-modal-close__icon"    role="none" ><use xlink:href="'+n(221)+'"></use></svg>\n</div>\n'},380:function(t,e,n){"use strict";var o,r;n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return d})),n.d(e,"e",(function(){return p})),n.d(e,"c",(function(){return b})),n.d(e,"f",(function(){return h})),n.d(e,"d",(function(){return m}));var i=function(t){this.reason=t,this.canvases=[]},a=/\{\s+\[native code\]/.test(null===(r=null===(o=window.WeakRef)||void 0===o?void 0:o.toString)||void 0===r?void 0:r.call(o)),c=new Map;function s(t,e){var n=c.get(t);n||(n=new i(t),c.set(t,n));var o=a?new window.WeakRef(e):null;n.canvases.push({weakRef:o})}function l(t,e){var n=document.createElement("canvas");return s(t,n),n}function d(t,e,n){var o=new OffscreenCanvas(e,n);return s(t,o),o}var u={diedSinceLastResetCount:0,r:85,g:60,b:204,size:4,ctx:null,recharge:function(){var t=l("canvas_crash_checker"),e=t.getContext("2d"),n=this.size,o=this.r,r=this.g,i=this.b;t.width=n,t.height=n,e.fillStyle="rgb("+o+", "+r+", "+i+")",e.fillRect(0,0,n,n),this.ctx=e}};function p(){for(var t=u.size,e=u.r,n=u.g,o=u.b,r=0,i=u.ctx.getImageData(0,0,t,t).data,a=0;a<i.length;a+=4)Math.abs(i[a+0]-e)<=2&&Math.abs(i[a+1]-n)<=2&&Math.abs(i[a+2]-o)<=2&&Math.abs(i[a+3]-255)<=2&&r++;var c=r!==t*t;return c&&(u.diedSinceLastResetCount+=1,u.recharge()),c}function b(){return u.diedSinceLastResetCount}function h(){u.diedSinceLastResetCount=0}function m(){var t={existing_count_is_valid:a,total_created_count:0,total_existing_count:0};return c.forEach((function(e){var n={existing_count:e.canvases.filter((function(t){var e;return!!(null===(e=t.weakRef)||void 0===e?void 0:e.deref())})).length,created_count:e.canvases.length};t[e.reason]=n,t.total_existing_count+=n.existing_count,t.total_created_count+=n.created_count})),t}u.recharge()},392:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a}));var o=n(0),r="START_CLOSE_DIALOG",i={isVisible:!0,dialogResult:null},a=function(t,e){switch(e.type){case r:return Object(o.a)(Object(o.a)({},t),{isVisible:!1,dialogResult:e.dialogResult});default:return t}}},393:function(t,e){t.exports=function(t){return void 0===t}},394:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return s}));var o=n(0),r=n(179),i=n(351),a={flip:{enabled:!0,behavior:["bottom","top","bottom"],boundariesElement:"viewport"},preventOverflow:{enabled:!0,escapeWithReference:!0,boundariesElement:"viewport",padding:20}},c=Object(o.a)(Object(o.a)({},a),{sameWidth:{enabled:!0,fn:function(t){var e=t.instance.popper,n=t.instance.reference,o=Math.abs(parseInt(getComputedStyle(e).marginLeft,10));return e.style.width=n.offsetWidth+2*o+"px",t}}}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.render=function(){var t=this.props.modifiers;return r.d.createElement(i.a,Object(o.a)({},this.props,{placement:this.props.placement||"bottom",modifiers:t||a}))},e}(r.d.PureComponent)},399:function(t,e,n){"use strict";var o=n(0),r=n(179);n(408);var i={input:"rtb-toggle-auto-test-id__input",text:"rtb-toggle-auto-test-id__text"},a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelRef=r.d.createRef(),e.autoTestIds=Object(o.a)(Object(o.a)({},i),e.props.dataAutoTestIds),e}return Object(o.d)(e,t),e.prototype.componentDidMount=function(){this.labelRef.current&&this.labelRef.current.classList.add("rtb-toggle--animated")},e.prototype.onChange=function(){this.props.onChange&&this.props.onChange(!this.props.checked)},e.prototype.onKeyDown=function(t){"Enter"===t.key&&this.onChange()},e.prototype.render=function(){var t,e=Object(r.i)("rtb-toggle",((t={})["rtb-toggle--disabled"]=this.props.isDisabled,t),this.props.className);return r.d.createElement("label",{className:e,ref:this.labelRef,"no-prevent-default":"true"},r.d.createElement("input",{type:"checkbox",name:this.props.name,checked:this.props.checked,onChange:this.onChange,onKeyDown:this.onKeyDown,disabled:this.props.isDisabled,"data-autotest-id":this.autoTestIds.input,"aria-labelledby":this.props.a11y?this.props.a11y["aria-labelledby"]:""}),r.d.createElement("span",{className:"rtb-toggle__indicator"}),this.props.label?r.d.createElement("span",{"data-autotest-id":this.autoTestIds.text,className:"rtb-toggle__text"},this.props.label):null)},Object(o.c)([r.j.autobind],e.prototype,"onChange",null),Object(o.c)([r.j.autobind],e.prototype,"onKeyDown",null),e}(r.d.PureComponent);e.a=a},400:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n(179),r=n(212),i=n(221),a=n.n(i);function c(t){return o.d.createElement(o.f.Button,{className:Object(o.i)("rtb-modal-container__close rtb-modal-close rtb-modal-close--button",t.className),dataAutoTestId:"rtbModalCloseAction",hmTap:t.onCancel,"aria-label":"Close"},o.d.createElement(r.a,{href:a.a,className:"rtb-modal-close__icon"}))}},401:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o=function(t){return t?t.replace(/&amp;/g,"&").replace(/&#64;/g,"@").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#39;/g,"'").replace(/&#34;|&quot;/g,'"').replace(/&#61;/g,"=").replace(/&#43;/g,"+").replace(/{<!-- -->/g,"{").replace(/&nbsp;/g," "):""}},404:function(t,e,n){"use strict";var o=n(201);n.d(e,"a",(function(){return o.e}))},408:function(t,e,n){var o=n(512);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},414:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n(500),r=n(182);function i(){n(501),n(289),Object(r.b)().directive("rtbSelect",a)}function a(){return{replace:!0,restrict:"E",template:n(503),scope:{ngModel:"=",options:"<",onChange:"&?",placeholder:"=",autotestButtonId:"<",tabSelectable:"="},controllerAs:"ctrl",controller:o.a}}},421:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var o=n(0),r=n(180),i=n.n(r),a=n(185),c=n.n(a);n(510);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.render=function(){var t={};this.props.width&&(t.width=this.props.width);var e={};return this.props.color&&(e.stroke=this.props.color),this.props.strokeWidth&&(e.strokeWidth=this.props.strokeWidth),i.a.createElement("div",{className:c()("rtb-material-spinner",this.props.className),style:t},i.a.createElement("svg",{className:"rtb-material-spinner-circular",viewBox:"25 25 50 50"},i.a.createElement("circle",{className:"rtb-material-spinner-path",style:e,cx:"50",cy:"50",r:"20",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"})))},e}(i.a.PureComponent)},425:function(t,e){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},427:function(t,e){t.exports='<div class="rtb-modal">\n\t<div class="rtb-modal-container">\n\t\t<ng-transclude></ng-transclude>\n\t</div>\n</div>\n'},428:function(t,e,n){var o=n(688),r=n(113),i=n(306);t.exports=function(t,e){var n={};return e=i(e,3),r(t,(function(t,r,i){o(n,r,e(t,r,i))})),n}},433:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return s}));var o=n(190),r=n(182),i=n(200),a=n(259),c=n(543);function s(){return n(320),Object(r.b)().directive("rtbCheckbox",l),Object(r.b)().component("rtbCheckboxReact",Object(i.c)(t)(a.a,["name","label","checked","isDisabled","onChange","className"])),c}function l(){return Object(o.a)({restrict:"E",template:c,transclude:!0,scope:{name:"=",checked:"=",label:"=",off:"=",onChange:"&",square:"=",modelOptions:"="}})}}).call(this,n(111)(t))},437:function(t,e,n){var o=n(937),r=n(689),i=n(791),a=n(61),c=n(68),s=n(112),l=Object.prototype.hasOwnProperty,d=i((function(t,e){if(c(e)||a(e))r(e,s(e),t);else for(var n in e)l.call(e,n)&&o(t,n,e[n])}));t.exports=d},438:function(t,e,n){var o=n(749),r=n(306),i=n(446),a=n(56),c=n(554);t.exports=function(t,e,n){var s=a(t)?o:i;return n&&c(t,e,n)&&(e=void 0),s(t,r(e,3))}},439:function(t,e,n){var o=n(113),r=n(669)(o);t.exports=r},441:function(t,e,n){"use strict";var o=n(0),r=n(179),i=n(300),a=r.d.lazy((function(){return Object(i.a)().then((function(t){return{default:t.Popper}}))})),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.render=function(){return r.d.createElement(r.d.Suspense,{fallback:null},r.d.createElement(a,Object(o.a)({},this.props)))},e}(r.d.PureComponent);e.a=c},446:function(t,e,n){var o=n(439);t.exports=function(t,e){var n;return o(t,(function(t,o,r){return!(n=e(t,o,r))})),!!n}},456:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return c}));var o=n(186),r=n(693),i={notifications:{},usePrompt:!0};function a(t){return Object(r.a)().tryCopyText(t)}function c(t,e){var n=a(t),r=Object.assign(i,e);if(n){var c=r.notifications.successMessage;c&&Object(o.a)().show(c)}else{if(r.usePrompt)window.prompt("Copy to clipboard",t);else{var s=r.notifications.errorMessage;s&&Object(o.a)().showError(s)}}}},462:function(t,e,n){var o=n(425)({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});t.exports=o},463:function(t,e,n){var o=n(59);t.exports=function(t){return t===t&&!o(t)}},464:function(t,e){t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},466:function(t,e,n){var o=n(467);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},467:function(t,e,n){(e=t.exports=n(177)(!1)).push([t.i,".tag-1gZRe {\n  display: inline-block;\n  height: 16px;\n  padding: 0 4px;\n  font-size: 11px;\n  line-height: 16px;\n  font-weight: bold;\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n  background-color: rgba(66, 98, 255, 1);\n  background-color: var(--blue700);\n  border-radius: 2px;\n  border-radius: var(--radiusS);\n  text-transform: uppercase;\n}\n.tag-1gZRe.tag_blue {\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n  background-color: rgba(66, 98, 255, 1);\n  background-color: var(--blue700);\n}\n.tag-1gZRe.tag_yellow {\n  color: rgba(5, 0, 56, 1);\n  color: var(--indigo700);\n  background-color: rgba(255, 208, 47, 1);\n  background-color: var(--yellow700);\n}\n.tag-1gZRe.tag_gray {\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n  background-color: rgba(95, 92, 128, 1);\n  background-color: var(--indigo600);\n}\n.tag-1gZRe.tag_indigo {\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n  background-color: rgba(5, 0, 56, 1);\n  background-color: var(--indigo700);\n}\n",""]),e.locals={tag:"tag-1gZRe"}},474:function(t,e,n){"use strict";var o=n(0),r=n(498),i=n(590),a=n(179),c=n(191),s=(n(289),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={isOpened:!1},e}return Object(o.d)(e,t),e.prototype.componentDidMount=function(){this.props.hideOnScroll&&document.addEventListener("scroll",this.onClosed,!0)},e.prototype.componentWillUnmount=function(){this.props.hideOnScroll&&document.removeEventListener("scroll",this.onClosed,!0)},e.prototype.collectBoundariesElementModifier=function(t){if(t)return{preventOverflow:{enabled:!0,escapeWithReference:!1,boundariesElement:t,priority:["bottom"],padding:20}}},e.prototype.onOpened=function(){this.state.isOpened||(this.props.onOpened&&this.props.onOpened(),this.setState({isOpened:!0}))},e.prototype.onClosed=function(){this.state.isOpened&&(this.props.onClosed&&this.props.onClosed(),this.setState({isOpened:!1}))},e.prototype.onSelectOption=function(t){this.onClosed(),this.props.onChange&&this.props.onChange(t)},e.prototype.render=function(){var t=this.props,e=t.text,n=t.selectedOption,o=t.defaultText,c=t.className,s=t.listClassName,l=t.options,d=t.menuPlacement,u=t.boundariesElement,p=t.children,b=t.autotestId,h=t.buttonAutotestId,m=t.isDisabled,f=t.isNoScrollToSelection,g=t.positionFixed,_=e||(n?n.key:o||"Choose");return a.d.createElement(r.a,{text:_,classNames:{main:c},isOpened:this.state.isOpened,onOpened:this.onOpened,onClosed:this.onClosed,dropdownToggle:p,placement:d,modifiers:this.collectBoundariesElementModifier(u),autotestId:b,buttonAutotestId:h,isDisabled:m,positionFixed:g},a.d.createElement(i.a,{options:l,className:s,selectedOption:n,onChange:this.onSelectOption,isNoScrollToSelection:f}))},Object(o.c)([c.a],e.prototype,"onOpened",null),Object(o.c)([c.a],e.prototype,"onClosed",null),Object(o.c)([c.a],e.prototype,"onSelectOption",null),e}(a.d.PureComponent));e.a=s},475:function(t,e,n){t.exports='<rtb-modal class="rtb-modal--center rtb-modal--medium confirmation-modal ng-hide" ng-show="modal.inited">\n\t<rtb-modal-close-button ng-if="!modal.params.hideCloseButton" hm-tap="modal.cancel()"></rtb-modal-close-button>\n\t<div class="rtb-modal-container__content rtb-modal-content">\n\t\t<div class="rtb-modal-content__header rtb-modal-header">\n\t\t\t<div class="rtb-modal-header__title rtb-modal-title">\n\t\t\t\t<svg \n\t\t\t\t\t \n\t\t\t\t\tclass="rtb-modal-title__icon rtb-icon--primary"\n\t\t\t\t\tng-if="modal.params.success"\n\t\t\t\t role="none" ><use xlink:href="'+n(353)+'"></use></svg>\n\t\t\t\t<svg \n\t\t\t\t\t \n\t\t\t\t\tclass="rtb-modal-title__icon"\n\t\t\t\t\tng-class="{\'rtb-icon--danger\': modal.params.danger}"\n\t\t\t\t\tng-if="modal.params.info || modal.params.danger"\n\t\t\t\t role="none" ><use xlink:href="'+n(251)+'"></use></svg>\n\t\t\t\t<img ng-if="modal.params.customIcon" class="rtb-modal-title__icon" ng-src="{{modal.params.customIcon}}" />\n\t\t\t\t<div class="rtb-modal-title__text" ng-bind-html="modal.params.title"></div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__body rtb-modal-body" ng-bind-html="modal.params.text"></div>\n\t\t<div class="rtb-modal-content__actions rtb-modal-actions" ng-if="modal.shouldShowModalActions">\n\t\t\t<button\n\t\t\t\tng-if="!!modal.params.submitButton && !modal.params.strongMessage"\n\t\t\t\tclass="{{modal.params.submitButton.cssClass ? modal.params.submitButton.cssClass : \'rtb-btn rtb-btn--primary rtb-btn--medium\'}}"\n\t\t\t\tng-class="{\'rtb-btn--loading\': modal.submitLoading}"\n\t\t\t\tdata-autotest-id="confirmation-modal__submit-button"\n\t\t\t\thm-tap="modal.submitAction()"\n\t\t\t>\n\t\t\t\t{{modal.params.submitButton.caption}}\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tng-if="!!modal.params.cancelButton && !modal.params.strongMessage"\n\t\t\t\tclass="{{modal.params.cancelButton.cssClass ? modal.params.cancelButton.cssClass : \'rtb-btn rtb-btn--secondary rtb-btn--medium\'}}"\n\t\t\t\tng-class="{\'rtb-btn--loading\': modal.cancelLoading}"\n\t\t\t\tdata-autotest-id="confirmation-modal__cancel-button"\n\t\t\t\thm-tap="modal.cancelAction()"\n\t\t\t>\n\t\t\t\t{{modal.params.cancelButton.caption}}\n\t\t\t</button>\n\t\t\t<strong ng-if="!!modal.params.strongMessage" data-autotest-id="confirmation-modal__warning"\n\t\t\t\t>{{modal.params.strongMessage}}</strong\n\t\t\t>\n\t\t</div>\n\t</div>\n</rtb-modal>\n'},494:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n(1064);function r(t){return Object(o.c)(),t().catch((function(t){throw Object(o.a)(),t}))}},498:function(t,e,n){"use strict";var o=n(0),r=n(179),i=n(295),a=n(210),c=n(394),s=n(204),l=n(191),d=n(199),u=(n(289),function(t){function e(e){var n=t.call(this,e)||this;return n.refElement=r.d.createRef(),n.state={isOpened:!!e.isOpened},n}return Object(o.d)(e,t),e.prototype.toggleIsOpened=function(){var t=this.state.isOpened;this.props.isDisabled||(t?this.onClosed():this.onOpened())},e.prototype.onOpened=function(){this.props.onOpened&&this.props.onOpened(),this.setState({isOpened:!0})},e.prototype.onClosed=function(){this.props.onClosed&&this.props.onClosed(),this.setState({isOpened:!1})},e.prototype.clickOut=function(t){var e=t.target;this.refElement.current&&e&&!this.refElement.current.contains(e)&&this.onClosed()},e.prototype.onKeyDown=function(t){t.keyCode!==d.a.ESCAPE&&t.keyCode!==d.a.TAB||this.onClosed()},e.prototype.addOrRemoveListener=function(t){t?window.addEventListener("keydown",this.onKeyDown):window.removeEventListener("keydown",this.onKeyDown)},e.prototype.componentDidUpdate=function(t,e){e.isOpened!==this.props.isOpened&&this.setState({isOpened:!!this.props.isOpened})},e.prototype.renderButton=function(){var t=this.props,e=t.text,n=t.dropdownToggle,o=t.buttonAutotestId,i=t.isDisabled;return n?r.d.createElement(a.a.Anchor.div,{className:"rtb-select__button-container",hmTap:this.toggleIsOpened,dataAutoTestId:o},n):r.d.createElement(a.a.Anchor.button,{className:"rtb-select__button",hmTap:this.toggleIsOpened,dataAutoTestId:o,disabled:i},r.d.createElement("span",{className:"rtb-select__button-text"},e))},e.prototype.render=function(){var t=this.props,e=t.classNames,n=t.children,o=t.placement,a=void 0===o?"bottom-start":o,l=t.modifiers,d=t.dropdownPortalTarget,u=t.isDisabled,p=t.positionFixed,b=t.autotestId;return r.d.createElement("div",{className:Object(r.i)("rtb-select",null===e||void 0===e?void 0:e.main,{"rtb-select--disabled":u}),ref:this.refElement,"data-autotest-id":b},r.d.createElement(i.a,{isOpen:this.state.isOpened,timeoutInMs:70},this.renderButton(),r.d.createElement(c.a,{placement:a,className:Object(r.i)("rtb-select__popup",null===e||void 0===e?void 0:e.dropdown),modifiers:l,portalTarget:d,positionFixed:p},r.d.createElement(s.d,{onTapOut:this.clickOut},r.d.createElement("div",{className:Object(r.i)("rtb-select__options-wrapper rtb-select__options-wrapper--popper",null===e||void 0===e?void 0:e.wrapper),ref:this.addOrRemoveListener},n)))))},Object(o.c)([l.a],e.prototype,"toggleIsOpened",null),Object(o.c)([l.a],e.prototype,"clickOut",null),Object(o.c)([l.a],e.prototype,"onKeyDown",null),Object(o.c)([l.a],e.prototype,"addOrRemoveListener",null),e}(r.d.PureComponent));e.a=u},499:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,"div.rtb-select {\n  position: relative;\n  display: inline-block;\n}\n.rtb-select__popup {\n  z-index: 200;\n  transition: opacity 0.2s ease-out;\n}\n.rtb-select__popup.ng-enter,\n.rtb-select__popup.ng-enter-prepare,\n.rtb-select__popup.ng-leave.ng-leave-active {\n  opacity: 0;\n}\n.rtb-select__popup.ng-leave,\n.rtb-select__popup.ng-enter.ng-enter-active {\n  opacity: 1;\n}\n.rtb-select__alert-icon {\n  padding-right: 8px;\n  width: 14px;\n  height: 14px;\n  position: relative;\n  top: 2px;\n}\n.rtb-select__button {\n  width: 100%;\n  text-align: left;\n}\n.rtb-select__button.rtb-select__button--placeholder .rtb-select__button-text {\n  opacity: 0.4;\n}\n.rtb-select__button img {\n  margin-right: 20px;\n  border-radius: 2px;\n  border-radius: var(--radiusS);\n  width: 36px;\n  height: 36px;\n  vertical-align: middle;\n}\n.rtb-select__button .rtb-select__button-text {\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.rtb-select__button .rtb-select__button-text img {\n  width: 36px;\n  height: 36px;\n  min-width: 36px;\n  max-width: 36px;\n  min-height: 36px;\n  max-height: 36px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .rtb-select__button .rtb-select__button-text img {\n    width: auto;\n    height: auto;\n  }\n}\n.rtb-select__options-wrapper {\n  position: absolute;\n  z-index: 100;\n  min-width: calc(100% - 4px);\n  margin: 4px 0;\n  padding: 4px 4px 4px 0;\n  box-shadow: 0px\n4px\n16px\nrgba(5, 0, 56, 0.12);\n  box-shadow: var(--shadowLevel1);\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  transition-property: opacity;\n  transition-duration: 0.2s;\n  background-color: rgba(255, 255, 255, 1);\n  background-color: var(--white);\n}\n.rtb-select__options-wrapper.rtb-select__options-wrapper--popper {\n  position: relative;\n}\n.rtb-select__options-wrapper.ng-enter,\n.rtb-select__options-wrapper.ng-enter-prepare,\n.rtb-select__options-wrapper.ng-leave.ng-leave-active {\n  opacity: 0;\n}\n.rtb-select__options-wrapper.ng-leave,\n.rtb-select__options-wrapper.ng-enter.ng-enter-active {\n  opacity: 1;\n}\n.rtb-select--fit-options .rtb-select__options-wrapper {\n  width: 100%;\n}\n.rtb-select__options {\n  overflow: hidden;\n  width: 100%;\n  max-height: 33vh;\n  box-sizing: border-box;\n  margin: 0;\n  padding: 4px 4px 4px 0;\n  list-style-type: none;\n  overflow-y: auto;\n}\n.rtb-select__options.rtb-select__options--no-scroll {\n  overflow: hidden;\n}\n.rtb-select__options.rtb-select__options--virtual {\n  max-height: initial;\n}\n.rtb-select__options:not(.rtb-select__options--no-scroll),\n.rtb-select__options .rtb-select__options-scroll {\n  -webkit-overflow-scrolling: touch;\n  scrollbar-color: rgba(205, 204, 215, 1) transparent;\n  scrollbar-color: var(--indigo400) transparent;\n  scrollbar-width: thin;\n}\n.rtb-select__options:not(.rtb-select__options--no-scroll)::-webkit-scrollbar,\n.rtb-select__options .rtb-select__options-scroll::-webkit-scrollbar {\n  width: 4px;\n  height: 4px;\n}\n.rtb-select__options:not(.rtb-select__options--no-scroll)::-webkit-scrollbar-thumb,\n.rtb-select__options .rtb-select__options-scroll::-webkit-scrollbar-thumb {\n  background-color: rgba(205, 204, 215, 1);\n  background-color: var(--indigo400);\n  border: 0 solid transparent;\n  border-radius: 2px;\n  border-radius: var(--radiusS);\n}\n.rtb-select__options:not(.rtb-select__options--no-scroll)::-webkit-scrollbar-track,\n.rtb-select__options .rtb-select__options-scroll::-webkit-scrollbar-track {\n  background-color: initial;\n}\n.rtb-select--large .rtb-select__options {\n  padding-left: 20px;\n}\n.rtb-select--large .rtb-select__options .rtb-select__option {\n  height: 60px;\n  line-height: 60px;\n  font-size: 20px;\n}\n.rtb-select--medium .rtb-select__options {\n  padding-left: 16px;\n}\n.rtb-select--medium .rtb-select__options .rtb-select__option {\n  height: 32px;\n  line-height: 32px;\n  font-size: 16px;\n  padding-right: 40px;\n}\n.rtb-select--xsmall .rtb-select__options {\n  padding-left: 14px;\n}\n.rtb-select--xsmall .rtb-select__options .rtb-select__option {\n  height: 32px;\n  line-height: 32px;\n  font-size: 14px;\n}\n.rtb-select--40px .rtb-select__options {\n  padding-left: 16px;\n}\n.rtb-select--40px .rtb-select__options .rtb-select__option {\n  height: 40px;\n  line-height: 40px;\n  font-size: 16px;\n}\n.rtb-select--small .rtb-select__options {\n  padding-left: 14px;\n}\n.rtb-select--small .rtb-select__options .rtb-select__option {\n  height: 36px;\n  line-height: 36px;\n  font-size: 14px;\n}\n.rtb-select--menu .rtb-select__options {\n  min-width: 200px;\n  padding: 12px 4px 12px 16px;\n}\n.rtb-select--menu .rtb-select__options .rtb-select__option {\n  padding: 0 12px 0 8px;\n  height: 36px;\n  line-height: 36px;\n  font-size: 14px;\n}\n.rtb-select__options--non-scrollable {\n  max-height: none;\n}\n.rtb-select__option--with-text {\n  margin-top: 10px;\n  color: rgba(66, 98, 255, 1);\n  color: var(--blue700);\n}\n.rtb-select__option {\n  display: -ms-flexbox;\n  display: flex;\n  -ms-flex-align: center;\n      align-items: center;\n  width: 100%;\n  padding: 0;\n  text-align: left;\n  cursor: pointer;\n  white-space: nowrap;\n}\n.rtb-select__option:not(.rtb-select__option--disabled):not([disabled]):hover,\n.rtb-select__option:focus,\n.rtb-select__option.rtb-select__option--focused {\n  color: rgba(66, 98, 255, 1);\n  color: var(--blue700);\n}\n.rtb-select__option:not(.rtb-select__option--disabled):not([disabled]).rtb-select__option--destructive-action:hover {\n  color: rgba(199, 20, 20, 1);\n  color: var(--red800);\n}\n.rtb-select__option:not(.rtb-select__option--disabled):not([disabled]).rtb-select__option--destructive-action:active {\n  color: rgba(184, 13, 13, 1);\n  color: var(--red900);\n}\n.rtb-select__option[disabled],\n.rtb-select__option.rtb-select__option--disabled {\n  color: rgba(9, 9, 9, 1);\n  color: var(--black);\n  opacity: 40%;\n  cursor: default;\n}\n.rtb-select__option > img {\n  width: 24px;\n  height: 24px;\n  min-width: 24px;\n  max-width: 24px;\n  min-height: 24px;\n  max-height: 24px;\n  overflow: hidden;\n  margin-right: 12px;\n  border-radius: 2px;\n  border-radius: var(--radiusS);\n  vertical-align: middle;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .rtb-select__option > img {\n    width: auto;\n    height: auto;\n  }\n}\n.rtb-select__option .option-icon {\n  width: 24px;\n  height: 24px;\n  min-width: 24px;\n  max-width: 24px;\n  min-height: 24px;\n  max-height: 24px;\n  overflow: hidden;\n  margin-right: 16px;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .rtb-select__option .option-icon {\n    width: auto;\n    height: auto;\n  }\n}\n.rtb-select__option .option-checkmark {\n  width: 24px;\n  height: 24px;\n  min-width: 24px;\n  max-width: 24px;\n  min-height: 24px;\n  max-height: 24px;\n  overflow: hidden;\n  color: rgba(66, 98, 255, 1);\n  color: var(--blue700);\n  margin-left: 4px;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .rtb-select__option .option-checkmark {\n    width: auto;\n    height: auto;\n  }\n}\n.rtb-select__option--with-tag {\n  position: relative;\n}\n.rtb-select__tag {\n  position: absolute;\n  right: 8px;\n  top: 9px;\n}\n.rtb-select__divider {\n  display: block;\n  width: 100%;\n  border-bottom: 1px solid rgba(235, 235, 239, 1);\n  border-bottom: 1px solid var(--indigo200);\n  margin: 8px 0;\n}\n.rtb-select__virtual-list {\n  min-width: 150px;\n}\n.rtb-select-label {\n  display: block;\n  margin-bottom: 6px;\n  font-size: 13px;\n  color: #4a4a4a;\n}\n",""])},500:function(t,e,n){"use strict";(function(t){var o=n(330),r=n(274),i=n(199),a=n(16),c=function(){function e(n,o,r){var i=this;this.$scope=n,this.$element=o,this.$timeout=r,this.onKeyDownWrapper=this.onOptionsKeyDown.bind(this),this.closeWrapper=this.setIsOpened.bind(this,!1),this.id=e.getRTBSelectId(),this.button=this.$element.find(".rtb-select__button"),this.tabSelectable=!!this.$scope.tabSelectable,this.isWindowsMode=a.a.windows,this.$scope.$watchGroup(["ngModel","options"],(function(){if(i.$scope.options){var t=i.$scope.options.findIndex((function(t){return t.value===i.$scope.ngModel}));t<0&&void 0===i.$scope.placeholder&&(t=0),i.selectedIndex=t,i.updateState()}})),this.$window=t(window)}return e.getRTBSelectId=function(t){return"RTBSelectId_"+(t||Object(r.b)())},e.prototype.setIsOpened=function(t){this.isOpened=t,t?(this.dropdownPosition=this.getDropdownPosition(),this.windowClickController=o.subscribeOnUp(null,this.setIsOpened.bind(this,!1),".rtb-select__options","#"+this.id+" .rtb-select__button"),setTimeout(this.updateFocus.bind(this)),window.addEventListener("keydown",this.onKeyDownWrapper),window.addEventListener("scroll",this.closeWrapper)):(this.windowClickController.destroy(),window.removeEventListener("keydown",this.onKeyDownWrapper),window.removeEventListener("scroll",this.closeWrapper)),this.$scope.safeDigest()},e.prototype.onKeyDown=function(t){this.isOpened||t.keyCode!==i.a.ENTER&&t.keyCode!==i.a.DOWN_ARROW||this.setIsOpened(!0)},e.prototype.onOptionsKeyDown=function(t){switch(t.keyCode){case i.a.ESCAPE:case i.a.TAB:this.setIsOpened(!1);break;case i.a.DOWN_ARROW:this.selectedIndex<this.$scope.options.length-1&&(this.selectedIndex++,this.updateFocus());break;case i.a.UP_ARROW:this.selectedIndex>0&&(this.selectedIndex--,this.updateFocus())}},e.prototype.updateFocus=function(){var t=this;setTimeout((function(){var e=t.$element.find(".rtb-select__options div:nth-child("+(t.selectedIndex+1)+") .rtb-select__option");e.length>0&&(e[0].scrollIntoView&&e[0].scrollIntoView(),e[0].focus())}))},e.prototype.getDropdownPosition=function(){var t={top:"100%"},e=this.$element.offset().top-this.$window.scrollTop(),n=this.$element.height(),o=window.innerHeight;return o-e-n<o/3&&(t={bottom:"100%"}),t},e.prototype.getOptionHtml=function(t){return String(t.key)},e.prototype.updateState=function(){var t=this.$scope.options[this.selectedIndex];t?(this.isEmpty=!1,this.selectedOptionHtml=this.getOptionHtml(t),this.showAlertIcon=t.showAlertIcon):(void 0!==this.$scope.placeholder&&(this.selectedOptionHtml=this.$scope.placeholder),this.isEmpty=!0)},e.prototype.selectOption=function(t,e){var n=this;e.preventDefault(),e.stopPropagation(),t.disabled||(this.selectedIndex=this.$scope.options.findIndex((function(e){return e.value===t.value})),this.$scope.ngModel=t.value,this.setIsOpened(!1),this.updateState(),this.$scope.onChange&&this.$timeout((function(){return n.$scope.onChange({selectedOption:t})})))},e.$inject=["$scope","$element","$timeout"],e}();e.a=c}).call(this,n(193))},501:function(t,e,n){var o=n(502);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},502:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".rtb-select-old {\n  position: relative;\n  overflow: hidden;\n  background-color: rgba(255, 255, 255, 1);\n  background-color: var(--white);\n  box-sizing: border-box;\n  height: 40px;\n}\n.rtb-select-old select {\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  border: solid 1px rgba(205, 204, 215, 1);\n  border: solid 1px var(--indigo400);\n  width: 100%;\n  height: 100%;\n  background-image: none;\n  color: #4a4a4a;\n  font-size: 16px;\n  padding-left: 10px;\n  padding-right: 40px;\n  transition: color 0.15s cubic-bezier(0.2, 0.3, 0.25, 0.9), border 0.15s cubic-bezier(0.2, 0.3, 0.25, 0.9);\n}\n.rtb-select-old select:hover {\n  border: solid 1px rgba(66, 98, 255, 1);\n  border: solid 1px var(--blue700);\n}\n.rtb-select-old .rtb-select-old--placeholder {\n  color: #cad2d2;\n}\n.rtb-select-old .rtb-select-old--placeholder option {\n  color: #4a4a4a;\n}\n.rtb-select-old__arrow {\n  pointer-events: none;\n  position: absolute;\n  right: 15px;\n  margin-top: 18px;\n  width: 0;\n  height: 0;\n  border-style: solid;\n  border-width: 6px 6px 0 6px;\n  border-color: #4a4a4a transparent transparent transparent;\n}\n.rtb-select-old--disabled {\n  opacity: 0.2;\n}\n.rtb-select-old--disabled:hover {\n  opacity: 0.2;\n}\n.rtb-select-old--disabled select:hover {\n  border-color: rgba(205, 204, 215, 1);\n  border-color: var(--indigo400);\n}\n.ie10plus({ .rtb-select-old__arrow {\n  display: none;\n} }) .rtb-select-old--blue select {\n  border: solid 1px rgba(42, 121, 255, 0.6);\n  color: rgba(66, 98, 255, 1);\n  color: var(--blue700);\n  font-size: 13px;\n}\n.ie10plus({ .rtb-select-old__arrow {\n  display: none;\n} }) .rtb-select-old--blue select:hover {\n  border: solid 1px rgba(66, 98, 255, 1);\n  border: solid 1px var(--blue700);\n}\n.ie10plus({ .rtb-select-old__arrow {\n  display: none;\n} }) .rtb-select-old--blue .rtb-select-old__arrow {\n  border-color: rgba(66, 98, 255, 1) transparent transparent transparent;\n  border-color: var(--blue700) transparent transparent transparent;\n}\n.rtb-select-old--grey-small {\n  height: 24px;\n}\n.rtb-select-old--grey-small .rtb-select-old__arrow {\n  right: 10px;\n  margin-top: 10px;\n  border-width: 5px 5px 0 5px;\n}\n.rtb-select-old--grey-small select {\n  padding-right: 28px;\n  font-size: 13px;\n}\n.rtb-select-old--grey-small select:hover {\n  border: solid 1px rgba(0, 0, 0, 0.4);\n}\n.rtb-select-old--right-direction {\n  direction: rtl;\n}\n",""])},503:function(t,e,n){t.exports='<div\n\tclass="rtb-select"\n\tng-attr-id="{{ctrl.id}}"\n\tng-attr-is-open="{{ctrl.isOpened}}"\n\tng-attr-tabindex="{{ctrl.tabSelectable && \'0\' || \'\' }}"\n\tng-attr-role="{{ctrl.isWindowsMode && \'application\' || \'\' }}"\n\tng-attr-aria-label="{{ctrl.$scope.placeholder}}"\n\tng-keydown="ctrl.onKeyDown($event)"\n>\n\t<button\n\t\tclass="rtb-select__button"\n\t\tng-class="{\'rtb-select__button--placeholder\': ctrl.isEmpty}"\n\t\thm-tap="ctrl.setIsOpened(!ctrl.isOpened)"\n\t\tdata-autotest-id="{{autotestButtonId}}"\n\t\tng-attr-is-active="{{ctrl.isOpened}}"\n\t\ttabindex="-1"\n\t>\n\t\t<span class="rtb-select__button-text" ng-if="!ctrl.showAlertIcon" ng-bind-html="ctrl.selectedOptionHtml"></span>\n\t\t<span class="rtb-select__button-text" ng-if="ctrl.showAlertIcon">\n\t\t\t<svg  class="rtb-select__alert-icon" ng-   role="none" ><use xlink:href="'+n(332)+'"></use></svg>\n\t\t\t<span>{{ctrl.selectedOptionHtml}}</span>\n\t\t</span>\n\t</button>\n\t<div\n\t\tclass="rtb-select__options-wrapper use-ng-animate"\n\t\tng-style="ctrl.dropdownPosition"\n\t\tng-if="ctrl.isOpened"\n\t\tno-custom-scroll\n\t>\n\t\t<div class="rtb-select__options" no-prevent-default="true">\n\t\t\t<div ng-repeat="option in options">\n\t\t\t\t<button\n\t\t\t\t\tclass="rtb-select__option"\n\t\t\t\t\tng-bind-html="ctrl.getOptionHtml(option)"\n\t\t\t\t\tng-hide="option.hidden"\n\t\t\t\t\thm-tap="ctrl.selectOption(option, $event)"\n\t\t\t\t\tdata-autotest-id="{{option.dataAutotestId}}"\n\t\t\t\t\tng-disabled="option.disabled"\n\t\t\t\t></button>\n\t\t\t\t<div class="rtb-select__divider" ng-if="option.divider"></div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'},510:function(t,e,n){var o=n(511);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},511:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".rtb-material-spinner {\n  position: relative;\n  margin: 0 auto;\n  width: 40px;\n}\n.rtb-material-spinner:before {\n  content: '';\n  display: block;\n  padding-top: 100%;\n}\n.rtb-material-spinner-circular {\n  animation: rotate 2s linear infinite;\n  height: 100%;\n  transform-origin: center center;\n  width: 100%;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  margin: auto;\n}\n.rtb-material-spinner-path {\n  stroke-dasharray: 1, 200;\n  stroke-dashoffset: 0;\n  animation: dash 1.5s ease-in-out infinite;\n  stroke-linecap: round;\n  stroke: rgba(66, 98, 255, 1);\n  stroke: var(--blue700);\n}\n.rtb-material-spinner--white .rtb-material-spinner-path {\n  stroke: rgba(255, 255, 255, 1);\n  stroke: var(--white);\n  stroke-width: 4;\n}\n@keyframes rotate {\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes dash {\n  0% {\n    stroke-dasharray: 1, 200;\n    stroke-dashoffset: 0;\n  }\n  50% {\n    stroke-dasharray: 89, 200;\n    stroke-dashoffset: -35px;\n  }\n  100% {\n    stroke-dasharray: 89, 200;\n    stroke-dashoffset: -124px;\n  }\n}\n",""])},512:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".rtb-toggle {\n  position: relative;\n  display: inline-block;\n  cursor: pointer;\n  min-width: 30px;\n  height: 20px;\n}\n.rtb-toggle input[type='checkbox'] + .rtb-toggle__indicator {\n  width: 36px;\n  height: 20px;\n}\n.rtb-toggle input[type='checkbox'] + .rtb-toggle__indicator::after {\n  width: 16px;\n  height: 16px;\n}\n.rtb-toggle .rtb-toggle__text {\n  font-size: 16px;\n}\n.rtb-toggle input[type='checkbox']:checked + .rtb-toggle__indicator::after {\n  transform: translateX(16px);\n}\n.rtb-toggle .rtb-toggle__text {\n  margin-left: 14px;\n  line-height: 20px;\n}\n.rtb-toggle input[type='checkbox'] {\n  position: absolute;\n  top: 2px;\n  left: 1px;\n  z-index: -1;\n  opacity: 0;\n}\n.rtb-toggle input[type='checkbox'] + .rtb-toggle__indicator {\n  position: relative;\n  display: inline-block;\n  vertical-align: top;\n  border-radius: 10px;\n  background-color: rgba(205, 204, 215, 1);\n  background-color: var(--indigo400);\n}\n.rtb-toggle input[type='checkbox'] + .rtb-toggle__indicator::after {\n  content: '';\n  position: absolute;\n  display: block;\n  margin: 2px;\n  border-radius: 125px;\n  border-radius: var(--radiusCircle);\n  background: rgba(255, 255, 255, 1);\n  background: var(--white);\n}\n.rtb-toggle input[type='checkbox']:checked + .rtb-toggle__indicator {\n  background-color: rgba(66, 98, 255, 1);\n  background-color: var(--blue700);\n}\n.rtb-toggle .rtb-toggle__text {\n  vertical-align: top;\n}\n.rtb-toggle.rtb-toggle--large {\n  height: 20px;\n}\n.rtb-toggle.rtb-toggle--large input[type='checkbox'] + .rtb-toggle__indicator {\n  width: 36px;\n  height: 20px;\n}\n.rtb-toggle.rtb-toggle--large input[type='checkbox'] + .rtb-toggle__indicator::after {\n  width: 16px;\n  height: 16px;\n}\n.rtb-toggle.rtb-toggle--large .rtb-toggle__text {\n  font-size: 16px;\n}\n.rtb-toggle.rtb-toggle--large input[type='checkbox']:checked + .rtb-toggle__indicator::after {\n  transform: translateX(16px);\n}\n.rtb-toggle.rtb-toggle--large .rtb-toggle__text {\n  margin-left: 14px;\n  line-height: 20px;\n}\n.rtb-toggle.rtb-toggle--medium {\n  height: 16px;\n}\n.rtb-toggle.rtb-toggle--medium input[type='checkbox'] + .rtb-toggle__indicator {\n  width: 28px;\n  height: 16px;\n}\n.rtb-toggle.rtb-toggle--medium input[type='checkbox'] + .rtb-toggle__indicator::after {\n  width: 12px;\n  height: 12px;\n}\n.rtb-toggle.rtb-toggle--medium .rtb-toggle__text {\n  font-size: 14px;\n}\n.rtb-toggle.rtb-toggle--medium input[type='checkbox']:checked + .rtb-toggle__indicator::after {\n  transform: translateX(12px);\n}\n.rtb-toggle.rtb-toggle--medium .rtb-toggle__text {\n  margin-left: 10px;\n  line-height: 16px;\n}\n.rtb-toggle.rtb-toggle--small {\n  height: 16px;\n}\n.rtb-toggle.rtb-toggle--small input[type='checkbox'] + .rtb-toggle__indicator {\n  width: 28px;\n  height: 16px;\n}\n.rtb-toggle.rtb-toggle--small input[type='checkbox'] + .rtb-toggle__indicator::after {\n  width: 12px;\n  height: 12px;\n}\n.rtb-toggle.rtb-toggle--small .rtb-toggle__text {\n  font-size: 12px;\n}\n.rtb-toggle.rtb-toggle--small input[type='checkbox']:checked + .rtb-toggle__indicator::after {\n  transform: translateX(12px);\n}\n.rtb-toggle.rtb-toggle--small .rtb-toggle__text {\n  margin-left: 8px;\n  line-height: 16px;\n}\n.rtb-toggle.rtb-toggle--animated input[type='checkbox'] + .rtb-toggle__indicator {\n  transition-delay: 0.05s;\n  transition: background-color 0.3s cubic-bezier(0.35, 0, 0.25, 1);\n}\n.rtb-toggle.rtb-toggle--animated input[type='checkbox'] + .rtb-toggle__indicator::after {\n  transition-delay: 0.05s;\n  transition: transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);\n}\n.rtb-toggle:not(.rtb-toggle--disabled):hover input[type='checkbox'] + .rtb-toggle__indicator {\n  background-color: rgba(155, 153, 175, 1);\n  background-color: var(--indigo500);\n}\n.rtb-toggle:not(.rtb-toggle--disabled):hover input[type='checkbox']:checked + .rtb-toggle__indicator {\n  background-color: rgba(69, 91, 237, 1);\n  background-color: var(--blue800);\n}\n.rtb-toggle.rtb-toggle--disabled {\n  opacity: 0.2;\n}\n.rtb-toggle input[type='checkbox']:focus + .rtb-toggle__indicator {\n  background-color: rgba(155, 153, 175, 1);\n  background-color: var(--indigo500);\n}\n.rtb-toggle input[type='checkbox']:checked:focus + .rtb-toggle__indicator {\n  background-color: rgba(69, 91, 237, 1);\n  background-color: var(--blue800);\n}\n",""])},535:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=Object.prototype.hasOwnProperty;function r(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function i(t,e){if(r(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!o.call(e,n[a])||!r(t[n[a]],e[n[a]]))return!1;return!0}},541:function(t,e,n){var o=n(542);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},542:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".rtb-material-spinner {\n  position: relative;\n  margin: 0 auto;\n  width: 40px;\n}\n.rtb-material-spinner:before {\n  content: '';\n  display: block;\n  padding-top: 100%;\n}\n.rtb-material-spinner-circular {\n  animation: rotate 2s linear infinite;\n  height: 100%;\n  transform-origin: center center;\n  width: 100%;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  margin: auto;\n}\n.rtb-material-spinner-path {\n  stroke-dasharray: 1, 200;\n  stroke-dashoffset: 0;\n  animation: dash 1.5s ease-in-out infinite;\n  stroke-linecap: round;\n  stroke: rgba(66, 98, 255, 1);\n  stroke: var(--blue700);\n}\n.rtb-material-spinner--white .rtb-material-spinner-path {\n  stroke: rgba(255, 255, 255, 1);\n  stroke: var(--white);\n  stroke-width: 4;\n}\n@keyframes rotate {\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes dash {\n  0% {\n    stroke-dasharray: 1, 200;\n    stroke-dashoffset: 0;\n  }\n  50% {\n    stroke-dasharray: 89, 200;\n    stroke-dashoffset: -35px;\n  }\n  100% {\n    stroke-dasharray: 89, 200;\n    stroke-dashoffset: -124px;\n  }\n}\n",""])},543:function(t,e,n){t.exports='<label class="rtb-checkbox" ng-class="{\'rtb-checkbox--disabled\': off === true}">\n\t<input\n\t\ttype="checkbox"\n\t\tname="{{::name}}"\n\t\tng-model="checked"\n\t\tng-model-options="modelOptions"\n\t\tng-change="onChange({$value: checked})"\n\t\tng-disabled="off"\n\t/>\n\t<span class="rtb-checkbox__check">\n\t\t<svg  class="rtb-checkbox__icon rtb-checkbox__icon--medium"    role="none" ><use xlink:href="'+n(299)+'"></use></svg>\n\t\t<svg  class="rtb-checkbox__icon rtb-checkbox__icon--large"    role="none" ><use xlink:href="'+n(304)+'"></use></svg>\n\t</span>\n\t<span class="rtb-checkbox__label" ng-if="label">\n\t\t<span ng-bind-html="label"></span>\n\t\t<span class="rtb-checkbox__label-extends">\n\t\t\t<ng-transclude></ng-transclude>\n\t\t</span>\n\t</span>\n</label>\n'},557:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n(16),r=function(){function t(t,e){this.changePositionTolerance=10,this.touchStartPosition={x:0,y:0},this.touchStartOccured=!1,this.touchStartHandlerWrapper=null,this.touchEndHandlerWrapper=null,this.enterAndSpaceHandlerWrapper=null,this.domElement=t,this.fn=e,this.bind()}return t.prototype.bind=function(){o.a.canUseSyntheticMouseEvents?(this.domElement.addEventListener("click",this.fn),this.enterAndSpaceHandlerWrapper=this.enterAndSpaceHandler.bind(this),this.domElement.addEventListener("keypress",this.enterAndSpaceHandlerWrapper)):(this.touchStartOccured=!1,this.touchStartHandlerWrapper=this.touchStartHandler.bind(this),this.touchEndHandlerWrapper=this.touchEndHandler.bind(this),this.domElement.addEventListener("touchstart",this.touchStartHandlerWrapper),this.domElement.addEventListener("touchend",this.touchEndHandlerWrapper))},t.prototype.touchStartHandler=function(t){if(this.domElement==t.currentTarget){this.touchStartOccured=!0;var e=t.touches[0];this.touchStartPosition.x=e.clientX,this.touchStartPosition.y=e.clientY}},t.prototype.touchEndHandler=function(t){if(this.touchStartOccured&&this.domElement==t.currentTarget){var e=t.changedTouches[0],n=Math.abs(this.touchStartPosition.x-e.clientX),o=Math.abs(this.touchStartPosition.y-e.clientY);n<this.changePositionTolerance&&o<this.changePositionTolerance&&this.fn(t)}this.touchStartOccured=!1},t.prototype.enterAndSpaceHandler=function(t){t.target instanceof HTMLButtonElement||["Enter"," ","Spacebar"].includes(t.key)&&this.fn(t)},t.prototype.destroy=function(){o.a.canUseSyntheticMouseEvents?(this.domElement.removeEventListener("click",this.fn),this.domElement.removeEventListener("keypress",this.enterAndSpaceHandlerWrapper),this.enterAndSpaceHandlerWrapper=null):this.touchStartHandlerWrapper&&this.touchEndHandlerWrapper&&(this.domElement.removeEventListener("touchstart",this.touchStartHandlerWrapper),this.domElement.removeEventListener("touchend",this.touchEndHandlerWrapper),this.touchStartHandlerWrapper=null,this.touchEndHandlerWrapper=null),this.domElement=null,this.fn=null},t}()},558:function(t,e,n){"use strict";var o=n(494);n.d(e,"a",(function(){return o.a}))},564:function(t,e,n){"use strict";var o=n(0),r=n(179),i=n(191),a=n(370),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.onSelect=function(){this.props.onSelect&&this.props.onSelect(this.props.option)},e.prototype.renderDivider=function(){return this.props.option.divider?r.d.createElement("div",{className:"rtb-select__divider"}):null},e.prototype.render=function(){var t=this.props,e=t.option,o=t.isFocused,i=t.disabled,c=t.dataAutoTestId,s=t.style;if(e.hidden)return null;var l=e.icon?r.d.createElement("svg",{className:"option-icon",role:"presentation"},r.d.createElement("use",{xlinkHref:e.icon})):null,d=e.checked?r.d.createElement("svg",{className:"option-checkmark",alt:"checked",role:"img","aria-labelledby":"svgtitle-5"},r.d.createElement("title",{id:"svgtitle-5"},"checked"),r.d.createElement("use",{xlinkHref:n(304)})):null;return r.d.createElement("div",{"data-auto-test-id":c,style:s},e.text&&r.d.createElement("span",null,e.text),r.d.createElement(r.f.NoDom,{hmTap:this.onSelect},r.d.createElement("button",{className:Object(r.i)("rtb-select__option",{"rtb-select__option--focused":!!o},{"rtb-select__option--disabled":i},{"rtb-select__option--with-text":e.text},{"rtb-select__option--with-tag":e.tagText},{"rtb-select__option--destructive-action":e.isDestructive},e.className),key:e.value,ref:this.props.refElement,disabled:e.disabled,"data-autotest-id":e.dataAutotestId},l,e.element||e.key,d,e.tagText&&r.d.createElement(a.a,{className:"rtb-select__tag",type:e.tagType},e.tagText))),this.renderDivider())},Object(o.c)([i.a],e.prototype,"onSelect",null),e}(r.d.PureComponent);e.a=c},5788:function(t,e){t.exports='<rtb-modal class="rtb-modal--center rtb-modal--small rename-board-modal">\n\t<rtb-modal-close-button hm-tap="modal.cancel()"></rtb-modal-close-button>\n\t<div class="rtb-modal-container__content rtb-modal-content">\n\t\t<div class="rtb-modal-content__header rtb-modal-header">\n\t\t\t<div class="rtb-modal-header__title rtb-modal-title">\n\t\t\t\t{{modal.params.caption}}\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__body rtb-modal-body">\n\t\t\t<div class="rtb-modal-body__row" ng-show="modal.text">{{modal.text}}</div>\n\t\t\t<div class="rtb-modal-body__row">\n\t\t\t\t<div class="rtb-input-field rtb-input-field--small">\n\t\t\t\t\t<label>{{modal.params.label}}</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\tclass="rtb-input rtb-input--primary rtb-input--fluid focus-target"\n\t\t\t\t\t\tplaceholder="{{modal.params.placeholder}}"\n\t\t\t\t\t\tdata-autotest-id="rename-board-modal__name-input"\n\t\t\t\t\t\tng-model="modal.params.inputValue"\n\t\t\t\t\t\tmaxlength="60"\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="rtb-modal__row" ng-show="modal.errorVisible">\n\t\t\t\t<p class="rtb-modal-error" ng-bind="modal.errorMessage"></p>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__actions rtb-modal-actions">\n\t\t\t<button\n\t\t\t\tclass="rtb-btn rtb-btn--primary rtb-btn--medium"\n\t\t\t\tng-class="{\'rtb-btn--disabled\': modal.params.inputValue.length == 0}"\n\t\t\t\thm-tap="modal.submit()"\n\t\t\t\tdata-autotest-id="rename-board-modal__submit-button"\n\t\t\t\tng-bind="modal.params.submitButtonCaption"\n\t\t\t></button>\n\t\t\t<button\n\t\t\t\tclass="rtb-btn rtb-btn--secondary rtb-btn--medium"\n\t\t\t\thm-tap="modal.cancel()"\n\t\t\t\tdata-autotest-id="rename-board-modal__cancel-button"\n\t\t\t\tng-bind="modal.params.cancelButtonCaption"\n\t\t\t></button>\n\t\t</div>\n\t</div>\n</rtb-modal>\n'},5789:function(t,e,n){t.exports='<rtb-modal class="rtb-modal--center rtb-modal--medium board-cannot-be-create-modal">\n\t<rtb-modal-close-button hm-tap="modal.cancel()"></rtb-modal-close-button>\n\t<div class="rtb-modal-container__content rtb-modal-content">\n\t\t<div class="rtb-modal-content__header rtb-modal-header">\n\t\t\t<div class="rtb-modal-header__title rtb-modal-title">\n\t\t\t\t<svg    class="rtb-modal-title__icon rtb-icon--primary"  role="none" ><use xlink:href="'+n(251)+'"></use></svg>\n\t\t\t\t<div class="rtb-modal-title__text">Board cannot be created</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__body rtb-modal-body">\n\t\t\t<div clickable-text="modal.onTextClicked($clickedElementName)" ng-bind-html="modal.text"></div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__actions rtb-modal-actions" ng-if="!!modal.params.submitButtonCaption">\n\t\t\t<button\n\t\t\t\tclass="rtb-btn rtb-btn--primary rtb-btn--medium"\n\t\t\t\tng-bind="modal.params.submitButtonCaption"\n\t\t\t\thm-tap="modal.submit()"\n\t\t\t></button>\n\t\t\t<button class="rtb-btn rtb-btn--secondary rtb-btn--medium" hm-tap="modal.cancel()">Cancel</button>\n\t\t</div>\n\t</div>\n</rtb-modal>\n'},5790:function(t,e){t.exports='<rtb-modal class="rtb-modal--center rtb-modal--small duplicate-modal">\n\t<rtb-modal-close-button hm-tap="modal.cancel()"></rtb-modal-close-button>\n\t<div class="rtb-modal-container__content rtb-modal-content">\n\t\t<div class="rtb-modal-content__header rtb-modal-header">\n\t\t\t<div class="rtb-modal-header__title rtb-modal-title">\n\t\t\t\t{{modal.caption}}\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__body rtb-modal-body">\n\t\t\t<div class="rtb-modal-body__row">\n\t\t\t\t<div class="rtb-input-field rtb-input-field--small">\n\t\t\t\t\t<label>Enter a new board name:</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\tclass="rtb-input rtb-input--primary rtb-input--fluid focus-target"\n\t\t\t\t\t\tplaceholder="Type here"\n\t\t\t\t\t\tng-model="modal.params.title"\n\t\t\t\t\t\tdata-autotest-id="duplicate-modal__name-input"\n\t\t\t\t\t\tng-disabled="modal.waiting"\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="rtb-modal-body__row" ng-show="modal.accountSelectVisible">\n\t\t\t\t<div class="rtb-input-field rtb-input-field--small">\n\t\t\t\t\t<label>Choose a space:</label>\n\t\t\t\t\t<rtb-select\n\t\t\t\t\t\tng-show="modal.accountSelectVisible"\n\t\t\t\t\t\tng-model="modal.selectedAccountId"\n\t\t\t\t\t\tclass="rtb-select--secondary-bordered rtb-select--medium rtb-select--fluid"\n\t\t\t\t\t\tdata-autotest-id="duplicate-modal__space-select"\n\t\t\t\t\t\toptions="modal.getAccountsOptions()"\n\t\t\t\t\t></rtb-select>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="rtb-modal-body__row" ng-show="modal.projectCheckboxVisible">\n\t\t\t\t<rtb-checkbox\n\t\t\t\t\tchecked="modal.copyInTheSameProject"\n\t\t\t\t\tdata-autotest-id="duplicate-modal__create-copy-checkbox"\n\t\t\t\t\tlabel="\'Create copy in the same project\'"\n\t\t\t\t></rtb-checkbox>\n\t\t\t</div>\n\t\t\t<div class="rtb-modal-body__row" ng-show="modal.isCheckboxVisible()">\n\t\t\t\t<rtb-checkbox\n\t\t\t\t\tchecked="modal.copyPermissions"\n\t\t\t\t\tdata-autotest-id="duplicate-modal__share-checkbox"\n\t\t\t\t\tlabel="\'Share it with the same people\'"\n\t\t\t\t></rtb-checkbox>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__actions rtb-modal-actions">\n\t\t\t<button\n\t\t\t\tclass="rtb-btn rtb-btn--primary rtb-btn--medium"\n\t\t\t\tng-class="{\'rtb-btn--disabled\': modal.params.title.length == 0}"\n\t\t\t\thm-tap="modal.submit()"\n\t\t\t\tdata-autotest-id="duplicate-modal__copy-button"\n\t\t\t\tng-hide="modal.waiting"\n\t\t\t>\n\t\t\t\tCopy\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tclass="rtb-btn rtb-btn--secondary rtb-btn--medium"\n\t\t\t\thm-tap="modal.cancel()"\n\t\t\t\tdata-autotest-id="duplicate-modal__cancel-button"\n\t\t\t\tng-hide="modal.waiting"\n\t\t\t>\n\t\t\t\tCancel\n\t\t\t</button>\n\t\t\t<div ng-show="modal.waiting">Waiting...</div>\n\t\t</div>\n\t</div>\n</rtb-modal>\n'},5791:function(t,e,n){var o=n(5792);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},5792:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".trash-modal-icon {\n  width: 150px;\n  height: 120px;\n  margin-bottom: 28px;\n}\n",""])},5793:function(t,e,n){t.exports='<rtb-modal class="rtb-modal--center rtb-modal--medium confirmation-modal ng-hide" ng-show="modal.inited">\n\t<div class="rtb-modal-container__content rtb-modal-content">\n\t\t<svg  class="trash-modal-icon"   alt=""  role="none" ><use xlink:href="'+n(5794)+'"></use></svg>\n\t\t<div class="rtb-modal-content__header rtb-modal-header">\n\t\t\t<div class="rtb-modal-header__title rtb-modal-title">\n\t\t\t\t<div class="rtb-modal-title__text" ng-bind-html="modal.params.title"></div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__body rtb-modal-body" ng-bind-html="modal.params.text"></div>\n\t\t<div class="rtb-modal-content__actions rtb-modal-actions">\n\t\t\t<button\n\t\t\t\tclass="{{modal.params.submitButton.cssClass ? modal.params.submitButton.cssClass : \'rtb-btn rtb-btn--primary rtb-btn--medium\'}}"\n\t\t\t\tng-class="{\'rtb-btn--loading\': modal.submitLoading}"\n\t\t\t\tdata-autotest-id="confirmation-modal__submit-button"\n\t\t\t\thm-tap="modal.submitAction()"\n\t\t\t>\n\t\t\t\t{{modal.params.submitButton.caption}}\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tclass="{{modal.params.cancelButton.cssClass ? modal.params.cancelButton.cssClass : \'rtb-btn rtb-btn--secondary rtb-btn--medium\'}}"\n\t\t\t\tng-class="{\'rtb-btn--loading\': modal.cancelLoading}"\n\t\t\t\tdata-autotest-id="confirmation-modal__cancel-button"\n\t\t\t\thm-tap="modal.cancelAction()"\n\t\t\t>\n\t\t\t\t{{modal.params.cancelButton.caption}}\n\t\t\t</button>\n\t\t</div>\n\t</div>\n</rtb-modal>\n'},5794:function(t,e){t.exports="#deleteBoardConfirmation__trash-modal-icon"},5795:function(t,e,n){var o=n(5796);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},5796:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".move-board-result-modal .modal-content__emails {\n  opacity: 0;\n  max-height: 0;\n}\n.move-board-result-modal .modal-content__emails .brick-blue {\n  display: none;\n}\n.move-board-result-modal .modal-content__emails.modal-content__emails--opened {\n  margin-top: 16px;\n  opacity: 1;\n  max-height: 350px;\n  transition: opacity 0.25s, max-height 0.25s ease-in;\n}\n.move-board-result-modal .modal-content__emails.modal-content__emails--opened .brick-blue {\n  display: -ms-inline-flexbox;\n  display: inline-flex;\n}\n.move-board-result-modal .brick-blue {\n  box-sizing: border-box;\n  display: -ms-inline-flexbox;\n  display: inline-flex;\n  margin-bottom: 3px;\n  height: 24px;\n  line-height: 24px;\n  background-color: rgba(102, 152, 255, 0.2);\n  border-radius: 12px;\n  font-size: 14px;\n  margin: 0 4px 4px 0;\n  padding: 0 10px;\n}\n",""])},5797:function(t,e,n){t.exports='<rtb-modal class="rtb-modal rtb-modal--center rtb-modal--medium move-board-result-modal">\n\t<rtb-modal-close-button hm-tap="modal.cancel()"></rtb-modal-close-button>\n\t<div class="rtb-modal-container">\n\t\t<div class="rtb-modal-container__content rtb-modal-content">\n\t\t\t<div class="rtb-modal-content__header rtb-modal-header">\n\t\t\t\t<div class="rtb-modal-header__title rtb-modal-title">\n\t\t\t\t\t<svg  class="rtb-modal-title__icon"    role="none" ><use xlink:href="'+n(251)+'"></use></svg>\n\t\t\t\t\t<div class="rtb-modal-title__text">\n\t\t\t\t\t\t{{modal.emails.size}} {{modal.emails.size === 1 ? \'user\' : \'users\'}} will be denied access\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div class="rtb-modal-content__body rtb-modal-body">\n\t\t\t\tSome users in <b ng-bind="modal.boardInfo.title"></b> board will be denied access to the board because they do\n\t\t\t\tnot belong to <b ng-bind="modal.account.title"></b> team space. To allow access for these users, please add them\n\t\t\t\tto the <b ng-bind="modal.account.title"></b> team and re-send invites to this board. <br />\n\n\t\t\t\t<div\n\t\t\t\t\tclass="rtb-link rtb-link--primary"\n\t\t\t\t\thm-tap="modal.viewEmails()"\n\t\t\t\t\tng-show="!modal.emailsIsVisible && modal.emails.size < 11"\n\t\t\t\t>\n\t\t\t\t\tView user emails\n\t\t\t\t</div>\n\t\t\t\t<div class="rtb-link rtb-link--primary" hm-tap="modal.copyEmails()" ng-show="modal.emailsIsVisible">\n\t\t\t\t\tCopy all emails\n\t\t\t\t</div>\n\t\t\t\t<a\n\t\t\t\t\tclass="rtb-link rtb-link--primary"\n\t\t\t\t\tng-href="{{modal.downloadUrl}}"\n\t\t\t\t\ttype="text/plain"\n\t\t\t\t\ttarget="_blank"\n\t\t\t\t\tng-show="modal.emails.size > 10"\n\t\t\t\t\t>Download list of emails</a\n\t\t\t\t>\n\n\t\t\t\t<div class="modal-content__emails" ng-class="{\'modal-content__emails--opened\': modal.emailsIsVisible}">\n\t\t\t\t\t<div class="brick-blue" ng-repeat="email in modal.emails.data track by $index">{{email}}</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div class="rtb-modal-content__actions rtb-modal-actions">\n\t\t\t\t<button\n\t\t\t\t\tclass="rtb-btn rtb-btn--primary rtb-btn--medium"\n\t\t\t\t\tng-class="{\'rtb-btn--disabled\': modal.params.title.length == 0}"\n\t\t\t\t\thm-tap="modal.submit()"\n\t\t\t\t\tng-hide="modal.waiting"\n\t\t\t\t>\n\t\t\t\t\tMove anyway\n\t\t\t\t</button>\n\t\t\t\t<button class="rtb-btn rtb-btn--secondary rtb-btn--medium" hm-tap="modal.cancel()" ng-hide="modal.waiting">\n\t\t\t\t\tCancel\n\t\t\t\t</button>\n\t\t\t\t<div ng-show="modal.waiting">Waiting...</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</rtb-modal>\n'},5798:function(t,e){t.exports='<rtb-modal class="rtb-modal--center rtb-modal--small move-board-modal">\n\t<rtb-modal-close-button hm-tap="modal.cancel()"></rtb-modal-close-button>\n\t<div class="rtb-modal-container__content rtb-modal-content">\n\t\t<div class="rtb-modal-content__header rtb-modal-header">\n\t\t\t<div class="rtb-modal-header__title rtb-modal-title">\n\t\t\t\tMove board to account\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__body rtb-modal-body">\n\t\t\t<div class="rtb-modal-body__row">\n\t\t\t\t<div class="rtb-input-field rtb-input-field--small">\n\t\t\t\t\t<label>Choose an account:</label>\n\t\t\t\t\t<rtb-select\n\t\t\t\t\t\tng-model="modal.selectedAccountId"\n\t\t\t\t\t\tclass="rtb-select--secondary-bordered rtb-select--small rtb-select--fluid"\n\t\t\t\t\t\toptions="modal.accountsOptions"\n\t\t\t\t\t\tdata-autotest-id="move-board-modal__teams-select"\n\t\t\t\t\t>\n\t\t\t\t\t</rtb-select>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__actions rtb-modal-actions">\n\t\t\t<button\n\t\t\t\tclass="rtb-btn rtb-btn--primary rtb-btn--medium"\n\t\t\t\tng-class="{\'rtb-btn--disabled\': modal.params.title.length == 0}"\n\t\t\t\thm-tap="modal.submit()"\n\t\t\t\tdata-autotest-id="move-board-modal__submit-button"\n\t\t\t\tng-hide="modal.waiting"\n\t\t\t>\n\t\t\t\tMove\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tclass="rtb-btn rtb-btn--secondary rtb-btn--medium"\n\t\t\t\thm-tap="modal.cancel()"\n\t\t\t\tdata-autotest-id="move-board-modal__cancel-button"\n\t\t\t\tng-hide="modal.waiting"\n\t\t\t>\n\t\t\t\tCancel\n\t\t\t</button>\n\t\t\t<div ng-show="modal.waiting">Waiting...</div>\n\t\t</div>\n\t</div>\n</rtb-modal>\n'},5799:function(t,e,n){"use strict";(function(t){var o=n(0),r=n(184),i=n(206),a=n(186),c=n(187),s=n(53),l=n(195),d=n(189),u=n(884),p=n(263),b=n(952),h=n(183),m=n(27),f=n(403),g=n(209),_=n(666),v=n(627),E=n(326),O=n(43),x=n(232),A=n(252),y=n(280),T=n(1210),S=n(199),I=n(42),w=n(2),C=n(1184),R=n(228),N=n(277),k=n(292),D=n(750),M=n(202),j=n(1748),P=n(660),L=n(290),B=n(247),U=n.n(B),F=n(3),W=n(365),z=a.b(),H=c.b(),G=u.b(),V=function(t,e){return-1!=e.indexOf(t)},K=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.canEditInfo=!1,n.avatarEnabled=!0,n.updateDescriptionHeight=function(){Object(O.e)(n.descriptionTextarea,31)},n.focusTitle=function(){var e=t(".board-info-title");e.focus(),Object(p.p)(e.get(0))},n.onDescriptionKeydown=function(t){(t.keyCode||t.which)===S.a.ENTER&&(t.shiftKey?t.stopPropagation():t.preventDefault())},n}return Object(o.d)(n,e),Object.defineProperty(n,"modalName",{get:function(){return M.a[M.a.BOARD_INFO]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"teamName",{get:function(){var t;return null===(t=this.board)||void 0===t?void 0:t.account.name},enumerable:!1,configurable:!0}),n.prototype.init=function(){var e=this;if(!this.params.board)return this.finishSpan("Board is undefined",!1),void this.closeWithoutOpeningChildWindows();this.isTemplate=!!this.params.isTemplate,this.loadSlack(this.params.board).then((function(t){return e.boardResolve(t)})).then((function(){return e.finishSpan("Success init BoardInfoMC",!0)})).catch((function(t){z().showErrorByData(t),e.closeWithoutOpeningChildWindows(),e.finishSpan("Failed in init BoardInfoMC",!1,t)}));var n=t(".board-info-description");this.descriptionTextarea=n.get(0),n.on("input",this.updateDescriptionHeight),n.on("keydown",this.onDescriptionKeydown),this.boardPreviewEnabled=!!this.params.boardPreviewEnabled&&T.a,this.isRegularUser=H().userType===R.a.REGULAR;var o=H().achievements;o.isOpened(g.b.COPY_BOARD_CONTENT_FOR_VISITOR_SEEN)||o.open(g.b.COPY_BOARD_CONTENT_FOR_VISITOR_SEEN),this.$scope.$on("$destroy",(function(){n.off("input",e.updateDescriptionHeight),n.off("keydown",e.onDescriptionKeydown)}))},n.prototype.finishSpan=function(t,e,n){this.params.parentSpan&&(n&&this.params.parentSpan.log({error:n}),this.params.parentSpan.setTag("finishReason",t),this.params.parentSpan.setTag("isResolvedCorrectly",e),this.params.parentSpan.finish())},n.prototype.boardResolve=function(t){var e=this,n=Object(w.i)().startSpan("boardResolveCb",{childOf:this.params.parentSpan}),o=t.currentUserPermission.permissions;t.description=t.description.trim(),this.canEditInfo=V(s.C.EDIT_BOARD_PARAMS,o),this.canInvite=V(s.C.EDIT_USERS,o),this.canDuplicate=V(s.C.COPY_BOARD,o),this.canDelete=V(s.C.TRASH_BOARD,o),this.canLeave=t.currentUserContext.directlyShared&&V(s.C.LEAVE_BOARD,o),this.canDuplicateAfterRegistration=!this.isRegularUser&&Object(N.q)(t),this.board=t,this.ownerName=U()(this.board.ownerName),this.oldTitle=t.title,this.oldDescription=t.description,C.a.dispatch({boardId:this.params.boardId,changedParams:{title:this.board.title}}),this.projectSettingsVisible=V(s.C.EDIT_BOARD_PARAMS,o),this.inCurrentAccountProjectsAvailable=Object(h.hasFeature)(t.account,l.b.PROJECTS),this.loaded=!0,this.$scope.$digest(),n.finish(),setTimeout((function(){e.updateDescriptionHeight(),e.focusTitle()}))},n.prototype.loadSlack=function(t){var e=this,n=Object(w.i)().startSpan("loadSlackCb",{childOf:this.params.parentSpan}),o=t.account,i=!!o&&o.features.includes(l.b.SLACK_INTEGRATION)&&o.integrations&&o.integrations.includes(s.z.SLACK);return i&&!t.template&&t.account&&r.a.accounts.selectById(t.account.id).integration.slack.getChannels().then((function(n){return e.slackResolve(t,n)})).catch((function(){e.slackAvailable=!1,e.$scope.safeApply()})),this.slackChecked=i&&t.integrations&&t.integrations.SLACK&&t.integrations.SLACK.active||!1,this.slackAvailable=i,n.finish(),Promise.resolve(t)},n.prototype.slackResolve=function(t,e){var n,o=t.integrations&&t.integrations.SLACK&&t.integrations.SLACK.channel||null,r=t.integrations&&t.integrations.SLACK&&t.integrations.SLACK.active||null,i=e.map((function(t){return{value:t.id,caption:"#"+t.name,general:t.is_general}}));o&&r&&((n=i.find((function(t){return t.value==o})))||(this.slackChecked=!1,this.toggleSlack(!0).then((function(){return z().show("Slack notifications are no longer available for this board because the Slack channel is archived")})))),n||(n=i.find((function(t){return t.general}))),this.slackChannels=i,this.slackSelected=n,this.$scope.safeApply()},n.prototype.saveTitle=function(){var t=this;if(this.board&&this.board.title!=this.oldTitle){Object(j.a)(n.modalName,this.params.openedFrom,"title"),this.board.title=this.board.title||"Untitled";var e={title:this.board.title};z().processPromise({promise:r.a.boards.selectById(this.params.boardId).set(e),waitingMessage:"Saving\u2026",successMessage:"Saved",successCallback:function(){d.renameBoard(),t.oldTitle=t.board.title,C.a.dispatch({boardId:t.params.boardId,changedParams:e}),Object(b.b)(t.board.title)}})}},n.prototype.saveDescription=function(){var t=this;if(this.board&&this.board.description!==this.oldDescription){Object(j.a)(n.modalName,this.params.openedFrom,"description");var e={description:this.board.description};z().processPromise({promise:r.a.boards.selectById(this.params.boardId).set(e),waitingMessage:"Saving\u2026",successMessage:"Saved",successCallback:function(){t.oldDescription=e.description,C.a.dispatch({boardId:t.params.boardId,changedParams:e})}})}},n.prototype.onProjectClicked=function(){var t=this;Object(j.a)(n.modalName,this.params.openedFrom,"project");var e=this.board.account;this.inCurrentAccountProjectsAvailable?Object(_.a)().then((function(n){n.showMoveBoardToProjectModal({boardId:t.params.boardId,sendNotification:!h.isPaidAccount(e),showAsSubModal:!0}).submitted.addOnce((function(e){t.board.project=e,C.a.dispatch({boardId:t.params.boardId,changedParams:{project:e}})}))})):Object(A.a)((function(){return Object(x.d)()})).then((function(t){return t.showShopWindowModal({account:e,statReason:d.FreeTeamsStat.StatFeatureList.create_project,fromLockedPlace:!0,upgradeReason:m.z.CREATE_PROJECT})}))},n.prototype.onBeforeClose=function(){this.saveTitle(),this.saveDescription()},n.prototype.getProjectName=function(){return this.board?this.board.project?this.board.project.title:"no project":""},n.prototype.toggleSlack=function(t){return Object(o.b)(this,void 0,void 0,(function(){var e,n,i,a=this;return Object(o.e)(this,(function(o){switch(o.label){case 0:return[4,H().getAccountAsync(this.board.account.id)];case 1:return e=o.sent(),n=r.a.boards.selectById(this.params.boardId).integration.slack,i=t?n.deactivate():n.activate(),t&&e&&e.expired?this.addToSlackExpired(e):(t?i.then((function(){return z().show("Comments from this board will no longer be available in \u200bSlack")})):i.then((function(){G().sendEvent("Connect_board_with_slack_channel"),z().show("Comments from this board will be sent to "+a.slackSelected.caption)})),i.catch((function(t){z().showErrorByData(t),a.slackAvailable=!1,a.$scope.safeApply()}))),[2,i]}}))}))},n.prototype.addToSlackExpired=function(t){var e=this,n={admin:"",teamName:t.title};t.currentUserPermission&&t.currentUserPermission.role!==l.g.ADMIN?r.a.accounts.selectById(t.id).userConnections({roles:[l.g.ADMIN]}).get({fields:F.d.createFieldStr(W.a),limit:1}).then((function(t){var e=t.data;return e[0]&&e[0].user.email})).then((function(o){n.admin=o||"",e.activateSlackExpiredModal(n,t)})):this.activateSlackExpiredModal(n,t)},n.prototype.activateSlackExpiredModal=function(t,e){var n=this;Object(A.a)((function(){return Object(x.d)()})).then((function(o){var r=o.showSlackTeamExpiredModal(t);r.canceled.addOnce((function(){return n.reopen()})),r.submitted.addOnce((function(){var t=Object(f.c)(e,d.FreeTeamsStat.StatFeatureList.slack_integration);Object(I.a)().sendApiEvent("click_upgrade",t)})),r.submitted.addOnce((function(){o.resubscribeTeam(e,e.limits.usersPerAccount)}))}))},n.prototype.reopen=function(){var t=this;setTimeout((function(){return t.reOpen()}))},n.prototype.setSlackChannel=function(t){this.slackSelected=t,r.a.boards.selectById(this.params.boardId).integration.slack.setChannel(t.value).then((function(){return z().show("Comments from this board will be sent to "+t.caption)})).catch((function(t){return z().showErrorByData(t)}))},n.prototype.openShareModal=function(){var t=this;Object(j.a)(n.modalName,this.params.openedFrom,"share"),Object(A.a)((function(){return Object(y.a)()})).then((function(e){e.showShareBoardModal(Object(o.a)({boardId:t.board.id,from:"board_info"},t.params.shareModalParams)),e.sendShareClickedStat(t.board,"board name card")}))},n.prototype.duplicate=function(){return Object(o.b)(this,void 0,void 0,(function(){var t,e;return Object(o.e)(this,(function(n){switch(n.label){case 0:return Object(I.a)().sendApiEvent("duplicate_board_clicked",{source:"more_button"}),[4,H().getAccountsAsync()];case 1:return t=n.sent(),Object(D.i)(t).length?[4,Object(E.a)()]:[3,3];case 2:return n.sent().copyBoardToLastActiveAccount(this.board),[3,7];case 3:return[4,Object(y.a)()];case 4:return[4,n.sent().getTeam({from:"from-board-duplicate",becauseOfRestrictionReached:!1})];case 5:return(e=n.sent())?[4,Object(E.a)()]:[3,7];case 6:n.sent().copyBoard({accountId:e.id,sourceBoardId:this.board.id,copyPermissions:!1,successMessageVisible:!1,newBoardTitle:Object(D.f)(this.board.title)}),n.label=7;case 7:return[2]}}))}))},n.prototype.signUpToDuplicate=function(){Object(j.a)(n.modalName,this.params.openedFrom,"sign up to duplicate"),Object(k.Z)(this.board.id),Object(P.a)().dispatch(Object(L.j)({openBoardId:this.board.id}))},n.prototype.deleteBoard=function(){var t=this;Object(j.a)(n.modalName,this.params.openedFrom,"delete board"),Object(E.a)().then((function(e){e.showDeleteConfirmModal(t.board,t.submit.bind(t))}))},n.prototype.leaveBoard=function(){var t=this;Object(j.a)(n.modalName,this.params.openedFrom,"leave board"),Object(E.a)().then((function(e){return e.showLeaveModal(t.board.id)})).then((function(){t.closeWithoutOpeningChildWindows()}))},n.prototype.selectBoardPicture=function(){var t=this;this.canEditInfo&&(Object(j.a)(n.modalName,this.params.openedFrom,"set image"),this.avatarEnabled=!1,Object(E.a)().then((function(e){e.selectBoardPicture(t.board.id,(function(e){t.board.picture=e,t.avatarEnabled=!0,t.$scope.$digest()}))})))},n.prototype.makeBoardPreview=function(){Object(j.a)(n.modalName,this.params.openedFrom,"set preview"),Object(v.a)().modals.showMakeBoardPreviewModal({enableCloseByBackground:!1,showLockLayer:!1,text:"Select area for a board preview",source:"Board Details"}),e.prototype.cancel.call(this),this.onCloseWithoutOpeningChildWindows()},n.prototype.submit=function(){e.prototype.submit.call(this,null,this.params)},n.prototype.cancel=function(){e.prototype.cancel.call(this,null,this.params),this.saveTitle(),this.saveDescription()},n.prototype.onCancelByEsc=function(){this.onCloseWithoutOpeningChildWindows()},n.prototype.closeWithoutOpeningChildWindows=function(){this.onCloseWithoutOpeningChildWindows(),this.cancel()},n.prototype.onCloseWithoutOpeningChildWindows=function(){this.params.onCloseWithoutOpeningChildWindows&&this.params.onCloseWithoutOpeningChildWindows()},n}(i.b);e.a=K}).call(this,n(193))},5800:function(t,e,n){var o=n(5801);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},5801:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".board-info-modal {\n  top: 49px;\n  left: 65px;\n  transform: translateX(0) translateY(0);\n}\n.board-info-modal:not(.md-centered) .md-content {\n  transform-origin: top left;\n}\n.board-info-modal .md-content {\n  width: 540px;\n  min-height: 338px;\n  font-size: 14px;\n  padding: 40px 42px 36px 40px;\n  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);\n}\n.board-info-modal .md-content__picture {\n  float: left;\n  width: 160px;\n  height: 160px;\n  position: relative;\n}\n.board-info-modal .md-content__picture img {\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  box-sizing: border-box;\n  border: 1px solid #f0f0ef;\n  width: 160px;\n  height: 160px;\n  display: block;\n  margin-bottom: 8px;\n}\n.board-info-modal .md-content__picture .ui-upload {\n  display: none;\n}\n.board-info-modal .md-content__picture--editable {\n  cursor: pointer;\n}\n.board-info-modal .md-content__picture--editable:hover img {\n  border-color: #95a5a6;\n}\n.board-info-modal .md-content__picture--editable .ui-upload {\n  display: block;\n}\n.board-info-modal .md-content__info {\n  width: 270px;\n  float: right;\n  color: rgba(5, 0, 56, 1);\n  color: var(--indigo700);\n  margin-top: -11px;\n}\n.board-info-modal .md-content__info--loading {\n  visibility: hidden;\n}\n.board-info-modal .md-content__info .table {\n  margin-top: 20px;\n}\n.board-info-modal .md-content__info .table .tr {\n  line-height: 24px;\n}\n.board-info-modal .md-content__info .table .th {\n  width: 100px;\n  color: rgba(95, 92, 128, 1);\n  color: var(--indigo600);\n}\n.board-info-modal .md-content__info .table .td {\n  white-space: nowrap;\n  max-width: 170px;\n  text-overflow: ellipsis;\n  overflow-x: hidden;\n}\n.board-info-modal .md-content__info .table .td--location {\n  white-space: normal;\n}\n.board-info-modal .md-content__slack-toggle {\n  float: left;\n  margin-top: 12px;\n}\n.board-info-modal .md-content__slack {\n  height: 40px;\n  color: #4a4a4a;\n  margin-top: 20px;\n}\n.board-info-modal .md-content__slack-icon,\n.board-info-modal .md-content__slack-text {\n  float: left;\n  display: inline-block;\n}\n.board-info-modal .md-content__slack-icon {\n  margin: 12px 8px 0 16px;\n}\n.board-info-modal .md-content__slack-text {\n  margin-top: 12px;\n}\n.board-info-modal .md-content__slack .ui-select {\n  float: right;\n  margin-top: 5px;\n}\n.board-info-modal .md-content__slack .ui-select__triangle .icon {\n  padding: 13px 9px 0 0;\n}\n.board-info-modal .md-content__slack .ui-select__select-wrapper {\n  border-color: transparent;\n  background-color: rgba(149, 165, 166, 0.1);\n}\n.board-info-modal .md-content__slack .ui-select select {\n  height: 30px;\n  font-size: 14px;\n}\n.board-info-modal .md-content__buttons {\n  margin-top: 28px;\n}\n.board-info-modal .md-content__buttons-right {\n  float: right;\n}\n.board-info-modal .md-content__buttons .ui-button {\n  height: 36px;\n  margin-top: 0;\n  color: rgba(5, 0, 56, 1);\n  color: var(--indigo700);\n  border: 1px solid #cad2d2;\n  padding: 0 12px;\n}\n.board-info-modal .md-content__buttons .ui-button--delete,\n.board-info-modal .md-content__buttons .ui-button--leave {\n  float: left;\n}\n.board-info-modal .md-content__buttons .ui-button--duplicate,\n.board-info-modal .md-content__buttons .ui-button--share {\n  float: right;\n}\n.board-info-modal .md-content__buttons .ui-button--slack,\n.board-info-modal .md-content__buttons .ui-button--share,\n.board-info-modal .md-content__buttons .ui-button--duplicate {\n  margin-left: 7px;\n}\n.board-info-modal .md-content__buttons .ui-button--slack:hover,\n.board-info-modal .md-content__buttons .ui-button--share:hover,\n.board-info-modal .md-content__buttons .ui-button--duplicate:hover {\n  border-color: #95a5a6;\n}\n.board-info-modal .md-content__buttons .ui-button--delete:hover,\n.board-info-modal .md-content__buttons .ui-button--leave:hover {\n  border-color: #e0a3a3;\n}\n.board-info-modal .md-content__buttons .ui-button--delete:hover .ui-button__caption,\n.board-info-modal .md-content__buttons .ui-button--leave:hover .ui-button__caption {\n  color: #cc6666;\n}\n.board-info-modal .md-content__buttons .ui-button--delete {\n  margin-right: 7px;\n}\n.board-info-modal .md-content__buttons .ui-button__caption {\n  font-size: 14px;\n  line-height: 34px;\n}\n.board-info-modal .md-content__buttons .ui-button--slack .ui-button__icon {\n  padding: 8px 0 0 5px;\n}\n.board-info-modal .md-content .project-title {\n  cursor: pointer;\n  border-bottom: 1px dotted rgba(95, 92, 128, 1);\n  border-bottom: 1px dotted var(--indigo600);\n}\n.board-info-modal .md-content .board-info-title {\n  width: 100%;\n  height: 40px;\n  font-size: 20px;\n  font-family: Formular, sans-serif;\n  font-size: 24px;\n  font-weight: 500;\n}\n.board-info-modal .md-content .board-info-title::-ms-clear {\n  display: none;\n}\n.board-info-modal .md-content .board-info-description {\n  width: 100%;\n  height: auto;\n  font-size: 14px;\n  resize: none;\n  margin-top: 14px;\n  padding: 6px 0;\n  max-height: 180px;\n  overflow-x: hidden;\n  /*by default, FF adds height to the textarea to reserve place for horizontal scrollbar*/\n}\n.board-info-modal.board-info-modal--readonly .md-content {\n  min-height: unset;\n}\n.board-info-modal.board-info-modal--readonly .md-content .board-info-description {\n  margin-top: 0;\n  padding: 4px 0;\n}\n.board-info-modal--template {\n  left: 138px;\n}\n.board-info-modal--template .md-content {\n  width: 630px;\n  min-height: 260px;\n}\n.board-info-modal--template .md-content__picture {\n  width: 248px;\n  height: 180px;\n  text-align: center;\n  border: solid 1px #d9d9d9;\n}\n.board-info-modal--template .md-content__picture:hover {\n  border-color: rgba(205, 204, 215, 1);\n  border-color: var(--indigo400);\n}\n.board-info-modal--template .md-content__picture img {\n  border: none;\n  max-width: 206px;\n  max-height: 139px;\n  width: auto;\n  height: auto;\n  position: absolute;\n  margin: auto;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n}\n.board-info-modal--template .md-content__info .table {\n  margin-top: 38px;\n}\n",""])},5802:function(t,e){t.exports='<rtb-modal-old\n\tdata-auto-test-id="board-info-modal"\n\tclass="board-info-modal"\n\tng-class="{\'board-info-modal--template\': modal.isTemplate, \'board-info-modal--readonly\': !modal.canEditInfo}"\n>\n\t<div class="md-content__picture" ng-class="{\'md-content__picture--editable\': modal.canEditInfo}">\n\t\t<img\n\t\t\tng-src="{{modal.isTemplate ? modal.board.picture.image : modal.board.picture.size210}}"\n\t\t\thm-tap="modal.selectBoardPicture()"\n\t\t\talt=""\n\t\t/>\n\t\t<a ng-show="modal.boardPreviewEnabled && modal.canEditInfo" hm-tap="modal.makeBoardPreview()"\n\t\t\t>Select preview area</a\n\t\t>\n\t\t<ui-loader show="loading"></ui-loader>\n\t</div>\n\n\t<div class="md-content__info" ng-class="{\'md-content__info--loading\': !modal.loaded}">\n\t\t<input\n\t\t\tclass="board-info-title rtb-input rtb-input--light"\n\t\t\tng-model="modal.board.title"\n\t\t\tng-readonly="!modal.canEditInfo"\n\t\t\tdata-auto-test-id="board-info-modal-title"\n\t\t\tng-blur="modal.saveTitle()"\n\t\t\tmaxlength="60"\n\t\t/>\n\t\t<textarea\n\t\t\tclass="board-info-description rtb-input rtb-input--light"\n\t\t\tng-model="modal.board.description"\n\t\t\tng-blur="modal.saveDescription()"\n\t\t\tng-readonly="!modal.canEditInfo"\n\t\t\tplaceholder="Description"\n\t\t\trows="1"\n\t\t\tdata-auto-test-id="board-info-modal-description"\n\t\t\tmaxlength="300"\n\t\t>\n\t\t</textarea>\n\n\t\t<div class="table all">\n\t\t\t<div ng-if="modal.canEditInfo" class="tr">\n\t\t\t\t<div class="th">Owner</div>\n\t\t\t\t<div class="td" ng-bind-html="modal.ownerName" data-auto-test-id="board-info-modal-owner-name"></div>\n\t\t\t</div>\n\n\t\t\t<div class="tr">\n\t\t\t\t<div class="th">Created</div>\n\t\t\t\t<div class="td">\n\t\t\t\t\t<relativedate\n\t\t\t\t\t\tvalue="modal.board.createdAt"\n\t\t\t\t\t\tabsolute-format="\'MMMM DD, YYYY\'"\n\t\t\t\t\t\t,\n\t\t\t\t\t\trelative-format="\'\'"\n\t\t\t\t\t\tdata-auto-test-id="board-info-modal-created-date"\n\t\t\t\t\t></relativedate>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div class="tr">\n\t\t\t\t<div class="th">Last modified</div>\n\t\t\t\t<div class="td">\n\t\t\t\t\t<relativedate\n\t\t\t\t\t\tvalue="modal.board.updatedAt"\n\t\t\t\t\t\tabsolute-format="\'MMMM DD, YYYY\'"\n\t\t\t\t\t\t,\n\t\t\t\t\t\trelative-format="\'\'"\n\t\t\t\t\t\tdata-auto-test-id="board-info-modal-modified-date"\n\t\t\t\t\t></relativedate>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="tr" ng-if="!modal.board.template" ng-show="modal.projectSettingsVisible">\n\t\t\t\t<div class="th">Location</div>\n\t\t\t\t<div class="td td--location">\n\t\t\t\t\t<span ng-if="modal.teamName" data-auto-test-id="board-info-modal-team-name" ng-bind="modal.teamName"></span>,\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass="project-title"\n\t\t\t\t\t\thm-tap="modal.onProjectClicked()"\n\t\t\t\t\t\tdata-auto-test-id="board-info-modal-project-name"\n\t\t\t\t\t\tng-bind="modal.getProjectName()"\n\t\t\t\t\t></span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\n\t<div class="clear"></div>\n\n\t<div class="md-content__slack" ng-if="modal.slackInstalled && modal.slackAvailable && !modal.board.template">\n\t\t<rtb-toggle\n\t\t\tclass="md-content__slack-toggle"\n\t\t\tchecked="modal.slackChecked"\n\t\t\ton-change="modal.toggleSlack(modal.slackChecked)"\n\t\t></rtb-toggle>\n\n\t\t<icon class="md-content__slack-icon" icon-name="\'application--slack-18\'"></icon>\n\t\t<span class="md-content__slack-text">Send comments to Slack</span>\n\n\t\t<ui-select-old\n\t\t\toptions="modal.slackChannels"\n\t\t\tselected="modal.slackSelected"\n\t\t\twidth="220"\n\t\t\tselect-disabled="viewMode"\n\t\t\ton-selected="modal.setSlackChannel(option)"\n\t\t\tng-show="modal.slackChecked && modal.slackChannels"\n\t\t></ui-select-old>\n\n\t\t<div class="clear"></div>\n\t</div>\n\n\t<div class="md-content__buttons" ng-if="!modal.board.template">\n\t\t<ui-button-old\n\t\t\tclass="ui-button--delete"\n\t\t\tcaption="\'Delete\'"\n\t\t\tng-show="modal.canDelete"\n\t\t\twidth="70"\n\t\t\thm-tap="modal.deleteBoard()"\n\t\t\tdata-auto-test-id="board-info-modal-delete"\n\t\t></ui-button-old>\n\t\t<ui-button-old\n\t\t\tclass="ui-button--leave"\n\t\t\tcaption="\'Leave\'"\n\t\t\tng-show="modal.canLeave"\n\t\t\twidth="70"\n\t\t\thm-tap="modal.leaveBoard()"\n\t\t\tdata-auto-test-id="board-info-modal-leave"\n\t\t></ui-button-old>\n\n\t\t<div class="md-content__buttons-right">\n\t\t\t<ui-button-old\n\t\t\t\tclass="ui-button--share"\n\t\t\t\tcaption="\'Share\'"\n\t\t\t\tng-show="modal.canInvite"\n\t\t\t\twidth="70"\n\t\t\t\thm-tap="modal.openShareModal()"\n\t\t\t\tdata-auto-test-id="board-info-modal-share"\n\t\t\t></ui-button-old>\n\t\t\t<ui-button-old\n\t\t\t\tclass="ui-button--duplicate"\n\t\t\t\tcaption="\'Duplicate\'"\n\t\t\t\tng-show="modal.canDuplicate && modal.isRegularUser"\n\t\t\t\twidth="90"\n\t\t\t\thm-tap="modal.duplicate()"\n\t\t\t\tdata-auto-test-id="board-info-modal-duplicate"\n\t\t\t></ui-button-old>\n\t\t\t<ui-button-old\n\t\t\t\tclass="ui-button--sign-up"\n\t\t\t\tcaption="\'Sign up to duplicate\'"\n\t\t\t\tng-show="modal.canDuplicateAfterRegistration"\n\t\t\t\thm-tap="modal.signUpToDuplicate()"\n\t\t\t\tdata-auto-test-id="board-info-modal-sign-up"\n\t\t\t></ui-button-old>\n\t\t</div>\n\n\t\t<div class="clear"></div>\n\t</div>\n</rtb-modal-old>\n'},5803:function(t,e,n){t.exports='<rtb-modal class="rtb-modal--center rtb-modal--medium move-board-modal">\n\t<div class="rtb-modal-container__content rtb-modal-content">\n\t\t<div class="rtb-modal-content__header rtb-modal-header">\n\t\t\t<div class="rtb-modal-header__title rtb-modal-title">\n\t\t\t\t<svg    class="rtb-modal-title__icon rtb-icon--primary"  role="none" ><use xlink:href="'+n(251)+'"></use></svg>\n\t\t\t\t<div class="rtb-modal-title__text">Leave this board?</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="rtb-modal-content__body rtb-modal-body">\n\t\t\t<p>If you leave the board, you will lose access to it. <br />This action cannot be undone. Leave anyway?</p>\n\t\t</div>\n\t\t<div class="rtb-modal-content__actions rtb-modal-actions">\n\t\t\t<button\n\t\t\t\tclass="rtb-btn rtb-btn--primary rtb-btn--medium"\n\t\t\t\thm-tap="modal.submit()"\n\t\t\t\tdata-autotest-id="leave-board-modal__submit-button"\n\t\t\t>\n\t\t\t\tLeave\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tclass="rtb-btn rtb-btn--secondary rtb-btn--medium"\n\t\t\t\thm-tap="modal.cancel()"\n\t\t\t\tdata-autotest-id="leave-board-modal__cancel-button"\n\t\t\t>\n\t\t\t\tCancel\n\t\t\t</button>\n\t\t</div>\n\t</div>\n</rtb-modal>\n'},5804:function(t,e,n){var o=n(5805);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},5805:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".board-details-dialog__content {\n  padding-right: 51px;\n}\n.board-details-dialog__content .rtb-input.rtb-input--light.rtb-input--big {\n  font-family: Formular;\n  font-weight: 500;\n  padding-top: 0;\n  line-height: 32px;\n  height: 37px;\n}\n.board-details-dialog__content .board-details-dialog__description.rtb-input.rtb-input--small {\n  display: block;\n  padding-top: 0;\n  padding-bottom: 5px;\n  line-height: 20px;\n  height: auto;\n  resize: none;\n  margin-top: 16px;\n  margin-bottom: 24px;\n  max-height: 180px;\n  overflow-x: hidden;\n  /*by default, FF adds height to the textarea to reserve place for horizontal scrollbar*/\n}\n.board-details-dialog__content .rtb-modal-content__body {\n  margin-top: 0;\n}\n.board-details-dialog__description-text {\n  margin: 8px 0 24px;\n}\n.board-details-dialog__body {\n  display: -ms-flexbox;\n  display: flex;\n  -ms-flex-wrap: wrap;\n      flex-wrap: wrap;\n}\n.board-details-dialog__picture {\n  -ms-flex-negative: 0;\n      flex-shrink: 0;\n  margin-left: 24px;\n  width: 123px;\n}\n.board-details-dialog__picture.rtb-select--disabled .rtb-select__button-container {\n  pointer-events: none;\n}\n.board-details-dialog__picture .rtb-select__popup {\n  width: 167px;\n}\n.board-details-dialog__picture-button {\n  display: block;\n  width: 100%;\n  height: 123px;\n  border: 1px solid rgba(205, 204, 215, 1);\n  border: 1px solid var(--indigo400);\n  box-sizing: border-box;\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  overflow: hidden;\n  padding: 0;\n  transition: border-color 0.2s;\n}\n.board-details-dialog__picture-button:hover {\n  border-color: rgba(155, 153, 175, 1);\n  border-color: var(--indigo500);\n}\n.board-details-dialog__picture-button:active {\n  border-color: rgba(104, 129, 255, 1);\n  border-color: var(--blue600);\n}\n.board-details-dialog__picture-button:disabled {\n  pointer-events: none;\n}\n.board-details-dialog__picture-button img {\n  width: 100%;\n  height: 100%;\n}\n.board-details-dialog__picture-placeholder {\n  width: 100%;\n  height: 123px;\n  background-color: rgba(245, 245, 247, 1);\n  background-color: var(--indigo50);\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  padding: 0;\n  transition: background-color 0.2s;\n}\n.board-details-dialog__picture-placeholder:hover {\n  background-color: rgba(240, 240, 243, 1);\n  background-color: var(--indigo100);\n}\n.board-details-dialog__picture-placeholder:active {\n  background-color: rgba(235, 235, 239, 1);\n  background-color: var(--indigo200);\n}\n.board-details-dialog__picture-spinner:before {\n  content: '';\n  box-sizing: border-box;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  width: 24px;\n  height: 24px;\n  border-radius: 125px;\n  border-radius: var(--radiusCircle);\n  border: 2px solid rgba(66, 98, 255, 1);\n  border: 2px solid var(--blue700);\n  border-top-color: transparent;\n  animation: spinner 1s linear infinite;\n}\n.board-details-dialog__picture-spinner:before {\n  top: 50px;\n  left: 50px;\n}\n.board-details-dialog__picture-placeholder-svg {\n  margin: 37px 0 30px;\n  color: rgba(205, 204, 215, 1);\n  color: var(--indigo400);\n  width: 20px;\n  height: 20px;\n}\n.board-details-dialog__picture-placeholder-div {\n  line-height: 18px;\n  font-size: 12px;\n  text-align: center;\n}\n.board-details-dialog__info {\n  width: 270px;\n}\n.board-details-dialog__fieldset {\n  display: -ms-flexbox;\n  display: flex;\n  -ms-flex-align: center;\n      align-items: center;\n  margin-top: 12px;\n}\n.board-details-dialog__fieldset .rtb-link {\n  margin-left: 4px;\n}\n.board-details-dialog__user-picture {\n  -ms-flex-negative: 0;\n      flex-shrink: 0;\n  margin-right: 4px;\n}\n.board-details-dialog__location {\n  -ms-flex-wrap: wrap;\n      flex-wrap: wrap;\n}\n.board-details-dialog__name {\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.board-details-dialog__team-name {\n  max-width: 350px;\n}\n.board-details-dialog__label {\n  -ms-flex-negative: 0;\n      flex-shrink: 0;\n  color: #827f9b;\n  margin-right: 6px;\n}\n.board-details-dialog-action {\n  width: 98px;\n  height: 70px;\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  background-color: rgba(245, 245, 247, 1);\n  background-color: var(--indigo50);\n  padding: 0;\n  margin-top: 25px;\n}\n.board-details-dialog-action + .board-details-dialog-action {\n  margin-left: 8px;\n}\n.board-details-dialog-action:hover {\n  background-color: rgba(240, 240, 243, 1);\n  background-color: var(--indigo100);\n}\n.board-details-dialog-action:active {\n  background-color: rgba(235, 235, 239, 1);\n  background-color: var(--indigo200);\n}\n.board-details-dialog-action.board-details-dialog-action--dangerous {\n  color: rgba(184, 13, 13, 1);\n  color: var(--red900);\n}\n.board-details-dialog-action .board-details-dialog-action__icon {\n  margin: 6px 0 5px;\n  width: 24px;\n  height: 24px;\n}\n.board-details-dialog-action .board-details-dialog-action__text {\n  line-height: 18px;\n  font-size: 12px;\n  text-align: center;\n}\n",""])},5806:function(t,e){t.exports="#img__image-placeholder-20"},5807:function(t,e){t.exports="#img__create-24"},5808:function(t,e){t.exports="#img__duplicate-24"},5809:function(t,e){t.exports="#img__share-24"},5810:function(t,e){t.exports="#img__trash-24"},5811:function(t,e){t.exports="#img__leave-24"},590:function(t,e,n){"use strict";var o=n(0),r=n(564),i=n(179),a=n(191),c=n(199),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.state={selectedIndex:e.getSelectedIndex(n.props)},n}return Object(o.d)(e,t),e.getSelectedIndex=function(t){var e=t.selectedOption;return e?t.options.indexOf(e):-1},e.prototype.UNSAFE_componentWillReceiveProps=function(t){this.props.selectedOption!==t.selectedOption&&this.setState({selectedIndex:e.getSelectedIndex(t)})},e.prototype.addOrRemoveListener=function(t){t?window.addEventListener("keydown",this.onKeyDown):window.removeEventListener("keydown",this.onKeyDown)},e.prototype.setSelectedOption=function(t){t&&(this.setState({selectedIndex:e.getSelectedIndex(this.props)}),this.onSelectOption(t))},e.prototype.onKeyDown=function(t){switch(t.keyCode){case c.a.DOWN_ARROW:this.state.selectedIndex<this.props.options.length-1&&this.setState({selectedIndex:this.state.selectedIndex+1});break;case c.a.UP_ARROW:this.state.selectedIndex>0&&this.setState({selectedIndex:this.state.selectedIndex-1});break;case c.a.ENTER:this.setSelectedOption(this.props.options[this.state.selectedIndex]),t.preventDefault()}this.props.onKeyDown&&this.props.onKeyDown(t)},e.prototype.onSelectOption=function(t){this.props.onChange&&this.props.onChange(t)},e.prototype.isFocused=function(t){return this.state.selectedIndex===this.props.options.indexOf(t)},e.prototype.scrollToOption=function(t){t&&t.scrollIntoView({block:"nearest"})},e.prototype.render=function(){var t=this,e=this.props,n=e.options,o=e.className,a=e.dataAutoTestId,c=e.isNoScrollToSelection,s=n.map((function(e,n){var o=t.isFocused(e),s=e.disabled;return i.d.createElement(r.a,{key:n,option:e,isFocused:o,disabled:s,onSelect:t.setSelectedOption,refElement:!c&&o&&t.scrollToOption||null,dataAutoTestId:a})}));return i.d.createElement("div",{className:Object(i.i)("rtb-select__options",o),ref:this.addOrRemoveListener,"no-prevent-default":"true"},s)},Object(o.c)([a.a],e.prototype,"addOrRemoveListener",null),Object(o.c)([a.a],e.prototype,"setSelectedOption",null),Object(o.c)([a.a],e.prototype,"onKeyDown",null),e}(i.d.PureComponent);e.a=s},591:function(t,e){t.exports='<div class="icon">\n\t<div class="svg-i-box" ng-class="\'svg-icon-\'+iconName">\n\t\t<div class="svg-i-content svg-i-img"></div>\n\t</div>\n</div>\n'},592:function(t,e,n){var o=n(858);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},607:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n(231),r=n.n(o);function i(t,e,n){var o=r()(t);return o.isValid()?o.calendar(void 0,{lastDay:"[Yesterday]"+n,sameDay:"[Today]"+n,lastWeek:e,nextDay:e,nextWeek:e,sameElse:e}):""}},612:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return s}));var o=n(190),r=n(182),i=n(200),a=n(399),c=n(765);function s(){return n(408),Object(r.b)().directive("rtbToggle",l),Object(r.b)().component("rtbToggleReact",Object(i.c)(t)(a.a,["name","label","checked","isDisabled","onChange","className"])),c}function l(){return Object(o.a)({restrict:"E",template:c,scope:{name:"=",label:"=",checked:"=",off:"=",onChange:"&"},link:function(t,e){setTimeout((function(){e.addClass("rtb-toggle--animated")}))}})}}).call(this,n(111)(t))},622:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n(665),r=n.n(o);function i(t){return r.a.sanitize(t)}},628:function(t,e,n){var o=n(629);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},629:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".base-picture {\n  background: rgba(205, 204, 215, 1);\n  background: var(--indigo400);\n  overflow: hidden;\n  position: relative;\n  width: 30px;\n  height: 30px;\n}\n.base-picture img {\n  vertical-align: top;\n}\n.base-picture img {\n  width: 30px;\n  height: 30px;\n  min-width: 30px;\n  max-width: 30px;\n  min-height: 30px;\n  max-height: 30px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--size12 {\n  width: 12px;\n  height: 12px;\n}\n.base-picture.base-picture--size12 img {\n  width: 12px;\n  height: 12px;\n  min-width: 12px;\n  max-width: 12px;\n  min-height: 12px;\n  max-height: 12px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture.base-picture--size12 img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--size16 {\n  width: 16px;\n  height: 16px;\n}\n.base-picture.base-picture--size16 img {\n  width: 16px;\n  height: 16px;\n  min-width: 16px;\n  max-width: 16px;\n  min-height: 16px;\n  max-height: 16px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture.base-picture--size16 img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--size24 {\n  width: 24px;\n  height: 24px;\n}\n.base-picture.base-picture--size24 img {\n  width: 24px;\n  height: 24px;\n  min-width: 24px;\n  max-width: 24px;\n  min-height: 24px;\n  max-height: 24px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture.base-picture--size24 img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--size30 {\n  width: 30px;\n  height: 30px;\n}\n.base-picture.base-picture--size30 img {\n  width: 30px;\n  height: 30px;\n  min-width: 30px;\n  max-width: 30px;\n  min-height: 30px;\n  max-height: 30px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture.base-picture--size30 img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--size32 {\n  width: 32px;\n  height: 32px;\n}\n.base-picture.base-picture--size32 img {\n  width: 32px;\n  height: 32px;\n  min-width: 32px;\n  max-width: 32px;\n  min-height: 32px;\n  max-height: 32px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture.base-picture--size32 img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--size36 {\n  width: 36px;\n  height: 36px;\n}\n.base-picture.base-picture--size36 img {\n  width: 36px;\n  height: 36px;\n  min-width: 36px;\n  max-width: 36px;\n  min-height: 36px;\n  max-height: 36px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture.base-picture--size36 img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--size74 {\n  width: 74px;\n  height: 74px;\n}\n.base-picture.base-picture--size74 img {\n  width: 74px;\n  height: 74px;\n  min-width: 74px;\n  max-width: 74px;\n  min-height: 74px;\n  max-height: 74px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture.base-picture--size74 img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--size140 {\n  width: 140px;\n  height: 140px;\n}\n.base-picture.base-picture--size140 img {\n  width: 140px;\n  height: 140px;\n  min-width: 140px;\n  max-width: 140px;\n  min-height: 140px;\n  max-height: 140px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture.base-picture--size140 img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--size180 {\n  width: 180px;\n  height: 180px;\n}\n.base-picture.base-picture--size180 img {\n  width: 180px;\n  height: 180px;\n  min-width: 180px;\n  max-width: 180px;\n  min-height: 180px;\n  max-height: 180px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture.base-picture--size180 img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--size100percent {\n  width: 100%;\n  height: 100%;\n}\n.base-picture.base-picture--size100percent img {\n  width: 100%;\n  height: 100%;\n  min-width: 100%;\n  max-width: 100%;\n  min-height: 100%;\n  max-height: 100%;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .base-picture.base-picture--size100percent img {\n    width: auto;\n    height: auto;\n  }\n}\n.base-picture.base-picture--collapsed {\n  display: none;\n}\n.base-picture .base-picture--cover {\n  position: absolute;\n  height: 100%;\n  width: 100%;\n  background: rgba(205, 204, 215, 1);\n  background: var(--indigo400);\n  top: 0;\n}\n",""])},630:function(t,e,n){var o=n(631);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},631:function(t,e,n){(e=t.exports=n(177)(!1)).push([t.i,".userPictureClass-1_AdH {\n  border-radius: 125px;\n  border-radius: var(--radiusCircle);\n}\n",""]),e.locals={userPictureClass:"userPictureClass-1_AdH"}},632:function(t,e,n){var o=n(633);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},633:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".color-user-picture {\n  position: relative;\n  width: 29px;\n  height: 29px;\n}\n.color-user-picture svg {\n  width: 29px;\n  height: 29px;\n  min-width: 29px;\n  max-width: 29px;\n  min-height: 29px;\n  max-height: 29px;\n  overflow: hidden;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .color-user-picture svg {\n    width: auto;\n    height: auto;\n  }\n}\n.color-user-picture--cover {\n  position: absolute;\n  height: 100%;\n  width: 100%;\n  background: rgba(205, 204, 215, 1);\n  background: var(--indigo400);\n  top: 0;\n}\n.color-user-picture--inactive svg img {\n  opacity: 0.5;\n}\n",""])},634:function(t,e,n){var o=n(635);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},635:function(t,e,n){(t.exports=n(177)(!1)).push([t.i,".picture-with-icon {\n  display: -ms-flexbox;\n  display: flex;\n  overflow: hidden;\n  position: relative;\n}\n.picture-with-icon use:first-child {\n  fill: #fff;\n  /* should not be a variable to prevent picture opacity */\n}\n.picture-with-icon__icon {\n  border-radius: 2px;\n  border-radius: var(--radiusS);\n  position: absolute;\n  right: 0;\n  bottom: 0;\n}\n.picture-with-icon--collapsed {\n  display: none;\n}\n.picture-with-icon--cover {\n  position: absolute;\n  height: 100%;\n  width: 100%;\n  background: rgba(205, 204, 215, 1);\n  background: var(--indigo400);\n  top: 0;\n}\n",""])},636:function(t,e,n){var o=n(637);"string"===typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:undefined,insertInto:void 0};n(178)(o,r);o.locals&&(t.exports=o.locals)},637:function(t,e,n){(e=t.exports=n(177)(!1)).push([t.i,".teamPicture-2ZSAc {\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n}\n",""]),e.locals={teamPicture:"teamPicture-2ZSAc"}},638:function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},650:function(t,e){t.exports='<div class="md-container">\n\t<div class="md-content">\n\t\t<ng-transclude></ng-transclude>\n\t</div>\n</div>\n'},665:function(t,e,n){t.exports=function(){"use strict";function t(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var e=Object.hasOwnProperty,n=Object.setPrototypeOf,o=Object.isFrozen,r=Object.keys,i=Object.freeze,a=Object.seal,c="undefined"!==typeof Reflect&&Reflect,s=c.apply,l=c.construct;s||(s=function(t,e,n){return t.apply(e,n)}),i||(i=function(t){return t}),a||(a=function(t){return t}),l||(l=function(e,n){return new(Function.prototype.bind.apply(e,[null].concat(t(n))))});var d=y(Array.prototype.forEach),u=y(Array.prototype.indexOf),p=y(Array.prototype.join),b=y(Array.prototype.pop),h=y(Array.prototype.push),m=y(Array.prototype.slice),f=y(String.prototype.toLowerCase),g=y(String.prototype.match),_=y(String.prototype.replace),v=y(String.prototype.indexOf),E=y(String.prototype.trim),O=y(RegExp.prototype.test),x=T(RegExp),A=T(TypeError);function y(t){return function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return s(t,e,o)}}function T(t){return function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return l(t,n)}}function S(t,e){n&&n(t,null);for(var r=e.length;r--;){var i=e[r];if("string"===typeof i){var a=f(i);a!==i&&(o(e)||(e[r]=a),i=a)}t[i]=!0}return t}function I(t){var n={},o=void 0;for(o in t)s(e,t,[o])&&(n[o]=t[o]);return n}var w=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),R=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),N=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),k=i(["#text"]),D=i(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","minlength","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"]),M=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),P=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),L=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),B=a(/<%[\s\S]*|[\s\S]*%>/gm),U=a(/^data-[\-\w.\u00B7-\uFFFF]/),F=a(/^aria-[\-\w]+$/),W=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),H=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),G="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function V(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var K=function(){return"undefined"===typeof window?null:window},Y=function(t,e){if("object"!==("undefined"===typeof t?"undefined":G(t))||"function"!==typeof t.createPolicy)return null;var n=null,o="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(o)&&(n=e.currentScript.getAttribute(o));var r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:function(t){return t}})}catch(t){return null}};function $(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K(),e=function(t){return $(t)};if(e.version="2.0.8",e.removed=[],!t||!t.document||9!==t.document.nodeType)return e.isSupported=!1,e;var n=t.document,o=!1,a=!1,c=t.document,s=t.DocumentFragment,l=t.HTMLTemplateElement,y=t.Node,T=t.NodeFilter,J=t.NamedNodeMap,Z=void 0===J?t.NamedNodeMap||t.MozNamedAttrMap:J,X=t.Text,Q=t.Comment,q=t.DOMParser,tt=t.trustedTypes;if("function"===typeof l){var et=c.createElement("template");et.content&&et.content.ownerDocument&&(c=et.content.ownerDocument)}var nt=Y(tt,n),ot=nt?nt.createHTML(""):"",rt=c,it=rt.implementation,at=rt.createNodeIterator,ct=rt.getElementsByTagName,st=rt.createDocumentFragment,lt=n.importNode,dt={};e.isSupported=it&&"undefined"!==typeof it.createHTMLDocument&&9!==c.documentMode;var ut=L,pt=B,bt=U,ht=F,mt=z,ft=H,gt=W,_t=null,vt=S({},[].concat(V(w),V(C),V(R),V(N),V(k))),Et=null,Ot=S({},[].concat(V(D),V(M),V(j),V(P))),xt=null,At=null,yt=!0,Tt=!0,St=!1,It=!1,wt=!1,Ct=!1,Rt=!1,Nt=!1,kt=!1,Dt=!1,Mt=!1,jt=!1,Pt=!0,Lt=!0,Bt=!1,Ut={},Ft=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),Wt=S({},["audio","video","img","source","image"]),zt=null,Ht=S({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Gt=null,Vt=c.createElement("form"),Kt=function(t){Gt&&Gt===t||(t&&"object"===("undefined"===typeof t?"undefined":G(t))||(t={}),_t="ALLOWED_TAGS"in t?S({},t.ALLOWED_TAGS):vt,Et="ALLOWED_ATTR"in t?S({},t.ALLOWED_ATTR):Ot,zt="ADD_URI_SAFE_ATTR"in t?S(I(Ht),t.ADD_URI_SAFE_ATTR):Ht,xt="FORBID_TAGS"in t?S({},t.FORBID_TAGS):{},At="FORBID_ATTR"in t?S({},t.FORBID_ATTR):{},Ut="USE_PROFILES"in t&&t.USE_PROFILES,yt=!1!==t.ALLOW_ARIA_ATTR,Tt=!1!==t.ALLOW_DATA_ATTR,St=t.ALLOW_UNKNOWN_PROTOCOLS||!1,It=t.SAFE_FOR_JQUERY||!1,wt=t.SAFE_FOR_TEMPLATES||!1,Ct=t.WHOLE_DOCUMENT||!1,kt=t.RETURN_DOM||!1,Dt=t.RETURN_DOM_FRAGMENT||!1,Mt=t.RETURN_DOM_IMPORT||!1,jt=t.RETURN_TRUSTED_TYPE||!1,Nt=t.FORCE_BODY||!1,Pt=!1!==t.SANITIZE_DOM,Lt=!1!==t.KEEP_CONTENT,Bt=t.IN_PLACE||!1,gt=t.ALLOWED_URI_REGEXP||gt,wt&&(Tt=!1),Dt&&(kt=!0),Ut&&(_t=S({},[].concat(V(k))),Et=[],!0===Ut.html&&(S(_t,w),S(Et,D)),!0===Ut.svg&&(S(_t,C),S(Et,M),S(Et,P)),!0===Ut.svgFilters&&(S(_t,R),S(Et,M),S(Et,P)),!0===Ut.mathMl&&(S(_t,N),S(Et,j),S(Et,P))),t.ADD_TAGS&&(_t===vt&&(_t=I(_t)),S(_t,t.ADD_TAGS)),t.ADD_ATTR&&(Et===Ot&&(Et=I(Et)),S(Et,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&S(zt,t.ADD_URI_SAFE_ATTR),Lt&&(_t["#text"]=!0),Ct&&S(_t,["html","head","body"]),_t.table&&(S(_t,["tbody"]),delete xt.tbody),i&&i(t),Gt=t)},Yt=function(t){h(e.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.outerHTML=ot}},$t=function(t,n){try{h(e.removed,{attribute:n.getAttributeNode(t),from:n})}catch(t){h(e.removed,{attribute:null,from:n})}n.removeAttribute(t)},Jt=function(t){var e=void 0,n=void 0;if(Nt)t="<remove></remove>"+t;else{var r=g(t,/^[\s]+/);n=r&&r[0]}var i=nt?nt.createHTML(t):t;if(o)try{e=(new q).parseFromString(i,"text/html")}catch(t){}if(a&&S(xt,["title"]),!e||!e.documentElement){var s=(e=it.createHTMLDocument("")).body;s.parentNode.removeChild(s.parentNode.firstElementChild),s.outerHTML=i}return t&&n&&e.body.insertBefore(c.createTextNode(n),e.body.childNodes[0]||null),ct.call(e,Ct?"html":"body")[0]};e.isSupported&&(function(){try{Jt('<svg><p><textarea><img src="</textarea><img src=x abc=1//">').querySelector("svg img")&&(o=!0)}catch(t){}}(),function(){try{var t=Jt("<x/><title>&lt;/title&gt;&lt;img&gt;");O(/<\/title/,t.querySelector("title").innerHTML)&&(a=!0)}catch(t){}}());var Zt=function(t){return at.call(t.ownerDocument||t,t,T.SHOW_ELEMENT|T.SHOW_COMMENT|T.SHOW_TEXT,(function(){return T.FILTER_ACCEPT}),!1)},Xt=function(t){return!(t instanceof X||t instanceof Q)&&!("string"===typeof t.nodeName&&"string"===typeof t.textContent&&"function"===typeof t.removeChild&&t.attributes instanceof Z&&"function"===typeof t.removeAttribute&&"function"===typeof t.setAttribute&&"string"===typeof t.namespaceURI)},Qt=function(t){return"object"===("undefined"===typeof y?"undefined":G(y))?t instanceof y:t&&"object"===("undefined"===typeof t?"undefined":G(t))&&"number"===typeof t.nodeType&&"string"===typeof t.nodeName},qt=function(t,n,o){dt[t]&&d(dt[t],(function(t){t.call(e,n,o,Gt)}))},te=function(t){var n=void 0;if(qt("beforeSanitizeElements",t,null),Xt(t))return Yt(t),!0;var o=f(t.nodeName);if(qt("uponSanitizeElement",t,{tagName:o,allowedTags:_t}),("svg"===o||"math"===o)&&0!==t.querySelectorAll("p, br").length)return Yt(t),!0;if(!_t[o]||xt[o]){if(Lt&&!Ft[o]&&"function"===typeof t.insertAdjacentHTML)try{var r=t.innerHTML;t.insertAdjacentHTML("AfterEnd",nt?nt.createHTML(r):r)}catch(t){}return Yt(t),!0}return"noscript"===o&&O(/<\/noscript/i,t.innerHTML)||"noembed"===o&&O(/<\/noembed/i,t.innerHTML)?(Yt(t),!0):(!It||t.firstElementChild||t.content&&t.content.firstElementChild||!O(/</g,t.textContent)||(h(e.removed,{element:t.cloneNode()}),t.innerHTML?t.innerHTML=_(t.innerHTML,/</g,"&lt;"):t.innerHTML=_(t.textContent,/</g,"&lt;")),wt&&3===t.nodeType&&(n=t.textContent,n=_(n,ut," "),n=_(n,pt," "),t.textContent!==n&&(h(e.removed,{element:t.cloneNode()}),t.textContent=n)),qt("afterSanitizeElements",t,null),!1)},ee=function(t,e,n){if(Pt&&("id"===e||"name"===e)&&(n in c||n in Vt))return!1;if(Tt&&O(bt,e));else if(yt&&O(ht,e));else{if(!Et[e]||At[e])return!1;if(zt[e]);else if(O(gt,_(n,ft,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==v(n,"data:")||!Wt[t])if(St&&!O(mt,_(n,ft,"")));else if(n)return!1}return!0},ne=function(t){var n=void 0,o=void 0,i=void 0,a=void 0,c=void 0;qt("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Et};for(c=s.length;c--;){var d=n=s[c],h=d.name,g=d.namespaceURI;if(o=E(n.value),i=f(h),l.attrName=i,l.attrValue=o,l.keepAttr=!0,l.forceKeepAttr=void 0,qt("uponSanitizeAttribute",t,l),o=l.attrValue,!l.forceKeepAttr){if("name"===i&&"IMG"===t.nodeName&&s.id)a=s.id,s=m(s,[]),$t("id",t),$t(h,t),u(s,a)>c&&t.setAttribute("id",a.value);else{if("INPUT"===t.nodeName&&"type"===i&&"file"===o&&l.keepAttr&&(Et[i]||!At[i]))continue;"id"===h&&t.setAttribute(h,""),$t(h,t)}if(l.keepAttr)if(It&&O(/\/>/i,o))$t(h,t);else if(O(/svg|math/i,t.namespaceURI)&&O(x("</("+p(r(Ft),"|")+")","i"),o))$t(h,t);else{wt&&(o=_(o,ut," "),o=_(o,pt," "));var v=t.nodeName.toLowerCase();if(ee(v,i,o))try{g?t.setAttributeNS(g,h,o):t.setAttribute(h,o),b(e.removed)}catch(t){}}}}qt("afterSanitizeAttributes",t,null)}},oe=function t(e){var n=void 0,o=Zt(e);for(qt("beforeSanitizeShadowDOM",e,null);n=o.nextNode();)qt("uponSanitizeShadowNode",n,null),te(n)||(n.content instanceof s&&t(n.content),ne(n));qt("afterSanitizeShadowDOM",e,null)};return e.sanitize=function(o,r){var i=void 0,a=void 0,c=void 0,l=void 0,d=void 0;if(o||(o="\x3c!--\x3e"),"string"!==typeof o&&!Qt(o)){if("function"!==typeof o.toString)throw A("toString is not a function");if("string"!==typeof(o=o.toString()))throw A("dirty is not a string, aborting")}if(!e.isSupported){if("object"===G(t.toStaticHTML)||"function"===typeof t.toStaticHTML){if("string"===typeof o)return t.toStaticHTML(o);if(Qt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Rt||Kt(r),e.removed=[],"string"===typeof o&&(Bt=!1),Bt);else if(o instanceof y)1===(a=(i=Jt("\x3c!--\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!kt&&!wt&&!Ct&&jt&&-1===o.indexOf("<"))return nt?nt.createHTML(o):o;if(!(i=Jt(o)))return kt?null:ot}i&&Nt&&Yt(i.firstChild);for(var u=Zt(Bt?o:i);c=u.nextNode();)3===c.nodeType&&c===l||te(c)||(c.content instanceof s&&oe(c.content),ne(c),l=c);if(l=null,Bt)return o;if(kt){if(Dt)for(d=st.call(i.ownerDocument);i.firstChild;)d.appendChild(i.firstChild);else d=i;return Mt&&(d=lt.call(n,d,!0)),d}var p=Ct?i.outerHTML:i.innerHTML;return wt&&(p=_(p,ut," "),p=_(p,pt," ")),nt&&jt?nt.createHTML(p):p},e.setConfig=function(t){Kt(t),Rt=!0},e.clearConfig=function(){Gt=null,Rt=!1},e.isValidAttribute=function(t,e,n){Gt||Kt({});var o=f(t),r=f(e);return ee(o,r,n)},e.addHook=function(t,e){"function"===typeof e&&(dt[t]=dt[t]||[],h(dt[t],e))},e.removeHook=function(t){dt[t]&&b(dt[t])},e.removeHooks=function(t){dt[t]&&(dt[t]=[])},e.removeAllHooks=function(){dt={}},e}return $()}()},666:function(t,e,n){"use strict";var o=n(6),r="Projects";o.f(r,(function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(72)]).then(n.bind(null,2076)).then((function(t){return t.default}))})),e.a=o.d(r)},667:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return b}));var o=n(668),r=n(184),i=n(183),a=(n(60),n(53)),c=n(256);function s(t,e){return d(r.a.accounts.selectById(t),e)}function l(t,e){return d(r.a.organizations.selectById(t),e)}function d(t,e){return t.experiments.get(e)}function u(t,e){return p(s(t,e))}function p(t){return t.then((function(t){return t.running&&t.variation?t.variation:a.K.A})).catch((function(){return a.K.A}))}function b(t){if(t){if(Object(i.isAccountType)(t))return u(t.id,o.a.PRICING_WITHOUT_FREE_PLAN)}else{var e=Object(c.a)().getCurrent();if((null===e||void 0===e?void 0:e.id)&&!Object(i.accountBelongsToOrg)(e))return u(e.id,o.a.PRICING_WITHOUT_FREE_PLAN)}return Promise.resolve(void 0)}},668:function(t,e,n){"use strict";var o;n.d(e,"a",(function(){return o})),function(t){t.TEMPLATE_PICKER_TOP_CATEGORIES="template-picker-top-categories",t.TEMPLATE_PICKER_MAIN_CATEGORIES="template-picker-main-categories",t.TEMPLATE_PICKER_RATING="template-picker-rating",t.TEMPLATE_PICKER_LABELS="template-picker-labels",t.TEMPLATE_PICKER_SIMILAR_TEMPLATES="template-picker-similar-templates",t.TEMPLATE_PICKER_GLOBAL_CUSTOM_TILE="template-picker-global-custom-tile",t.NOTES_BETA_3="notes-beta-3-experiment",t.LEAVE_TEAMS_AB="leave-teams-ab",t.AWESOME_PRESENTATION_NEW_USERS_AB="AWESOME_PRESENTATION_NEW_USERS_AB",t.AWESOME_PRESENTATION_EXISTING_USERS_AB="AWESOME_PRESENTATION_EXISTING_USERS_AB",t.TEMPLATE_PICKER_TEMPLATE_DISCOVERABILITY="TEMPLATE_PICKER_TEMPLATE_DISCOVERABILITY",t.PURCHASE_TWO_STEPS="PURCHASE_TWO_STEPS",t.GUEST_EDITORS_NAMES_ORGANIZATIONS="GUEST_EDITORS_NAMES_ORGANIZATIONS",t.GUEST_EDITORS_NAMES_PAID_AND_EDU_TEAMS="GUEST_EDITORS_NAMES_PAID_AND_EDU_TEAMS",t.PRICING_WITHOUT_FREE_PLAN="PRICING_WITHOUT_FREE_PLAN"}(o||(o={}))},669:function(t,e,n){var o=n(61);t.exports=function(t,e){return function(n,r){if(null==n)return n;if(!o(n))return t(n,r);for(var i=n.length,a=e?i:-1,c=Object(n);(e?a--:++a<i)&&!1!==r(c[a],a,c););return n}}},679:function(t,e,n){"use strict";n.d(e,"f",(function(){return c})),n.d(e,"c",(function(){return s})),n.d(e,"g",(function(){return l})),n.d(e,"d",(function(){return d})),n.d(e,"h",(function(){return u})),n.d(e,"e",(function(){return p})),n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return h}));var o=n(242),r="template_picker_auto_show_setting",i="last_used_category_setting",a=null;function c(t){o.setItem(r,t)}function s(){var t=o.getItem(r);return"true"===t||null===t||void 0===t}function l(t){o.setItem(i,t)}function d(){return o.getItem(i)}function u(t){a=t}function p(){var t=a;return a=null,t}var b="https://miro-survey.typeform.com/to/HNTRDLGT",h="New template"},693:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a}));var o=new(function(){function e(){}return e.prototype.tryCopyText=function(e){return t.log("DumbClipboard","[tryCopyText]",e),!1},e}()),r=o;function i(t){r=t||o}function a(){return r}}).call(this,n(54))},694:function(t,e,n){var o=n(695),r=n(696),i=n(464);t.exports=function(t){var e=r(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(n){return n===t||o(n,t,e)}}},695:function(t,e,n){var o=n(936),r=n(625);t.exports=function(t,e,n,i){var a=n.length,c=a,s=!i;if(null==t)return!c;for(t=Object(t);a--;){var l=n[a];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<c;){var d=(l=n[a])[0],u=t[d],p=l[1];if(s&&l[2]){if(void 0===u&&!(d in t))return!1}else{var b=new o;if(i)var h=i(u,p,d,t,e,b);if(!(void 0===h?r(p,u,3,i,b):h))return!1}}return!0}},696:function(t,e,n){var o=n(463),r=n(112);t.exports=function(t){for(var e=r(t),n=e.length;n--;){var i=e[n],a=t[i];e[n]=[i,a,o(a)]}return e}},697:function(t,e,n){var o=n(625),r=n(795),i=n(698),a=n(626),c=n(463),s=n(464),l=n(422);t.exports=function(t,e){return a(t)&&c(e)?s(l(t),e):function(n){var a=r(n,t);return void 0===a&&a===e?i(n,t):o(e,a,3)}}},698:function(t,e,n){var o=n(699),r=n(700);t.exports=function(t,e){return null!=t&&r(t,e,o)}},699:function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},700:function(t,e,n){var o=n(886),r=n(65),i=n(56),a=n(116),c=n(72),s=n(422);t.exports=function(t,e,n){for(var l=-1,d=(e=o(e,t)).length,u=!1;++l<d;){var p=s(e[l]);if(!(u=null!=t&&n(t,p)))break;t=t[p]}return u||++l!=d?u:!!(d=null==t?0:t.length)&&c(d)&&a(p,d)&&(i(t)||r(t))}},701:function(t,e,n){var o=n(638),r=n(702),i=n(626),a=n(422);t.exports=function(t){return i(t)?o(a(t)):r(t)}},702:function(t,e,n){var o=n(796);t.exports=function(t){return function(e){return o(e,t)}}},716:function(t,e,n){"use strict";var o=n(0),r=n(247),i=n.n(r),a=n(748),c=n.n(a),s=n(206),l=n(244),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.d)(e,t),e.prototype.init=function(){if(this.headerColorClass=c()(this.params.headerColorClass)?this.params.headerColorClass:"blue",this.submitButtonClass=c()(this.params.submitButtonClass)?this.params.submitButtonClass:"btn-blue",this.cancelButtonClass=c()(this.params.cancelButtonClass)?this.params.cancelButtonClass:"modal-button_cancel",this.text=c()(this.params.value)?this.params.text.replace("%value%",i()(this.params.value)):this.params.text,this.params.values)for(var t in this.params.values)this.text=this.text.replace("%"+t+"%",i()(this.params.values[t]));var e=Object(l.a)().$sce;this.text=e.trustAsHtml(this.text)},e.prototype.onTextClicked=function(t){var e=this;if(this.params.onTextClicked){var n=this.params.onTextClicked(t);Promise.resolve(n).then((function(t){t&&e.submit()}))}},e.prototype.submit=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this.params.submitCallback){var o=this.params.submitCallback();o||t.prototype.submit.call(this)}else t.prototype.submit.apply(this,e)},e.prototype.cancel=function(){this.params.cancelCallback?this.params.cancelCallback()||t.prototype.cancel.call(this):t.prototype.cancel.call(this)},e}(s.b);e.a=d},727:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var o=n(190),r=n(182),i=n(607),a=/Yesterday|Today/i,c=function(){function t(t){var e=this;this.formattedValue="",this.onTimer=function(){e.updateFormattedValue(),clearTimeout(e.updateTimeoutId),e.shouldUpdate()&&(e.updateTimeoutId=setTimeout(e.onTimer,6e4))},this.$scope=t,t.$watch("value",(function(){e.onTimer()})),t.$on("$destroy",(function(){clearTimeout(e.updateTimeoutId)})),this.onTimer()}return t.prototype.updateFormattedValue=function(){this.$scope.value?this.formattedValue=Object(i.a)(this.$scope.value,this.$scope.absoluteFormat,this.$scope.relativeFormat):this.formattedValue="",this.$scope.safeApply()},t.prototype.shouldUpdate=function(){return a.test(this.formattedValue)},t.$inject=["$scope"],t}();function s(){Object(r.b)().directive("relativedate",l)}function l(){return Object(o.a)({restrict:"E",template:'<span ng-bind="ctrl.formattedValue"></span>',controller:c,controllerAs:"ctrl",scope:{value:"<",absoluteFormat:"<",relativeFormat:"<"}})}},732:function(t,e,n){"use strict";var o;n.d(e,"a",(function(){return o})),function(t){t[t.BACKSPACE=8]="BACKSPACE",t[t.TAB=9]="TAB",t[t.ENTER=13]="ENTER",t[t.SHIFT=16]="SHIFT",t[t.CTRL=17]="CTRL",t[t.ALT=18]="ALT",t[t.PAUSE_BREAK=19]="PAUSE_BREAK",t[t.CAPS_LOCK=20]="CAPS_LOCK",t[t.ESCAPE=27]="ESCAPE",t[t.PAGE_UP=33]="PAGE_UP",t[t.PAGE_DOWN=34]="PAGE_DOWN",t[t.END=35]="END",t[t.HOME=36]="HOME",t[t.LEFT_ARROW=37]="LEFT_ARROW",t[t.UP_ARROW=38]="UP_ARROW",t[t.RIGHT_ARROW=39]="RIGHT_ARROW",t[t.DOWN_ARROW=40]="DOWN_ARROW",t[t.INSERT=45]="INSERT",t[t.DELETE=46]="DELETE",t[t.LEFT_WINDOW=91]="LEFT_WINDOW",t[t.RIGHT_WINDOW=92]="RIGHT_WINDOW",t[t.SELECT_KEY=93]="SELECT_KEY",t[t.NUMPAD_0=96]="NUMPAD_0",t[t.NUMPAD_1=97]="NUMPAD_1",t[t.NUMPAD_2=98]="NUMPAD_2",t[t.NUMPAD_3=99]="NUMPAD_3",t[t.NUMPAD_4=100]="NUMPAD_4",t[t.NUMPAD_5=101]="NUMPAD_5",t[t.NUMPAD_6=102]="NUMPAD_6",t[t.NUMPAD_7=103]="NUMPAD_7",t[t.NUMPAD_8=104]="NUMPAD_8",t[t.NUMPAD_9=105]="NUMPAD_9",t[t.NUM_LOCK=144]="NUM_LOCK",t[t.SCROLL_LOCK=145]="SCROLL_LOCK",t[t.COMMA=188]="COMMA",t[t.DASH=189]="DASH",t[t.PERIOD=190]="PERIOD",t[t.SINGLE_QUOTE=222]="SINGLE_QUOTE",t[t.SEMICOLON=186]="SEMICOLON",t[t.EQUAL=187]="EQUAL",t[t.MINUS=189]="MINUS",t[t.SLASH=191]="SLASH",t[t.BACKQUOTE=192]="BACKQUOTE",t[t.LEFTBRACKET=219]="LEFTBRACKET",t[t.BACKSLASH=220]="BACKSLASH",t[t.RIGHTBRACKET=221]="RIGHTBRACKET",t[t.COMMAND=15]="COMMAND",t[t.SPACE=32]="SPACE",t[t.COMMERCIAL_AT=64]="COMMERCIAL_AT",t[t.NUMBER_0=48]="NUMBER_0",t[t.NUMBER_1=49]="NUMBER_1",t[t.NUMBER_2=50]="NUMBER_2",t[t.NUMBER_3=51]="NUMBER_3",t[t.NUMBER_4=52]="NUMBER_4",t[t.NUMBER_5=53]="NUMBER_5",t[t.NUMBER_6=54]="NUMBER_6",t[t.NUMBER_7=55]="NUMBER_7",t[t.NUMBER_8=56]="NUMBER_8",t[t.NUMBER_9=57]="NUMBER_9",t[t.A=65]="A",t[t.B=66]="B",t[t.C=67]="C",t[t.D=68]="D",t[t.E=69]="E",t[t.F=70]="F",t[t.G=71]="G",t[t.H=72]="H",t[t.I=73]="I",t[t.J=74]="J",t[t.K=75]="K",t[t.L=76]="L",t[t.M=77]="M",t[t.N=78]="N",t[t.O=79]="O",t[t.P=80]="P",t[t.Q=81]="Q",t[t.R=82]="R",t[t.S=83]="S",t[t.T=84]="T",t[t.U=85]="U",t[t.V=86]="V",t[t.W=87]="W",t[t.X=88]="X",t[t.Y=89]="Y",t[t.Z=90]="Z",t[t.F1=112]="F1",t[t.F2=113]="F2",t[t.F3=114]="F3",t[t.F4=115]="F4",t[t.F5=116]="F5",t[t.F6=117]="F6",t[t.F7=118]="F7",t[t.F8=119]="F8",t[t.F9=120]="F9",t[t.F10=121]="F10",t[t.F11=122]="F11",t[t.F12=123]="F12",t[t.F13=124]="F13",t[t.F14=125]="F14",t[t.F15=126]="F15",t[t.NUMPAD=21]="NUMPAD",t[t.NUMPAD_ADD=107]="NUMPAD_ADD",t[t.NUMPAD_DECIMAL=110]="NUMPAD_DECIMAL",t[t.NUMPAD_DIVIDE=111]="NUMPAD_DIVIDE",t[t.NUMPAD_ENTER=108]="NUMPAD_ENTER",t[t.NUMPAD_MULTIPLY=106]="NUMPAD_MULTIPLY",t[t.NUMPAD_SUBTRACT=109]="NUMPAD_SUBTRACT",t[t.PROCESSING_KEY=229]="PROCESSING_KEY",t[t.EQUAL_FIREFOX=61]="EQUAL_FIREFOX",t[t.MINUS_FIREFOX=173]="MINUS_FIREFOX"}(o||(o={}))},765:function(t,e){t.exports='<label class="rtb-toggle" no-prevent-default="true" ng-class="{\'rtb-toggle--disabled\': off === true}">\n\t<input\n\t\ttype="checkbox"\n\t\tname="{{::name}}"\n\t\tng-model="checked"\n\t\tng-change="onChange({$value: checked})"\n\t\tng-disabled="off"\n\t/>\n\t<span class="rtb-toggle__indicator"></span>\n\t<span class="rtb-toggle__text" ng-if="label" ng-bind="label"></span>\n</label>\n'},801:function(t,e){t.exports=function(t){for(var e=-1,n=t?t.length:0,o={};++e<n;){var r=t[e];o[r[0]]=r[1]}return o}},802:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(437),r=n(428),i=n(438),a=function(){function t(){this.__isFirstRender=!0,this.state={},this.props={}}return t.prototype.$onChanges=function(t){var e=this.props,n=r(t,"currentValue"),i=o({},this.props,n);if(this.__isFirstRender)o(this,{props:i}),this.componentWillMount(),this.render(),this.__isFirstRender=!1;else{if(!this.didPropsChange(n,e))return;this.componentWillReceiveProps(i);var a=this.shouldComponentUpdate(i,this.state);if(o(this,{props:i}),!a)return;this.componentWillUpdate(this.props,this.state),this.render(),this.componentDidUpdate(this.props,this.state)}},t.prototype.$postLink=function(){this.componentDidMount()},t.prototype.$onDestroy=function(){this.componentWillUnmount()},t.prototype.didPropsChange=function(t,e){return i(t,(function(t,n){return t!==e[n]}))},t.prototype.componentWillMount=function(){},t.prototype.componentDidMount=function(){},t.prototype.componentWillReceiveProps=function(t){},t.prototype.shouldComponentUpdate=function(t,e){return!0},t.prototype.componentWillUpdate=function(t,e){},t.prototype.componentDidUpdate=function(t,e){},t.prototype.componentWillUnmount=function(){},t.prototype.render=function(){},t}();e.default=a},811:function(t,e,n){"use strict";(function(t){var o=n(220),r=function(){function e(){}return e.start=function(e,n,o){var r=this;void 0===n&&(n=function(){}),void 0===o&&(o=function(){}),t.when(e).then((function(t){r.downloadFile(t),n()}),o)},e.downloadFile=function(t){var e,n,r=t.attrs||{},i=t.urlOrBlob instanceof Blob,a=window.URL||window.webkitURL||window,c=r.download||"download";i?(e=a.createObjectURL(t.urlOrBlob),n="download-link-help"):(e=t.urlOrBlob,n="_blank"),o.e(e).download(c,n),i&&(window.navigator.msSaveOrOpenBlob&&window.navigator.msSaveOrOpenBlob(t.urlOrBlob,c),setTimeout((function(){return a.revokeObjectURL(e)}),1e4))},e}();e.a=r}).call(this,n(193))},858:function(t,e,n){var o=n(229);(t.exports=n(177)(!1)).push([t.i,".ui-directive {\n  position: relative;\n  display: inline-block;\n}\n.ui-directive--done .ui-directive__done {\n  opacity: 1;\n  pointer-events: all;\n  transition: none;\n}\n.ui-directive--fail .ui-directive__fail {\n  opacity: 1;\n  pointer-events: all;\n}\n.ui-directive--done .ui-directive__border {\n  border-color: rgba(119, 204, 102, 1);\n  border-color: var(--green700);\n  transition: none;\n}\n.ui-directive--fail .ui-directive__border {\n  border: 1px solid #cc6666;\n}\n.ui-directive__border {\n  border: 1px solid rgba(205, 204, 215, 1);\n  border: 1px solid var(--indigo400);\n  transition: border-color 600ms;\n}\n.ui-directive__done {\n  opacity: 0;\n  pointer-events: none;\n  position: absolute;\n  bottom: -19px;\n  right: -1px;\n  font-size: 12px;\n  color: rgba(119, 204, 102, 1);\n  color: var(--green700);\n  transition: opacity 600ms;\n}\n.ui-directive__fail {\n  opacity: 0;\n  pointer-events: none;\n  position: absolute;\n  width: 230px;\n  font-size: 12px;\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  background-color: rgba(255, 255, 255, 1);\n  background-color: var(--white);\n  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);\n  z-index: 50;\n}\n.ui-directive__fail--top {\n  top: 54px;\n  right: 0;\n}\n.ui-directive__fail--top .ui-directive__fail-triangle {\n  top: -10px;\n  left: 106px;\n  box-shadow: -1px -1px 10px -3px rgba(0, 0, 0, 0.2);\n}\n.ui-directive__fail--right {\n  right: -175px;\n  top: -17px;\n  width: 160px;\n}\n.ui-directive__fail--right .ui-directive__fail-triangle {\n  right: inherit;\n  top: 22px;\n  left: -10px;\n  box-shadow: 0px 2px 10px -3px rgba(0, 0, 0, 0.2);\n}\n.ui-directive__fail-triangle {\n  content: '';\n  position: absolute;\n  width: 20px;\n  height: 20px;\n  background: rgba(255, 255, 255, 1);\n  background: var(--white);\n  transform: rotate(45deg);\n  z-index: 49;\n}\n.ui-directive__fail-wrapper {\n  background: rgba(255, 255, 255, 1);\n  background: var(--white);\n  width: 100%;\n  height: 100%;\n  position: relative;\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  padding: 15px 10px;\n  z-index: 51;\n  display: -ms-flexbox;\n  display: flex;\n  -ms-flex-flow: row nowrap;\n      flex-flow: row nowrap;\n  -ms-flex-pack: start;\n      justify-content: flex-start;\n  -ms-flex-align: center;\n      align-items: center;\n  box-sizing: border-box;\n}\n.ui-directive__fail-icon {\n  width: 45px;\n}\n.ui-directive__fail-message {\n  padding-left: 10px;\n}\n.ui-input__label-wrapper {\n  margin-bottom: 5px;\n  display: inline-block;\n}\n.ui-input__label-wrapper label {\n  font-size: 13px;\n}\n.ui-input__input-wrapper {\n  position: relative;\n  border-radius: 5px;\n}\n.ui-input__input-wrapper input {\n  width: 100%;\n  outline: none;\n  background: none;\n  box-sizing: border-box;\n  line-height: 40px;\n  height: 40px;\n  padding: 0 10px;\n  font-size: 16px;\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n}\n.ui-input__input-wrapper input:focus {\n  transition: none;\n  border-color: rgba(104, 129, 255, 1);\n  border-color: var(--blue600);\n}\n.ui-input__input-wrapper input.readonly {\n  border-color: #f8f8f7;\n  background-color: #f8f8f7;\n}\n.ui-input__eye {\n  position: absolute;\n  top: 11px;\n  right: -30px;\n  cursor: pointer;\n  opacity: 0.5;\n}\n.ui-input__eye:hover {\n  opacity: 1;\n}\n.ui-input__eye--open {\n  top: 12px;\n}\n.ui-input__eye--open .ui-input__eye-close {\n  display: none;\n}\n.ui-input__eye--open .ui-input__eye-open {\n  display: block;\n}\n.ui-input__eye-open {\n  display: none;\n}\n.ui-select--disabled {\n  opacity: 0.3;\n}\n.ui-select--disabled .ui-select__select-wrapper:hover {\n  border-color: #cad2d2;\n}\n.ui-select--disabled .ui-select__triangle {\n  opacity: 0.54;\n}\n.ui-select--disabled .ui-select__description {\n  color: #4b4b4b;\n}\n.ui-select__label {\n  font-size: 13px;\n  margin-bottom: 5px;\n  display: inline-block;\n}\n.ui-select__triangle {\n  position: absolute;\n  right: 0;\n  top: 0;\n  height: 100%;\n  pointer-events: none;\n}\n.ui-select__triangle .icon {\n  padding: 17px 11px 0 0;\n}\n.ui-select__select-wrapper {\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  position: relative;\n}\n.ui-select__select-wrapper:hover {\n  border-color: rgba(66, 98, 255, 1);\n  border-color: var(--blue700);\n}\n.ui-select__select-wrapper select {\n  width: 100%;\n  height: 38px;\n  padding: 0 30px 0 10px;\n}\n.ui-select__select-wrapper select.\\--placeholder option[value='0'] {\n  color: rgba(205, 204, 215, 1);\n  color: var(--indigo400);\n}\n.ui-select__select-wrapper--selected select {\n  color: inherit;\n}\n.ui-select__description {\n  font-size: 12px;\n  line-height: 17px;\n  margin: -2px 0 6px 0;\n  white-space: nowrap;\n}\n.ui-select .ui-directive__fail {\n  left: 0;\n  top: 82px;\n}\n.ui-button {\n  background: rgba(255, 255, 255, 1);\n  background: var(--white);\n  text-align: center;\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n  padding: 0 5px;\n  cursor: pointer;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  box-sizing: border-box;\n  overflow: hidden;\n}\n.ui-button__disabled {\n  pointer-events: none;\n  opacity: 0.5;\n}\n.ui-button__icon,\n.ui-button__caption {\n  display: inline-block;\n}\n.ui-button__icon {\n  float: left;\n  padding: 15px 0 0 10px;\n}\n.ui-button__caption {\n  font-size: 13px;\n  line-height: 30px;\n}\n.ui-button--gray {\n  height: 36px;\n  background: transparent;\n  border: 1px solid #cad2d2;\n}\n.ui-button--gray:hover {\n  border-color: #95a5a6;\n  background-color: #95a5a6;\n}\n.ui-button--gray:hover .ui-button__caption {\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n}\n.ui-button--gray-fill {\n  height: 30px;\n  background: hsl(60, 6.7%, 97.1%);\n}\n.ui-button--gray-fill:hover,\n.ui-button--gray-fill.mouseenter {\n  background: hsl(60, 6.7%, 92.1%);\n}\n.ui-button--gray .ui-button__caption,\n.ui-button--red .ui-button__caption {\n  font-size: 13px;\n}\n.ui-button--red {\n  height: 30px;\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n  background: hsl(0, 50%, 60%);\n}\n.ui-button--red:hover,\n.ui-button--red.mouseenter {\n  background: hsl(0, 50%, 55%);\n}\n.ui-button--blue {\n  color: rgba(66, 98, 255, 1);\n  color: var(--blue700);\n  border: 1px solid #b2ccff;\n  background-color: transparent;\n}\n.ui-button--blue:hover {\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n  border-color: transparent;\n  background: rgba(66, 98, 255, 1);\n  background: var(--blue700);\n}\n.ui-button--blue .ui-button__caption {\n  line-height: 36px;\n}\n.ui-button--blue-fill {\n  height: 40px;\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n  background: rgba(66, 98, 255, 1);\n  background: var(--blue700);\n  border-radius: 4px;\n  border-radius: var(--radiusM);\n}\n.ui-button--blue-fill:hover {\n  background: rgba(69, 91, 237, 1);\n  background: var(--blue800);\n}\n.ui-button--blue-fill .ui-button__caption {\n  font-size: 16px;\n  line-height: 40px;\n}\n.ui-button--green {\n  color: rgba(119, 204, 102, 1);\n  color: var(--green700);\n  background: none;\n  border: 1px solid rgba(124, 197, 118, 0.5);\n}\n.ui-button--green:hover {\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n  background-color: rgba(119, 204, 102, 1);\n  background-color: var(--green700);\n}\n.ui-button--green .ui-button__caption {\n  line-height: 34px;\n}\n.ui-button--green-fill {\n  color: rgba(255, 255, 255, 1);\n  color: var(--white);\n  background-color: hsl(115, 40%, 61%);\n}\n.ui-button--green-fill:hover {\n  background-color: hsl(115, 40%, 56%);\n}\n.ui-loader {\n  width: 32px;\n  height: 32px;\n  background: url("+o(n(859))+") 0 0;\n  position: absolute;\n  top: calc(50% - 16px);\n  left: calc(50% - 16px);\n}\n.ui-upload {\n  overflow: hidden;\n}\n.ui-upload,\n.ui-upload input {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  opacity: 0;\n  z-index: 110;\n  cursor: pointer;\n}\n.ui-upload input {\n  top: -40px;\n  height: calc(100% + 40px);\n  z-index: 120;\n}\n.ui-upload__disabled {\n  pointer-events: none;\n  opacity: 0.5;\n}\n",""])},859:function(t,e,n){t.exports=n.p+"src/components/web/common/forms/ui/img/loader.fff3b2.png"},891:function(t,e,n){"use strict";var o=n(732);n.d(e,"a",(function(){return o.a}))},952:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return a})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return s}));var o=n(16),r="Online Whiteboard for Visual Collaboration",i="Miro";function a(t){document.title=t+" | "+r}function c(t){var e=t+", "+r;document.title=o.a.mobile?"Miro | "+e:e}function s(){a(i)}}}]);
  //# sourceMappingURL=https://miro.com/app/static/BoardInfoOperations.a46aad8c4566849a60db.js.map