text: /** Notice * This file contains works from many authors under various (but compatible) licenses. Please see legal.txt for more information. **/
  (function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[12],{344:function(ha,ca,f){f.r(ca);var ba=f(2),da=f(0);f.n(da);var fa=f(1),aa=f(116);ha=f(35);var z=f(74),y=f(145),w=f(53),h=f(193);f=f(290);var r=window,x=function(){function e(e,f,n){var r=-1===e.indexOf("?")?"?":"&";switch(f){case w.a.g4:this.url=e+r+"_="+Object(da.uniqueId)();break;default:this.url=e}this.sf=n;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);this.request.setRequestHeader("X-Requested-With",
  "XMLHttpRequest");this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=h.a.NOT_STARTED}e.prototype.start=function(f,n){var r=this,w=this,x=this.request,y;w.zs=0;f&&Object.keys(f).forEach(function(e){r.request.setRequestHeader(e,f[e])});n&&(this.request.withCredentials=n);this.Ox=setInterval(function(){var f=0===window.document.URL.indexOf("file:///");f=200===x.status||f&&0===x.status;
  if(x.readyState!==h.b.DONE||f){try{x.responseText}catch(ua){return}w.zs<x.responseText.length&&(y=w.R_())&&w.trigger(e.Events.DATA,[y]);0===x.readyState&&(clearInterval(w.Ox),w.trigger(e.Events.DONE))}else clearInterval(w.Ox),w.trigger(e.Events.DONE,["Error received return status "+x.status])},1E3);this.request.send(null);this.status=h.a.STARTED};e.prototype.R_=function(){var f=this.request,h=f.responseText;if(0!==h.length)if(this.zs===h.length)clearInterval(this.Ox),this.trigger(e.Events.DONE);else return h=
  Math.min(this.zs+3E6,h.length),f=r.qK(f,this.zs,!0,h),this.zs=h,f};e.prototype.abort=function(){clearInterval(this.Ox);var f=this;this.request.onreadystatechange=function(){Object(fa.h)("StreamingRequest aborted");f.status=h.a.ABORTED;return f.trigger(e.Events.ABORTED)};this.request.abort()};e.prototype.finish=function(){var f=this;this.request.onreadystatechange=function(){f.status=h.a.SUCCESS;return f.trigger(e.Events.DONE)};this.request.abort()};e.Events={DONE:"done",DATA:"data",ABORTED:"aborted"};
  return e}();Object(ha.b)(x);var e;(function(e){e[e.LOCAL_HEADER=0]="LOCAL_HEADER";e[e.FILE=1]="FILE";e[e.CENTRAL_DIR=2]="CENTRAL_DIR"})(e||(e={}));var n=function(f){function h(){var h=f.call(this)||this;h.buffer="";h.state=e.LOCAL_HEADER;h.kE=4;h.Sj=null;h.xp=aa.c;h.Yk={};return h}Object(ba.c)(h,f);h.prototype.N_=function(f){var n;for(f=this.buffer+f;f.length>=this.xp;)switch(this.state){case e.LOCAL_HEADER:this.Sj=n=this.U_(f.slice(0,this.xp));if(n.Up!==aa.g)throw Error("Wrong signature in local header: "+
  n.Up);f=f.slice(this.xp);this.state=e.FILE;this.xp=n.rA+n.mn+n.Gr+this.kE;this.trigger(h.Events.HEADER,[n]);break;case e.FILE:this.Sj.name=f.slice(0,this.Sj.mn);this.Yk[this.Sj.name]=this.Sj;n=this.xp-this.kE;var r=f.slice(this.Sj.mn+this.Sj.Gr,n);this.trigger(h.Events.FILE,[this.Sj.name,r,this.Sj.GA]);f=f.slice(n);if(f.slice(0,this.kE)===aa.h)this.state=e.LOCAL_HEADER,this.xp=aa.c;else return this.state=e.CENTRAL_DIR,!0}this.buffer=f;return!1};h.Events={HEADER:"header",FILE:"file"};return h}(y.a);
  Object(ha.b)(n);ha=function(e){function f(f,h,r,w,y){r=e.call(this,f,r,w)||this;r.url=f;r.stream=new x(f,h);r.wd=new n;r.tM=window.createPromiseCapability();r.JM={};r.sf=y;return r}Object(ba.c)(f,e);f.prototype.kt=function(e){var f=this;this.request([this.Oh,this.Ri,this.Nh]);this.stream.on(x.Events.DATA,function(h){try{if(f.wd.N_(h))return f.stream.finish()}catch(ma){throw f.stream.abort(),f.Dr(ma),e(ma),ma;}});this.stream.on(x.Events.DONE,function(h){f.z_=!0;f.tM.resolve();h&&(f.Dr(h),e(h))});this.wd.on(n.Events.HEADER,
  Object(da.bind)(this.IM,this));this.wd.on(n.Events.FILE,Object(da.bind)(this.X_,this));return this.stream.start(this.sf,this.withCredentials)};f.prototype.nK=function(e){var f=this;this.tM.promise.then(function(){e(Object.keys(f.wd.Yk))})};f.prototype.wl=function(){return!0};f.prototype.request=function(e){var f=this;this.z_&&e.forEach(function(e){f.JM[e]||f.e3(e)})};f.prototype.IM=function(){};f.prototype.abort=function(){this.stream&&this.stream.abort()};f.prototype.e3=function(e){this.trigger(z.a.Events.PART_READY,
  [{Wa:e,error:"Requested part not found",Xg:!1,qf:!1}])};f.prototype.X_=function(e,f,h){this.JM[e]=!0;this.trigger(z.a.Events.PART_READY,[{Wa:e,data:f,Xg:!1,qf:!1,error:null,Lc:h}])};return f}(z.a);Object(f.a)(ha);Object(f.b)(ha);ca["default"]=ha}}]);}).call(this || window)
  