/** 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([[24],{402:function(ia,y,e){e.r(y);var fa=e(1),x=e(14),ha=e(2);ia=e(48);var ea=e(32),da=e(9);e=function(){function e(){this.init()}e.prototype.init=function(){this.c0=!1;this.ue=this.$j=this.connection=null;this.Sp={};this.Ba=this.PB=null};e.prototype.bea=function(e){for(var w=this,r=0;r"+h.aId+"")}}};e.prototype.c7=function(e){var w=this;this.Ba.Tq(e.xfdf).then(function(r){r=r[0];r.authorId=e.author;w.Ba.$R(r);w.Ba.trigger(x.a.UPDATE_ANNOTATION_PERMISSION,[r])})};e.prototype.D6=function(e,x,r){this.$j&&this.$j(e,x,r)};e.prototype.preloadAnnotations=function(e){this.addEventListener("webViewerServerAnnotationsEnabled",this.D6.bind(this,e,"add",{imported:!1}),{once:!0})};e.prototype.initiateCollaboration=function(w,y,r){var h= this;if(w){h.ue=y;h.Ba=r.La();r.addEventListener(x.d.DOCUMENT_UNLOADED,function(){h.disableCollaboration()});h.yea(w);var f=new XMLHttpRequest;f.addEventListener("load",function(){if(200===f.status&&0"+ha+""})):"modify"===h?(ea=y.querySelector('[name="'+da.Id+'"]'),ha=z.serializeToString(ea),n.annots.push({at:"modify", aId:da.Id,xfdf:""+ha+""})):"delete"===h&&n.annots.push({at:"delete",aId:da.Id});0