{"code":"(window.webpackJsonpGUI=window.webpackJsonpGUI||[]).push([[21],{1576:function(t,a,e){\"use strict\";e.r(a),e.d(a,\"resources\",(function(){return c}));const c={\"userscript.js\":async function(t){let{addon:a,console:e}=t;a.tab.redux.initialize(),a.tab.redux.addEventListener(\"statechanged\",(t=>{let{detail:e}=t;a.self.disabled||\"scratch-paint/clipboard/SET\"!==e.action.type&&\"scratch-paint/clipboard/INCREMENT_PASTE_OFFSET\"!==e.action.type||a.tab.redux.dispatch({type:\"scratch-paint/clipboard/CLEAR_PASTE_OFFSET\"})})),a.self.addEventListener(\"disabled\",(()=>{a.tab.redux.dispatch({type:\"scratch-paint/clipboard/CLEAR_PASTE_OFFSET\"}),a.tab.redux.dispatch({type:\"scratch-paint/clipboard/INCREMENT_PASTE_OFFSET\"})})),a.self.addEventListener(\"reenabled\",(()=>{a.tab.redux.dispatch({type:\"scratch-paint/clipboard/CLEAR_PASTE_OFFSET\"})})),a.self.enabledLate&&a.tab.redux.dispatch({type:\"scratch-paint/clipboard/CLEAR_PASTE_OFFSET\"})}}}}]);","name":"js/pentapod/addon-entry-disable-paste-offset.08227ae7b16265f5278e.js","input":"(window[\"webpackJsonpGUI\"] = window[\"webpackJsonpGUI\"] || []).push([[21],{\n\n/***/ 1576:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, \"resources\", function() { return /* binding */ resources; });\n\n// CONCATENATED MODULE: ./src/addons/addons/disable-paste-offset/userscript.js\n/* harmony default export */ var userscript = (async function (_ref) {\n let {\n addon,\n console\n } = _ref;\n addon.tab.redux.initialize();\n addon.tab.redux.addEventListener(\"statechanged\", _ref2 => {\n let {\n detail\n } = _ref2;\n if (addon.self.disabled) return;\n if (detail.action.type === \"scratch-paint/clipboard/SET\" || detail.action.type === \"scratch-paint/clipboard/INCREMENT_PASTE_OFFSET\") {\n addon.tab.redux.dispatch({\n type: \"scratch-paint/clipboard/CLEAR_PASTE_OFFSET\"\n });\n }\n });\n addon.self.addEventListener(\"disabled\", () => {\n addon.tab.redux.dispatch({\n type: \"scratch-paint/clipboard/CLEAR_PASTE_OFFSET\"\n });\n addon.tab.redux.dispatch({\n type: \"scratch-paint/clipboard/INCREMENT_PASTE_OFFSET\"\n });\n });\n addon.self.addEventListener(\"reenabled\", () => {\n addon.tab.redux.dispatch({\n type: \"scratch-paint/clipboard/CLEAR_PASTE_OFFSET\"\n });\n });\n if (addon.self.enabledLate) {\n addon.tab.redux.dispatch({\n type: \"scratch-paint/clipboard/CLEAR_PASTE_OFFSET\"\n });\n }\n});\n// CONCATENATED MODULE: ./src/addons/addons/disable-paste-offset/_runtime_entry.js\n/* generated by pull.js */\n\nconst resources = {\n \"userscript.js\": userscript\n};\n\n/***/ })\n\n}]);","inputSourceMap":null}