jqx-es 1.5.7 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var JQx=(()=>{var xe=Object.defineProperty;var dt=Object.getOwnPropertyDescriptor;var mt=Object.getOwnPropertyNames;var gt=Object.prototype.hasOwnProperty;var pt=(t,e)=>{for(var r in e)xe(t,r,{get:e[r],enumerable:!0})},yt=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of mt(e))!gt.call(t,o)&&o!==r&&xe(t,o,{get:()=>e[o],enumerable:!(n=dt(e,o))||n.enumerable});return t};var bt=t=>yt(xe({},"__esModule",{value:!0}),t);var Cr={};pt(Cr,{default:()=>Er});var{IS:l,maybe:z,$Wrap:Tr,isNothing:$r,xProxy:Fr,addSymbolicExtensions:Ar}=ht({useSymbolicExtensions:!1});function ht(t={}){let{useSymbolicExtensions:e}=t,{xProxy:r,addSymbolicExtensions:n}=St(a,p,e),o=L(),[i]=[P()];return r.custom(),e&&n(),{IS:a,maybe:o,$Wrap:i,isNothing:b,xProxy:r,addSymbolicExtensions:n};function a(s,...d){let w=typeof s=="symbol"?Symbol.isSymbol:s;switch(!0){case!!o({trial:T=>"isTypes"in(d?.[0]??{})}):return S(s,d[0]);default:return d.length>1?c(w,...d):C(s,...d)}}function S(s,d){switch(!0){case"defaultValue"in d:return u(s,d);case"notTypes"in d:return g(s,d);default:return a(s,...[d.isTypes].flat())}}function p(s){return s?.[Symbol.proxy]??a(s)}function C(s,...d){let{noInput:w,noShouldbe:T,compareTo:M,inputCTOR:Q,isNaN:ut,isInfinity:ct,shouldBeFirstElementIsNothing:ft}=f(s,...d);switch(d=d.length&&d[0],!0){case ft:return String(s)===String(M);case(s?.[Symbol.proxy]&&T):return s[Symbol.proxy];case ut:return T?"NaN":String(M)===String(s);case ct:return T?"Infinity":String(M)===String(s);case w:return T?String(s):String(M)===String(s);case Q===Boolean:return d?Q===d:"Boolean";default:return y(s,d,T,h(s,Q))}}function f(s,...d){let w=d.length<1,T=s==null;return{noInput:T,noShouldbe:w,compareTo:!w&&d[0],inputCTOR:!T&&Object.getPrototypeOf(s)?.constructor,isNaN:Number.isNaN(s)||o({trial:M=>String(s)==="NaN"}),isInfinity:o({trial:M=>String(s)})==="Infinity",shouldBeFirstElementIsNothing:!w&&b(d[0])}}function h(s,d){switch(!0){case s===0:return Number;case s==="":return String;case!s:return{name:String(s)};default:return d}}function y(s,d,w,T){switch(!0){case(!w&&d===s||s?.[Symbol.proxy]&&d===Proxy):return!0;case String(d)==="NaN":return String(s)==="NaN";case(s?.[Symbol.toStringTag]&&a(d,String)):return String(d)===s[Symbol.toStringTag];default:return d?m(s,d,T):x(s,T)}}function x(s,d){return s?.[Symbol.toStringTag]&&`[object ${s?.[Symbol.toStringTag]}]`||d?.name||String(d)}function m(s,d,w){return o({trial:T=>s instanceof d})||d===w||d===Object.getPrototypeOf(w)||`${d?.name}`===w?.name}function c(s,...d){return d.some(w=>a(s,w))}function b(s,d=!1){let w=s==null;return w=d?w||a(s,1/0)||a(s,NaN):w,w}function L(){let s=d=>{};return function({trial:d,whenError:w=s}={}){try{return d()}catch(T){return w(T)}}}function P(){return function(s){return Object.freeze({get value(){return s},get[Symbol.type](){return p(s)},get type(){return p(s)},[Symbol.is](...d){return a(s,...d)},is(...d){return a(s,...d)}})}}function u(s,{defaultValue:d,isTypes:w=[void 0],notTypes:T}={}){return w=w?.constructor!==Array?[w]:w,T=T&&T?.constructor!==Array?[T]:[],T.length<1?a(s,...w)?s:d:g(s,{isTypes:w,notTypes:T})?s:d}function g(s,{isTypes:d=[void 0],notTypes:w=[void 0]}={}){return d=d?.constructor!==Array?[d]:d,w=w?.constructor!==Array?[w]:w,a(s,...d)&&!a(s,...w)}function v(){Object.getOwnPropertyDescriptors(Object.prototype)[Symbol.is]||(Object.defineProperties(Object.prototype,{[Symbol.type]:{get(){return p(this)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(...s){return a(this,...s)},enumerable:!1,configurable:!1}}),Object.defineProperties(Object,{[Symbol.type]:{value(s){return p(s)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(s,...d){return a(s,...d)},enumerable:!1,configurable:!1}}))}function E(s){let d=s.set;return s.set=(w,T,M)=>T===Symbol.proxy?w[T]=M:d(w,T,M),s}}function St(t,e,r){return Symbol.isSymbol||(Symbol.isSymbol=Symbol.for("toa.isASymbol")),{xProxy:a(),addSymbolicExtensions:n};function n(){Symbol.is||(Symbol.is=Symbol.for("toa.is"),Symbol.type=Symbol.for("toa.type")),Object.getOwnPropertyDescriptors(Object.prototype)[Symbol.is]||(Object.defineProperties(Object.prototype,{[Symbol.type]:{get(){return e(this)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(...S){return t(this,...S)},enumerable:!1,configurable:!1}}),Object.defineProperties(Object,{[Symbol.type]:{value(S){return e(S)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(S,...p){return t(S,...p)},enumerable:!1,configurable:!1}}))}function o(S){return Object.getPrototypeOf(S)?.constructor?.name||"Object"}function i(S){return function(){Proxy=new S(S,{construct(p,C){for(let h of C)h.set&&(h=modifySetter(h));let f=new p(...C);return f[Symbol.proxy]=`Proxy (${o(C[0])})`,f}})}}function a(){Symbol.proxy||(Symbol.proxy=Symbol.for("toa.proxy"));let S=Proxy;return{native(){Proxy=S},custom:i(S)}}}var je=wt(),B=xt(),V=vt();function xt(){return{html:Object.freeze("accept,action,align,alt,autocapitalize,autocomplete,autopictureinpicture,autoplay,background,bgcolor,border,capture,cellpadding,cellspacing,checked,cite,class,clear,contenteditable,color,cols,colspan,controls,controlslist,coords,crossorigin,datetime,decoding,default,dir,disabled,disablepictureinpicture,disableremoteplayback,download,draggable,enctype,enterkeyhint,face,for,headers,height,hidden,high,href,hreflang,id,inputmode,integrity,is,ismap,kind,label,lang,list,loading,loop,low,max,maxlength,media,method,min,minlength,multiple,muted,name,nonce,noshade,novalidate,nowrap,open,optimum,pattern,placeholder,playsinline,poster,preload,pubdate,radiogroup,readonly,rel,required,rev,reversed,role,rows,rowspan,spellcheck,scope,selected,shape,size,sizes,span,srclang,start,src,srcset,step,style,summary,tabindex,target,title,translate,type,usemap,valign,value,width,xmlns,slot".split(",")),svg:Object.freeze("accent-height,accumulate,additive,alignment-baseline,ascent,attributename,attributetype,azimuth,basefrequency,baseline-shift,begin,bias,by,class,clip,clippathunits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,cx,cy,d,dx,dy,diffuseconstant,direction,display,divisor,dur,edgemode,elevation,end,fill,fill-opacity,fill-rule,filter,filterunits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,fx,fy,g1,g2,glyph-name,glyphref,gradientunits,gradienttransform,height,href,id,image-rendering,in,in2,k,k1,k2,k3,k4,kerning,keypoints,keysplines,keytimes,lang,lengthadjust,letter-spacing,kernelmatrix,kernelunitlength,lighting-color,local,marker-end,marker-mid,marker-start,markerheight,markerunits,markerwidth,maskcontentunits,maskunits,max,mask,media,method,mode,min,name,numoctaves,offset,operator,opacity,order,orient,orientation,origin,overflow,paint-order,path,pathlength,patterncontentunits,patterntransform,patternunits,points,preservealpha,preserveaspectratio,primitiveunits,r,rx,ry,radius,refx,refy,repeatcount,repeatdur,restart,result,rotate,scale,seed,shape-rendering,specularconstant,specularexponent,spreadmethod,startoffset,stddeviation,stitchtiles,stop-color,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke,stroke-width,style,surfacescale,systemlanguage,tabindex,targetx,targety,transform,text-anchor,text-decoration,text-rendering,textlength,type,u1,u2,unicode,values,viewbox,visibility,version,vert-adv-y,vert-origin-x,vert-origin-y,width,word-spacing,wrap,writing-mode,xchannelselector,ychannelselector,x,x1,x2,xmlns,y,y1,y2,z,zoomandpan".split(","))}}function vt(){return{a:!0,area:!0,audio:!1,br:!0,base:!0,body:!0,button:!0,canvas:!0,comment:!0,dl:!0,data:!0,datalist:!0,div:!0,em:!0,embed:!1,fieldset:!0,font:!0,footer:!0,form:!1,hr:!0,head:!0,header:!0,output:!0,iframe:!1,frameset:!1,img:!0,input:!0,li:!0,label:!0,legend:!0,link:!0,map:!0,mark:!0,menu:!0,media:!0,meta:!0,nav:!0,meter:!0,ol:!0,object:!1,optgroup:!0,option:!0,p:!0,param:!0,picture:!0,pre:!0,progress:!1,quote:!0,script:!1,select:!0,source:!0,span:!0,style:!0,caption:!0,td:!0,col:!0,table:!0,tr:!0,template:!1,textarea:!0,time:!0,title:!0,track:!0,details:!0,ul:!0,video:!0,del:!0,ins:!0,slot:!0,blockquote:!0,svg:!0,dialog:!0,summary:!0,main:!0,address:!0,colgroup:!0,tbody:!0,tfoot:!0,thead:!0,th:!0,dd:!0,dt:!0,figcaption:!0,figure:!0,i:!0,b:!0,code:!0,h1:!0,h2:!0,h3:!0,h4:!0,abbr:!0,bdo:!0,dfn:!0,kbd:!0,q:!0,rb:!0,rp:!0,rt:!0,ruby:!0,s:!0,strike:!0,samp:!0,small:!0,strong:!0,sup:!0,sub:!0,u:!0,var:!0,wbr:!0,nobr:!0,tt:!0,noscript:!0}}function wt(){return["::backdrop{background-color:grey;opacity:0.2;}",`#jqxPopup{overflow:hidden;background-color:transparent;outline:none;border:none;inset:0;animation:fade-out 0.5s ease-out;&[open]{display:flex;align-items:center;justify-content:center;animation:fade-in 0.5s ease;}#jqxPopupContent{background-color:white;border:solid 1px #eee;box-shadow:1px 2px 8px #999;border-radius:4px;padding:12px;vertical-align:middle;max-height:40vh;max-width:50vw;overflow:auto;margin:0 auto;div:not(#closeHandleIcon){clear:both;}@media (width <= 640px){max-width:80vw;max-height:60vh;}#closeHandleIcon{cursor:pointer;width:24px;height:24px;display:inline;position:absolute;top:4px;right:4px;justify-content:right;background-image:url("data:image/svg+xml;utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%20128%20128%22%20style%3D%22enable-background%3Anew%200%200%20128%20128%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Crect%20x%3D%22-368%22%20y%3D%226%22%20style%3D%22display%3Anone%3Bfill%3A%23E0E0E0%3B%22%20width%3D%22866%22%20height%3D%221018%22%2F%3E%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2248%22%2F%3E%3Ccircle%20style%3D%22fill%3A%238CCFB9%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2239%22%2F%3E%3Ccircle%20style%3D%22fill%3Anone%3Bstroke%3A%23444B54%3Bstroke-width%3A6%3Bstroke-miterlimit%3A10%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2248%22%2F%3E%3Cpolyline%20style%3D%22fill%3Anone%3Bstroke%3A%23FFFFFF%3Bstroke-width%3A6%3Bstroke-linecap%3Around%3Bstroke-miterlimit%3A10%3B%22%20points%3D%2242%2C69%2055.55%2C81%20%20%2086%2C46%20%22%2F%3E%3C%2Fsvg%3E");@media (width <= 640px){background-image:none;position:relative;margin:-15px -15px 4px 0;float:right;vertical-align:middle;border:1px solid #AAA;padding:2px;border-radius:50%;width:12px;height:12px;font-size:12px;line-height:12px;font-weight:bold;text-align:center;&:after{content:'\\2714';color:green;}}}.warn{display:none;text-align:center;color:red;border-top:1px solid #999;margin-top:1em;padding-top:3px;animation:warn-fade-out 0.2s ease-out;}.warn.active{opacity:1;display:block;animation:warn-fade-in 0.2s ease-in;}}}`,"@keyframes fade-in{0%{opacity:0;transform:scale(0, 0);display:none;}100%{opacity:1;transform:scale(1, 1);display:flex;}}","@keyframes fade-out{0%{opacity:1;transform:scale(1, 1);display:flex;}100%{opacity:0;transform:scale(0, 0);display:none;}}","@keyframes warn-fade-in{0%{opacity:0;transform:scale(0, 0);display:none;}100%{opacity:1;transform:scale(1,1 );display:block;}}","@keyframes warn-fade-out{0%{opacity:1;transform:scale(1, 1);display:block;}100%{opacity:0;transform:scale(0, 0);display:none;}}"]}var Re={html:"innerHTML",text:"textContent",class:"className"},ee=Et();function Et(){let t={get(e,r){let n=String(r)?.toLowerCase();switch(!0){case n in e:return e[n];case Pt(n):return Je(e,n,r);default:return Je(e,n,r,!0)}},enumerable:!1,configurable:!1};return new Proxy({},t)}function Je(t,e,r,n=!1){return Object.defineProperty(t,e,{get(){return n?o=>Ht(r):Mt(e)}}),t[e]}function Ct(t,e,r){return e=e?.isJQx&&e.first()||e,z({trial:n=>Nt(e)?t.append(e):ke(e)?t.insertAdjacentHTML("beforeend",e):t.append(e),whenError:n=>console.info(`${r} (for root ${t}) not created, reason
|
|
1
|
+
var JQx=(()=>{var xe=Object.defineProperty;var dt=Object.getOwnPropertyDescriptor;var mt=Object.getOwnPropertyNames;var gt=Object.prototype.hasOwnProperty;var pt=(t,e)=>{for(var r in e)xe(t,r,{get:e[r],enumerable:!0})},yt=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of mt(e))!gt.call(t,o)&&o!==r&&xe(t,o,{get:()=>e[o],enumerable:!(n=dt(e,o))||n.enumerable});return t};var bt=t=>yt(xe({},"__esModule",{value:!0}),t);var Cr={};pt(Cr,{default:()=>Er});var{IS:l,maybe:z,$Wrap:Tr,isNothing:$r,xProxy:Fr,addSymbolicExtensions:Ar}=ht({useSymbolicExtensions:!1});function ht(t={}){let{useSymbolicExtensions:e}=t,{xProxy:r,addSymbolicExtensions:n}=St(a,p,e),o=L(),[i]=[P()];return r.custom(),e&&n(),{IS:a,maybe:o,$Wrap:i,isNothing:b,xProxy:r,addSymbolicExtensions:n};function a(s,...d){let w=typeof s=="symbol"?Symbol.isSymbol:s;switch(!0){case!!o({trial:T=>"isTypes"in(d?.[0]??{})}):return S(s,d[0]);default:return d.length>1?c(w,...d):C(s,...d)}}function S(s,d){switch(!0){case"defaultValue"in d:return u(s,d);case"notTypes"in d:return g(s,d);default:return a(s,...[d.isTypes].flat())}}function p(s){return s?.[Symbol.proxy]??a(s)}function C(s,...d){let{noInput:w,noShouldbe:T,compareTo:M,inputCTOR:Q,isNaN:ut,isInfinity:ct,shouldBeFirstElementIsNothing:ft}=f(s,...d);switch(d=d.length&&d[0],!0){case ft:return String(s)===String(M);case(s?.[Symbol.proxy]&&T):return s[Symbol.proxy];case ut:return T?"NaN":String(M)===String(s);case ct:return T?"Infinity":String(M)===String(s);case w:return T?String(s):String(M)===String(s);case Q===Boolean:return d?Q===d:"Boolean";default:return y(s,d,T,h(s,Q))}}function f(s,...d){let w=d.length<1,T=s==null;return{noInput:T,noShouldbe:w,compareTo:!w&&d[0],inputCTOR:!T&&Object.getPrototypeOf(s)?.constructor,isNaN:Number.isNaN(s)||o({trial:M=>String(s)==="NaN"}),isInfinity:o({trial:M=>String(s)})==="Infinity",shouldBeFirstElementIsNothing:!w&&b(d[0])}}function h(s,d){switch(!0){case s===0:return Number;case s==="":return String;case!s:return{name:String(s)};default:return d}}function y(s,d,w,T){switch(!0){case(!w&&d===s||s?.[Symbol.proxy]&&d===Proxy):return!0;case String(d)==="NaN":return String(s)==="NaN";case(s?.[Symbol.toStringTag]&&a(d,String)):return String(d)===s[Symbol.toStringTag];default:return d?m(s,d,T):x(s,T)}}function x(s,d){return s?.[Symbol.toStringTag]&&`[object ${s?.[Symbol.toStringTag]}]`||d?.name||String(d)}function m(s,d,w){return o({trial:T=>s instanceof d})||d===w||d===Object.getPrototypeOf(w)||`${d?.name}`===w?.name}function c(s,...d){return d.some(w=>a(s,w))}function b(s,d=!1){let w=s==null;return w=d?w||a(s,1/0)||a(s,NaN):w,w}function L(){let s=d=>{};return function({trial:d,whenError:w=s}={}){try{return d()}catch(T){return w(T)}}}function P(){return function(s){return Object.freeze({get value(){return s},get[Symbol.type](){return p(s)},get type(){return p(s)},[Symbol.is](...d){return a(s,...d)},is(...d){return a(s,...d)}})}}function u(s,{defaultValue:d,isTypes:w=[void 0],notTypes:T}={}){return w=w?.constructor!==Array?[w]:w,T=T&&T?.constructor!==Array?[T]:[],T.length<1?a(s,...w)?s:d:g(s,{isTypes:w,notTypes:T})?s:d}function g(s,{isTypes:d=[void 0],notTypes:w=[void 0]}={}){return d=d?.constructor!==Array?[d]:d,w=w?.constructor!==Array?[w]:w,a(s,...d)&&!a(s,...w)}function v(){Object.getOwnPropertyDescriptors(Object.prototype)[Symbol.is]||(Object.defineProperties(Object.prototype,{[Symbol.type]:{get(){return p(this)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(...s){return a(this,...s)},enumerable:!1,configurable:!1}}),Object.defineProperties(Object,{[Symbol.type]:{value(s){return p(s)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(s,...d){return a(s,...d)},enumerable:!1,configurable:!1}}))}function E(s){let d=s.set;return s.set=(w,T,M)=>T===Symbol.proxy?w[T]=M:d(w,T,M),s}}function St(t,e,r){return Symbol.isSymbol||(Symbol.isSymbol=Symbol.for("toa.isASymbol")),{xProxy:a(),addSymbolicExtensions:n};function n(){Symbol.is||(Symbol.is=Symbol.for("toa.is"),Symbol.type=Symbol.for("toa.type")),Object.getOwnPropertyDescriptors(Object.prototype)[Symbol.is]||(Object.defineProperties(Object.prototype,{[Symbol.type]:{get(){return e(this)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(...S){return t(this,...S)},enumerable:!1,configurable:!1}}),Object.defineProperties(Object,{[Symbol.type]:{value(S){return e(S)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(S,...p){return t(S,...p)},enumerable:!1,configurable:!1}}))}function o(S){return Object.getPrototypeOf(S)?.constructor?.name||"Object"}function i(S){return Proxy=new S(S,{construct(p,C){for(let h of C)h.set&&(h=modifySetter(h));let f=new p(...C);return f[Symbol.proxy]=`Proxy (${o(C[0])})`,f}}),Proxy}function a(){Symbol.proxy||(Symbol.proxy=Symbol.for("toa.proxy"));let S=Proxy;return{native(){Proxy=S},custom(){Proxy=i(S)}}}}var je=wt(),B=xt(),V=vt();function xt(){return{html:Object.freeze("accept,action,align,alt,autocapitalize,autocomplete,autopictureinpicture,autoplay,background,bgcolor,border,capture,cellpadding,cellspacing,checked,cite,class,clear,contenteditable,color,cols,colspan,controls,controlslist,coords,crossorigin,datetime,decoding,default,dir,disabled,disablepictureinpicture,disableremoteplayback,download,draggable,enctype,enterkeyhint,face,for,headers,height,hidden,high,href,hreflang,id,inputmode,integrity,is,ismap,kind,label,lang,list,loading,loop,low,max,maxlength,media,method,min,minlength,multiple,muted,name,nonce,noshade,novalidate,nowrap,open,optimum,pattern,placeholder,playsinline,poster,preload,pubdate,radiogroup,readonly,rel,required,rev,reversed,role,rows,rowspan,spellcheck,scope,selected,shape,size,sizes,span,srclang,start,src,srcset,step,style,summary,tabindex,target,title,translate,type,usemap,valign,value,width,xmlns,slot".split(",")),svg:Object.freeze("accent-height,accumulate,additive,alignment-baseline,ascent,attributename,attributetype,azimuth,basefrequency,baseline-shift,begin,bias,by,class,clip,clippathunits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,cx,cy,d,dx,dy,diffuseconstant,direction,display,divisor,dur,edgemode,elevation,end,fill,fill-opacity,fill-rule,filter,filterunits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,fx,fy,g1,g2,glyph-name,glyphref,gradientunits,gradienttransform,height,href,id,image-rendering,in,in2,k,k1,k2,k3,k4,kerning,keypoints,keysplines,keytimes,lang,lengthadjust,letter-spacing,kernelmatrix,kernelunitlength,lighting-color,local,marker-end,marker-mid,marker-start,markerheight,markerunits,markerwidth,maskcontentunits,maskunits,max,mask,media,method,mode,min,name,numoctaves,offset,operator,opacity,order,orient,orientation,origin,overflow,paint-order,path,pathlength,patterncontentunits,patterntransform,patternunits,points,preservealpha,preserveaspectratio,primitiveunits,r,rx,ry,radius,refx,refy,repeatcount,repeatdur,restart,result,rotate,scale,seed,shape-rendering,specularconstant,specularexponent,spreadmethod,startoffset,stddeviation,stitchtiles,stop-color,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke,stroke-width,style,surfacescale,systemlanguage,tabindex,targetx,targety,transform,text-anchor,text-decoration,text-rendering,textlength,type,u1,u2,unicode,values,viewbox,visibility,version,vert-adv-y,vert-origin-x,vert-origin-y,width,word-spacing,wrap,writing-mode,xchannelselector,ychannelselector,x,x1,x2,xmlns,y,y1,y2,z,zoomandpan".split(","))}}function vt(){return{a:!0,area:!0,audio:!1,br:!0,base:!0,body:!0,button:!0,canvas:!0,comment:!0,dl:!0,data:!0,datalist:!0,div:!0,em:!0,embed:!1,fieldset:!0,font:!0,footer:!0,form:!1,hr:!0,head:!0,header:!0,output:!0,iframe:!1,frameset:!1,img:!0,input:!0,li:!0,label:!0,legend:!0,link:!0,map:!0,mark:!0,menu:!0,media:!0,meta:!0,nav:!0,meter:!0,ol:!0,object:!1,optgroup:!0,option:!0,p:!0,param:!0,picture:!0,pre:!0,progress:!1,quote:!0,script:!1,select:!0,source:!0,span:!0,style:!0,caption:!0,td:!0,col:!0,table:!0,tr:!0,template:!1,textarea:!0,time:!0,title:!0,track:!0,details:!0,ul:!0,video:!0,del:!0,ins:!0,slot:!0,blockquote:!0,svg:!0,dialog:!0,summary:!0,main:!0,address:!0,colgroup:!0,tbody:!0,tfoot:!0,thead:!0,th:!0,dd:!0,dt:!0,figcaption:!0,figure:!0,i:!0,b:!0,code:!0,h1:!0,h2:!0,h3:!0,h4:!0,abbr:!0,bdo:!0,dfn:!0,kbd:!0,q:!0,rb:!0,rp:!0,rt:!0,ruby:!0,s:!0,strike:!0,samp:!0,small:!0,strong:!0,sup:!0,sub:!0,u:!0,var:!0,wbr:!0,nobr:!0,tt:!0,noscript:!0}}function wt(){return["::backdrop{background-color:grey;opacity:0.2;}",`#jqxPopup{overflow:hidden;background-color:transparent;outline:none;border:none;inset:0;animation:fade-out 0.5s ease-out;&[open]{display:flex;align-items:center;justify-content:center;animation:fade-in 0.5s ease;}#jqxPopupContent{background-color:white;border:solid 1px #eee;box-shadow:1px 2px 8px #999;border-radius:4px;padding:12px;vertical-align:middle;max-height:40vh;max-width:50vw;overflow:auto;margin:0 auto;div:not(#closeHandleIcon){clear:both;}@media (width <= 640px){max-width:80vw;max-height:60vh;}#closeHandleIcon{cursor:pointer;width:24px;height:24px;display:inline;position:absolute;top:4px;right:4px;justify-content:right;background-image:url("data:image/svg+xml;utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%20128%20128%22%20style%3D%22enable-background%3Anew%200%200%20128%20128%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Crect%20x%3D%22-368%22%20y%3D%226%22%20style%3D%22display%3Anone%3Bfill%3A%23E0E0E0%3B%22%20width%3D%22866%22%20height%3D%221018%22%2F%3E%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2248%22%2F%3E%3Ccircle%20style%3D%22fill%3A%238CCFB9%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2239%22%2F%3E%3Ccircle%20style%3D%22fill%3Anone%3Bstroke%3A%23444B54%3Bstroke-width%3A6%3Bstroke-miterlimit%3A10%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2248%22%2F%3E%3Cpolyline%20style%3D%22fill%3Anone%3Bstroke%3A%23FFFFFF%3Bstroke-width%3A6%3Bstroke-linecap%3Around%3Bstroke-miterlimit%3A10%3B%22%20points%3D%2242%2C69%2055.55%2C81%20%20%2086%2C46%20%22%2F%3E%3C%2Fsvg%3E");@media (width <= 640px){background-image:none;position:relative;margin:-15px -15px 4px 0;float:right;vertical-align:middle;border:1px solid #AAA;padding:2px;border-radius:50%;width:12px;height:12px;font-size:12px;line-height:12px;font-weight:bold;text-align:center;&:after{content:'\\2714';color:green;}}}.warn{display:none;text-align:center;color:red;border-top:1px solid #999;margin-top:1em;padding-top:3px;animation:warn-fade-out 0.2s ease-out;}.warn.active{opacity:1;display:block;animation:warn-fade-in 0.2s ease-in;}}}`,"@keyframes fade-in{0%{opacity:0;transform:scale(0, 0);display:none;}100%{opacity:1;transform:scale(1, 1);display:flex;}}","@keyframes fade-out{0%{opacity:1;transform:scale(1, 1);display:flex;}100%{opacity:0;transform:scale(0, 0);display:none;}}","@keyframes warn-fade-in{0%{opacity:0;transform:scale(0, 0);display:none;}100%{opacity:1;transform:scale(1,1 );display:block;}}","@keyframes warn-fade-out{0%{opacity:1;transform:scale(1, 1);display:block;}100%{opacity:0;transform:scale(0, 0);display:none;}}"]}var Re={html:"innerHTML",text:"textContent",class:"className"},ee=Et();function Et(){let t={get(e,r){let n=String(r)?.toLowerCase();switch(!0){case n in e:return e[n];case Pt(n):return Je(e,n,r);default:return Je(e,n,r,!0)}},enumerable:!1,configurable:!1};return new Proxy({},t)}function Je(t,e,r,n=!1){return Object.defineProperty(t,e,{get(){return n?o=>Ht(r):Mt(e)}}),t[e]}function Ct(t,e,r){return e=e?.isJQx&&e.first()||e,z({trial:n=>Nt(e)?t.append(e):ke(e)?t.insertAdjacentHTML("beforeend",e):t.append(e),whenError:n=>console.info(`${r} (for root ${t}) not created, reason
|
|
2
2
|
`,n)})}function Lt(t,e,...r){let n=Tt(e,t);return r?.forEach(o=>Ct(n,o,t)),n}function Tt(t,e){switch(t=ve(e)?At(t):t?.isJQx?t.first():t,!0){case l(t,String):return U(e,ke(t,e)?{html:t}:{text:t});case l(t,Node):return Ft(e,t);default:return U(e,t)}}function $t(t){return delete t.data,Object.keys(t).length<1||Object.keys(t).forEach(e=>{let r=e.toLowerCase();r in Re&&(t[Re[r]]=t[e],delete t[e])}),t}function Ft(t,e){let r=U(t);return r.append(e),r}function U(t,e={}){e=Qe(e,{});let r=Object.entries(e.data??{}),n=Object.assign(ve(t)?new Comment(e?.text):document.createElement(t),$t(e));return r.length&&r.forEach(([o,i])=>n.dataset[o]=String(i)),n}function Qe(t,e){return e?l(t,{isTypes:Object,notTypes:[Array,null,NaN,Proxy],defaultValue:e}):l(t,{isTypes:Object,notTypes:[Array,null,NaN,Proxy]})}function At(t){return Qe(t)?t?.text??t?.textContent??"":String(t)}function Ht(t){return U("b",{style:"color:red",text:`'${t}' is not a valid HTML-tag`})}function ke(t,e){return!ve(e)&&l(t,String)&&/<.*>|&[#|0-9a-z]+[^;];/i.test(t)}function Nt(t){return t?.constructor===Comment||t?.constructor===CharacterData}function ve(t){return t?.constructor===Comment||/comment/i.test(t)}function Pt(t){return!l(U(t),HTMLUnknownElement)}function Mt(t){return(e,...r)=>Lt(t,e,...r)}var{IS:te,maybe:Or,$Wrap:Dr,xProxy:Ir,isNothing:jr}=Ot();function Ot(){Symbol.proxy=Symbol.for("toa.proxy"),Symbol.is=Symbol.for("toa.is"),Symbol.type=Symbol.for("toa.type"),Symbol.isSymbol=Symbol.for("toa.isASymbol"),c();let t=h(),[e,r]=[y(),P()];return r.custom(),{IS:n,maybe:t,$Wrap:e,isNothing:f,xProxy:r};function n(u,...g){if(t({trial:E=>"isTypes"in(g?.[0]??{})})){let E=g[0];return"defaultValue"in E?x(u,E):"notTypes"in E?m(u,E):n(u,...[E.isTypes].flat())}let v=typeof u=="symbol"?Symbol.isSymbol:u;return g.length>1?C(v,...g):i(u,...g)}function o(u){return u?.[Symbol.proxy]??n(u)}function i(u,...g){let{noInput:v,noShouldbe:E,compareTo:s,inputCTOR:d,isNaN:w,isInfinity:T,shouldBeFirstElementIsNothing:M}=S(u,...g);switch(g=g.length&&g[0],!0){case M:return String(u)===String(s);case(u?.[Symbol.proxy]&&E):return u[Symbol.proxy];case w:return E?"NaN":t({trial:Q=>String(s)})===String(u);case T:return E?"Infinity":t({trial:Q=>String(s)})===String(u);case v:return E?String(u):String(s)===String(u);case d===Boolean:return g?d===g:"Boolean";default:return p(u,g,E,a(u,d))}}function a(u,g){return u===0?Number:u===""?String:u?g:{name:String(u)}}function S(u,...g){let v=g.length<1,E=!v&&g[0],s=!v&&f(g[0]),d=u==null,w=!d&&Object.getPrototypeOf(u)?.constructor,T=t({trial:Q=>String(u)})==="NaN",M=t({trial:Q=>String(u)})==="Infinity";return{noInput:d,noShouldbe:v,compareTo:E,inputCTOR:w,isNaN:T,isInfinity:M,shouldBeFirstElementIsNothing:s}}function p(u,g,v,E){switch(!0){case(!v&&g===u||u?.[Symbol.proxy]&&g===Proxy):return!0;case t({trial:s=>String(g)})==="NaN":return String(u)==="NaN";case(u?.[Symbol.toStringTag]&&n(g,String)):return String(g)===u[Symbol.toStringTag];default:return g?t({trial:s=>u instanceof g})||g===E||g===Object.getPrototypeOf(E)||`${g?.name}`===E?.name:u?.[Symbol.toStringTag]&&`[object ${u?.[Symbol.toStringTag]}]`||E?.name||String(E)}}function C(u,...g){return g.some(v=>n(u,v))}function f(u,g=!1){let v=u==null;return v=g?v||n(u,1/0)||n(u,NaN):v,v}function h(){let u=(g,v)=>g?.constructor===Function?g(v):void 0;return function({trial:g,whenError:v=()=>{}}={}){try{return u(g)}catch(E){return u(v,E)}}}function y(){return function(u){return Object.freeze({get value(){return u},get[Symbol.type](){return o(u)},get type(){return o(u)},[Symbol.is](...g){return n(u,...g)},is(...g){return n(u,...g)}})}}function x(u,{defaultValue:g,isTypes:v=[void 0],notTypes:E}={}){return v=v?.constructor!==Array?[v]:v,E=E&&E?.constructor!==Array?[E]:[],E.length<1?n(u,...v)?u:g:m(u,{isTypes:v,notTypes:E})?u:g}function m(u,{isTypes:g=[void 0],notTypes:v=[void 0]}={}){return g=g?.constructor!==Array?[g]:g,v=v?.constructor!==Array?[v]:v,n(u,...g)&&!n(u,...v)}function c(){Object.getOwnPropertyDescriptors(Object.prototype)[Symbol.is]||(Object.defineProperties(Object.prototype,{[Symbol.type]:{get(){return o(this)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(...u){return n(this,...u)},enumerable:!1,configurable:!1}}),Object.defineProperties(Object,{[Symbol.type]:{value(u){return o(u)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(u,...g){return n(u,...g)},enumerable:!1,configurable:!1}}))}function b(u){let g=String(Object.getPrototypeOf(u)?.constructor);return g.slice(g.indexOf("ion")+3,g.indexOf("(")).trim()}function L(u){let g=u.set;return u.set=(v,E,s)=>E===Symbol.proxy?v[E]=s:g(v,E,s),u}function P(){let u=Proxy;return{native(){Proxy=u},custom(){Proxy=new u(u,{construct(g,v){for(let s of v)s.set&&(s=L(s));let E=new g(...v);return E[Symbol.proxy]=`Proxy (${b(v[0])})`,E}})}}}}var _=Dt;function Dt({styleSheet:t,createWithId:e}={}){let{tryParseAtOrNestedRules:r,ruleExists:n,checkParams:o,sheet:i,removeRules:a,consider:S,currentSheetID:p}=It({styleSheet:t,createWithId:e});function C(m,c){if(m&&c.removeProperties){Object.keys(c.removeProperties).forEach(b=>m.style.removeProperty(We(b)));return}Object.entries(c).forEach(([b,L])=>{b=We(b.trim()),L=L.trim();let P;if(/!important/.test(L)&&(L=L.slice(0,L.indexOf("!important")).trim(),P="important"),!CSS.supports(b,L))return console.error(`StylingFactory ${p} error: '${b}' with value '${L}' not supported (yet)`);ze(()=>m.style.setProperty(b,L,P),`StylingFactory ${p} (setRule4Selector) failed`)})}function f(m,c,b=i){if(m=m?.trim?.(),!te(m,String)||!m.length||/[;,]$/g.test(m))return console.error(`StylingFactory ${p} (setRules): [${m||"[no selector given]"}] is not a valid selector`);if(c.removeRule)return a(m);let L=n(m,!0),P=L||b.cssRules[b.insertRule(`${m} {}`,b.cssRules.length||0)];return S(()=>C(P,c),m,L)}function h(m){let c=m.trim().split(/{/,2),b=c.shift().trim();if(!te(b,String)||!b?.trim()?.length)return console.error(`StylingFactory ${p} (doParse): no (valid) selector could be extracted from rule ${we(m)}`);let L=zt(c.shift());return ze(()=>f(b,L),`StylingFactory ${p} (setRules) failed`)}function y(m){let c=r(m);return c.done?c.existing:h(m)}function x(m,c){return m.trim().startsWith("@media")?y(jt(m,c)):f(m,c)}return function(m,c={}){return o(m,c)&&(Object.keys(c).length?x(m,c):y(m))}}function It({styleSheet:t,createWithId:e}){let r="Note: The rule or some of its properties may not be supported by your browser (yet)",n=`for style#${e}`;t=e?o(e):t;function o(y){let x=document.querySelector(`#${y}`)?.sheet;if(x)return x;let m=Object.assign(document.createElement("style"),{id:y});return document.head.insertAdjacentElement("beforeend",m),m.sheet}function i(y){return console.error(`StylingFactory ${n} [rule: ${y}]
|
|
3
3
|
=> @charset, @namespace and @import are not supported here`),{done:!0}}function a(y,x){return[...t.rules].find(m=>x?Be(m.selectorText||"",y):Qt`${Jt(y)}${[..."gim"]}`.test(m.cssText))}function S(y){return/^@charset|@import|namespace/i.test(y.trim())?i(y):y.match(/}/g)?.length>1?{existing:f(y,1),done:!0}:{done:!1}}function p(y){let x=[...t.cssRules].reduce((c,b,L)=>Be(b.selectorText||"",y)&&c.concat(L)||c,[]),m=x.length;return x.forEach(c=>t.deleteRule(c)),m>0?console.info(`\u2714 Removed ${m} instance${m>1?"s":""} of selector ${y} from ${n.slice(4)}`):console.info(`\u2714 Remove rule: selector ${y} does not exist in ${n.slice(4)}`)}function C(y,x){return y&&te(y,String)&&y.trim().length>0&&te(x,Object)||(console.error(`StylingFactory ${n} called with invalid parameters`),!1)}function f(y){y=y.trim();let x=y.slice(0,y.indexOf("{")).trim(),m=!!a(x);try{return t.insertRule(`${y}`,t.cssRules.length),m}catch(c){return console.error(`StylingFactory ${n} (tryParse) ${c.name} Error:
|
|
4
4
|
${c.message}
|
package/Bundle/jqx.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var{IS:l,maybe:z,$Wrap:yr,isNothing:br,xProxy:hr,addSymbolicExtensions:Sr}=ft({useSymbolicExtensions:!1});function ft(t={}){let{useSymbolicExtensions:e}=t,{xProxy:r,addSymbolicExtensions:n}=dt(a,p,e),o=L(),[i]=[P()];return r.custom(),e&&n(),{IS:a,maybe:o,$Wrap:i,isNothing:b,xProxy:r,addSymbolicExtensions:n};function a(s,...d){let w=typeof s=="symbol"?Symbol.isSymbol:s;switch(!0){case!!o({trial:T=>"isTypes"in(d?.[0]??{})}):return S(s,d[0]);default:return d.length>1?c(w,...d):C(s,...d)}}function S(s,d){switch(!0){case"defaultValue"in d:return u(s,d);case"notTypes"in d:return g(s,d);default:return a(s,...[d.isTypes].flat())}}function p(s){return s?.[Symbol.proxy]??a(s)}function C(s,...d){let{noInput:w,noShouldbe:T,compareTo:M,inputCTOR:Q,isNaN:at,isInfinity:ut,shouldBeFirstElementIsNothing:ct}=f(s,...d);switch(d=d.length&&d[0],!0){case ct:return String(s)===String(M);case(s?.[Symbol.proxy]&&T):return s[Symbol.proxy];case at:return T?"NaN":String(M)===String(s);case ut:return T?"Infinity":String(M)===String(s);case w:return T?String(s):String(M)===String(s);case Q===Boolean:return d?Q===d:"Boolean";default:return y(s,d,T,h(s,Q))}}function f(s,...d){let w=d.length<1,T=s==null;return{noInput:T,noShouldbe:w,compareTo:!w&&d[0],inputCTOR:!T&&Object.getPrototypeOf(s)?.constructor,isNaN:Number.isNaN(s)||o({trial:M=>String(s)==="NaN"}),isInfinity:o({trial:M=>String(s)})==="Infinity",shouldBeFirstElementIsNothing:!w&&b(d[0])}}function h(s,d){switch(!0){case s===0:return Number;case s==="":return String;case!s:return{name:String(s)};default:return d}}function y(s,d,w,T){switch(!0){case(!w&&d===s||s?.[Symbol.proxy]&&d===Proxy):return!0;case String(d)==="NaN":return String(s)==="NaN";case(s?.[Symbol.toStringTag]&&a(d,String)):return String(d)===s[Symbol.toStringTag];default:return d?m(s,d,T):x(s,T)}}function x(s,d){return s?.[Symbol.toStringTag]&&`[object ${s?.[Symbol.toStringTag]}]`||d?.name||String(d)}function m(s,d,w){return o({trial:T=>s instanceof d})||d===w||d===Object.getPrototypeOf(w)||`${d?.name}`===w?.name}function c(s,...d){return d.some(w=>a(s,w))}function b(s,d=!1){let w=s==null;return w=d?w||a(s,1/0)||a(s,NaN):w,w}function L(){let s=d=>{};return function({trial:d,whenError:w=s}={}){try{return d()}catch(T){return w(T)}}}function P(){return function(s){return Object.freeze({get value(){return s},get[Symbol.type](){return p(s)},get type(){return p(s)},[Symbol.is](...d){return a(s,...d)},is(...d){return a(s,...d)}})}}function u(s,{defaultValue:d,isTypes:w=[void 0],notTypes:T}={}){return w=w?.constructor!==Array?[w]:w,T=T&&T?.constructor!==Array?[T]:[],T.length<1?a(s,...w)?s:d:g(s,{isTypes:w,notTypes:T})?s:d}function g(s,{isTypes:d=[void 0],notTypes:w=[void 0]}={}){return d=d?.constructor!==Array?[d]:d,w=w?.constructor!==Array?[w]:w,a(s,...d)&&!a(s,...w)}function v(){Object.getOwnPropertyDescriptors(Object.prototype)[Symbol.is]||(Object.defineProperties(Object.prototype,{[Symbol.type]:{get(){return p(this)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(...s){return a(this,...s)},enumerable:!1,configurable:!1}}),Object.defineProperties(Object,{[Symbol.type]:{value(s){return p(s)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(s,...d){return a(s,...d)},enumerable:!1,configurable:!1}}))}function E(s){let d=s.set;return s.set=(w,T,M)=>T===Symbol.proxy?w[T]=M:d(w,T,M),s}}function dt(t,e,r){return Symbol.isSymbol||(Symbol.isSymbol=Symbol.for("toa.isASymbol")),{xProxy:a(),addSymbolicExtensions:n};function n(){Symbol.is||(Symbol.is=Symbol.for("toa.is"),Symbol.type=Symbol.for("toa.type")),Object.getOwnPropertyDescriptors(Object.prototype)[Symbol.is]||(Object.defineProperties(Object.prototype,{[Symbol.type]:{get(){return e(this)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(...S){return t(this,...S)},enumerable:!1,configurable:!1}}),Object.defineProperties(Object,{[Symbol.type]:{value(S){return e(S)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(S,...p){return t(S,...p)},enumerable:!1,configurable:!1}}))}function o(S){return Object.getPrototypeOf(S)?.constructor?.name||"Object"}function i(S){return function(){Proxy=new S(S,{construct(p,C){for(let h of C)h.set&&(h=modifySetter(h));let f=new p(...C);return f[Symbol.proxy]=`Proxy (${o(C[0])})`,f}})}}function a(){Symbol.proxy||(Symbol.proxy=Symbol.for("toa.proxy"));let S=Proxy;return{native(){Proxy=S},custom:i(S)}}}var Ie=pt(),B=mt(),V=gt();function mt(){return{html:Object.freeze("accept,action,align,alt,autocapitalize,autocomplete,autopictureinpicture,autoplay,background,bgcolor,border,capture,cellpadding,cellspacing,checked,cite,class,clear,contenteditable,color,cols,colspan,controls,controlslist,coords,crossorigin,datetime,decoding,default,dir,disabled,disablepictureinpicture,disableremoteplayback,download,draggable,enctype,enterkeyhint,face,for,headers,height,hidden,high,href,hreflang,id,inputmode,integrity,is,ismap,kind,label,lang,list,loading,loop,low,max,maxlength,media,method,min,minlength,multiple,muted,name,nonce,noshade,novalidate,nowrap,open,optimum,pattern,placeholder,playsinline,poster,preload,pubdate,radiogroup,readonly,rel,required,rev,reversed,role,rows,rowspan,spellcheck,scope,selected,shape,size,sizes,span,srclang,start,src,srcset,step,style,summary,tabindex,target,title,translate,type,usemap,valign,value,width,xmlns,slot".split(",")),svg:Object.freeze("accent-height,accumulate,additive,alignment-baseline,ascent,attributename,attributetype,azimuth,basefrequency,baseline-shift,begin,bias,by,class,clip,clippathunits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,cx,cy,d,dx,dy,diffuseconstant,direction,display,divisor,dur,edgemode,elevation,end,fill,fill-opacity,fill-rule,filter,filterunits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,fx,fy,g1,g2,glyph-name,glyphref,gradientunits,gradienttransform,height,href,id,image-rendering,in,in2,k,k1,k2,k3,k4,kerning,keypoints,keysplines,keytimes,lang,lengthadjust,letter-spacing,kernelmatrix,kernelunitlength,lighting-color,local,marker-end,marker-mid,marker-start,markerheight,markerunits,markerwidth,maskcontentunits,maskunits,max,mask,media,method,mode,min,name,numoctaves,offset,operator,opacity,order,orient,orientation,origin,overflow,paint-order,path,pathlength,patterncontentunits,patterntransform,patternunits,points,preservealpha,preserveaspectratio,primitiveunits,r,rx,ry,radius,refx,refy,repeatcount,repeatdur,restart,result,rotate,scale,seed,shape-rendering,specularconstant,specularexponent,spreadmethod,startoffset,stddeviation,stitchtiles,stop-color,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke,stroke-width,style,surfacescale,systemlanguage,tabindex,targetx,targety,transform,text-anchor,text-decoration,text-rendering,textlength,type,u1,u2,unicode,values,viewbox,visibility,version,vert-adv-y,vert-origin-x,vert-origin-y,width,word-spacing,wrap,writing-mode,xchannelselector,ychannelselector,x,x1,x2,xmlns,y,y1,y2,z,zoomandpan".split(","))}}function gt(){return{a:!0,area:!0,audio:!1,br:!0,base:!0,body:!0,button:!0,canvas:!0,comment:!0,dl:!0,data:!0,datalist:!0,div:!0,em:!0,embed:!1,fieldset:!0,font:!0,footer:!0,form:!1,hr:!0,head:!0,header:!0,output:!0,iframe:!1,frameset:!1,img:!0,input:!0,li:!0,label:!0,legend:!0,link:!0,map:!0,mark:!0,menu:!0,media:!0,meta:!0,nav:!0,meter:!0,ol:!0,object:!1,optgroup:!0,option:!0,p:!0,param:!0,picture:!0,pre:!0,progress:!1,quote:!0,script:!1,select:!0,source:!0,span:!0,style:!0,caption:!0,td:!0,col:!0,table:!0,tr:!0,template:!1,textarea:!0,time:!0,title:!0,track:!0,details:!0,ul:!0,video:!0,del:!0,ins:!0,slot:!0,blockquote:!0,svg:!0,dialog:!0,summary:!0,main:!0,address:!0,colgroup:!0,tbody:!0,tfoot:!0,thead:!0,th:!0,dd:!0,dt:!0,figcaption:!0,figure:!0,i:!0,b:!0,code:!0,h1:!0,h2:!0,h3:!0,h4:!0,abbr:!0,bdo:!0,dfn:!0,kbd:!0,q:!0,rb:!0,rp:!0,rt:!0,ruby:!0,s:!0,strike:!0,samp:!0,small:!0,strong:!0,sup:!0,sub:!0,u:!0,var:!0,wbr:!0,nobr:!0,tt:!0,noscript:!0}}function pt(){return["::backdrop{background-color:grey;opacity:0.2;}",`#jqxPopup{overflow:hidden;background-color:transparent;outline:none;border:none;inset:0;animation:fade-out 0.5s ease-out;&[open]{display:flex;align-items:center;justify-content:center;animation:fade-in 0.5s ease;}#jqxPopupContent{background-color:white;border:solid 1px #eee;box-shadow:1px 2px 8px #999;border-radius:4px;padding:12px;vertical-align:middle;max-height:40vh;max-width:50vw;overflow:auto;margin:0 auto;div:not(#closeHandleIcon){clear:both;}@media (width <= 640px){max-width:80vw;max-height:60vh;}#closeHandleIcon{cursor:pointer;width:24px;height:24px;display:inline;position:absolute;top:4px;right:4px;justify-content:right;background-image:url("data:image/svg+xml;utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%20128%20128%22%20style%3D%22enable-background%3Anew%200%200%20128%20128%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Crect%20x%3D%22-368%22%20y%3D%226%22%20style%3D%22display%3Anone%3Bfill%3A%23E0E0E0%3B%22%20width%3D%22866%22%20height%3D%221018%22%2F%3E%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2248%22%2F%3E%3Ccircle%20style%3D%22fill%3A%238CCFB9%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2239%22%2F%3E%3Ccircle%20style%3D%22fill%3Anone%3Bstroke%3A%23444B54%3Bstroke-width%3A6%3Bstroke-miterlimit%3A10%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2248%22%2F%3E%3Cpolyline%20style%3D%22fill%3Anone%3Bstroke%3A%23FFFFFF%3Bstroke-width%3A6%3Bstroke-linecap%3Around%3Bstroke-miterlimit%3A10%3B%22%20points%3D%2242%2C69%2055.55%2C81%20%20%2086%2C46%20%22%2F%3E%3C%2Fsvg%3E");@media (width <= 640px){background-image:none;position:relative;margin:-15px -15px 4px 0;float:right;vertical-align:middle;border:1px solid #AAA;padding:2px;border-radius:50%;width:12px;height:12px;font-size:12px;line-height:12px;font-weight:bold;text-align:center;&:after{content:'\\2714';color:green;}}}.warn{display:none;text-align:center;color:red;border-top:1px solid #999;margin-top:1em;padding-top:3px;animation:warn-fade-out 0.2s ease-out;}.warn.active{opacity:1;display:block;animation:warn-fade-in 0.2s ease-in;}}}`,"@keyframes fade-in{0%{opacity:0;transform:scale(0, 0);display:none;}100%{opacity:1;transform:scale(1, 1);display:flex;}}","@keyframes fade-out{0%{opacity:1;transform:scale(1, 1);display:flex;}100%{opacity:0;transform:scale(0, 0);display:none;}}","@keyframes warn-fade-in{0%{opacity:0;transform:scale(0, 0);display:none;}100%{opacity:1;transform:scale(1,1 );display:block;}}","@keyframes warn-fade-out{0%{opacity:1;transform:scale(1, 1);display:block;}100%{opacity:0;transform:scale(0, 0);display:none;}}"]}var je={html:"innerHTML",text:"textContent",class:"className"},ee=yt();function yt(){let t={get(e,r){let n=String(r)?.toLowerCase();switch(!0){case n in e:return e[n];case Lt(n):return Re(e,n,r);default:return Re(e,n,r,!0)}},enumerable:!1,configurable:!1};return new Proxy({},t)}function Re(t,e,r,n=!1){return Object.defineProperty(t,e,{get(){return n?o=>Et(r):Tt(e)}}),t[e]}function bt(t,e,r){return e=e?.isJQx&&e.first()||e,z({trial:n=>Ct(e)?t.append(e):Qe(e)?t.insertAdjacentHTML("beforeend",e):t.append(e),whenError:n=>console.info(`${r} (for root ${t}) not created, reason
|
|
1
|
+
var{IS:l,maybe:z,$Wrap:yr,isNothing:br,xProxy:hr,addSymbolicExtensions:Sr}=ft({useSymbolicExtensions:!1});function ft(t={}){let{useSymbolicExtensions:e}=t,{xProxy:r,addSymbolicExtensions:n}=dt(a,p,e),o=L(),[i]=[P()];return r.custom(),e&&n(),{IS:a,maybe:o,$Wrap:i,isNothing:b,xProxy:r,addSymbolicExtensions:n};function a(s,...d){let w=typeof s=="symbol"?Symbol.isSymbol:s;switch(!0){case!!o({trial:T=>"isTypes"in(d?.[0]??{})}):return S(s,d[0]);default:return d.length>1?c(w,...d):C(s,...d)}}function S(s,d){switch(!0){case"defaultValue"in d:return u(s,d);case"notTypes"in d:return g(s,d);default:return a(s,...[d.isTypes].flat())}}function p(s){return s?.[Symbol.proxy]??a(s)}function C(s,...d){let{noInput:w,noShouldbe:T,compareTo:M,inputCTOR:Q,isNaN:at,isInfinity:ut,shouldBeFirstElementIsNothing:ct}=f(s,...d);switch(d=d.length&&d[0],!0){case ct:return String(s)===String(M);case(s?.[Symbol.proxy]&&T):return s[Symbol.proxy];case at:return T?"NaN":String(M)===String(s);case ut:return T?"Infinity":String(M)===String(s);case w:return T?String(s):String(M)===String(s);case Q===Boolean:return d?Q===d:"Boolean";default:return y(s,d,T,h(s,Q))}}function f(s,...d){let w=d.length<1,T=s==null;return{noInput:T,noShouldbe:w,compareTo:!w&&d[0],inputCTOR:!T&&Object.getPrototypeOf(s)?.constructor,isNaN:Number.isNaN(s)||o({trial:M=>String(s)==="NaN"}),isInfinity:o({trial:M=>String(s)})==="Infinity",shouldBeFirstElementIsNothing:!w&&b(d[0])}}function h(s,d){switch(!0){case s===0:return Number;case s==="":return String;case!s:return{name:String(s)};default:return d}}function y(s,d,w,T){switch(!0){case(!w&&d===s||s?.[Symbol.proxy]&&d===Proxy):return!0;case String(d)==="NaN":return String(s)==="NaN";case(s?.[Symbol.toStringTag]&&a(d,String)):return String(d)===s[Symbol.toStringTag];default:return d?m(s,d,T):x(s,T)}}function x(s,d){return s?.[Symbol.toStringTag]&&`[object ${s?.[Symbol.toStringTag]}]`||d?.name||String(d)}function m(s,d,w){return o({trial:T=>s instanceof d})||d===w||d===Object.getPrototypeOf(w)||`${d?.name}`===w?.name}function c(s,...d){return d.some(w=>a(s,w))}function b(s,d=!1){let w=s==null;return w=d?w||a(s,1/0)||a(s,NaN):w,w}function L(){let s=d=>{};return function({trial:d,whenError:w=s}={}){try{return d()}catch(T){return w(T)}}}function P(){return function(s){return Object.freeze({get value(){return s},get[Symbol.type](){return p(s)},get type(){return p(s)},[Symbol.is](...d){return a(s,...d)},is(...d){return a(s,...d)}})}}function u(s,{defaultValue:d,isTypes:w=[void 0],notTypes:T}={}){return w=w?.constructor!==Array?[w]:w,T=T&&T?.constructor!==Array?[T]:[],T.length<1?a(s,...w)?s:d:g(s,{isTypes:w,notTypes:T})?s:d}function g(s,{isTypes:d=[void 0],notTypes:w=[void 0]}={}){return d=d?.constructor!==Array?[d]:d,w=w?.constructor!==Array?[w]:w,a(s,...d)&&!a(s,...w)}function v(){Object.getOwnPropertyDescriptors(Object.prototype)[Symbol.is]||(Object.defineProperties(Object.prototype,{[Symbol.type]:{get(){return p(this)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(...s){return a(this,...s)},enumerable:!1,configurable:!1}}),Object.defineProperties(Object,{[Symbol.type]:{value(s){return p(s)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(s,...d){return a(s,...d)},enumerable:!1,configurable:!1}}))}function E(s){let d=s.set;return s.set=(w,T,M)=>T===Symbol.proxy?w[T]=M:d(w,T,M),s}}function dt(t,e,r){return Symbol.isSymbol||(Symbol.isSymbol=Symbol.for("toa.isASymbol")),{xProxy:a(),addSymbolicExtensions:n};function n(){Symbol.is||(Symbol.is=Symbol.for("toa.is"),Symbol.type=Symbol.for("toa.type")),Object.getOwnPropertyDescriptors(Object.prototype)[Symbol.is]||(Object.defineProperties(Object.prototype,{[Symbol.type]:{get(){return e(this)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(...S){return t(this,...S)},enumerable:!1,configurable:!1}}),Object.defineProperties(Object,{[Symbol.type]:{value(S){return e(S)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(S,...p){return t(S,...p)},enumerable:!1,configurable:!1}}))}function o(S){return Object.getPrototypeOf(S)?.constructor?.name||"Object"}function i(S){return Proxy=new S(S,{construct(p,C){for(let h of C)h.set&&(h=modifySetter(h));let f=new p(...C);return f[Symbol.proxy]=`Proxy (${o(C[0])})`,f}}),Proxy}function a(){Symbol.proxy||(Symbol.proxy=Symbol.for("toa.proxy"));let S=Proxy;return{native(){Proxy=S},custom(){Proxy=i(S)}}}}var Ie=pt(),B=mt(),V=gt();function mt(){return{html:Object.freeze("accept,action,align,alt,autocapitalize,autocomplete,autopictureinpicture,autoplay,background,bgcolor,border,capture,cellpadding,cellspacing,checked,cite,class,clear,contenteditable,color,cols,colspan,controls,controlslist,coords,crossorigin,datetime,decoding,default,dir,disabled,disablepictureinpicture,disableremoteplayback,download,draggable,enctype,enterkeyhint,face,for,headers,height,hidden,high,href,hreflang,id,inputmode,integrity,is,ismap,kind,label,lang,list,loading,loop,low,max,maxlength,media,method,min,minlength,multiple,muted,name,nonce,noshade,novalidate,nowrap,open,optimum,pattern,placeholder,playsinline,poster,preload,pubdate,radiogroup,readonly,rel,required,rev,reversed,role,rows,rowspan,spellcheck,scope,selected,shape,size,sizes,span,srclang,start,src,srcset,step,style,summary,tabindex,target,title,translate,type,usemap,valign,value,width,xmlns,slot".split(",")),svg:Object.freeze("accent-height,accumulate,additive,alignment-baseline,ascent,attributename,attributetype,azimuth,basefrequency,baseline-shift,begin,bias,by,class,clip,clippathunits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,cx,cy,d,dx,dy,diffuseconstant,direction,display,divisor,dur,edgemode,elevation,end,fill,fill-opacity,fill-rule,filter,filterunits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,fx,fy,g1,g2,glyph-name,glyphref,gradientunits,gradienttransform,height,href,id,image-rendering,in,in2,k,k1,k2,k3,k4,kerning,keypoints,keysplines,keytimes,lang,lengthadjust,letter-spacing,kernelmatrix,kernelunitlength,lighting-color,local,marker-end,marker-mid,marker-start,markerheight,markerunits,markerwidth,maskcontentunits,maskunits,max,mask,media,method,mode,min,name,numoctaves,offset,operator,opacity,order,orient,orientation,origin,overflow,paint-order,path,pathlength,patterncontentunits,patterntransform,patternunits,points,preservealpha,preserveaspectratio,primitiveunits,r,rx,ry,radius,refx,refy,repeatcount,repeatdur,restart,result,rotate,scale,seed,shape-rendering,specularconstant,specularexponent,spreadmethod,startoffset,stddeviation,stitchtiles,stop-color,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke,stroke-width,style,surfacescale,systemlanguage,tabindex,targetx,targety,transform,text-anchor,text-decoration,text-rendering,textlength,type,u1,u2,unicode,values,viewbox,visibility,version,vert-adv-y,vert-origin-x,vert-origin-y,width,word-spacing,wrap,writing-mode,xchannelselector,ychannelselector,x,x1,x2,xmlns,y,y1,y2,z,zoomandpan".split(","))}}function gt(){return{a:!0,area:!0,audio:!1,br:!0,base:!0,body:!0,button:!0,canvas:!0,comment:!0,dl:!0,data:!0,datalist:!0,div:!0,em:!0,embed:!1,fieldset:!0,font:!0,footer:!0,form:!1,hr:!0,head:!0,header:!0,output:!0,iframe:!1,frameset:!1,img:!0,input:!0,li:!0,label:!0,legend:!0,link:!0,map:!0,mark:!0,menu:!0,media:!0,meta:!0,nav:!0,meter:!0,ol:!0,object:!1,optgroup:!0,option:!0,p:!0,param:!0,picture:!0,pre:!0,progress:!1,quote:!0,script:!1,select:!0,source:!0,span:!0,style:!0,caption:!0,td:!0,col:!0,table:!0,tr:!0,template:!1,textarea:!0,time:!0,title:!0,track:!0,details:!0,ul:!0,video:!0,del:!0,ins:!0,slot:!0,blockquote:!0,svg:!0,dialog:!0,summary:!0,main:!0,address:!0,colgroup:!0,tbody:!0,tfoot:!0,thead:!0,th:!0,dd:!0,dt:!0,figcaption:!0,figure:!0,i:!0,b:!0,code:!0,h1:!0,h2:!0,h3:!0,h4:!0,abbr:!0,bdo:!0,dfn:!0,kbd:!0,q:!0,rb:!0,rp:!0,rt:!0,ruby:!0,s:!0,strike:!0,samp:!0,small:!0,strong:!0,sup:!0,sub:!0,u:!0,var:!0,wbr:!0,nobr:!0,tt:!0,noscript:!0}}function pt(){return["::backdrop{background-color:grey;opacity:0.2;}",`#jqxPopup{overflow:hidden;background-color:transparent;outline:none;border:none;inset:0;animation:fade-out 0.5s ease-out;&[open]{display:flex;align-items:center;justify-content:center;animation:fade-in 0.5s ease;}#jqxPopupContent{background-color:white;border:solid 1px #eee;box-shadow:1px 2px 8px #999;border-radius:4px;padding:12px;vertical-align:middle;max-height:40vh;max-width:50vw;overflow:auto;margin:0 auto;div:not(#closeHandleIcon){clear:both;}@media (width <= 640px){max-width:80vw;max-height:60vh;}#closeHandleIcon{cursor:pointer;width:24px;height:24px;display:inline;position:absolute;top:4px;right:4px;justify-content:right;background-image:url("data:image/svg+xml;utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%20128%20128%22%20style%3D%22enable-background%3Anew%200%200%20128%20128%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Crect%20x%3D%22-368%22%20y%3D%226%22%20style%3D%22display%3Anone%3Bfill%3A%23E0E0E0%3B%22%20width%3D%22866%22%20height%3D%221018%22%2F%3E%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2248%22%2F%3E%3Ccircle%20style%3D%22fill%3A%238CCFB9%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2239%22%2F%3E%3Ccircle%20style%3D%22fill%3Anone%3Bstroke%3A%23444B54%3Bstroke-width%3A6%3Bstroke-miterlimit%3A10%3B%22%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%2248%22%2F%3E%3Cpolyline%20style%3D%22fill%3Anone%3Bstroke%3A%23FFFFFF%3Bstroke-width%3A6%3Bstroke-linecap%3Around%3Bstroke-miterlimit%3A10%3B%22%20points%3D%2242%2C69%2055.55%2C81%20%20%2086%2C46%20%22%2F%3E%3C%2Fsvg%3E");@media (width <= 640px){background-image:none;position:relative;margin:-15px -15px 4px 0;float:right;vertical-align:middle;border:1px solid #AAA;padding:2px;border-radius:50%;width:12px;height:12px;font-size:12px;line-height:12px;font-weight:bold;text-align:center;&:after{content:'\\2714';color:green;}}}.warn{display:none;text-align:center;color:red;border-top:1px solid #999;margin-top:1em;padding-top:3px;animation:warn-fade-out 0.2s ease-out;}.warn.active{opacity:1;display:block;animation:warn-fade-in 0.2s ease-in;}}}`,"@keyframes fade-in{0%{opacity:0;transform:scale(0, 0);display:none;}100%{opacity:1;transform:scale(1, 1);display:flex;}}","@keyframes fade-out{0%{opacity:1;transform:scale(1, 1);display:flex;}100%{opacity:0;transform:scale(0, 0);display:none;}}","@keyframes warn-fade-in{0%{opacity:0;transform:scale(0, 0);display:none;}100%{opacity:1;transform:scale(1,1 );display:block;}}","@keyframes warn-fade-out{0%{opacity:1;transform:scale(1, 1);display:block;}100%{opacity:0;transform:scale(0, 0);display:none;}}"]}var je={html:"innerHTML",text:"textContent",class:"className"},ee=yt();function yt(){let t={get(e,r){let n=String(r)?.toLowerCase();switch(!0){case n in e:return e[n];case Lt(n):return Re(e,n,r);default:return Re(e,n,r,!0)}},enumerable:!1,configurable:!1};return new Proxy({},t)}function Re(t,e,r,n=!1){return Object.defineProperty(t,e,{get(){return n?o=>Et(r):Tt(e)}}),t[e]}function bt(t,e,r){return e=e?.isJQx&&e.first()||e,z({trial:n=>Ct(e)?t.append(e):Qe(e)?t.insertAdjacentHTML("beforeend",e):t.append(e),whenError:n=>console.info(`${r} (for root ${t}) not created, reason
|
|
2
2
|
`,n)})}function ht(t,e,...r){let n=St(e,t);return r?.forEach(o=>bt(n,o,t)),n}function St(t,e){switch(t=xe(e)?wt(t):t?.isJQx?t.first():t,!0){case l(t,String):return U(e,Qe(t,e)?{html:t}:{text:t});case l(t,Node):return vt(e,t);default:return U(e,t)}}function xt(t){return delete t.data,Object.keys(t).length<1||Object.keys(t).forEach(e=>{let r=e.toLowerCase();r in je&&(t[je[r]]=t[e],delete t[e])}),t}function vt(t,e){let r=U(t);return r.append(e),r}function U(t,e={}){e=Je(e,{});let r=Object.entries(e.data??{}),n=Object.assign(xe(t)?new Comment(e?.text):document.createElement(t),xt(e));return r.length&&r.forEach(([o,i])=>n.dataset[o]=String(i)),n}function Je(t,e){return e?l(t,{isTypes:Object,notTypes:[Array,null,NaN,Proxy],defaultValue:e}):l(t,{isTypes:Object,notTypes:[Array,null,NaN,Proxy]})}function wt(t){return Je(t)?t?.text??t?.textContent??"":String(t)}function Et(t){return U("b",{style:"color:red",text:`'${t}' is not a valid HTML-tag`})}function Qe(t,e){return!xe(e)&&l(t,String)&&/<.*>|&[#|0-9a-z]+[^;];/i.test(t)}function Ct(t){return t?.constructor===Comment||t?.constructor===CharacterData}function xe(t){return t?.constructor===Comment||/comment/i.test(t)}function Lt(t){return!l(U(t),HTMLUnknownElement)}function Tt(t){return(e,...r)=>ht(t,e,...r)}var{IS:te,maybe:Cr,$Wrap:Lr,xProxy:Tr,isNothing:$r}=$t();function $t(){Symbol.proxy=Symbol.for("toa.proxy"),Symbol.is=Symbol.for("toa.is"),Symbol.type=Symbol.for("toa.type"),Symbol.isSymbol=Symbol.for("toa.isASymbol"),c();let t=h(),[e,r]=[y(),P()];return r.custom(),{IS:n,maybe:t,$Wrap:e,isNothing:f,xProxy:r};function n(u,...g){if(t({trial:E=>"isTypes"in(g?.[0]??{})})){let E=g[0];return"defaultValue"in E?x(u,E):"notTypes"in E?m(u,E):n(u,...[E.isTypes].flat())}let v=typeof u=="symbol"?Symbol.isSymbol:u;return g.length>1?C(v,...g):i(u,...g)}function o(u){return u?.[Symbol.proxy]??n(u)}function i(u,...g){let{noInput:v,noShouldbe:E,compareTo:s,inputCTOR:d,isNaN:w,isInfinity:T,shouldBeFirstElementIsNothing:M}=S(u,...g);switch(g=g.length&&g[0],!0){case M:return String(u)===String(s);case(u?.[Symbol.proxy]&&E):return u[Symbol.proxy];case w:return E?"NaN":t({trial:Q=>String(s)})===String(u);case T:return E?"Infinity":t({trial:Q=>String(s)})===String(u);case v:return E?String(u):String(s)===String(u);case d===Boolean:return g?d===g:"Boolean";default:return p(u,g,E,a(u,d))}}function a(u,g){return u===0?Number:u===""?String:u?g:{name:String(u)}}function S(u,...g){let v=g.length<1,E=!v&&g[0],s=!v&&f(g[0]),d=u==null,w=!d&&Object.getPrototypeOf(u)?.constructor,T=t({trial:Q=>String(u)})==="NaN",M=t({trial:Q=>String(u)})==="Infinity";return{noInput:d,noShouldbe:v,compareTo:E,inputCTOR:w,isNaN:T,isInfinity:M,shouldBeFirstElementIsNothing:s}}function p(u,g,v,E){switch(!0){case(!v&&g===u||u?.[Symbol.proxy]&&g===Proxy):return!0;case t({trial:s=>String(g)})==="NaN":return String(u)==="NaN";case(u?.[Symbol.toStringTag]&&n(g,String)):return String(g)===u[Symbol.toStringTag];default:return g?t({trial:s=>u instanceof g})||g===E||g===Object.getPrototypeOf(E)||`${g?.name}`===E?.name:u?.[Symbol.toStringTag]&&`[object ${u?.[Symbol.toStringTag]}]`||E?.name||String(E)}}function C(u,...g){return g.some(v=>n(u,v))}function f(u,g=!1){let v=u==null;return v=g?v||n(u,1/0)||n(u,NaN):v,v}function h(){let u=(g,v)=>g?.constructor===Function?g(v):void 0;return function({trial:g,whenError:v=()=>{}}={}){try{return u(g)}catch(E){return u(v,E)}}}function y(){return function(u){return Object.freeze({get value(){return u},get[Symbol.type](){return o(u)},get type(){return o(u)},[Symbol.is](...g){return n(u,...g)},is(...g){return n(u,...g)}})}}function x(u,{defaultValue:g,isTypes:v=[void 0],notTypes:E}={}){return v=v?.constructor!==Array?[v]:v,E=E&&E?.constructor!==Array?[E]:[],E.length<1?n(u,...v)?u:g:m(u,{isTypes:v,notTypes:E})?u:g}function m(u,{isTypes:g=[void 0],notTypes:v=[void 0]}={}){return g=g?.constructor!==Array?[g]:g,v=v?.constructor!==Array?[v]:v,n(u,...g)&&!n(u,...v)}function c(){Object.getOwnPropertyDescriptors(Object.prototype)[Symbol.is]||(Object.defineProperties(Object.prototype,{[Symbol.type]:{get(){return o(this)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(...u){return n(this,...u)},enumerable:!1,configurable:!1}}),Object.defineProperties(Object,{[Symbol.type]:{value(u){return o(u)},enumerable:!1,configurable:!1},[Symbol.is]:{value:function(u,...g){return n(u,...g)},enumerable:!1,configurable:!1}}))}function b(u){let g=String(Object.getPrototypeOf(u)?.constructor);return g.slice(g.indexOf("ion")+3,g.indexOf("(")).trim()}function L(u){let g=u.set;return u.set=(v,E,s)=>E===Symbol.proxy?v[E]=s:g(v,E,s),u}function P(){let u=Proxy;return{native(){Proxy=u},custom(){Proxy=new u(u,{construct(g,v){for(let s of v)s.set&&(s=L(s));let E=new g(...v);return E[Symbol.proxy]=`Proxy (${b(v[0])})`,E}})}}}}var _=Ft;function Ft({styleSheet:t,createWithId:e}={}){let{tryParseAtOrNestedRules:r,ruleExists:n,checkParams:o,sheet:i,removeRules:a,consider:S,currentSheetID:p}=At({styleSheet:t,createWithId:e});function C(m,c){if(m&&c.removeProperties){Object.keys(c.removeProperties).forEach(b=>m.style.removeProperty(ke(b)));return}Object.entries(c).forEach(([b,L])=>{b=ke(b.trim()),L=L.trim();let P;if(/!important/.test(L)&&(L=L.slice(0,L.indexOf("!important")).trim(),P="important"),!CSS.supports(b,L))return console.error(`StylingFactory ${p} error: '${b}' with value '${L}' not supported (yet)`);We(()=>m.style.setProperty(b,L,P),`StylingFactory ${p} (setRule4Selector) failed`)})}function f(m,c,b=i){if(m=m?.trim?.(),!te(m,String)||!m.length||/[;,]$/g.test(m))return console.error(`StylingFactory ${p} (setRules): [${m||"[no selector given]"}] is not a valid selector`);if(c.removeRule)return a(m);let L=n(m,!0),P=L||b.cssRules[b.insertRule(`${m} {}`,b.cssRules.length||0)];return S(()=>C(P,c),m,L)}function h(m){let c=m.trim().split(/{/,2),b=c.shift().trim();if(!te(b,String)||!b?.trim()?.length)return console.error(`StylingFactory ${p} (doParse): no (valid) selector could be extracted from rule ${ve(m)}`);let L=It(c.shift());return We(()=>f(b,L),`StylingFactory ${p} (setRules) failed`)}function y(m){let c=r(m);return c.done?c.existing:h(m)}function x(m,c){return m.trim().startsWith("@media")?y(Ht(m,c)):f(m,c)}return function(m,c={}){return o(m,c)&&(Object.keys(c).length?x(m,c):y(m))}}function At({styleSheet:t,createWithId:e}){let r="Note: The rule or some of its properties may not be supported by your browser (yet)",n=`for style#${e}`;t=e?o(e):t;function o(y){let x=document.querySelector(`#${y}`)?.sheet;if(x)return x;let m=Object.assign(document.createElement("style"),{id:y});return document.head.insertAdjacentElement("beforeend",m),m.sheet}function i(y){return console.error(`StylingFactory ${n} [rule: ${y}]
|
|
3
3
|
=> @charset, @namespace and @import are not supported here`),{done:!0}}function a(y,x){return[...t.rules].find(m=>x?ze(m.selectorText||"",y):Mt`${Pt(y)}${[..."gim"]}`.test(m.cssText))}function S(y){return/^@charset|@import|namespace/i.test(y.trim())?i(y):y.match(/}/g)?.length>1?{existing:f(y,1),done:!0}:{done:!1}}function p(y){let x=[...t.cssRules].reduce((c,b,L)=>ze(b.selectorText||"",y)&&c.concat(L)||c,[]),m=x.length;return x.forEach(c=>t.deleteRule(c)),m>0?console.info(`\u2714 Removed ${m} instance${m>1?"s":""} of selector ${y} from ${n.slice(4)}`):console.info(`\u2714 Remove rule: selector ${y} does not exist in ${n.slice(4)}`)}function C(y,x){return y&&te(y,String)&&y.trim().length>0&&te(x,Object)||(console.error(`StylingFactory ${n} called with invalid parameters`),!1)}function f(y){y=y.trim();let x=y.slice(0,y.indexOf("{")).trim(),m=!!a(x);try{return t.insertRule(`${y}`,t.cssRules.length),m}catch(c){return console.error(`StylingFactory ${n} (tryParse) ${c.name} Error:
|
|
4
4
|
${c.message}
|
|
@@ -186,21 +186,22 @@ function SymbolAndCustomProxyFactory(IS, typeOf, useSymbolicExtension) {
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
function createCustomProxyFactory(nativeProxy) {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
};
|
|
189
|
+
Proxy = new nativeProxy(nativeProxy, {
|
|
190
|
+
construct(target, args) {
|
|
191
|
+
for (let item of args) { if (item.set) { item = modifySetter(item); } }
|
|
192
|
+
const wrappedProxy = new target(...args);
|
|
193
|
+
wrappedProxy[Symbol.proxy] = `Proxy (${ctor2String(args[0])})`;
|
|
194
|
+
return wrappedProxy;
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
return Proxy;
|
|
199
198
|
}
|
|
200
199
|
|
|
201
200
|
function setProxyFactory() {
|
|
202
201
|
if (!Symbol.proxy) { Symbol.proxy = Symbol.for("toa.proxy"); }
|
|
203
202
|
const nativeProxy = Proxy;
|
|
204
|
-
return {
|
|
203
|
+
return {
|
|
204
|
+
native() { Proxy = nativeProxy; },
|
|
205
|
+
custom() { Proxy = createCustomProxyFactory(nativeProxy); } };
|
|
205
206
|
}
|
|
206
207
|
}
|