1
2
|
"use strict";(self.webpackChunktext=self.webpackChunktext||[]).push([["editor-collab"],{51993:(t,n,e)=>{e.d(n,{Z:()=>c});var r=e(87537),o=e.n(r),a=e(23645),i=e.n(a),A=e(61667),s=e.n(A),d=new URL(e(64989),e.b),l=i()(o()),C=s()(d);l.push([t.id,'[data-v-05089536] .modal-wrapper .prev,[data-v-05089536] .modal-wrapper .next{display:none !important}[data-v-05089536] .modal-wrapper .modal-container{overflow:auto;padding:30px 40px 20px;user-select:text}@media only screen and (max-width: 512px){[data-v-05089536] .modal-wrapper .modal-container{position:absolute;top:var(--header-height);height:calc(100% - var(--header-height))}}table[data-v-05089536]{margin-top:24px;border-collapse:collapse}table tbody tr[data-v-05089536]:hover,table tbody tr[data-v-05089536]:focus,table tbody tr[data-v-05089536]:active{background-color:transparent !important}table thead tr[data-v-05089536]{border:none}table th[data-v-05089536]{font-weight:bold;padding:.75rem 1rem .75rem 0;border-bottom:2px solid var(--color-background-darker)}table td[data-v-05089536]{padding:.75rem 1rem .75rem 0;border-top:1px solid var(--color-background-dark);border-bottom:unset}table td.noborder[data-v-05089536]{border-top:unset}table td.ellipsis_top[data-v-05089536]{padding-bottom:0}table td.ellipsis[data-v-05089536]{padding-top:0;padding-bottom:0}table td.ellipsis_bottom[data-v-05089536]{padding-top:0}table kbd[data-v-05089536]{font-size:smaller}table code[data-v-05089536]{padding:.2em .4em;font-size:90%;background-color:var(--color-background-dark);border-radius:6px}div.ProseMirror[data-v-05089536]{margin-top:44px;height:100%;position:relative;word-wrap:break-word;white-space:pre-wrap;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;padding:4px 8px 200px 14px;line-height:150%;font-size:14px;outline:none}div.ProseMirror[contenteditable=true][data-v-05089536],div.ProseMirror[contenteditable=false][data-v-05089536],div.ProseMirror [contenteditable=true][data-v-05089536],div.ProseMirror [contenteditable=false][data-v-05089536]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text;font-size:14px}div.ProseMirror .checkbox-item[data-v-05089536]{display:flex;align-items:start;margin-left:-23px}div.ProseMirror .checkbox-item input[type=checkbox][data-v-05089536]{display:none}div.ProseMirror .checkbox-item[data-v-05089536]:before{content:"";vertical-align:middle;margin:3px 6px 3px 2px;border:1px solid var(--color-text-maxcontrast);position:relative;display:block;border-radius:var(--border-radius);height:14px;width:14px;box-shadow:none !important;background-position:center;cursor:pointer}div.ProseMirror .checkbox-item.checked[data-v-05089536]:before{background-image:url('+C+');background-color:var(--color-primary-element);border-color:var(--color-primary-element)}div.ProseMirror .checkbox-item label[data-v-05089536]{display:block;flex-grow:1;max-width:calc(100% - 28px)}div.ProseMirror>*[data-v-05089536]:first-child{margin-top:10px}div.ProseMirror a[data-v-05089536]{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}div.ProseMirror p[data-v-05089536]{margin-bottom:1em;line-height:150%}div.ProseMirror em[data-v-05089536]{font-style:italic}div.ProseMirror h1[data-v-05089536],div.ProseMirror h2[data-v-05089536],div.ProseMirror h3[data-v-05089536],div.ProseMirror h4[data-v-05089536],div.ProseMirror h5[data-v-05089536],div.ProseMirror h6[data-v-05089536]{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}div.ProseMirror h1[data-v-05089536]{font-size:36px;margin-top:48px}div.ProseMirror h2[data-v-05089536]{font-size:30px;margin-top:48px}div.ProseMirror h3[data-v-05089536]{font-size:24px}div.ProseMirror h4[data-v-05089536]{font-size:21px}div.ProseMirror h5[data-v-05089536]{font-size:17px}div.ProseMirror h6[data-v-05089536]{font-size:14px}div.ProseMirror img[data-v-05089536]{cursor:default;max-width:100%}div.ProseMirror hr[data-v-05089536]{padding:2px 0;border:none;margin:3em 0;width:100%}div.ProseMirror hr[data-v-05089536]:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}div.ProseMirror pre[data-v-05089536]{white-space:pre-wrap;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}div.ProseMirror p code[data-v-05089536]{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}div.ProseMirror li[data-v-05089536]{position:relative;padding-left:3px}div.ProseMirror li p[data-v-05089536]{margin-bottom:.5em}div.ProseMirror ul[data-v-05089536],div.ProseMirror ol[data-v-05089536]{padding-left:10px;margin-left:10px;margin-bottom:1em}div.ProseMirror ul>li[data-v-05089536]{list-style-type:disc}div.ProseMirror li ul>li[data-v-05089536]{list-style-type:circle}div.ProseMirror li li ul>li[data-v-05089536]{list-style-type:square}div.ProseMirror blockquote[data-v-05089536]{padding-left:1em;border-left:4px solid var(--color-primary-element);color:var(--color-text-maxcontrast);margin-left:0;margin-right:0}.ProseMirror-focused .ProseMirror-gapcursor[data-v-05089536]{display:block}.editor__content p.is-empty[data-v-05089536]:first-child::before{content:attr(data-placeholder);float:left;color:var(--color-text-maxcontrast);pointer-events:none;height:0}.editor__content[data-v-05089536]{tab-size:4}div.ProseMirror[data-v-05089536]{display:inline;margin-top:unset;position:unset;padding:unset;line-height:unset}div.ProseMirror h1[data-v-05089536],div.ProseMirror h6[data-v-05089536]{display:inline;padding:0;margin:0}',"",{version:3,sources:["webpack://./src/components/HelpModal.vue","webpack://./css/prosemirror.scss"],names:[],mappings:"AA+MC,8EACC,uBAAA,CAGD,kDAEC,aAAA,CAEA,sBAAA,CACA,gBAAA,CAKD,0CACC,kDACC,iBAAA,CACA,wBAAA,CACA,wCAAA,CAAA,CAKH,uBACC,eAAA,CACA,wBAAA,CAGC,mHACC,uCAAA,CAIF,gCACC,WAAA,CAGD,0BACC,gBAAA,CACA,4BAAA,CACA,sDAAA,CAGD,0BACC,4BAAA,CACA,iDAAA,CACA,mBAAA,CAEA,mCACC,gBAAA,CAGD,uCACC,gBAAA,CAGD,mCACC,aAAA,CACA,gBAAA,CAGD,0CACC,aAAA,CAIF,2BACC,iBAAA,CAGD,4BACC,iBAAA,CACA,aAAA,CACA,6CAAA,CACA,iBAAA,CCxRF,iCACC,eAAA,CACA,WAAA,CACA,iBAAA,CACA,oBAAA,CACA,oBAAA,CACA,mCAAA,CACA,2BAAA,CACA,0BAAA,CACA,gBAAA,CACA,cAAA,CACA,YAAA,CAEA,gOAIC,sBAAA,CACA,UAAA,CACA,4BAAA,CACA,4BAAA,CACA,SAAA,CACA,wBAAA,CACA,gBAAA,CACA,cAAA,CAGD,gDACC,YAAA,CACA,iBAAA,CAEA,iBAAA,CAEA,qEACC,YAAA,CAED,uDACC,UAAA,CACA,qBAAA,CACA,sBAAA,CACA,8CAAA,CACA,iBAAA,CACA,aAAA,CACA,kCAAA,CACA,WAAA,CACA,UAAA,CACA,0BAAA,CACA,0BAAA,CACA,cAAA,CAED,+DACC,wDAAA,CACA,6CAAA,CACA,yCAAA,CAED,sDACC,aAAA,CACA,WAAA,CACA,2BAAA,CAIF,+CACC,eAAA,CAGD,mCACC,kCAAA,CACA,yBAAA,CACA,cAAA,CAGD,mCACC,iBAAA,CACA,gBAAA,CAGD,oCACC,iBAAA,CAGD,wNAMC,eAAA,CACA,gBAAA,CACA,eAAA,CACA,kBAAA,CACA,4BAAA,CAGD,oCACC,cAAA,CACA,eAAA,CAGD,oCACC,cAAA,CACA,eAAA,CAGD,oCACC,cAAA,CAGD,oCACC,cAAA,CAGD,oCACC,cAAA,CAGD,oCACC,cAAA,CAGD,qCACC,cAAA,CACA,cAAA,CAGD,oCACC,aAAA,CACA,WAAA,CACA,YAAA,CACA,UAAA,CAGD,0CACC,UAAA,CACA,aAAA,CACA,UAAA,CACA,yCAAA,CACA,eAAA,CAGD,qCACC,oBAAA,CACA,6CAAA,CACA,kCAAA,CACA,iBAAA,CACA,iBAAA,CAGD,wCACC,6CAAA,CACA,kCAAA,CACA,iBAAA,CAGD,oCACC,iBAAA,CACA,gBAAA,CAEA,sCACC,kBAAA,CAIF,wEACC,iBAAA,CACA,gBAAA,CACA,iBAAA,CAGD,uCACC,oBAAA,CAID,0CACC,sBAAA,CAID,6CACC,sBAAA,CAGD,4CACC,gBAAA,CACA,kDAAA,CACA,mCAAA,CACA,aAAA,CACA,cAAA,CAKF,6DACC,aAAA,CAGD,iEACC,8BAAA,CACA,UAAA,CACA,mCAAA,CACA,mBAAA,CACA,QAAA,CAGD,kCACC,UAAA,CDgFD,iCACC,cAAA,CACA,gBAAA,CACA,cAAA,CACA,aAAA,CACA,iBAAA,CAEA,wEACC,cAAA,CACA,SAAA,CACA,QAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n::v-deep .modal-wrapper {\n\t// TODO: can be removed once migrated to @nextcloud-vue >= 5.0\n\t.prev, .next {\n\t\tdisplay: none !important;\n\t}\n\n\t.modal-container {\n\t\t// TODO: can be removed once migrated to @nextcloud-vue >= 5.0\n\t\toverflow: auto;\n\t\t// Diverge from upstream modal styling\n\t\tpadding: 30px 40px 20px;\n\t\tuser-select: text;\n\t}\n\n\t// TODO: can be removed once migrated to @nextcloud-vue >= 5.0\n\t// Make modal full screen on mobile\n\t@media only screen and (max-width: 512px) {\n\t\t.modal-container {\n\t\t\tposition: absolute;\n\t\t\ttop: var(--header-height);\n\t\t\theight: calc(100% - var(--header-height));\n\t\t}\n\t}\n}\n\ntable {\n\tmargin-top: 24px;\n\tborder-collapse: collapse;\n\n\ttbody tr {\n\t\t&:hover, &:focus, &:active {\n\t\t\tbackground-color: transparent !important;\n\t\t}\n\t}\n\n\tthead tr {\n\t\tborder: none;\n\t}\n\n\tth {\n\t\tfont-weight: bold;\n\t\tpadding: .75rem 1rem .75rem 0;\n\t\tborder-bottom: 2px solid var(--color-background-darker);\n\t}\n\n\ttd {\n\t\tpadding: .75rem 1rem .75rem 0;\n\t\tborder-top: 1px solid var(--color-background-dark);\n\t\tborder-bottom: unset;\n\n\t\t&.noborder {\n\t\t\tborder-top: unset;\n\t\t}\n\n\t\t&.ellipsis_top {\n\t\t\tpadding-bottom: 0;\n\t\t}\n\n\t\t&.ellipsis {\n\t\t\tpadding-top: 0;\n\t\t\tpadding-bottom: 0;\n\t\t}\n\n\t\t&.ellipsis_bottom {\n\t\t\tpadding-top: 0;\n\t\t}\n\t}\n\n\tkbd {\n\t\tfont-size: smaller;\n\t}\n\n\tcode {\n\t\tpadding: .2em .4em;\n\t\tfont-size: 90%;\n\t\tbackground-color: var(--color-background-dark);\n\t\tborder-radius: 6px;\n\t}\n}\n\n@import '../../css/prosemirror';\n\ndiv.ProseMirror {\n\tdisplay: inline;\n\tmargin-top: unset;\n\tposition: unset;\n\tpadding: unset;\n\tline-height: unset;\n\n\th1, h6 {\n\t\tdisplay: inline;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n}\n","/* Document rendering styles */\ndiv.ProseMirror {\n\tmargin-top: 44px;\n\theight: 100%;\n\tposition: relative;\n\tword-wrap: break-word;\n\twhite-space: pre-wrap;\n\t-webkit-font-variant-ligatures: none;\n\tfont-variant-ligatures: none;\n\tpadding: 4px 8px 200px 14px;\n\tline-height: 150%;\n\tfont-size: 14px;\n\toutline: none;\n\n\t&[contenteditable=true],\n\t&[contenteditable=false],\n\t[contenteditable=true],\n\t[contenteditable=false] {\n\t\tborder: none !important;\n\t\twidth: 100%;\n\t\tbackground-color: transparent;\n\t\tcolor: var(--color-main-text);\n\t\topacity: 1;\n\t\t-webkit-user-select: text;\n\t\tuser-select: text;\n\t\tfont-size: 14px;\n\t}\n\n\t.checkbox-item {\n\t\tdisplay: flex;\n\t\talign-items: start;\n\t\t// Left-align with list item text\n\t\tmargin-left: -23px;\n\n\t\tinput[type=checkbox] {\n\t\t\tdisplay: none;\n\t\t}\n\t\t&:before {\n\t\t\tcontent: '';\n\t\t\tvertical-align: middle;\n\t\t\tmargin: 3px 6px 3px 2px;\n\t\t\tborder: 1px solid var(--color-text-maxcontrast);\n\t\t\tposition: relative;\n\t\t\tdisplay: block;\n\t\t\tborder-radius: var(--border-radius);\n\t\t\theight: 14px;\n\t\t\twidth: 14px;\n\t\t\tbox-shadow: none !important;\n\t\t\tbackground-position: center;\n\t\t\tcursor: pointer;\n\t\t}\n\t\t&.checked:before {\n\t\t\tbackground-image: url('../../img/checkbox-mark.svg');\n\t\t\tbackground-color: var(--color-primary-element);\n\t\t\tborder-color: var(--color-primary-element);\n\t\t}\n\t\tlabel {\n\t\t\tdisplay: block;\n\t\t\tflex-grow: 1;\n\t\t\tmax-width: calc(100% - 28px);\n\t\t}\n\t}\n\n\t> *:first-child {\n\t\tmargin-top: 10px;\n\t}\n\n\ta {\n\t\tcolor: var(--color-primary-element);\n\t\ttext-decoration: underline;\n\t\tpadding: .5em 0;\n\t}\n\n\tp {\n\t\tmargin-bottom: 1em;\n\t\tline-height: 150%;\n\t}\n\n\tem {\n\t\tfont-style: italic;\n\t}\n\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6 {\n\t\tfont-weight: 600;\n\t\tline-height: 120%;\n\t\tmargin-top: 24px;\n\t\tmargin-bottom: 12px;\n\t\tcolor: var(--color-main-text);\n\t}\n\n\th1 {\n\t\tfont-size: 36px;\n\t\tmargin-top: 48px;\n\t}\n\n\th2 {\n\t\tfont-size: 30px;\n\t\tmargin-top: 48px;\n\t}\n\n\th3 {\n\t\tfont-size: 24px;\n\t}\n\n\th4 {\n\t\tfont-size: 21px;\n\t}\n\n\th5 {\n\t\tfont-size: 17px;\n\t}\n\n\th6 {\n\t\tfont-size: 14px;\n\t}\n\n\timg {\n\t\tcursor: default;\n\t\tmax-width: 100%;\n\t}\n\n\thr {\n\t\tpadding: 2px 0;\n\t\tborder: none;\n\t\tmargin: 3em 0;\n\t\twidth: 100%;\n\t}\n\n\thr:after {\n\t\tcontent: \"\";\n\t\tdisplay: block;\n\t\theight: 1px;\n\t\tbackground-color: var(--color-border-dark);\n\t\tline-height: 2px;\n\t}\n\n\tpre {\n\t\twhite-space: pre-wrap;\n\t\tbackground-color: var(--color-background-dark);\n\t\tborder-radius: var(--border-radius);\n\t\tpadding: 1em 1.3em;\n\t\tmargin-bottom: 1em;\n\t}\n\n\tp code {\n\t\tbackground-color: var(--color-background-dark);\n\t\tborder-radius: var(--border-radius);\n\t\tpadding: .1em .3em;\n\t}\n\n\tli {\n\t\tposition: relative;\n\t\tpadding-left: 3px;\n\n\t\tp {\n\t\t\tmargin-bottom: 0.5em;\n\t\t}\n\t}\n\n\tul, ol {\n\t\tpadding-left: 10px;\n\t\tmargin-left: 10px;\n\t\tmargin-bottom: 1em;\n\t}\n\n\tul > li {\n\t\tlist-style-type: disc;\n\t}\n\n\t// Second-level list entries\n\tli ul > li {\n\t\tlist-style-type: circle;\n\t}\n\n\t// Third-level and further down list entries\n\tli li ul > li {\n\t\tlist-style-type: square;\n\t}\n\n\tblockquote {\n\t\tpadding-left: 1em;\n\t\tborder-left: 4px solid var(--color-primary-element);\n\t\tcolor: var(--color-text-maxcontrast);\n\t\tmargin-left: 0;\n\t\tmargin-right: 0;\n\t}\n\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n\tdisplay: block;\n}\n\n.editor__content p.is-empty:first-child::before {\n\tcontent: attr(data-placeholder);\n\tfloat: left;\n\tcolor: var(--color-text-maxcontrast);\n\tpointer-events: none;\n\theight: 0;\n}\n\n.editor__content {\n\ttab-size: 4;\n}\n"],sourceRoot:""}]);const c=l},39491:(t,n,e)=>{e.d(n,{Z:()=>A});var r=e(87537),o=e.n(r),a=e(23645),i=e.n(a)()(o());i.push([t.id,".avatardiv[data-v-562023d3]{width:44px !important;height:44px !important;line-height:44px}.avatar-list[data-v-562023d3]{border:none;background-color:var(--color-main-background);padding:0;margin:0;padding-left:6px;display:inline-flex;flex-direction:row-reverse}.avatar-list[data-v-562023d3]:focus{background-color:#eee}.avatar-list .avatar-wrapper[data-v-562023d3]{margin:0 -8px 0 0;margin-left:0}.avatar-list .icon-more[data-v-562023d3],.avatar-list .icon-group[data-v-562023d3],.avatar-list .icon-settings-dark[data-v-562023d3]{background-color:var(--color-background-dark);width:44px;height:44px;margin:0 6px 0 0}.avatar-wrapper[data-v-562023d3]{width:44px;height:44px;z-index:1;border-radius:50%;overflow:hidden;box-sizing:content-box !important}.session-menu[data-v-562023d3]{max-width:280px;padding-top:6px;padding-bottom:6px}.session-menu ul li[data-v-562023d3]{align-items:center;display:flex;padding:6px}.session-menu ul li .avatar-wrapper[data-v-562023d3]{margin-right:6px}label[data-v-562023d3]{display:block;margin:8px}.hint[data-v-562023d3]{margin:8px;color:var(--color-text-maxcontrast)}","",{version:3,sources:["webpack://./src/components/SessionList.vue"],names:[],mappings:"AA4JA,4BACC,qBAAA,CACA,sBAAA,CACA,gBAAA,CAGD,8BACC,WAAA,CACA,6CAAA,CACA,SAAA,CACA,QAAA,CACA,gBAAA,CACA,mBAAA,CACA,0BAAA,CAEA,oCACC,qBAAA,CAGD,8CACC,iBAAA,CACA,aAAA,CAGD,qIACC,6CAAA,CACA,UAAA,CACA,WAAA,CACA,gBAAA,CAIF,iCACC,UAAA,CACA,WAAA,CACA,SAAA,CACA,iBAAA,CACA,eAAA,CACA,iCAAA,CAGD,+BACC,eAAA,CACA,eAAA,CACA,kBAAA,CAEA,qCACC,kBAAA,CACA,YAAA,CACA,WAAA,CAEA,qDACC,gBAAA,CAKH,uBACC,aAAA,CACA,UAAA,CAGD,uBACC,UAAA,CACA,mCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.avatardiv {\n\twidth: 44px !important;\n\theight: 44px !important;\n\tline-height: 44px;\n}\n\n.avatar-list {\n\tborder: none;\n\tbackground-color: var(--color-main-background);\n\tpadding: 0;\n\tmargin: 0;\n\tpadding-left: 6px;\n\tdisplay: inline-flex;\n\tflex-direction: row-reverse;\n\n\t&:focus {\n\t\tbackground-color: #eee;\n\t}\n\n\t.avatar-wrapper {\n\t\tmargin: 0 -8px 0 0;\n\t\tmargin-left: 0;\n\t}\n\n\t.icon-more, .icon-group, .icon-settings-dark {\n\t\tbackground-color: var(--color-background-dark);\n\t\twidth: 44px;\n\t\theight: 44px;\n\t\tmargin: 0 6px 0 0;\n\t}\n}\n\n.avatar-wrapper {\n\twidth: 44px;\n\theight: 44px;\n\tz-index: 1;\n\tborder-radius: 50%;\n\toverflow: hidden;\n\tbox-sizing: content-box !important;\n}\n\n.session-menu {\n\tmax-width: 280px;\n\tpadding-top: 6px;\n\tpadding-bottom: 6px;\n\n\tul li {\n\t\talign-items: center;\n\t\tdisplay: flex;\n\t\tpadding: 6px;\n\n\t\t.avatar-wrapper {\n\t\t\tmargin-right: 6px;\n\t\t}\n\t}\n}\n\nlabel {\n\tdisplay: block;\n\tmargin: 8px;\n}\n\n.hint {\n\tmargin: 8px;\n\tcolor: var(--color-text-maxcontrast);\n}\n"],sourceRoot:""}]);const A=i},92902:(t,n,e)=>{e.r(n),e.d(n,{default:()=>k});var r=e(47450),o=e.n(r),a=e(15168),i=e.n(a),A=e(88052);const s={name:"HelpModal",components:{Modal:o()},directives:{Tooltip:i()},mixins:[A.Z],data:function(){return{formatted:{bold:!0,italic:!0,strikethrough:!0,heading1:!0,heading6:!0,unorderdList:!0,orderedList:!0,checkList:!0,blockQuote:!0,codeBlock:!0}}},computed:{isFormatted:function(){var t=this;return function(n){return t.formatted[n]}}},methods:{toggleFormatted:function(t){this.formatted[t]=!this.formatted[t]}}};var d=e(93379),l=e.n(d),C=e(7795),c=e.n(C),p=e(90569),v=e.n(p),u=e(3565),m=e.n(u),g=e(19216),b=e.n(g),h=e(44589),x=e.n(h),_=e(51993),f={};f.styleTagTransform=x(),f.setAttributes=m(),f.insert=v().bind(null,"head"),f.domAPI=c(),f.insertStyleElement=b();l()(_.Z,f);_.Z&&_.Z.locals&&_.Z.locals;const k=(0,e(51900).Z)(s,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("Modal",{attrs:{size:"large",title:t.t("text","Formatting help")},on:{close:function(n){return t.$emit("close")}}},[e("h2",[t._v(t._s(t.t("text","Formatting help")))]),t._v(" "),e("p",[t._v(t._s(t.t("text","Speed up your writing with simple shortcuts.")))]),t._v(" "),t.isMobile?e("p",[t._v("\n\t\t"+t._s(t.t("text","Just type the Markdown syntax from below."))+"\n\t")]):e("p",[t._v("\n\t\t"+t._s(t.t("text","Just type the Markdown syntax or use keyboard shortcuts from below."))+"\n\t")]),t._v(" "),e("table",[e("thead",[e("tr",[e("th",[t._v(t._s(t.t("text","Style")))]),t._v(" "),e("th",[t._v(t._s(t.t("text","Syntax")))]),t._v(" "),t.isMobile?t._e():e("th",[t._v("\n\t\t\t\t\t"+t._s(t.t("text","Keyboard shortcuts"))+"\n\t\t\t\t")])])]),t._v(" "),e("tbody",[e("tr",[e("td",[t._v(t._s(t.t("text","Bold")))]),t._v(" "),e("td",[e("code",[t._v("**"+t._s(t.t("text","Bold text"))+"**")])]),t._v(" "),t.isMobile?t._e():e("td",[e("kbd",[t._v(t._s(t.t("text","Ctrl")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v("B")])])]),t._v(" "),e("tr",[e("td",[t._v(t._s(t.t("text","Italic")))]),t._v(" "),e("td",[e("code",[t._v("*"+t._s(t.t("text","Italicized text"))+"*")])]),t._v(" "),t.isMobile?t._e():e("td",[e("kbd",[t._v(t._s(t.t("text","Ctrl")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v("I")])])]),t._v(" "),e("tr",[e("td",[t._v(t._s(t.t("text","Strikethrough")))]),t._v(" "),e("td",[e("code",[t._v("~~"+t._s(t.t("text","Mistaken text"))+"~~")])]),t._v(" "),t.isMobile?t._e():e("td",[e("kbd",[t._v(t._s(t.t("text","Ctrl")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v(t._s(t.t("text","Shift")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v("X")])])]),t._v(" "),e("tr",[e("td",[t._v(t._s(t.t("text","Underline")))]),t._v(" "),e("td",[e("code",[t._v("__"+t._s(t.t("text","Underlined text"))+"__")])]),t._v(" "),t.isMobile?t._e():e("td",[e("kbd",[t._v(t._s(t.t("text","Ctrl")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v("U")])])]),t._v(" "),e("tr",[e("td",{staticClass:"ellipsis_top"},[t._v("\n\t\t\t\t\t"+t._s(t.t("text","Heading 1"))+"\n\t\t\t\t")]),t._v(" "),e("td",{staticClass:"ellipsis_top"},[e("code",[t._v("# "+t._s(t.t("text","Heading level 1")))])]),t._v(" "),t.isMobile?t._e():e("td",{staticClass:"ellipsis_top"},[e("kbd",[t._v(t._s(t.t("text","Ctrl")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v(t._s(t.t("text","Shift")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v("1")])])]),t._v(" "),e("tr",[e("td",{staticClass:"noborder ellipsis"},[t._v("\n\t\t\t\t\t…\n\t\t\t\t")]),t._v(" "),e("td",{staticClass:"noborder ellipsis"},[t._v("\n\t\t\t\t\t…\n\t\t\t\t")]),t._v(" "),t.isMobile?t._e():e("td",{staticClass:"ellipsis noborder"},[t._v("\n\t\t\t\t\t…\n\t\t\t\t")])]),t._v(" "),e("tr",[e("td",{staticClass:"noborder ellipsis_bottom"},[t._v("\n\t\t\t\t\t"+t._s(t.t("text","Heading 6"))+"\n\t\t\t\t")]),t._v(" "),e("td",{staticClass:"noborder ellipsis_bottom"},[e("code",[t._v("###### "+t._s(t.t("text","Heading level 6")))])]),t._v(" "),t.isMobile?t._e():e("td",{staticClass:"noborder ellipsis_bottom"},[e("kbd",[t._v(t._s(t.t("text","Ctrl")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v(t._s(t.t("text","Shift")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v("6")])])]),t._v(" "),e("tr",[e("td",[t._v(t._s(t.t("text","Unordered list")))]),t._v(" "),e("td",[e("code",[t._v("* "+t._s(t.t("text","An item")))])]),t._v(" "),t.isMobile?t._e():e("td",[e("kbd",[t._v(t._s(t.t("text","Ctrl")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v(t._s(t.t("text","Shift")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v("8")])])]),t._v(" "),e("tr",[e("td",[t._v(t._s(t.t("text","Ordered list")))]),t._v(" "),e("td",[e("code",[t._v("1. "+t._s(t.t("text","First item")))])]),t._v(" "),t.isMobile?t._e():e("td",[e("kbd",[t._v(t._s(t.t("text","Ctrl")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v(t._s(t.t("text","Shift")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v("7")])])]),t._v(" "),e("tr",[e("td",[t._v(t._s(t.t("text","Checklist")))]),t._v(" "),e("td",[e("code",[t._v("* [] "+t._s(t.t("text","Todo item")))])]),t._v(" "),t.isMobile?t._e():e("td")]),t._v(" "),e("tr",[e("td",[t._v(t._s(t.t("text","Blockquote")))]),t._v(" "),e("td",[e("code",[t._v("> "+t._s(t.t("text","Quoted text")))])]),t._v(" "),t.isMobile?t._e():e("td",[e("kbd",[t._v(t._s(t.t("text","Ctrl")))]),t._v("\n\t\t\t\t\t+\n\t\t\t\t\t"),e("kbd",[t._v(">")])])]),t._v(" "),e("tr",[e("td",[t._v(t._s(t.t("text","Code block")))]),t._v(" "),e("td",[e("code",[t._v("``` "+t._s(t.t("text","Some code")))])]),t._v(" "),t.isMobile?t._e():e("td")])])])])}),[],!1,null,"05089536",null).exports},37476:(e,r,o)=>{o.r(r),o.d(r,{default:()=>M});var a=o(28017),i=o.n(a),A=o(27028),s=o.n(A),d=o(15168),l=o.n(d),C=o(13815);const c={name:"SessionList",components:{Avatar:i(),Popover:s()},directives:{tooltip:l()},mixins:[C.Z],props:{sessions:{type:Object,default:function(){return{}}}},data:function(){return{myName:""}},computed:{showAuthorAnnotations:{get:function(){return this.$store.state.showAuthorAnnotations},set:function(t){this.$store.dispatch("setShowAuthorAnnotations",t)}},editorsTooltip:function(){var e=t("text","Currently active users:")+" ";if(this.sessionPopoverList.length>0){var r=this.activeSessions.slice(0,3).map((function(t){return t.guestName?t.guestName:t.displayName})).join(", "),o=this.activeSessions.slice(3).length;return e+r+" "+n("text","and %n other editor","and %n other editors",o)}return e+this.activeSessions.slice(0,3).map((function(t){return t.guestName?t.guestName:t.displayName})).join(", ")},activeSessions:function(){return Object.values(this.sessions).filter((function(t){return t.lastContact>Date.now()/1e3-90&&!t.isCurrent&&(null!==t.userId||null!==t.guestName)})).sort((function(t,n){return t.lastContact<n.lastContact}))},currentSession:function(){return Object.values(this.sessions).find((function(t){return t.isCurrent}))},sessionStyle:function(){return function(t){return{"border-color":t.color,"background-color":t.color+" !important"}}},avatarStyle:function(){return function(t){return{opacity:t.lastContact>Date.now()/1e3-60?1:.5}}},sessionsVisible:function(){return this.activeSessions.slice(0,3)},sessionPopoverList:function(){return this.activeSessions.slice(3)}}};var p=o(93379),v=o.n(p),u=o(7795),m=o.n(u),g=o(90569),b=o.n(g),h=o(3565),x=o.n(h),_=o(19216),f=o.n(_),k=o(44589),w=o.n(k),y=o(39491),B={};B.styleTagTransform=w(),B.setAttributes=x(),B.insert=b().bind(null,"head"),B.domAPI=m(),B.insertStyleElement=f();v()(y.Z,B);y.Z&&y.Z.locals&&y.Z.locals;const M=(0,o(51900).Z)(c,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("Popover",{staticClass:"session-list",attrs:{placement:"top"},scopedSlots:t._u([{key:"default",fn:function(){return[e("div",{staticClass:"session-menu"},[e("ul",[t._t("default"),t._v(" "),t._l(t.sessionPopoverList,(function(n){return e("li",{key:n.id,style:t.avatarStyle(n)},[e("div",{staticClass:"avatar-wrapper",style:t.sessionStyle(n)},[e("Avatar",{attrs:{user:n.userId?n.userId:n.guestName,"is-guest":null===n.userId,"disable-menu":!0,"show-user-status":!1,"disable-tooltip":!0,size:44}})],1),t._v("\n\t\t\t\t\t"+t._s(n.guestName?n.guestName:n.displayName)+"\n\t\t\t\t")])}))],2),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.showAuthorAnnotations,expression:"showAuthorAnnotations"}],staticClass:"checkbox",attrs:{id:"toggle-color-annotations",type:"checkbox"},domProps:{checked:Array.isArray(t.showAuthorAnnotations)?t._i(t.showAuthorAnnotations,null)>-1:t.showAuthorAnnotations},on:{change:function(n){var e=t.showAuthorAnnotations,r=n.target,o=!!r.checked;if(Array.isArray(e)){var a=t._i(e,null);r.checked?a<0&&(t.showAuthorAnnotations=e.concat([null])):a>-1&&(t.showAuthorAnnotations=e.slice(0,a).concat(e.slice(a+1)))}else t.showAuthorAnnotations=o}}}),t._v(" "),e("label",{attrs:{for:"toggle-color-annotations"}},[t._v(t._s(t.t("text","Show author colors")))]),t._v(" "),e("p",{staticClass:"hint"},[t._v("\n\t\t\t\t"+t._s(t.t("text","Author colors are only shown until everyone has closed the document."))+"\n\t\t\t")])])]},proxy:!0}],null,!0)},[e("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:t.editorsTooltip,expression:"editorsTooltip",modifiers:{bottom:!0}}],staticClass:"avatar-list",attrs:{slot:"trigger"},slot:"trigger"},[e("div",{staticClass:"avatardiv icon-group"}),t._v(" "),t._l(t.sessionsVisible,(function(n){return e("div",{key:n.id,staticClass:"avatar-wrapper",style:t.sessionStyle(n)},[e("Avatar",{style:t.avatarStyle(n),attrs:{user:n.userId?n.userId:n.guestName,"is-guest":null===n.userId,"disable-menu":!0,"show-user-status":!1,"disable-tooltip":!0,size:44}})],1)}))],2)])}),[],!1,null,"562023d3",null).exports}}]);
//# sourceMappingURL=editor-collab.js.map?v=5e3e8edbbb73f92b87f4
|