IOSPartRetriever.chunk.js 1.5 KB

1234
  1. /** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
  2. (function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[9],{436:function(ia,da,e){e.r(da);var ca=e(1),y=e(243);ia=e(428);var ha=e(31);e=e(371);var ea={},fa=function(e){function w(w,r){var h=e.call(this,w,r)||this;h.url=w;h.range=r;h.status=y.a.NOT_STARTED;return h}Object(ca.c)(w,e);w.prototype.start=function(e){var r=this;ea[this.range.start]={Wt:function(h){var f=atob(h),n,w=f.length;h=new Uint8Array(w);for(n=0;n<w;++n)h[n]=f.charCodeAt(n);f=h.length;n="";var aa=0;if(Object(ha.q)())for(;aa<
  3. f;)w=h.subarray(aa,aa+1024),aa+=1024,n+=String.fromCharCode.apply(null,w);else for(w=Array(1024);aa<f;){for(var y=0,ba=Math.min(aa+1024,f);aa<ba;y++,aa++)w[y]=h[aa];n+=String.fromCharCode.apply(null,1024>y?w.slice(0,y):w)}r.Wt(n,e)},bS:function(){r.status=y.a.ERROR;e({code:r.status})}};var h=document.createElement("IFRAME");h.setAttribute("src",this.url);document.documentElement.appendChild(h);h.parentNode.removeChild(h);h=null;this.status=y.a.STARTED;r.dC()};return w}(ia.ByteRangeRequest);ia=function(e){function w(w,
  4. r,h,n){w=e.call(this,w,r,h,n)||this;w.zx=fa;return w}Object(ca.c)(w,e);w.prototype.Cv=function(e,r){return e+"#"+r.start+"&"+(r.stop?r.stop:"")};w.apa=function(e,r){var h=ea[r];delete ea[r];h.Wt(e)};w.$oa=function(e,r){e=ea[r];delete ea[r];e.bS()};return w}(ia["default"]);Object(e.a)(ia);Object(e.b)(ia);da["default"]=ia}}]);}).call(this || window)