PageSourceSearch

https://apn.dz/static/js/74.da9506c0.chunk.js

js apn.dz collected 2026-10-02 15:14:38 UTC 3,305 bytes, 1 lines download raw bytes

1(this.webpackJsonpapn_website=this.webpackJsonpapn_website||[]).push([[74],{183:function(t,e,n){"use strict";n.r(e),n.d(e,"useFilterDeputes",(function(){return b})),n.d(e,"useMembre",(function(){return l}));var c=n(10),u=n(4),r=n(3),o=n(23),a=n(265),i=n(263),s=n(256),f=Object(a.createStore)({name:null,wilaya:null,parti:null,commission:"ALL",codePoste:null,femme:!1});function b(){return{filters:f.atoms()}}function l(t){var e=Object(a.useStore)(f),n=e.change,b=e.values,l=Object(s.b)(i.b),j=Object(u.a)(l,1)[0],O=b(),d=Object(r.useState)([]),m=Object(u.a)(d,2),v=m[0],p=m[1];return Object(r.useEffect)((function(){Object(i.a)(o.default)}),[]),Object(r.useEffect)((function(){"ALL"!==O.commission&&O.commission!==t?p([]):j&&Object(o.post)("deputes-commission",Object(c.a)(Object(c.a)({},O),{},{commission:t,legislation:j}),p)}),[n,j]),{mombres:v}}},256:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return i}));var c=n(4),u=n(3),r="atom";function o(t){return{data:"function"===typeof t?t():t,clients:new Set,type:r}}function a(t,e,n){if(t.type===r){n&&console.log("called by"+n);var c="function"===typeof e?e(t.data):e;c!==t.data&&(t.data=c,console.log("store.clients = "+t.clients.size),t.clients.forEach((function(e){return e(t.data)})))}}function i(t){if(t.type!==r)throw new Error("you have to use an atom object !!! ");var e=Object(u.useState)(t.data),n=Object(c.a)(e,2),o=n[0],i=n[1];Object(u.useEffect)((function(){return t.clients.has(i)||t.clients.add(i),function(){t.clients.delete(i)}}),[]);return[o,function(e){return a(t,e)}]}},263:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return o}));var c=n(256);n.d(e,"c",(function(){return c.c}));var u=Object(c.a)(null),r=!1;function o(t){null!==u.data||r||(r=!0,t("lastLegislation",(function(t){t&&t.id&&Object(c.c)(u,t.id),r=!1})))}},265:function(t,e,n){"use strict";n.r(e),n.d(e,"createStore",(function(){return a})),n.d(e,"useStore",(function(){return i}));var c=n(4),u=n(3),r=n(256),o="Object";function a(t){var e="function"===typeof t?t():t;return 0===Object.entries(e).length?Object(r.a)(e):(Object.entries(e).forEach((function(t){var n=Object(c.a)(t,2),u=n[0],o=n[1];return e[u]=Object(r.a)(o)})),e.type=o,e.atoms=function(){return function(t){var e=[];return Object.keys(t).filter((function(t){return"type"!==t&&"atoms"!==t&&"values"!==t})).forEach((function(n){e[n]={key:t[n].data,notify:function(e){Object(r.c)(t[n],e)}}})),e}(e)},e.values=function(){return function(t){var e={};return Object.entries(t).forEach((function(t){var n=Object(c.a)(t,2),u=n[0],r=n[1];"type"!==u&&(e[u]=r.data)})),e}(e)},e)}function i(t){if(t.type!==o)throw new Error("you have to use an store object !!! ");var e=Object(u.useState)(!1),n=Object(c.a)(e,2),r=n[0],a=n[1],i=function(){return a((function(t){return!t}))};return Object(u.useEffect)((function(){return Object.entries(t).forEach((function(t){var e=Object(c.a)(t,2),n=e[0],u=e[1];"type"!==n&&"atoms"!==n&&"values"!==n&&u.clients.add(i)})),function(){return Object.entries(t).forEach((function(t){var e=Object(c.a)(t,2),n=e[0],u=e[1];"type"!==n&&"atoms"!==n&&"values"!==n&&u.clients.delete(i)}))}}),[]),Object(u.useEffect)((function(){}),[r]),{atoms:t.atoms,change:r,values:t.values}}}}]);

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.