/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/ (function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[23],{446:function(ia,da,e){e.r(da);var ca=e(1),y=e(11),ha=e(2);ia=e(50);var ea=e(31),fa=e(10);e=function(){function e(){this.init()}e.prototype.init=function(){this.r5=!1;this.qf=this.al=this.connection=null;this.Lr={};this.fa=this.OE=null};e.prototype.ela=function(e){for(var w=this,r=0;r"+h.aId+"")}}};e.prototype.ica=function(e){var w=this;this.fa.El(e.xfdf).then(function(r){r=r[0];r.authorId=e.author;w.fa.rb(r);w.fa.trigger(y.a.UPDATE_ANNOTATION_PERMISSION,[r])})};e.prototype.Iba=function(e,y,r){this.al&&this.al(e,y,r)};e.prototype.preloadAnnotations=function(e){this.addEventListener("webViewerServerAnnotationsEnabled",this.Iba.bind(this,e,"add",{imported:!1}),{once:!0})};e.prototype.initiateCollaboration=function(w,aa,r){var h= this;if(w){h.qf=aa;h.fa=r.ua();r.addEventListener(y.c.DOCUMENT_UNLOADED,function(){h.disableCollaboration()});h.Gla(w);var n=new XMLHttpRequest;n.addEventListener("load",function(){if(200===n.status&&0"+fa+""})):"modify"===h?(ea=x.querySelector('[name="'+da.Id+'"]'),fa=aa.serializeToString(ea),f.annots.push({at:"modify",aId:da.Id,xfdf:""+ fa+""})):"delete"===h&&f.annots.push({at:"delete",aId:da.Id});0