{"code":"(window.webpackJsonpGUI=window.webpackJsonpGUI||[]).push([[30],{1484:function(e,t,r){(e.exports=r(9)(!1)).push([e.i,'[dir=\"ltr\"] [class^=\"stage-header_stage-size-toggle-group\"] [class^=\"stage-header_stage-button-icon\"] {\\n transform: scaleX(-1);\\n}\\n[dir=\"rtl\"] [class^=\"stage-header_stage-size-toggle-group\"] [class^=\"stage-header_stage-button-icon\"] {\\n transform: none;\\n}\\n[class^=\"target-pane_target-pane\"] {\\n flex-direction: row-reverse;\\n}\\n[dir=\"ltr\"] [class^=\"target-pane_stage-selector-wrapper\"] {\\n margin-left: 0;\\n margin-right: calc(0.5rem / 2);\\n}\\n[dir=\"ltr\"] [class^=\"sprite-selector_sprite-selector\"] {\\n margin-left: calc(0.5rem / 2);\\n margin-right: 0;\\n}\\n[dir=\"rtl\"] [class^=\"target-pane_stage-selector-wrapper\"] {\\n margin-right: 0;\\n margin-left: calc(0.5rem / 2);\\n}\\n[dir=\"rtl\"] [class^=\"sprite-selector_sprite-selector\"] {\\n margin-right: calc(0.5rem / 2);\\n margin-left: 0;\\n}\\n[class^=\"gui_flex-wrapper\"] {\\n flex-direction: row-reverse;\\n overflow-x: hidden;\\n}\\n\\n[dir=\"ltr\"] [class^=\"backpack_backpack-header\"] {\\n border-top-right-radius: 0;\\n border-top-left-radius: 0.5rem;\\n}\\n[dir=\"ltr\"] [class^=\"blocks_blocks_C530M\"] .injectionDiv,\\n[dir=\"ltr\"] [class^=\"asset-panel_wrapper\"] {\\n border-top-right-radius: 0;\\n border-bottom-right-radius: 0;\\n border-bottom-left-radius: 0.5rem;\\n}\\n[dir=\"ltr\"] [class^=\"gui_extension-button-container\"] {\\n border-bottom-left-radius: 0.5rem;\\n}\\n\\n[dir=\"rtl\"] [class^=\"backpack_backpack-header\"] {\\n border-top-left-radius: 0;\\n border-top-right-radius: 0.5rem;\\n}\\n[dir=\"rtl\"] [class^=\"blocks_blocks_C530M\"] .injectionDiv,\\n[dir=\"rtl\"] [class^=\"asset-panel_wrapper\"] {\\n border-top-left-radius: 0;\\n border-bottom-left-radius: 0;\\n border-bottom-right-radius: 0.5rem;\\n}\\n[dir=\"rtl\"] [class^=\"gui_extension-button-container\"] {\\n border-bottom-right-radius: 0.5rem;\\n}\\n\\n.Popover {\\n /* See hide-flyout */\\n z-index: 51;\\n}\\n\\n/* hide-stage compatibility */\\n\\n.sa-stage-hidden [class*=\"stage-header_stage-size-row\"] {\\n right: auto;\\n left: 0.5rem;\\n width: calc(240px + 0.125rem);\\n justify-content: flex-end;\\n}\\n\\n[dir=\"rtl\"] .sa-stage-hidden [class*=\"stage-header_stage-size-row\"] {\\n left: auto;\\n right: 0.5rem;\\n}\\n\\n.sa-stage-hidden [class*=\"gui_tab-list_\"] {\\n padding-inline-start: calc(240px + 1.125rem);\\n}\\n\\n/* related to TW changes to headers */\\n[dir=\"ltr\"] [class^=\"stage-header_stage-header-wrapper_\"] {\\n right: initial;\\n left: 0;\\n}\\n[dir=\"rtl\"] [class^=\"stage-header_stage-header-wrapper_\"] {\\n right: 0;\\n left: initial;\\n}\\n[class*=\"stage-wrapper_offset-controls_\"] {\\n z-index: 10;\\n}\\n[dir=\"rtl\"] [class^=\"stage-header_stage-header-wrapper_\"] {\\n right: 0 !important;\\n}\\n[dir=\"rtl\"] .sa-stage-hidden [class*=\"stage-header_stage-size-row\"] {\\n right: 0.5rem !important;\\n left: 0 !important;\\n}\\n',\"\"])},1560:function(e,t,r){\"use strict\";r.r(t),r.d(t,\"resources\",(function(){return a}));var n=r(1484);const a={\"fix-share-the-love.js\":async function(e){let{addon:t,console:r}=e;const n=await t.tab.traps.getBlockly(),a=()=>{Blockly.getMainWorkspace()&&window.dispatchEvent(new Event(\"resize\"))};t.self.addEventListener(\"disabled\",a),t.self.addEventListener(\"reenabled\",a);const s=n.VerticalFlyout.prototype.getClientRect;n.VerticalFlyout.prototype.getClientRect=function(){const e=s.call(this);return!e||t.self.disabled||(this.toolboxPosition_===n.TOOLBOX_AT_LEFT&&(e.left+=1e9),e.width-=1e9),e},a()},\"stageleft.css\":r.n(n).a}}}]);","name":"js/pentapod/addon-entry-editor-stage-left.c870b33f9717f08f01f5.js","input":"(window[\"webpackJsonpGUI\"] = window[\"webpackJsonpGUI\"] || []).push([[30],{\n\n/***/ 1484:\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(9)(false);\n// imports\n\n\n// module\nexports.push([module.i, \"[dir=\\\"ltr\\\"] [class^=\\\"stage-header_stage-size-toggle-group\\\"] [class^=\\\"stage-header_stage-button-icon\\\"] {\\n transform: scaleX(-1);\\n}\\n[dir=\\\"rtl\\\"] [class^=\\\"stage-header_stage-size-toggle-group\\\"] [class^=\\\"stage-header_stage-button-icon\\\"] {\\n transform: none;\\n}\\n[class^=\\\"target-pane_target-pane\\\"] {\\n flex-direction: row-reverse;\\n}\\n[dir=\\\"ltr\\\"] [class^=\\\"target-pane_stage-selector-wrapper\\\"] {\\n margin-left: 0;\\n margin-right: calc(0.5rem / 2);\\n}\\n[dir=\\\"ltr\\\"] [class^=\\\"sprite-selector_sprite-selector\\\"] {\\n margin-left: calc(0.5rem / 2);\\n margin-right: 0;\\n}\\n[dir=\\\"rtl\\\"] [class^=\\\"target-pane_stage-selector-wrapper\\\"] {\\n margin-right: 0;\\n margin-left: calc(0.5rem / 2);\\n}\\n[dir=\\\"rtl\\\"] [class^=\\\"sprite-selector_sprite-selector\\\"] {\\n margin-right: calc(0.5rem / 2);\\n margin-left: 0;\\n}\\n[class^=\\\"gui_flex-wrapper\\\"] {\\n flex-direction: row-reverse;\\n overflow-x: hidden;\\n}\\n\\n[dir=\\\"ltr\\\"] [class^=\\\"backpack_backpack-header\\\"] {\\n border-top-right-radius: 0;\\n border-top-left-radius: 0.5rem;\\n}\\n[dir=\\\"ltr\\\"] [class^=\\\"blocks_blocks_C530M\\\"] .injectionDiv,\\n[dir=\\\"ltr\\\"] [class^=\\\"asset-panel_wrapper\\\"] {\\n border-top-right-radius: 0;\\n border-bottom-right-radius: 0;\\n border-bottom-left-radius: 0.5rem;\\n}\\n[dir=\\\"ltr\\\"] [class^=\\\"gui_extension-button-container\\\"] {\\n border-bottom-left-radius: 0.5rem;\\n}\\n\\n[dir=\\\"rtl\\\"] [class^=\\\"backpack_backpack-header\\\"] {\\n border-top-left-radius: 0;\\n border-top-right-radius: 0.5rem;\\n}\\n[dir=\\\"rtl\\\"] [class^=\\\"blocks_blocks_C530M\\\"] .injectionDiv,\\n[dir=\\\"rtl\\\"] [class^=\\\"asset-panel_wrapper\\\"] {\\n border-top-left-radius: 0;\\n border-bottom-left-radius: 0;\\n border-bottom-right-radius: 0.5rem;\\n}\\n[dir=\\\"rtl\\\"] [class^=\\\"gui_extension-button-container\\\"] {\\n border-bottom-right-radius: 0.5rem;\\n}\\n\\n.Popover {\\n /* See hide-flyout */\\n z-index: 51;\\n}\\n\\n/* hide-stage compatibility */\\n\\n.sa-stage-hidden [class*=\\\"stage-header_stage-size-row\\\"] {\\n right: auto;\\n left: 0.5rem;\\n width: calc(240px + 0.125rem);\\n justify-content: flex-end;\\n}\\n\\n[dir=\\\"rtl\\\"] .sa-stage-hidden [class*=\\\"stage-header_stage-size-row\\\"] {\\n left: auto;\\n right: 0.5rem;\\n}\\n\\n.sa-stage-hidden [class*=\\\"gui_tab-list_\\\"] {\\n padding-inline-start: calc(240px + 1.125rem);\\n}\\n\\n/* related to TW changes to headers */\\n[dir=\\\"ltr\\\"] [class^=\\\"stage-header_stage-header-wrapper_\\\"] {\\n right: initial;\\n left: 0;\\n}\\n[dir=\\\"rtl\\\"] [class^=\\\"stage-header_stage-header-wrapper_\\\"] {\\n right: 0;\\n left: initial;\\n}\\n[class*=\\\"stage-wrapper_offset-controls_\\\"] {\\n z-index: 10;\\n}\\n[dir=\\\"rtl\\\"] [class^=\\\"stage-header_stage-header-wrapper_\\\"] {\\n right: 0 !important;\\n}\\n[dir=\\\"rtl\\\"] .sa-stage-hidden [class*=\\\"stage-header_stage-size-row\\\"] {\\n right: 0.5rem !important;\\n left: 0 !important;\\n}\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ 1560:\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/editor-stage-left/fix-share-the-love.js\n/* harmony default export */ var fix_share_the_love = (async function (_ref) {\n let {\n addon,\n console\n } = _ref;\n const ScratchBlocks = await addon.tab.traps.getBlockly();\n const resize = () => {\n const workspace = Blockly.getMainWorkspace();\n if (workspace) window.dispatchEvent(new Event(\"resize\"));\n };\n addon.self.addEventListener(\"disabled\", resize);\n addon.self.addEventListener(\"reenabled\", resize);\n const originalGetClientRect = ScratchBlocks.VerticalFlyout.prototype.getClientRect;\n ScratchBlocks.VerticalFlyout.prototype.getClientRect = function () {\n const rect = originalGetClientRect.call(this);\n if (!rect || addon.self.disabled) return rect;\n // undo the effect of BIG_NUM in https://github.com/scratchfoundation/scratch-blocks/blob/ab26fa2960643fa38fbc7b91ca2956be66055070/core/flyout_vertical.js#L739\n if (this.toolboxPosition_ === ScratchBlocks.TOOLBOX_AT_LEFT) {\n rect.left += 1000000000;\n }\n rect.width -= 1000000000;\n return rect;\n };\n resize();\n});\n// EXTERNAL MODULE: ./node_modules/css-loader!./src/addons/addons/editor-stage-left/stageleft.css\nvar stageleft = __webpack_require__(1484);\nvar stageleft_default = /*#__PURE__*/__webpack_require__.n(stageleft);\n\n// CONCATENATED MODULE: ./src/addons/addons/editor-stage-left/_runtime_entry.js\n/* generated by pull.js */\n\n\nconst resources = {\n \"fix-share-the-love.js\": fix_share_the_love,\n \"stageleft.css\": stageleft_default.a\n};\n\n/***/ })\n\n}]);","inputSourceMap":null}