iobroker.backitup
Version:
ioBroker.backitup allows you to backup and restore your ioBroker installation and other systems, such as databases, Zigbee, scripts and many more.
2 lines (1 loc) • 9.87 kB
JavaScript
function fr(r){if(r.sheet)return r.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===r)return document.styleSheets[e]}function ur(r){var e=document.createElement("style");return e.setAttribute("data-emotion",r.key),r.nonce!==void 0&&e.setAttribute("nonce",r.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var hr=(function(){function r(n){var t=this;this._insertTag=function(c){var a;t.tags.length===0?t.insertionPoint?a=t.insertionPoint.nextSibling:t.prepend?a=t.container.firstChild:a=t.before:a=t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(c,a),t.tags.push(c)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=r.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ur(this));var c=this.tags[this.tags.length-1];if(this.isSpeedy){var a=fr(c);try{a.insertRule(t,a.cssRules.length)}catch{}}else c.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach(function(t){var c;return(c=t.parentNode)==null?void 0:c.removeChild(t)}),this.tags=[],this.ctr=0},r})(),k="-ms-",D="-moz-",s="-webkit-",tr="comm",J="rule",Q="decl",dr="@import",nr="@keyframes",pr="@layer",br=Math.abs,H=String.fromCharCode,gr=Object.assign;function wr(r,e){return b(r,0)^45?(((e<<2^b(r,0))<<2^b(r,1))<<2^b(r,2))<<2^b(r,3):0}function cr(r){return r.trim()}function yr(r,e){return(r=e.exec(r))?r[0]:r}function i(r,e,n){return r.replace(e,n)}function j(r,e){return r.indexOf(e)}function b(r,e){return r.charCodeAt(e)|0}function I(r,e,n){return r.slice(e,n)}function C(r){return r.length}function V(r){return r.length}function B(r,e){return e.push(r),r}function kr(r,e){return r.map(e).join("")}var U=1,O=1,ar=0,l=0,d=0,_="";function Z(r,e,n,t,c,a,p){return{value:r,root:e,parent:n,type:t,props:c,children:a,line:U,column:O,length:p,return:""}}function L(r,e){return gr(Z("",null,null,"",null,null,0),r,{length:-r.length},e)}function $r(){return d}function xr(){return d=l>0?b(_,--l):0,O--,d===10&&(O=1,U--),d}function m(){return d=l<ar?b(_,l++):0,O++,d===10&&(O=1,U++),d}function T(){return b(_,l)}function F(){return l}function z(r,e){return I(_,r,e)}function W(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function sr(r){return U=O=1,ar=C(_=r),l=0,[]}function ir(r){return _="",r}function K(r){return cr(z(l-1,G(r===91?r+2:r===40?r+1:r)))}function lr(r){for(;(d=T())&&d<33;)m();return W(r)>2||W(d)>3?"":" "}function Sr(r,e){for(;--e&&m()&&!(d<48||d>102||d>57&&d<65||d>70&&d<97););return z(r,F()+(e<6&&T()==32&&m()==32))}function G(r){for(;m();)switch(d){case r:return l;case 34:case 39:r!==34&&r!==39&&G(d);break;case 40:r===41&&G(r);break;case 92:m();break}return l}function mr(r,e){for(;m()&&r+d!==57;)if(r+d===84&&T()===47)break;return"/*"+z(e,l-1)+"*"+H(r===47?r:m())}function vr(r){for(;!W(T());)m();return z(r,l)}function Ar(r){return ir(Y("",null,null,null,[""],r=sr(r),0,[0],r))}function Y(r,e,n,t,c,a,p,u,$){for(var v=0,g=0,w=p,P=0,R=0,S=0,f=1,x=1,h=1,y=0,A="",q=c,M=a,E=t,o=A;x;)switch(S=y,y=m()){case 40:if(S!=108&&b(o,w-1)==58){j(o+=i(K(y),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:o+=K(y);break;case 9:case 10:case 13:case 32:o+=lr(S);break;case 92:o+=Sr(F()-1,7);continue;case 47:switch(T()){case 42:case 47:B(Er(mr(m(),F()),e,n),$);break;default:o+="/"}break;case 123*f:u[v++]=C(o)*h;case 125*f:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+g:h==-1&&(o=i(o,/\f/g,"")),R>0&&C(o)-w&&B(R>32?rr(o+";",t,n,w-1):rr(i(o," ","")+";",t,n,w-2),$);break;case 59:o+=";";default:if(B(E=X(o,e,n,v,g,c,u,A,q=[],M=[],w),a),y===123)if(g===0)Y(o,e,E,E,q,a,w,u,M);else switch(P===99&&b(o,3)===110?100:P){case 100:case 108:case 109:case 115:Y(r,E,E,t&&B(X(r,E,E,0,0,c,u,A,c,q=[],w),M),c,M,w,u,t?q:M);break;default:Y(o,E,E,E,[""],M,0,u,M)}}v=g=R=0,f=h=1,A=o="",w=p;break;case 58:w=1+C(o),R=S;default:if(f<1){if(y==123)--f;else if(y==125&&f++==0&&xr()==125)continue}switch(o+=H(y),y*f){case 38:h=g>0?1:(o+="\f",-1);break;case 44:u[v++]=(C(o)-1)*h,h=1;break;case 64:T()===45&&(o+=K(m())),P=T(),g=w=C(A=o+=vr(F())),y++;break;case 45:S===45&&C(o)==2&&(f=0)}}return a}function X(r,e,n,t,c,a,p,u,$,v,g){for(var w=c-1,P=c===0?a:[""],R=V(P),S=0,f=0,x=0;S<t;++S)for(var h=0,y=I(r,w+1,w=br(f=p[S])),A=r;h<R;++h)(A=cr(f>0?P[h]+" "+y:i(y,/&\f/g,P[h])))&&($[x++]=A);return Z(r,e,n,c===0?J:u,$,v,g)}function Er(r,e,n){return Z(r,e,n,tr,H($r()),I(r,2,-2),0)}function rr(r,e,n,t){return Z(r,e,n,Q,I(r,0,t),I(r,t+1,-1),t)}function N(r,e){for(var n="",t=V(r),c=0;c<t;c++)n+=e(r[c],c,r,e)||"";return n}function Cr(r,e,n,t){switch(r.type){case pr:if(r.children.length)break;case dr:case Q:return r.return=r.return||r.value;case tr:return"";case nr:return r.return=r.value+"{"+N(r.children,t)+"}";case J:r.value=r.props.join(",")}return C(n=N(r.children,t))?r.return=r.value+"{"+n+"}":""}function Tr(r){var e=V(r);return function(n,t,c,a){for(var p="",u=0;u<e;u++)p+=r[u](n,t,c,a)||"";return p}}function Pr(r){return function(e){e.root||(e=e.return)&&r(e)}}var Rr=function(e,n,t){for(var c=0,a=0;c=a,a=T(),c===38&&a===12&&(n[t]=1),!W(a);)m();return z(e,l)},Mr=function(e,n){var t=-1,c=44;do switch(W(c)){case 0:c===38&&T()===12&&(n[t]=1),e[t]+=Rr(l-1,n,t);break;case 2:e[t]+=K(c);break;case 4:if(c===44){e[++t]=T()===58?"&\f":"",n[t]=e[t].length;break}default:e[t]+=H(c)}while(c=m());return e},Nr=function(e,n){return ir(Mr(sr(e),n))},er=new WeakMap,Or=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,t=e.parent,c=e.column===t.column&&e.line===t.line;t.type!=="rule";)if(t=t.parent,!t)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!er.get(t))&&!c){er.set(e,!0);for(var a=[],p=Nr(n,a),u=t.props,$=0,v=0;$<p.length;$++)for(var g=0;g<u.length;g++,v++)e.props[v]=a[$]?p[$].replace(/&\f/g,u[g]):u[g]+" "+p[$]}}},_r=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function or(r,e){switch(wr(r,e)){case 5103:return s+"print-"+r+r;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return s+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return s+r+D+r+k+r+r;case 6828:case 4268:return s+r+k+r+r;case 6165:return s+r+k+"flex-"+r+r;case 5187:return s+r+i(r,/(\w+).+(:[^]+)/,s+"box-$1$2"+k+"flex-$1$2")+r;case 5443:return s+r+k+"flex-item-"+i(r,/flex-|-self/,"")+r;case 4675:return s+r+k+"flex-line-pack"+i(r,/align-content|flex-|-self/,"")+r;case 5548:return s+r+k+i(r,"shrink","negative")+r;case 5292:return s+r+k+i(r,"basis","preferred-size")+r;case 6060:return s+"box-"+i(r,"-grow","")+s+r+k+i(r,"grow","positive")+r;case 4554:return s+i(r,/([^-])(transform)/g,"$1"+s+"$2")+r;case 6187:return i(i(i(r,/(zoom-|grab)/,s+"$1"),/(image-set)/,s+"$1"),r,"")+r;case 5495:case 3959:return i(r,/(image-set\([^]*)/,s+"$1$`$1");case 4968:return i(i(r,/(.+:)(flex-)?(.*)/,s+"box-pack:$3"+k+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+s+r+r;case 4095:case 3583:case 4068:case 2532:return i(r,/(.+)-inline(.+)/,s+"$1$2")+r;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(C(r)-1-e>6)switch(b(r,e+1)){case 109:if(b(r,e+4)!==45)break;case 102:return i(r,/(.+:)(.+)-([^]+)/,"$1"+s+"$2-$3$1"+D+(b(r,e+3)==108?"$3":"$2-$3"))+r;case 115:return~j(r,"stretch")?or(i(r,"stretch","fill-available"),e)+r:r}break;case 4949:if(b(r,e+1)!==115)break;case 6444:switch(b(r,C(r)-3-(~j(r,"!important")&&10))){case 107:return i(r,":",":"+s)+r;case 101:return i(r,/(.+:)([^;!]+)(;|!.+)?/,"$1"+s+(b(r,14)===45?"inline-":"")+"box$3$1"+s+"$2$3$1"+k+"$2box$3")+r}break;case 5936:switch(b(r,e+11)){case 114:return s+r+k+i(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return s+r+k+i(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return s+r+k+i(r,/[svh]\w+-[tblr]{2}/,"lr")+r}return s+r+k+r+r}return r}var Lr=function(e,n,t,c){if(e.length>-1&&!e.return)switch(e.type){case Q:e.return=or(e.value,e.length);break;case nr:return N([L(e,{value:i(e.value,"@","@"+s)})],c);case J:if(e.length)return kr(e.props,function(a){switch(yr(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return N([L(e,{props:[i(a,/:(read-\w+)/,":"+D+"$1")]})],c);case"::placeholder":return N([L(e,{props:[i(a,/:(plac\w+)/,":"+s+"input-$1")]}),L(e,{props:[i(a,/:(plac\w+)/,":"+D+"$1")]}),L(e,{props:[i(a,/:(plac\w+)/,k+"input-$1")]})],c)}return""})}},Ir=[Lr],Wr=function(e){var n=e.key;if(n==="css"){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,function(f){var x=f.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var c=e.stylisPlugins||Ir,a={},p,u=[];p=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(f){for(var x=f.getAttribute("data-emotion").split(" "),h=1;h<x.length;h++)a[x[h]]=!0;u.push(f)});var $,v=[Or,_r];{var g,w=[Cr,Pr(function(f){g.insert(f)})],P=Tr(v.concat(c,w)),R=function(x){return N(Ar(x),P)};$=function(x,h,y,A){g=y,R(x?x+"{"+h.styles+"}":h.styles),A&&(S.inserted[h.name]=!0)}}var S={key:n,sheet:new hr({key:n,container:p,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:$};return S.sheet.hydrate(u),S};export{hr as S,Wr as c};