/** 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([[9],{374:function(Ba,ya,z){z.r(ya);var qa=z(1),ka=z(2),la=z(129);Ba=z(83);var ha=z(217);z=z(339);var da=window;Ba=function(y){function r(h,a,b){a=y.call(this,h,a,b)||this;if(h.name&&"xod"!==h.name.toLowerCase().split(".").pop())throw Error("Not an XOD file");if(!da.FileReader||!da.File||!da.Blob)throw Error("File API is not supported in this browser");a.file=h;a.Qy=[];a.VE=0;return a}Object(qa.c)(r,y);r.prototype.AH=function(h,a,
b){var e=this,f=new FileReader;f.onloadend=function(n){if(0<e.Qy.length){var x=e.Qy.shift();x.uaa.readAsBinaryString(x.file)}else e.VE--;if(f.error){n=f.error;if(n.code===n.ABORT_ERR){Object(ka.i)("Request for chunk "+a.start+"-"+a.stop+" was aborted");return}return b(n)}if(n=f.content||n.target.result)return b(!1,n);Object(ka.i)("No data was returned from FileReader.")};a&&(h=(h.slice||h.webkitSlice||h.mozSlice||h.mha).call(h,a.start,a.stop));0===e.Qy.length&&50>e.VE?(f.readAsBinaryString(h),e.VE++):
e.Qy.push({uaa:f,file:h});return function(){f.abort()}};r.prototype.yr=function(h){var a=this;a.My=!0;var b=la.a;a.AH(a.file,{start:-b,stop:a.file.size},function(e,f){if(e)return Object(ka.i)("Error loading end header: %s "+e),h(e);if(f.length!==b)throw Error("Zip end header data is wrong size!");a.Gd=new ha.a(f);var n=a.Gd.EP();a.AH(a.file,n,function(x,ca){if(x)return Object(ka.i)("Error loading central directory: %s "+x),h(x);if(ca.length!==n.stop-n.start)throw Error("Zip central directory data is wrong size!");
a.Gd.WS(ca);a.GE=!0;a.My=!1;return h(!1)})})};r.prototype.rI=function(h,a){var b=this,e=b.lh[h];if(b.Gd.jO(h)){var f=b.Gd.uu(h),n=b.AH(b.file,f,function(x,ca){delete b.lh[h];if(x)return Object(ka.i)('Error loading part "%s": %s, '+h+", "+x),a(x);if(ca.length!==f.stop-f.start)throw Error("Part data is wrong size!");a(!1,h,ca,b.Gd.UQ(h))});e.dV=!0;e.cancel=n}else a(Error('File not found: "'+h+'"'),h)};return r}(Ba.a);Object(z.a)(Ba);Object(z.b)(Ba);ya["default"]=Ba}}]);}).call(this || window)
