SelectionInfoOld.chunk.js 6.9 KB

123456789101112131415
  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([[11],{473:function(Ba,va,r){r.r(va);var oa=r(483),na=r(121),ma=r(42),fa=r(79);Ba=function(){function da(){this.vb=this.Be=this.Ub=this.nc=null;this.Se=!1}da.prototype.clear=function(){Object(ma.b)(this.nc);this.Ub="";Object(ma.b)(this.Be);Object(ma.b)(this.vb);this.Se=!1};da.prototype.nd=function(){this.nc=[];this.Be=[];this.vb=[];this.Se=!1};da.prototype.TA=function(aa){for(var y="",x=0,h,b,e;x<aa.length;)h=aa.charCodeAt(x),9===
  3. h?(y+=String.fromCharCode(10),x++):128>h?(y+=String.fromCharCode(h),x++):191<h&&224>h?(b=aa.charCodeAt(x+1),y+=String.fromCharCode((h&31)<<6|b&63),x+=2):(b=aa.charCodeAt(x+1),e=aa.charCodeAt(x+2),y+=String.fromCharCode((h&15)<<12|(b&63)<<6|e&63),x+=3);return y};da.prototype.initData=function(aa){this.nc=[];this.Be=[];this.vb=[];this.Se=!1;try{var y=new fa.a(aa);this.Ub="";y.Ha();if(!y.advance())return;var x=y.current.textContent;this.Ub=x=this.TA(x);Object(ma.b)(this.Be);y.advance();x=y.current.textContent;
  4. for(var h=x.split(","),b=Object(na.a)(h);b.ym();){var e=b.current;try{var a=parseInt(e.trim(),10);this.Be.push(a)}catch(ca){}}Object(ma.b)(this.nc);y.advance();x=y.current.textContent;h=x.split(",");for(var f=Object(na.a)(h);f.ym();){e=f.current;try{a=parseFloat(e.trim()),this.nc.push(a)}catch(ca){}}Object(ma.b)(this.vb);y.advance();x=y.current.textContent;h=x.split(",");aa=[];y=[];x=0;for(var n=Object(na.a)(h);n.ym();){e=n.current;switch(e){case "Q":x=1;break;case "R":x=2;break;case "S":x=3;break;
  5. default:x=0}if(x)aa.push(0),y.push(x);else try{a=parseFloat(e.trim()),aa.push(a),y.push(x)}catch(ca){return}}x=0;var z=aa.length;b=n=e=h=void 0;for(var w=f=0,ea=0;ea<z;){var ka=y[ea];if(0<ka)x=ka,++ea,3===x&&(f=aa[ea],w=aa[ea+1],ea+=2);else if(1===x)for(a=0;8>a;++a)this.vb.push(aa[ea++]);else 2===x?(h=aa[ea++],e=aa[ea++],n=aa[ea++],b=aa[ea++],this.vb.push(h),this.vb.push(e),this.vb.push(n),this.vb.push(e),this.vb.push(n),this.vb.push(b),this.vb.push(h),this.vb.push(b)):3===x&&(h=aa[ea++],e=f,n=aa[ea++],
  6. b=w,this.vb.push(h),this.vb.push(e),this.vb.push(n),this.vb.push(e),this.vb.push(n),this.vb.push(b),this.vb.push(h),this.vb.push(b))}}catch(ca){return}this.Ub.length&&this.Ub.length===this.Be.length&&8*this.Ub.length===this.vb.length&&(this.Se=!0)};da.prototype.ready=function(){return this.Se};da.prototype.ix=function(){var aa=new oa.a;if(!this.nc.length)return aa.nh(this.nc,-1,this.Ub,this.vb,0),aa;aa.nh(this.nc,1,this.Ub,this.vb,1);return aa};da.prototype.sf=function(){return this.vb};da.prototype.getData=
  7. function(){return{m_Struct:this.nc,m_Str:this.Ub,m_Offsets:this.Be,m_Quads:this.vb,m_Ready:this.Se}};return da}();va["default"]=Ba},483:function(Ba,va,r){var oa=r(90),na=r(52),ma=r(496);Ba=function(){function fa(){this.je=0;this.ub=this.Ba=this.gf=null;this.Sc=0;this.ie=null}fa.prototype.nd=function(){this.je=-1;this.Sc=0;this.ie=[]};fa.prototype.nh=function(da,aa,y,x,h){this.je=aa;this.Sc=h;this.ie=[];this.gf=da;this.Ba=y;this.ub=x};fa.prototype.Ic=function(da){return this.je===da.je};fa.prototype.mk=
  8. function(){return Math.abs(this.gf[this.je])};fa.prototype.um=function(){return 0<this.gf[this.je]};fa.prototype.gh=function(){var da=this.um()?6:10,aa=new ma.a;aa.nh(this.gf,this.je+da,this.je,this.Ba,this.ub,1);return aa};fa.prototype.dW=function(da){if(0>da||da>=this.mk())return da=new ma.a,da.nh(this.gf,-1,-1,this.Ba,this.ub,0),da;var aa=this.um()?6:10,y=this.um()?5:11,x=new ma.a;x.nh(this.gf,this.je+aa+y*da,this.je,this.Ba,this.ub,1+da);return x};fa.prototype.ho=function(){var da=this.je+parseInt(this.gf[this.je+
  9. 1],10);if(da>=this.gf.length)return da=new fa,da.nh(this.gf,-1,this.Ba,this.ub,0),da;var aa=new fa;aa.nh(this.gf,da,this.Ba,this.ub,this.Sc+1);return aa};fa.prototype.getBBox=function(da){if(this.um())da.x1=this.gf[this.je+2+0],da.y1=this.gf[this.je+2+1],da.x2=this.gf[this.je+2+2],da.y2=this.gf[this.je+2+3];else{for(var aa=1.79769E308,y=oa.a.MIN,x=1.79769E308,h=oa.a.MIN,b=0;4>b;++b){var e=this.gf[this.je+2+2*b],a=this.gf[this.je+2+2*b+1];aa=Math.min(aa,e);y=Math.max(y,e);x=Math.min(x,a);h=Math.max(h,
  10. a)}da.x1=aa;da.y1=x;da.x2=y;da.y2=h}};fa.prototype.dD=function(){if(this.ie.length)return this.ie[0];var da=new na.a,aa=new na.a,y=new ma.a;y.nd();var x=this.gh(),h=new ma.a;h.nd();for(var b=this.gh();!b.Ic(y);b=b.kh())h=b;y=Array(8);b=Array(8);x.Oe(0,y);da.x=(y[0]+y[2]+y[4]+y[6])/4;da.y=(y[1]+y[3]+y[5]+y[7])/4;h.Oe(h.lk()-1,b);aa.x=(b[0]+b[2]+b[4]+b[6])/4;aa.y=(b[1]+b[3]+b[5]+b[7])/4;.01>Math.abs(da.x-aa.x)&&.01>Math.abs(da.y-aa.y)&&this.ie.push(0);da=Math.atan2(aa.y-da.y,aa.x-da.x);da*=180/3.1415926;
  11. 0>da&&(da+=360);this.ie.push(da);return 0};return fa}();va.a=Ba},496:function(Ba,va,r){var oa=r(483),na=r(100),ma=r(90);Ba=function(){function fa(){this.pl=this.Ld=0;this.ub=this.Ba=this.nc=null;this.Sc=0}fa.prototype.nd=function(){this.pl=this.Ld=-1;this.Sc=0};fa.prototype.nh=function(da,aa,y,x,h,b){this.Ld=aa;this.pl=y;this.nc=da;this.Ba=x;this.ub=h;this.Sc=b};fa.prototype.Ic=function(da){return this.Ld===da.Ld};fa.prototype.lk=function(){return parseInt(this.nc[this.Ld],10)};fa.prototype.Ui=function(){return parseInt(this.nc[this.Ld+
  12. 2],10)};fa.prototype.mh=function(){return parseInt(this.nc[this.Ld+1],10)};fa.prototype.um=function(){return 0<this.nc[this.pl]};fa.prototype.Oea=function(){return Math.abs(this.nc[this.pl])};fa.prototype.kh=function(){var da=this.um(),aa=da?5:11;if(this.Ld>=this.pl+(da?6:10)+(this.Oea()-1)*aa)return aa=new fa,aa.nh(this.nc,-1,-1,this.Ba,this.ub,0),aa;da=new fa;da.nh(this.nc,this.Ld+aa,this.pl,this.Ba,this.ub,this.Sc+1);return da};fa.prototype.bea=function(da){var aa=this.lk();return 0>da||da>=aa?
  13. -1:parseInt(this.nc[this.Ld+1],10)+da};fa.prototype.Oe=function(da,aa){da=this.bea(da);if(!(0>da)){var y=new oa.a;y.nh(this.nc,this.pl,this.Ba,this.ub,0);if(y.um()){var x=new na.a;y.getBBox(x);y=x.y1<x.y2?x.y1:x.y2;x=x.y1>x.y2?x.y1:x.y2;da*=8;aa[0]=this.ub[da];aa[1]=y;aa[2]=this.ub[da+2];aa[3]=aa[1];aa[4]=this.ub[da+4];aa[5]=x;aa[6]=this.ub[da+6];aa[7]=aa[5]}else for(da*=8,y=0;8>y;++y)aa[y]=this.ub[da+y]}};fa.prototype.oe=function(da){var aa=new oa.a;aa.nh(this.nc,this.pl,this.Ba,this.ub,0);if(aa.um()){var y=
  14. this.nc[this.Ld+3],x=this.nc[this.Ld+4];if(y>x){var h=y;y=x;x=h}h=new na.a;aa.getBBox(h);aa=h.y1<h.y2?h.y1:h.y2;h=h.y1>h.y2?h.y1:h.y2;da[0]=y;da[1]=aa;da[2]=x;da[3]=aa;da[4]=x;da[5]=h;da[6]=y;da[7]=h}else for(y=this.Ld+3,x=0;8>x;++x)da[x]=this.nc[y+x]};fa.prototype.getBBox=function(da){var aa=new oa.a;aa.nh(this.nc,this.pl,this.Ba,this.ub,0);if(aa.um()){var y=this.nc[this.Ld+3],x=this.nc[this.Ld+4];if(y>x){var h=y;y=x;x=h}h=new na.a;aa.getBBox(h);aa=h.y1<h.y2?h.y1:h.y2;h=h.y1>h.y2?h.y1:h.y2;da[0]=
  15. y;da[1]=aa;da[2]=x;da[3]=h}else{y=1.79769E308;x=ma.a.MIN;aa=1.79769E308;h=ma.a.MIN;for(var b=this.Ld+3,e=0;4>e;++e){var a=this.nc[b+2*e],f=this.nc[b+2*e+1];y=Math.min(y,a);x=Math.max(x,a);aa=Math.min(aa,f);h=Math.max(h,f)}da[0]=y;da[1]=aa;da[2]=x;da[3]=h}};return fa}();va.a=Ba}}]);}).call(this || window)