*/fixRegexpWellKnownSymbolLogic("split",2,(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){varn,o,i=String(requireObjectCoercible(this)),a=void0===r?4294967295:r>>>0;if(0===a)return[];if(void0===t)return[i];if(!isObject(n=t)||!(void0!==(o=n[So])?o:"RegExp"==classofRaw(n)))returne.call(i,t,a);for(varc,u,l,s=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,h=newRegExp(t.source,f+"g");(c=zn.call(h,i))&&!((u=h.lastIndex)>p&&(s.push(i.slice(p,c.index)),c.length>1&&c.index<i.length&&ko.apply(s,c.slice(1)),l=c[0].length,p=u,s.length>=a));)h.lastIndex===c.index&&h.lastIndex++;returnp===i.length?!l&&h.test("")||s.push(""):s.push(i.slice(p)),s.length>a?s.slice(0,a):s}:"0".split(void0,0).length?function(t,r){returnvoid0===t&&0===r?[]:e.call(this,t,r)}:e,[functionsplit(e,r){varo=requireObjectCoercible(this),i=null==e?void0:e[t];returnvoid0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,o){vari=r(n,t,this,o,n!==e);if(i.done)returni.value;vara=anObject(t),c=String(this),u=speciesConstructor(a,RegExp),l=a.unicode,s=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Oo?"y":"g"),f=newu(Oo?a:"^(?:"+a.source+")",s),p=void0===o?4294967295:o>>>0;if(0===p)return[];if(0===c.length)returnnull===regexpExecAbstract(f,c)?[c]:[];for(varh=0,d=0,v=[];d<c.length;){f.lastIndex=Oo?d:0;vary,g=regexpExecAbstract(f,Oo?c:c.slice(d));if(null===g||(y=Eo(toLength(f.lastIndex+(Oo?0:d)),c.length))===h)d=advanceStringIndex(c,d,l);else{if(v.push(c.slice(h,d)),v.length===p)returnv;for(varm=1;m<=g.length-1;m++)if(v.push(g[m]),v.length===p)returnv;d=h=y}}returnv.push(c.slice(h)),v}]}),!Oo);varAo=function(){vart=_asyncToGenerator(regeneratorRuntime.mark((function_callee(t){vare;returnregeneratorRuntime.wrap((function_callee$(r){for(;;)switch(r.prev=r.next){case0:returnr.prev=0,r.next=3,__variableDynamicImportRuntime0__("./locale/".concat(encodeURIComponent(t),".js"));case3:e=r.sent,r.next=12;break;case6:returnr.prev=6,r.t0=r.catch(0),console.error("Missing translation (".concat(t,") - using 'en'")),r.next=11,Promise.resolve().then((function(){returnIo}));case11:e=r.sent;case12:returnr.abrupt("return",e.default);case13:case"end":returnr.stop()}}),_callee,null,[[0,6]])})));returnfunctionloadExtensionTranslation(e){returnt.apply(this,arguments)}}(),jo={name:"markers",init:functioninit(t){vare=this;return_asyncToGenerator(regeneratorRuntime.mark((function_callee3(){varr,n,o,i,a,c,u,l,s,f,p,h,d,v,y,g,m,b,w,x,_,S,k,E,O;returnregeneratorRuntime.wrap((function_callee3$(A){for(;;)switch(A.prev=A.next){case0:returnE=function_buildButtonList(){vart=[];returno.each(c,(function(e,r){varn=r+"_marker_list",o=!0;Object.keys(s).forEach((function(e){vari=k(String(e));t.push({id:l+r+"_"+e,svgicon:e,icon:e+".svg",title:i,type:"context",events:{click:_},panel:"marker_panel",list:n,isDefault:o}),o=!1}))})),t},k=function_getTitle(t){vare=n.langList.find((function(e){returne.id===t}));returne?e.title:t},S=function_setArrowFromButton3(){return(S=_asyncToGenerator(regeneratorRuntime.mark((function_callee2(t){vare,r,n;returnregeneratorRuntime.wrap((function_callee2$(t){for(;;)switch(t.prev=t.next){case0:if(e=this.id.split("_"),r=e[1],n=e[2],e[3]&&(n+="_"+e[3]),"textmarker"===n){t.next=8;break}w(r,"\\"+n),t.next=10;break;case8:returnt.next=10,x(r);case10:case"end":returnt.stop()}}),_callee2,this)})))).apply(this,arguments)},_=function_setArrowFromButton2(t){returnS.apply(this,arguments)},x=function_showTextPrompt(t){vare=o("#"+t+"_marker").val();"\\"===e.substr(0,1)&&(e="");varr=prompt("Enter text for "+t+" marker",e);r&&w(t,r)},w=function_triggerTextEntry(t,e){o("#"+t+"_marker").val(e),o("#"+t+"_marker").change()},b=function_updateReferences(t){o.each(c,(function(e,r){varn=u+r+"_"+t.id,a="marker-"+r,c=f(t,a);if(c&&c.attributes.se_type){varl=t.getAttribute(a);if(l){vars=t.id.leng