Repository: holoviz/panel

Issue:
pyscript wasm example broken
When I run the example to https://panel.holoviz.org/how_to/wasm/standalone.html#pyscript

```html
<!DOCTYPE html>
<html>
  <head>
    <script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-3.3.0.js"></script>
    <script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.3.0.min.js"></script>
    <script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.3.0.min.js"></script>
    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@holoviz/panel@1.3.0/dist/panel.min.js"></script>

    <link rel="stylesheet" href="https://pyscript.net/releases/2022.12.1/pyscript.css" />
    <script defer src="https://pyscript.net/releases/2022.12.1/pyscript.js"></script>
  </head>
  <body>
    <py-config>
       packages = [
          "https://cdn.holoviz.org/panel/1.3.0/dist/wheels/bokeh-3.3.0-py3-none-any.whl"
          "https://cdn.holoviz.org/panel/1.3.0/dist/wheels/panel-1.3.0-py3-none-any.whl"
       ]
    </py-config>
    <div id="simple_app"></div>
    <py-script>
      import panel as pn

      pn.extension(sizing_mode="stretch_width")

      slider = pn.widgets.FloatSlider(start=0, end=10, name='Amplitude')

      def callback(new):
         return f'Amplitude is: {new}'

      pn.Row(slider, pn.bind(callback, slider)).servable(target='simple_app');
    </py-script>
  </body>
</html>
```

I get 

![image](https://github.com/holoviz/panel/assets/42288570/58f98b17-fe09-4db8-93c2-45daa063075b)



Discussion:

Resolving patch:
diff --git a/doc/conf.py b/doc/conf.py
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -17,7 +17,10 @@
 
 import panel
 
-from panel.io.convert import BOKEH_VERSION, MINIMUM_VERSIONS, PY_VERSION
+from panel.io.convert import (
+    BOKEH_VERSION, MINIMUM_VERSIONS, PY_VERSION, PYODIDE_VERSION,
+    PYSCRIPT_VERSION,
+)
 from panel.io.resources import CDN_DIST
 
 PANEL_ROOT = pathlib.Path(panel.__file__).parent
@@ -202,13 +205,18 @@ def patched_card_run(self):
 
 CardDirective.run = patched_card_run
 
+def _get_pyodide_version():
+    if PYODIDE_VERSION.startswith("v"):
+        return PYODIDE_VERSION[1:]
+    raise NotImplementedError(F"{PYODIDE_VERSION=} is not valid")
+
 def update_versions(app, docname, source):
     # Inspired by: https://stackoverflow.com/questions/8821511
     version_replace = {
        "{{PANEL_VERSION}}" : PY_VERSION,
        "{{BOKEH_VERSION}}" : BOKEH_VERSION,
-       "{{PYSCRIPT_VERSION}}" : "2022.12.1",
-       "{{PYODIDE_VERSION}}" : "0.23.4",
+       "{{PYSCRIPT_VERSION}}" : PYSCRIPT_VERSION,
+       "{{PYODIDE_VERSION}}" : _get_pyodide_version(),
     }
 
     for old, new in version_replace.items():
diff --git a/panel/io/convert.py b/panel/io/convert.py
--- a/panel/io/convert.py
+++ b/panel/io/convert.py
@@ -41,8 +41,8 @@
 PANEL_ROOT = pathlib.Path(__file__).parent.parent
 BOKEH_VERSION = base_version(bokeh.__version__)
 PY_VERSION = base_version(__version__)
-PYODIDE_VERSION = 'v0.23.4'
-PYSCRIPT_VERSION = '2023.03.1'
+PYODIDE_VERSION = 'v0.24.1'
+PYSCRIPT_VERSION = '2023.05.1'
 PANEL_LOCAL_WHL = DIST_DIR / 'wheels' / f'panel-{__version__.replace("-dirty", "")}-py3-none-any.whl'
 BOKEH_LOCAL_WHL = DIST_DIR / 'wheels' / f'bokeh-{BOKEH_VERSION}-py3-none-any.whl'
 PANEL_CDN_WHL = f'{CDN_DIST}wheels/panel-{PY_VERSION}-py3-none-any.whl'


Test patch: