PageSourceSearch

https://www.cztn.gov.cn/ghwd/znwd/assets/js/vuex-CYn4o1uW.js

js cztn.gov.cn collected 2026-10-02 21:43:40 UTC 11,337 bytes, 6 lines download raw bytes

vendor: 4,102 bytes, lines 1-6
1import{m as t,a as e,ag as o,i as n}from"./@vue-anC7Oks0.js";
2/*!
3 * vuex v4.0.2
4 * (c) 2021 Evan You
5 * @license MIT
6 */var r="store";function i(t){return void 0===t&&(t=null),n(null!==t?t:r)}function a(t,e){Object.keys(t).forEach((function(o){return e(t[o],o)}))}function s(t,e,o){return e.indexOf(t)<0&&(o&&o.prepend?e.unshift(t):e.push(t)),function(){var o=e.indexOf(t);o>-1&&e.splice(o,1)}}function c(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var o=t.state;l(t,o,[],t._modules.root,!0),u(t,o,e)}function u(o,n,r){var i=o._state;o.getters={},o._makeLocalGettersCache=Object.create(null);var s=o._wrappedGetters,c={};a(s,(function(t,e){c[e]=function(t,e){return function(){return t(e)}}(t,o),Object.defineProperty(o.getters,e,{get:function(){return c[e]()},enumerable:!0})})),o._state=e({data:n}),o.strict&&function(e){t((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(o),i&&r&&o._withCommit((function(){i.data=null}))}function l(t,e,o,n,r){var i=!o.length,a=t._modules.getNamespace(o);if(n.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=n),!i&&!r){var s=p(e,o.slice(0,-1)),c=o[o.length-1];t._withCommit((function(){s[c]=n.state}))}var u=n.context=function(t,e,o){var n=""===e,r={dispatch:n?t.dispatch:function(o,n,r){var i=f(o,n,r),a=i.payload,s=i.options,c=i.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:n?t.commit:function(o,n,r){var i=f(o,n,r),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(r,{getters:{get:n?function(){return t.getters}:function(){return d(t,e)}},state:{get:function(){return p(t.state,o)}}}),r}(t,a,o);n.forEachMutation((function(e,o){!function(t,e,o,n){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){o.call(t,n.state,e)}))}(t,a+o,e,u)})),n.forEachAction((function(e,o){var n=e.root?o:a+o,r=e.handler||e;!function(t,e,o,n){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r,i=o.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},e);return(r=i)&&"function"==typeof r.then||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}(t,n,r,u)})),n.forEachGetter((function(e,o){!function(t,e,o,n){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return o(n.state,n.getters,t.state,t.getters)}}(t,a+o,e,u)})),n.forEachChild((function(n,i){l(t,e,o.concat(i),n,r)}))}function d(t,e){if(!t._makeLocalGettersCache[e]){var o={},n=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,n)===e){var i=r.slice(n);Object.defineProperty(o,i,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=o}return t._makeLocalGettersCache[e]}function p(t,e){return e.reduce((function(t,e){return t[e]}),t)}function f(t,e,o){var n;return null!==(n=t)&&"object"==typeof n&&t.type&&(o=e,e=t,t=t.type),{type:t,payload:e,options:o}}var h="vuex:mutations",m="vuex:actions",_="vuex",v=0;function g(t,e){o({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(o){o.addTimelineLayer({id:h,label:"Vuex Mutations",color:y}),o.addTimelineLayer({id:m,label:"Vuex Actions",color:y}),o.addInspector({id:_,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),o.on.getInspectorTree((function(o){if(o.app===t&&o.inspectorId===_)if(o.filter){var n=[];C(n,e._modules.root,o.filter,""),o.rootNodes=n}else o.rootNodes=[j(e._modules.root,"")]})),o.on.getInspectorState((function(o){if(o.app===t&&o.inspectorId===_){var n=o.nodeId;d(e,n),o.state=function(t,e,o){e="root"===o?e:e[o];var n=Object.keys(e),r={state:Object.keys(t.state).map((function(e){return{key:e,editable:!0,value:t.state[e]}}))};if(n.length){var i=function(t){var e={};return Object.keys(t).forEach((function(o){var n=o.split("/");if(n.length>1){var r=e,i=n.pop();
vendor: 7,235 bytes, line 6
6n.forEach((function(t){r[t]||(r[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),r=r[t]._custom.value})),r[i]=O((function(){return t[o]}))}else e[o]=O((function(){return t[o]}))})),e}(e);r.getters=Object.keys(i).map((function(t){return{key:t.endsWith("/")?w(t):t,editable:!1,value:O((function(){return i[t]}))}}))}return r}((r=e._modules,(a=(i=n).split("/").filter((function(t){return t}))).reduce((function(t,e,o){var n=t[e];if(!n)throw new Error('Missing module "'+e+'" for path "'+i+'".');return o===a.length-1?n:n._children}),"root"===i?r:r.root._children)),"root"===n?e.getters:e._makeLocalGettersCache,n)}var r,i,a})),o.on.editInspectorState((function(o){if(o.app===t&&o.inspectorId===_){var n=o.nodeId,r=o.path;"root"!==n&&(r=n.split("/").filter(Boolean).concat(r)),e._withCommit((function(){o.set(e._state.data,r,o.state.value)}))}})),e.subscribe((function(t,e){var n={};t.payload&&(n.payload=t.payload),n.state=e,o.notifyComponentUpdate(),o.sendInspectorTree(_),o.sendInspectorState(_),o.addTimelineEvent({layerId:h,event:{time:Date.now(),title:t.type,data:n}})})),e.subscribeAction({before:function(t,e){var n={};t.payload&&(n.payload=t.payload),t._id=v++,t._time=Date.now(),n.state=e,o.addTimelineEvent({layerId:m,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:n}})},after:function(t,e){var n={},r=Date.now()-t._time;n.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},t.payload&&(n.payload=t.payload),n.state=e,o.addTimelineEvent({layerId:m,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:n}})}})}))}var y=8702998,b={label:"namespaced",textColor:16777215,backgroundColor:6710886};function w(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function j(t,e){return{id:e||"root",label:w(e),tags:t.namespaced?[b]:[],children:Object.keys(t._children).map((function(o){return j(t._children[o],e+o+"/")}))}}function C(t,e,o,n){n.includes(o)&&t.push({id:n||"root",label:n.endsWith("/")?n.slice(0,n.length-1):n||"Root",tags:e.namespaced?[b]:[]}),Object.keys(e._children).forEach((function(r){C(t,e._children[r],o,n+r+"/")}))}function O(t){try{return t()}catch(e){return e}}var M=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var o=t.state;this.state=("function"==typeof o?o():o)||{}},E={namespaced:{configurable:!0}};E.namespaced.get=function(){return!!this._rawModule.namespaced},M.prototype.addChild=function(t,e){this._children[t]=e},M.prototype.removeChild=function(t){delete this._children[t]},M.prototype.getChild=function(t){return this._children[t]},M.prototype.hasChild=function(t){return t in this._children},M.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},M.prototype.forEachChild=function(t){a(this._children,t)},M.prototype.forEachGetter=function(t){this._rawModule.getters&&a(this._rawModule.getters,t)},M.prototype.forEachAction=function(t){this._rawModule.actions&&a(this._rawModule.actions,t)},M.prototype.forEachMutation=function(t){this._rawModule.mutations&&a(this._rawModule.mutations,t)},Object.defineProperties(M.prototype,E);var k=function(t){this.register([],t,!1)};function x(t,e,o){if(e.update(o),o.modules)for(var n in o.modules){if(!e.getChild(n))return;x(t.concat(n),e.getChild(n),o.modules[n])}}function I(t){return new G(t)}k.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},k.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,o){return t+((e=e.getChild(o)).namespaced?o+"/":"")}),"")},k.prototype.update=function(t){x([],this.root,t)},k.prototype.register=function(t,e,o){var n=this;void 0===o&&(o=!0);var r=new M(e,o);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r);e.modules&&a(e.modules,(function(e,r){n.register(t.concat(r),e,o)}))},k.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),o=t[t.length-1],n=e.getChild(o);n&&n.runtime&&e.removeChild(o)},k.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),o=t[t.length-1];return!!e&&e.hasChild(o)};var G=function(t){var e=this;void 0===t&&(t={});var o=t.plugins;void 0===o&&(o=[]);var n=t.strict;void 0===n&&(n=!1);var r=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new k(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(i,t,e)},this.commit=function(t,e,o){return s.call(i,t,e,o)},this.strict=n;var c=this._modules.root.state;l(this,c,[],this._modules.root),u(this,c),o.forEach((function(t){return t(e)}))},S={state:{configurable:!0}};G.prototype.install=function(t,e){t.provide(e||r,this),t.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&g(t,this)},S.state.get=function(){return this._state.data},S.state.set=function(t){},G.prototype.commit=function(t,e,o){var n=this,r=f(t,e,o),i=r.type,a=r.payload,s={type:i,payload:a},c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,n.state)})))},G.prototype.dispatch=function(t,e){var o=this,n=f(t,e),r=n.type,i=n.payload,a={type:r,payload:i},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,o.state)}))}catch(u){}var c=s.length>1?Promise.all(s.map((function(t){return t(i)}))):s[0](i);return new Promise((function(t,e){c.then((function(e){try{o._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,o.state)}))}catch(u){}t(e)}),(function(t){try{o._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,o.state,t)}))}catch(u){}e(t)}))}))}},G.prototype.subscribe=function(t,e){return s(t,this._subscribers,e)},G.prototype.subscribeAction=function(t,e){return s("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},G.prototype.watch=function(e,o,n){var r=this;return t((function(){return e(r.state,r.getters)}),o,Object.assign({},n))},G.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._state.data=t}))},G.prototype.registerModule=function(t,e,o){void 0===o&&(o={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),l(this,this.state,t,this._modules.get(t),o.preserveState),u(this,this.state)},G.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){delete p(e.state,t.slice(0,-1))[t[t.length-1]]})),c(this)},G.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},G.prototype.hotUpdate=function(t){this._modules.update(t),c(this,!0)},G.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(G.prototype,S);export{I as c,i as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.