{"version":3,"file":"list/view.js","mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,MAAMA,gBAAgB,GAAGC,QAAQ,CAACC,gBAAgB,CAAC,yCAAyC,CAAC;AAC7FC,KAAK,CAACC,IAAI,CAACJ,gBAAgB,CAAC,CAACK,OAAO,CAACC,OAAO,IAAI;EAC3C,MAAMC,GAAG,GAAGD,OAAO,CAACJ,gBAAgB,CAAC,4BAA4B,CAAC;EAClEC,KAAK,CAACC,IAAI,CAACG,GAAG,CAAC,CAACF,OAAO,CAAC,UAAUG,CAAC,EAACC,CAAC,EAAC;IACjCD,CAAC,CAACE,YAAY,CAAC,SAAS,EAAED,CAAC,GAAC,CAAC,CAAC;EACnC,CAAC,CAAC;AACP,CAAC,CAAC,C","sources":["webpack://gold-eyes-core/./src/list/view.js"],"sourcesContent":["/**\n * Use this file for JavaScript code that you want to run in the front-end\n * on posts/pages that contain this block.\n *\n * When this file is defined as the value of the `viewScript` property\n * in `block.json` it will be enqueued on the front end of the site.\n *\n * Example:\n *\n * ```js\n * {\n * \"viewScript\": \"file:./view.js\"\n * }\n * ```\n *\n * If you're not making any changes to this file because your project doesn't need any\n * JavaScript running in the front-end, then you should delete this file and remove\n * the `viewScript` property from `block.json`.\n *\n * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#view-script\n */\n\n\nconst DecimallistItems = document.querySelectorAll('.goldeyes-list-wrapper__colored-decimal');\nArray.from(DecimallistItems).forEach(element => {\n const tar = element.querySelectorAll('.goldeyes-list-item__title');\n Array.from(tar).forEach(function (e,i){\n e.setAttribute('data-nr', i+1) \n });\n});\n\n\n"],"names":["DecimallistItems","document","querySelectorAll","Array","from","forEach","element","tar","e","i","setAttribute"],"sourceRoot":""}