File: //data/geometra-4-host-prod/webviewer/core/IOSPartRetriever.chunk.js
/** 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([[7],{350:function(ia,da,h){h.r(da);var ca=h(3),aa=h(198);ia=h(343);var fa=h(26);h=h(297);var ea={},z=function(h){function n(f,n){var w=h.call(this,f,n)||this;w.url=f;w.range=n;w.status=aa.a.NOT_STARTED;return w}Object(ca.c)(n,h);n.prototype.start=function(f){var h=this;ea[this.range.start]={mq:function(e){var n=atob(e),w,y=n.length;e=new Uint8Array(y);for(w=0;w<y;++w)e[w]=n.charCodeAt(w);n=e.length;w="";var x=0;if(Object(fa.o)())for(;x<
n;)y=e.subarray(x,x+1024),x+=1024,w+=String.fromCharCode.apply(null,y);else for(y=Array(1024);x<n;){for(var z=0,aa=Math.min(x+1024,n);x<aa;z++,x++)y[z]=e[x];w+=String.fromCharCode.apply(null,1024>z?y.slice(0,z):y)}h.mq(w,f)},JJ:function(){h.status=aa.a.ERROR;f({code:h.status})}};var n=document.createElement("IFRAME");n.setAttribute("src",this.url);document.documentElement.appendChild(n);n.parentNode.removeChild(n);n=null;this.status=aa.a.STARTED;h.Uw()};return n}(ia.ByteRangeRequest);ia=function(h){function n(f,
n,w,e){f=h.call(this,f,n,w,e)||this;f.wt=z;return f}Object(ca.c)(n,h);n.prototype.Cr=function(f,h){return f+"#"+h.start+"&"+(h.stop?h.stop:"")};n.o7=function(f,h){var n=ea[h];delete ea[h];n.mq(f)};n.n7=function(f,h){f=ea[h];delete ea[h];f.JJ()};return n}(ia["default"]);Object(h.a)(ia);Object(h.b)(ia);da["default"]=ia}}]);}).call(this || window)