1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2682],{72682:function(t,n,e){e(27384)},27384:function(){var t,n,e,r,o,i,u,a,l,c,f,s,m,g,d,h,v,p,k,y,x,b,O,C,w,N,A,T,P,_,S,R,D,E,L,M,U,B,I,K,z,j,V,q,F,W,H,G,J,X,$,Q,Y,Z,tt,tn,te,tr,to,ti,tu,ta,tl,tc,tf,ts,tm,tg,td,th,tv,tp,tk,ty,tx,tb,tO,tC,tw,tN,tA,tT,tP,t_,tS,tR,tD,tE,tL,tM,tU,tB,tI,tK,tz,tj,tV,tq,tF,tW,tH,tG,tJ,tX,t$,tQ,tY,tZ,t0,t1,t2,t8,t3,t7,t4;t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.util.VK"),e=function(t){var n=typeof t;return null===t?"null":"object"===n&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===n&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":n},r=function(t){return function(n){return e(n)===t}},o=function(t){return function(n){return typeof n===t}},i=r("string"),u=r("array"),a=function(t){return null===t},l=o("boolean"),c=o("function"),f=function(){},s=function(t){return function(){return t}},m=function(t){return t},g=function(t,n){return t===n},d=s(!1),h=s(!0),v=function(){return k},k={fold:function(t,n){return t()},isSome:d,isNone:h,getOr:m,getOrThunk:p=function(t){return t()},getOrDie:function(t){throw Error(t||"error: getOrDie called on none.")},getOrNull:s(null),getOrUndefined:s(void 0),or:m,orThunk:p,map:v,each:f,bind:v,exists:d,forall:h,filter:function(){return v()},toArray:function(){return[]},toString:s("none()")},x={some:y=function(t){var n=s(t),e=function(){return o},r=function(n){return n(t)},o={fold:function(n,e){return e(t)},isSome:h,isNone:d,getOr:n,getOrThunk:n,getOrDie:n,getOrNull:n,getOrUndefined:n,or:e,orThunk:e,map:function(n){return y(n(t))},each:function(n){n(t)},bind:r,exists:r,forall:r,filter:function(n){return n(t)?o:k},toArray:function(){return[t]},toString:function(){return"some("+t+")"}};return o},none:v,from:function(t){return null==t?k:y(t)}},b=Array.prototype.indexOf,O=Array.prototype.push,C=function(t,n){return b.call(t,n)>-1},w=function(t,n){for(var e=t.length,r=Array(e),o=0;o<e;o++){var i=t[o];r[o]=n(i,o)}return r},N=function(t,n){for(var e=0,r=t.length;e<r;e++)n(t[e],e)},A=function(t){for(var n=[],e=0,r=t.length;e<r;++e){if(!u(t[e]))throw Error("Arr.flatten item "+e+" was not an array, input: "+t);O.apply(n,t[e])}return n},T=function(t,n){for(var e=0;e<t.length;e++){var r=n(t[e],e);if(r.isSome())return r}return x.none()},P=function(t,n,e){return void 0===e&&(e=g),t.exists(function(t){return e(t,n)})},_=function(t){for(var n=[],e=function(t){n.push(t)},r=0;r<t.length;r++)t[r].each(e);return n},S=function(t,n){return t?x.some(n):x.none()},R=function(t){var n=t.getParam("link_assume_external_targets",!1);return l(n)&&n?1:i(n)&&("http"===n||"https"===n)?n:0},D=function(t){return t.getParam("default_link_target")},E=function(t){return t.getParam("target_list",!0)},L=function(t){return t.getParam("rel_list",[],"array")},M=function(t){return t.getParam("allow_unsafe_link_target",!1,"boolean")},U=tinymce.util.Tools.resolve("tinymce.util.Tools"),B=function(t){return i(t.value)?t.value:""},I=function(t,n){var e=[];return U.each(t,function(t){var r=i(t.text)?t.text:i(t.title)?t.title:"";if(void 0!==t.menu){var o=I(t.menu,n);e.push({text:r,items:o})}else{var u=n(t);e.push({text:r,value:u})}}),e},z={sanitize:function(t){return K(B)(t)},sanitizeWith:K=function(t){return void 0===t&&(t=B),function(n){return x.from(n).map(function(n){return I(n,t)})}},createUi:function(t,n){return function(e){return{name:t,type:"listbox",label:n,items:e}}},getValue:B},j=function(){return(j=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)},V=Object.keys,q=Object.hasOwnProperty,F=function(t,n){for(var e=V(t),r=0,o=e.length;r<o;r++){var i=e[r];n(t[i],i)}},W=function(t,n){var e,r={};return e=function(t,n){r[n]=t},F(t,function(t,r){(n(t,r)?e:f)(t,r)}),r},H=function(t,n){return q.call(t,n)},G=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),J=tinymce.util.Tools.resolve("tinymce.util.URI"),X=function(t){return t&&"a"===t.nodeName.toLowerCase()},$=function(t){return X(t)&&!!Z(t)},Q=function(t,n){if(t.collapsed)return[];var e=t.cloneContents(),r=new G(e.firstChild,e),o=[],i=e.firstChild;do n(i)&&o.push(i);while(i=r.next());return o},Y=function(t){return/^\w+:/i.test(t)},Z=function(t){return t.getAttribute("data-mce-href")||t.getAttribute("href")},tt=function(t,n){var e,r=["noopener"],o=t?t.split(/\s+/):[],i=function(t){return t.filter(function(t){return -1===U.inArray(r,t)})},u=n?(e=i(e=o)).length>0?e.concat(r):r:i(o);return u.length>0?U.trim(u.sort().join(" ")):""},tn=function(t,n){return ti(n=n||t.selection.getNode())?t.dom.select("a[href]",n)[0]:t.dom.getParent(n,"a[href]")},te=function(t,n){return(n?n.innerText||n.textContent:t.getContent({format:"text"})).replace(/\uFEFF/g,"")},tr=function(t){return U.grep(t,$).length>0},to=function(t){var n=t.schema.getTextInlineElements();return 0===Q(t.selection.getRng(),function(t){return 1===t.nodeType&&!X(t)&&!H(n,t.nodeName.toLowerCase())}).length},ti=function(t){return t&&"FIGURE"===t.nodeName&&/\bimage\b/i.test(t.className)},tu=function(t){var n,e,r;return n=["title","rel","class","target"],e=function(n,e){return t[e].each(function(t){n[e]=t.length>0?t:null}),n},r={href:t.href},N(n,function(t,n){r=e(r,t,n)}),r},ta=function(t,n){var e,r,o=j({},n);if(!(L(t).length>0)&&!1===M(t)){var i=tt(o.rel,"_blank"===o.target);o.rel=i||null}return x.from(o.target).isNone()&&!1===E(t)&&(o.target=D(t)),o.href=(e=o.href,"http"!==(r=R(t))&&"https"!==r||Y(e)?e:r+"://"+e),o},tl=function(t,n,e,r){e.each(function(t){H(n,"innerText")?n.innerText=t:n.textContent=t}),t.dom.setAttribs(n,r),t.selection.select(n)},tc=function(t,n,e,r){ti(n)?tk(t,n,r):e.fold(function(){t.execCommand("mceInsertLink",!1,r)},function(n){t.insertContent(t.dom.createHTML("a",r,t.dom.encode(n)))})},tf=function(t,n,e){var r=t.selection.getNode(),o=tn(t,r),i=ta(t,tu(e));
1t.undoManager.transact(function(){e.href===n.href&&n.attach(),o?(t.focus(),tl(t,o,e.text,i)):tc(t,r,e.text,i)})},ts=function(t){var n=t.dom,e=t.selection,r=e.getBookmark(),o=e.getRng().cloneRange(),i=n.getParent(o.startContainer,"a[href]",t.getBody()),u=n.getParent(o.endContainer,"a[href]",t.getBody());i&&o.setStartBefore(i),u&&o.setEndAfter(u),e.setRng(o),t.execCommand("unlink"),e.moveToBookmark(r)},tm=function(t){t.undoManager.transact(function(){var n=t.selection.getNode();ti(n)?tp(t,n):ts(t),t.focus()})},tg=function(t){var n=t.class,e=t.href,r=t.rel,o=t.target,i=t.text,u=t.title;return W({class:n.getOrNull(),href:e,rel:r.getOrNull(),target:o.getOrNull(),text:i.getOrNull(),title:u.getOrNull()},function(t,n){return!1===a(t)})},td=function(t,n){var e=n.href;return j(j({},n),{href:J.isDomSafe(e,"a",t.settings)?e:""})},th=function(t,n,e){var r=td(t,e);t.hasPlugin("rtc",!0)?t.execCommand("createlink",!1,tg(r)):tf(t,n,r)},tv=function(t){t.hasPlugin("rtc",!0)?t.execCommand("unlink"):tm(t)},tp=function(t,n){var e=t.dom.select("img",n)[0];if(e){var r=t.dom.getParents(e,"a[href]",n)[0];r&&(r.parentNode.insertBefore(e,r),t.dom.remove(r))}},tk=function(t,n,e){var r=t.dom.select("img",n)[0];if(r){var o=t.dom.create("a",e);r.parentNode.insertBefore(o,r),o.appendChild(r)}},ty=function(t){var n;return H(t,n="items")&&void 0!==t[n]&&null!==t[n]},tx=function(t,n){return T(n,function(n){return ty(n)?tx(t,n.items):S(n.value===t,n)})},tb=function(t,n,e,r){var o=r[n],i=t.length>0;return void 0!==o?tx(o,e).map(function(n){return{url:{value:n.value,meta:{text:i?t:n.text,attach:f}},text:i?t:n.text}}):x.none()},tO=function(t,n){var e={text:t.text,title:t.title},r=function(t){var n,r,o=(n=t.url,S(e.text.length<=0,x.from(n.meta.text).getOr(n.value))),i=(r=t.url,S(e.title.length<=0,x.from(r.meta.title).getOr("")));return o.isSome()||i.isSome()?x.some(j(j({},o.map(function(t){return{text:t}}).getOr({})),i.map(function(t){return{title:t}}).getOr({}))):x.none()},o=function(t,r){var o,i=("link"===(o=r.name)?n.link:"anchor"===o?n.anchor:x.none()).getOr([]);return tb(e.text,r.name,i,t)};return{onChange:function(t,n){var i=n.name;return"url"===i?r(t()):C(["anchor","link"],i)?o(t(),n):(("text"===i||"title"===i)&&(e[i]=t()[i]),x.none())}}},tC=tinymce.util.Tools.resolve("tinymce.util.Delay"),tw=tinymce.util.Tools.resolve("tinymce.util.Promise"),tN=function(t,n,e){var r=t.selection.getRng();tC.setEditorTimeout(t,function(){t.windowManager.confirm(n,function(n){t.selection.setRng(r),e(n)})})},tA=function(t){var n=t.href;return n.indexOf("@")>0&&-1===n.indexOf("/")&&-1===n.indexOf("mailto:")?x.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:function(t){return j(j({},t),{href:"mailto:"+n})}}):x.none()},tT=function(t,n){var e,r;return T([tA,(e=R(t),r=t.getParam("link_default_protocol","http","string"),function(t){var n=t.href;return 1===e&&!Y(n)||0===e&&/^\s*www(\.|\d\.)/i.test(n)?x.some({message:"The URL you entered seems to be an external link. Do you want to add the required "+r+":// prefix?",preprocess:function(t){return j(j({},t),{href:r+"://"+n})}}):x.none()})],function(t){return t(n)}).fold(function(){return tw.resolve(n)},function(e){return new tw(function(r){tN(t,e.message,function(t){r(t?e.preprocess(n):n)})})})},tP=function(t){var n=A(w(t.dom.select("a:not([href])"),function(t){var n=t.name||t.id;return n?[{text:n,value:"#"+n}]:[]}));return n.length>0?x.some([{text:"None",value:""}].concat(n)):x.none()},t_=function(t){var n=t.getParam("link_class_list",[],"array");return n.length>0?z.sanitize(n):x.none()},tS=tinymce.util.Tools.resolve("tinymce.util.XHR"),tR=function(t){try{return x.some(JSON.parse(t))}catch(t){return x.none()}},tD=function(t){var n=function(n){return t.convertURL(n.value||n.url,"href")},e=t.getParam("link_list");return new tw(function(t){i(e)?tS.send({url:e,success:function(n){return t(tR(n))},error:function(n){return t(x.none())}}):c(e)?e(function(n){return t(x.some(n))}):t(x.from(e))}).then(function(t){return t.bind(z.sanitizeWith(n)).map(function(t){return t.length>0?[{text:"None",value:""}].concat(t):t})})},tE=function(t,n){var e=L(t);if(e.length>0){var r=P(n,"_blank");return(!1===M(t)?z.sanitizeWith(function(t){return tt(z.getValue(t),r)}):z.sanitize)(e)}return x.none()},tL=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],tM=function(t){var n=E(t);return u(n)?z.sanitize(n).orThunk(function(){return x.some(tL)}):!1===n?x.none():x.some(tL)},tU=function(t,n,e){var r=t.getAttrib(n,e);return null!==r&&r.length>0?x.some(r):x.none()},tB=function(t,n){var e=t.dom,r=to(t)?x.some(te(t.selection,n)):x.none(),o=n?x.some(e.getAttrib(n,"href")):x.none(),i=n?x.from(e.getAttrib(n,"target")):x.none(),u=tU(e,n,"rel"),a=tU(e,n,"class");return{url:o,text:r,title:tU(e,n,"title"),target:i,rel:u,linkClass:a}},tI=function(t,n){return tD(t).then(function(e){var r=tB(t,n);return{anchor:r,catalogs:{targets:tM(t),rels:tE(t,r.target),classes:t_(t),anchor:tP(t),link:e},optNode:x.from(n),flags:{titleEnabled:t.getParam("link_title",!0,"boolean")}}})},tK=function(t){var n=tn(t);return tI(t,n)},tz=function(t,n){var e=t.anchor,r=e.url.getOr("");return{url:{value:r,meta:{original:{value:r}}},text:e.text.getOr(""),title:e.title.getOr(""),anchor:r,link:r,rel:e.rel.getOr(""),target:e.target.or(n).getOr(""),linkClass:e.linkClass.getOr("")}},tj=function(t,n,e){var r=t.anchor.text.map(function(){return{name:"text",type:"input",label:"Text to display"}}
1).toArray(),o=t.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],i=tz(t,x.from(D(e))),u=t.catalogs,a=tO(i,u);return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:A([[{name:"url",type:"urlinput",filetype:"file",label:"URL"}],r,o,_([u.anchor.map(z.createUi("anchor","Anchors")),u.rels.map(z.createUi("rel","Rel")),u.targets.map(z.createUi("target","Open link in...")),u.link.map(z.createUi("link","Link list")),u.classes.map(z.createUi("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:i,onChange:function(t,n){var e=n.name;a.onChange(t.getData,{name:e}).each(function(n){t.setData(n)})},onSubmit:n}},tV=function(t){tK(t).then(function(n){return tj(n,function(e){var r=e.getData();if(!r.url.value){tv(t),e.close();return}var o=function(t){return x.from(r[t]).filter(function(e){return!P(n.anchor[t],e)})},i={href:r.url.value,text:o("text"),target:o("target"),rel:o("rel"),class:o("linkClass"),title:o("title")},u={href:r.url.value,attach:void 0!==r.url.meta&&r.url.meta.attach?r.url.meta.attach:f};tT(t,i).then(function(n){th(t,u,n)}),e.close()},t)}).then(function(n){t.windowManager.open(n)})},tq=function(t,n){document.body.appendChild(t),t.dispatchEvent(n),document.body.removeChild(t)},tF=function(t){var n=document.createElement("a");n.target="_blank",n.href=t,n.rel="noreferrer noopener";var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),tq(n,e)},tW=function(t,n){return t.dom.getParent(n,"a[href]")},tH=function(t){return tW(t,t.selection.getStart())},tG=function(t,n){if(n){var e=Z(n);if(/^#/.test(e)){var r=t.$(e);r.length&&t.selection.scrollIntoView(r[0],!0)}else tF(n.href)}},tJ=function(t){return function(){tV(t)}},tX=function(t){return function(){tG(t,tH(t))}},t$=function(t){t.on("click",function(e){var r=tW(t,e.target);r&&n.metaKeyPressed(e)&&(e.preventDefault(),tG(t,r))}),t.on("keydown",function(n){var e,r=tH(t);r&&13===n.keyCode&&!0===(e=n).altKey&&!1===e.shiftKey&&!1===e.ctrlKey&&!1===e.metaKey&&(n.preventDefault(),tG(t,r))})},tQ=function(t,n){return t.on("NodeChange",n),function(){return t.off("NodeChange",n)}},tY=function(t){return function(n){var e=function(){return n.setActive(!t.mode.isReadOnly()&&null!==tn(t,t.selection.getNode()))};return e(),tQ(t,e)}},tZ=function(t){return function(n){var e=function(){return n.setDisabled(null===tn(t,t.selection.getNode()))};return e(),tQ(t,e)}},t0=function(t){return function(n){var e=function(n){return tr(n)||Q(t.selection.getRng(),$).length>0},r=t.dom.getParents(t.selection.getStart());return n.setDisabled(!e(r)),tQ(t,function(t){return n.setDisabled(!e(t.parents))})}},t1=function(t){t.addCommand("mceLink",function(){t.getParam("link_quicklink",!1,"boolean")?t.fire("contexttoolbar-show",{toolbarKey:"quicklink"}):tJ(t)()})},t2=function(t){t.addShortcut("Meta+K","",function(){t.execCommand("mceLink")})},t8=function(t){t.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",onAction:tJ(t),onSetup:tY(t)}),t.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:tX(t),onSetup:tZ(t)}),t.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:function(){return tv(t)},onSetup:t0(t)})},t3=function(t){t.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:tX(t),onSetup:tZ(t)}),t.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onAction:tJ(t)}),t.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:function(){return tv(t)},onSetup:t0(t)})},t7=function(t){t.ui.registry.addContextMenu("link",{update:function(n){return tr(t.dom.getParents(n,"a"))?"link unlink openlink":"link"}})},t4=function(t){var n=function(t){t.selection.collapse(!1)},e=function(n){var e=t.selection.getNode();return n.setDisabled(!tn(t,e)),f},r=function(n){var e=tn(t),r=to(t);if(e||!r)return x.none();var o=te(t.selection,e);return x.some(o.length>0?o:n)};t.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:tY(t)},label:"Link",predicate:function(n){return!!tn(t,n)&&t.getParam("link_context_toolbar",!1,"boolean")},initValue:function(){var n=tn(t);return n?Z(n):""},commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:function(n){var e=t.selection.getNode();return n.setActive(!!tn(t,e)),tY(t)(n)},onAction:function(e){var o=e.getValue(),i=r(o);th(t,{href:o,attach:f},{href:o,text:i,title:x.none(),rel:x.none(),target:x.none(),class:x.none()}),n(t),e.hide()}}
1,{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:e,onAction:function(n){tv(t),n.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:e,onAction:function(n){tX(t)(),n.hide()}}]})},t.add("link",function(t){t8(t),t3(t),t7(t),t4(t),t$(t),t1(t),t2(t)})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.