Scripts/resources/[phone]/npwd/dist/html/7264.js

2 lines
39 KiB
JavaScript
Raw Normal View History

2024-12-29 19:49:12 +00:00
/*! For license information please see 7264.js.LICENSE.txt */
"use strict";(self.webpackChunk_npwd_nui=self.webpackChunk_npwd_nui||[]).push([[7264],{51249:function(e,t,n){n.d(t,{NU:function(){return y},ZP:function(){return g},tP:function(){return d}});var r=n(63223),i=n(10262),s=n(53182),o=n(46385),a=n(1162),u=n(23148),l=n(61250);const c=["children","injectFirst","disableGeneration"],f=(0,o.Ue)((0,u.Z)()),h=(0,a.Z)(),d=new Map,p={disableGeneration:!1,generateClassName:h,jss:f,sheetsCache:null,sheetsManager:d,sheetsRegistry:null},y=s.createContext(p);let v;function g(e){const{children:t,injectFirst:n=!1,disableGeneration:a=!1}=e,f=(0,i.Z)(e,c),h=s.useContext(y),{generateClassName:d,jss:p,serverGenerateClassName:g,sheetsCache:m,sheetsManager:b,sheetsRegistry:x}=(0,r.Z)({},h,f),k=s.useMemo((()=>{const e={disableGeneration:a,generateClassName:d,jss:p,serverGenerateClassName:g,sheetsCache:m,sheetsManager:b,sheetsRegistry:x};if(!e.jss.options.insertionPoint&&n&&"undefined"!=typeof window){if(!v){const e=document.head;v=document.createComment("mui-inject-first"),e.insertBefore(v,e.firstChild)}e.jss=(0,o.Ue)({plugins:(0,u.Z)().plugins,insertionPoint:v})}return e}),[n,a,d,p,g,m,b,x]);return(0,l.jsx)(y.Provider,{value:k,children:t})}},1162:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(74227);const i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function s(e={}){const{disableGlobal:t=!1,productionPrefix:n="jss",seed:s=""}=e,o=""===s?"":`${s}-`;let a=0;const u=()=>(a+=1,a);return(e,a)=>{const l=a.options.name;if(l&&0===l.indexOf("Mui")&&!a.options.link&&!t){if(-1!==i.indexOf(e.key))return`Mui-${e.key}`;const t=`${o}${l}-${e.key}`;return a.options.theme[r.Z]&&""===s?`${t}-${u()}`:t}return`${o}${n}${u()}`}}},23148:function(e,t,n){n.d(t,{Z:function(){return $e}});var r=n(46385),i=Date.now(),s="fnValues"+i,o="fnStyle"+ ++i,a=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var i=(0,r.JH)(e,{},n);return i[o]=t,i},onProcessStyle:function(e,t){if(s in t||o in t)return e;var n={};for(var r in e){var i=e[r];"function"==typeof i&&(delete e[r],n[r]=i)}return t[s]=n,e},onUpdate:function(e,t,n,r){var i=t,a=i[o];a&&(i.style=a(e)||{});var u=i[s];if(u)for(var l in u)i.prop(l,u[l](e),r)}}},u=n(97538),l="@global",c=function(){function e(e,t,n){for(var i in this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new r.RB((0,u.Z)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),f=function(){function e(e,t,n){this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(8);this.rule=n.jss.createRule(r,t,(0,u.Z)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),h=/\s*,\s*/g;function d(e,t){for(var n=e.split(h),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}var p=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===l)return new c(e,t,n);if("@"===e[0]&&"@global "===e.substr(0,8))return new f(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,i=r?r[l]:null;if(i){for(var s in i)t.addRule(s,i[s],(0,u.Z)({},n,{selector:d(s,e.selector)}));delete r[l]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var i in r)if("@"===i[0]&&i.substr(0,7)===l){var s=d(i.substr(7),e.selector);t.addRule(s,r[i],(0,u.Z)({},n,{selector:s})),delete r[i]}}(e,t))}}},y=/\s*,\s*/g,v=/&/g,g=/\$([\w-]+)/g,m=function(){function e(e,t){return function(n,r){var i=e.getRule(r)||t&&t.getR