text: !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):e["hyperactiv-handlers"]=r()}(this,function(){"use strict";return{write:function(e){if(!e)throw new Error("writeHandler needs a proper target !");return function(r,n){n=(t=n)&&"object"==typeof t?JSON.parse(JSON.stringify(n)):n;var t;for(let n=0;n<r.length-1;n++){const t=r[n],i=r[n+1];void 0===e[t]&&(e[t]=(o=i,Number.isInteger(Number.parseInt(o))?[]:{})),e=e[t]}var o;e[r[r.length-1]]=n}},debug:function(e){return e=e||console,function(r,n){const t=r.map(e=>Number.isInteger(Number.parseInt(e))?`[${e}]`:`.${e}`).join("").substr(1);e.log(`${t} = ${JSON.stringify(n,null,"\t")}`)}},all:function(e){return Array.isArray(e)?(r,n,t)=>e.forEach(e=>e(r,n,t)):e}}});
  