{"version":3,"file":"taskpane.js","mappings":";;;;;;;;;AAAA;;;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AAEAA,MAAM,CAACC,OAAO,CAAC;EACb;EACA;EACAC,QAAQ,CAACC,cAAc,CAAC,SAAS,CAAC,CAACC,OAAO,GAAGC,GAAG;AAClD,CAAC,CAAC;AAEF,SAAsBA,GAAG;;;;;;;;UAErB,qBAAMC,KAAK,CAACD,GAAG,CAAC,UAAOE,OAAO;YAAA;;;;;oBACtBC,KAAK,GAAGD,OAAO,CAACE,QAAQ,CAACC,gBAAgB,EAAE;oBAC3CC,KAAK,GAAGJ,OAAO,CAACE,QAAQ,CAACG,UAAU,CAACC,kBAAkB,EAAE;oBAC9DC,YAAY,CAACC,OAAO,CAAC,gBAAgB,EAAE,GAAG,CAAC;oBAC3CJ,KAAK,CAACK,SAAS,CAAC,IAAI,CAAC;oBACrB,qBAAMT,OAAO,CAACU,IAAI,EAAE;;oBAApBC,SAAoB;;;;;WACrB,CAAC;;;UANFA,SAME;;;;UAEFC,OAAO,CAACC,KAAK,CAACC,OAAK,CAAC;;;;;;;;;AAVxBC,WAAAA;;;;;;;UEdA;UACA;UACA;UACA;UACA","sources":["webpack:///./src/taskpane/taskpane.ts?","webpack:///webpack/before-startup?","webpack:///webpack/startup?","webpack:///webpack/after-startup?"],"sourcesContent":["/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\r\n * See LICENSE in the project root for license information.\r\n */\r\n/* global console, document, Excel, Office */\r\n\r\n// The initialize function must be run each time a new page is loaded\r\n\r\nOffice.onReady(() => {\r\n // document.getElementById(\"sideload-msg\").style.display = \"none\";\r\n // document.getElementById(\"app-body\").style.display = \"flex\";\r\n document.getElementById(\"refresh\").onclick = run;\r\n});\r\n\r\nexport async function run() {\r\n try {\r\n await Excel.run(async (context) => {\r\n const range = context.workbook.getSelectedRange();\r\n const sheet = context.workbook.worksheets.getActiveWorksheet();\r\n localStorage.setItem('countPerSecond', '0');\r\n sheet.calculate(true);\r\n await context.sync();\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n}\r\n","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = {};\n__webpack_modules__[504](0, __webpack_exports__);\n",""],"names":["Office","onReady","document","getElementById","onclick","run","Excel","context","range","workbook","getSelectedRange","sheet","worksheets","getActiveWorksheet","localStorage","setItem","calculate","sync","_a","console","error","error_1","exports"],"sourceRoot":""}