proto-sudoku-wc 0.0.746 → 0.0.748

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ const index = require('./index-3861067e.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.12.6 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  const patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-sudoku-wc.cjs.js', document.baseURI).href));
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.12.5",
7
+ "version": "4.12.6",
8
8
  "typescriptVersion": "5.3.3"
9
9
  },
10
10
  "collections": [],
@@ -3,7 +3,7 @@ export { s as setNonce } from './index-bffbcdde.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.12.6 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,2 +1,2 @@
1
- let e,n,t=!1,l=null,o=!1;const s="slot-fb{display:contents}slot-fb[hidden]{display:none}",i={},r=e=>"object"==(e=typeof e)||"function"===e;function c(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const u=(e,n,...t)=>{let l=null,o=null,s=!1,i=!1;const c=[],u=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!r(l))&&(l+=""),s&&i?c[c.length-1].t+=l:c.push(s?f(null,l):l),i=s)};if(u(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,c,d);const a=f(e,null);return a.l=n,c.length>0&&(a.o=c),a.i=o,a},f=(e,n)=>({u:0,v:e,t:n,p:null,o:null,l:null,i:null}),a={},d={forEach:(e,n)=>e.map(v).forEach(n),map:(e,n)=>e.map(v).map(n).map(y)},v=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.h,vtag:e.v,vtext:e.t}),y=e=>{if("function"==typeof e.vtag){const n=Object.assign({},e.vattrs);return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),u(e.vtag,n,...e.vchildren||[])}const n=f(e.vtag,e.vtext);return n.l=e.vattrs,n.o=e.vchildren,n.i=e.vkey,n.h=e.vname,n},p=new WeakMap,h=e=>"sc-"+e.m,m=(e,n,t,l,o,s)=>{if(t!==l){let i=K(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,o=b(t),s=b(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===n);else if(i||"o"!==n[0]||"n"!==n[1]){const c=r(l);if((i||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?i=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(n)||e.removeAttribute(n):(!i||4&s||o)&&!c&&e.setAttribute(n,l=!0===l?"":l)}else if(n="-"===n[2]?n.slice(3):K(ee,c)?c.slice(2):c[2]+n.slice(3),t||l){const o=n.endsWith(w);n=n.replace(g,""),t&&te.rel(e,n,t,o),l&&te.ael(e,n,l,o)}}},$=/\s/,b=e=>e?e.split($):[],w="Capture",g=RegExp(w+"$"),j=(e,n,t,l)=>{const o=11===n.p.nodeType&&n.p.host?n.p.host:n.p,s=e&&e.l||i,r=n.l||i;for(l in s)l in r||m(o,l,s[l],void 0,t,n.u);for(l in r)m(o,l,s[l],r[l],t,n.u)},S=(l,o,s)=>{const i=o.o[s];let r,c,u=0;if(null!==i.t)r=i.p=ne.createTextNode(i.t);else{if(t||(t="svg"===i.v),r=i.p=ne.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.v),t&&"foreignObject"===i.v&&(t=!1),j(null,i,t),null!=e&&r["s-si"]!==e&&r.classList.add(r["s-si"]=e),i.o)for(u=0;u<i.o.length;++u)c=S(l,i,u),c&&r.appendChild(c);"svg"===i.v?t=!1:"foreignObject"===r.tagName&&(t=!0)}return r["s-hn"]=n,r},k=(e,t,l,o,s,i)=>{let r,c=e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=S(null,l,s),r&&(o[s].p=r,c.insertBefore(r,t)))},O=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.p;e&&e.remove()}}},M=(e,n,t=!1)=>e.v===n.v&&(!!t||e.i===n.i),C=(e,n,l=!1)=>{const o=n.p=e.p,s=e.o,i=n.o,r=n.v,c=n.t;null===c?(t="svg"===r||"foreignObject"!==r&&t,j(e,n,t),null!==s&&null!==i?((e,n,t,l,o=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],v=n[a],y=l.length-1,p=l[0],h=l[y];for(;r<=a&&c<=y;)if(null==d)d=n[++r];else if(null==v)v=n[--a];else if(null==p)p=l[++c];else if(null==h)h=l[--y];else if(M(d,p,o))C(d,p,o),d=n[++r],p=l[++c];else if(M(v,h,o))C(v,h,o),v=n[--a],h=l[--y];else if(M(d,h,o))C(d,h,o),e.insertBefore(d.p,v.p.nextSibling),d=n[++r],h=l[--y];else if(M(v,p,o))C(v,p,o),e.insertBefore(v.p,d.p),v=n[--a],p=l[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].i&&n[f].i===p.i){u=f;break}u>=0?(i=n[u],i.v!==p.v?s=S(n&&n[c],t,u):(C(i,p,o),n[u]=void 0,s=i.p),p=l[++c]):(s=S(n&&n[c],t,c),p=l[++c]),s&&d.p.parentNode.insertBefore(s,d.p)}r>a?k(e,null==l[y+1]?null:l[y+1].p,t,l,c,y):c>y&&O(n,r,a)})(o,s,n,i,l):null!==i?(null!==e.t&&(o.textContent=""),k(o,null,n,i,0,i.length-1)):null!==s&&O(s,0,s.length-1),t&&"svg"===r&&(t=!1)):e.t!==c&&(o.data=c)},x=(e,n)=>{n&&!e.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.$=n)))},E=(e,n)=>{if(e.u|=16,!(4&e.u))return x(e,e.j),ae((()=>P(e,n)));e.u|=512},P=(e,n)=>{const t=e.S;return A(void 0,(()=>N(e,t,n)))},A=(e,n)=>L(e)?e.then(n):n(),L=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,N=async(e,n,t)=>{var l;const o=e.$hostElement$,i=o["s-rc"];t&&(e=>{const n=e.k,t=e.$hostElement$,l=n.u,o=((e,n)=>{var t;const l=h(n),o=Z.get(l);if(e=11===e.nodeType?e:ne,o)if("string"==typeof o){let i,r=p.get(e=e.head||e);if(r||p.set(e,r=new Set),!r.has(l)){{i=ne.createElement("style"),i.innerHTML=o;const n=null!==(t=te.O)&&void 0!==t?t:c(ne);null!=n&&i.setAttribute("nonce",n),e.insertBefore(i,e.querySelector("link"))}4&n.u&&(i.innerHTML+=s),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"))})(e);R(e,n,o,t),i&&(i.map((e=>e())),o["s-rc"]=void 0);{const n=null!==(l=o["s-p"])&&void 0!==l?l:[],t=()=>U(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},R=(t,o,s,i)=>{try{l=o,o=o.render(),t.u&=-17,t.u|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.M||f(null,null),r=(e=>e&&e.v===a)(l)?l:u(null,null,l);if(n=s.tagName,o&&r.l)for(const e of Object.keys(r.l))s.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.l[e]=s[e]);r.v=null,r.u|=4,t.M=r,r.p=i.p=s.shadowRoot||s,e=s["s-sc"],C(i,r,o)})(t,o,i)}catch(e){Q(e,t.$hostElement$)}return l=null,null},T=()=>l,U=e=>{const n=e.$hostElement$,t=e.S,l=e.j;64&e.u||(e.u|=64,F(n),D(t,"componentDidLoad"),e.C(n),l||q()),e.$&&(e.$(),e.$=void 0),512&e.u&&fe((()=>E(e,!1))),e.u&=-517},W=e=>{{const n=G(e),t=n.$hostElement$.isConnected;return t&&2==(18&n.u)&&E(n,!1),t}},q=()=>{F(ne.documentElement),fe((()=>(e=>{const n=te.ce("appload",{detail:{namespace:"proto-sudoku-wc"}});return e.dispatchEvent(n),n})(ee)))},D=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){Q(e)}},F=e=>e.classList.add("hydrated"),H=(e,n,t)=>{var l;const o=e.prototype;if(n.P){const s=Object.entries(n.P);if(s.map((([e,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,e,{get(){return((e,n)=>G(this).A.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=G(e),s=o.A.get(n),i=o.u,c=o.S;t=((e,n)=>null==e||r(e)?e:1&n?e+"":e)(t,l.P[n][0]),8&i&&void 0!==s||t===s||Number.isNaN(s)&&Number.isNaN(t)||(o.A.set(n,t),c&&2==(18&i)&&E(o,!1))})(this,e,t,n)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){te.jmp((()=>{var i;const r=t.get(e);if(this.hasOwnProperty(r))s=this[r],delete this[r];else{if(o.hasOwnProperty(r)&&"number"==typeof this[r]&&this[r]==s)return;if(null==r){const t=G(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.S,r=null===(i=n.L)||void 0===i?void 0:i[e];null==r||r.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[r]=(null!==s||"boolean"!=typeof this[r])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.L)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},V=async(e,n,t)=>{let l;if(0==(32&n.u)){if(n.u|=32,t.N){if(l=Y(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(H(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){Q(e)}n.u&=-9,e()}else l=e.constructor,customElements.whenDefined(t.m).then((()=>n.u|=128));if(l.style){let e=l.style;const n=h(t);if(!Z.has(n)){const l=()=>{};((e,n,t)=>{let l=Z.get(e);oe&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,Z.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.j,s=()=>E(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()},_=(e,n={})=>{var t;const l=[],o=n.exclude||[],i=ee.customElements,r=ne.head,u=r.querySelector("meta[charset]"),f=ne.createElement("style"),a=[];let d,v=!0;Object.assign(te,n),te.R=new URL(n.resourcesUrl||"./",ne.baseURI).href;let y=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],m:n[1],P:n[2],T:n[3]};4&t.u&&(y=!0),t.P=n[2];const s=t.m,r=class extends HTMLElement{constructor(e){super(e),J(e=this,t),1&t.u&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),v?a.push(this):te.jmp((()=>(e=>{if(0==(1&te.u)){const n=G(e),t=n.k,l=()=>{};if(1&n.u)(null==n?void 0:n.S)||(null==n?void 0:n.U)&&n.U.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){x(n,n.j=t);break}}t.P&&Object.entries(t.P).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),V(e,n,t)}l()}})(this)))}disconnectedCallback(){te.jmp((()=>(async()=>{if(0==(1&te.u)){const e=G(this);(null==e?void 0:e.S)||(null==e?void 0:e.U)&&e.U.then((()=>{}))}})()))}componentOnReady(){return G(this).U}};t.N=e[0],o.includes(s)||i.get(s)||(l.push(s),i.define(s,H(r,t,1)))}))})),l.length>0&&(y&&(f.textContent+=s),f.textContent+=l+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!==(t=te.O)&&void 0!==t?t:c(ne);null!=e&&f.setAttribute("nonce",e),r.insertBefore(f,u?u.nextSibling:r.firstChild)}v=!1,a.length?a.map((e=>e.connectedCallback())):te.jmp((()=>d=setTimeout(q,30)))},z=e=>te.O=e,B=new WeakMap,G=e=>B.get(e),I=(e,n)=>B.set(n.S=e,n),J=(e,n)=>{const t={u:0,$hostElement$:e,k:n,A:new Map};return t.U=new Promise((e=>t.C=e)),e["s-p"]=[],e["s-rc"]=[],B.set(e,t)},K=(e,n)=>n in e,Q=(e,n)=>(0,console.error)(e,n),X=new Map,Y=e=>{const n=e.m.replace(/-/g,"_"),t=e.N,l=X.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(X.set(t,e),e[n])),Q)
1
+ let e,n,t=!1,l=null,o=!1;const s="slot-fb{display:contents}slot-fb[hidden]{display:none}",i={},r=e=>"object"==(e=typeof e)||"function"===e;function c(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const u=(e,n,...t)=>{let l=null,o=null,s=!1,i=!1;const c=[],u=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!r(l))&&(l+=""),s&&i?c[c.length-1].t+=l:c.push(s?f(null,l):l),i=s)};if(u(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,c,d);const a=f(e,null);return a.l=n,c.length>0&&(a.o=c),a.i=o,a},f=(e,n)=>({u:0,v:e,t:n,p:null,o:null,l:null,i:null}),a={},d={forEach:(e,n)=>e.map(v).forEach(n),map:(e,n)=>e.map(v).map(n).map(y)},v=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.h,vtag:e.v,vtext:e.t}),y=e=>{if("function"==typeof e.vtag){const n=Object.assign({},e.vattrs);return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),u(e.vtag,n,...e.vchildren||[])}const n=f(e.vtag,e.vtext);return n.l=e.vattrs,n.o=e.vchildren,n.i=e.vkey,n.h=e.vname,n},p=new WeakMap,h=e=>"sc-"+e.m,m=(e,n,t,l,o,s)=>{if(t!==l){let i=K(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,o=b(t),s=b(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===n);else if(i||"o"!==n[0]||"n"!==n[1]){const c=r(l);if((i||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?i=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(n)||e.removeAttribute(n):(!i||4&s||o)&&!c&&e.setAttribute(n,l=!0===l?"":l)}else if(n="-"===n[2]?n.slice(3):K(ee,c)?c.slice(2):c[2]+n.slice(3),t||l){const o=n.endsWith(w);n=n.replace(g,""),t&&te.rel(e,n,t,o),l&&te.ael(e,n,l,o)}}},$=/\s/,b=e=>e?e.split($):[],w="Capture",g=RegExp(w+"$"),j=(e,n,t,l)=>{const o=11===n.p.nodeType&&n.p.host?n.p.host:n.p,s=e&&e.l||i,r=n.l||i;for(l in s)l in r||m(o,l,s[l],void 0,t,n.u);for(l in r)m(o,l,s[l],r[l],t,n.u)},S=(l,o,s)=>{const i=o.o[s];let r,c,u=0;if(null!==i.t)r=i.p=ne.createTextNode(i.t);else{if(t||(t="svg"===i.v),r=i.p=ne.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.v),t&&"foreignObject"===i.v&&(t=!1),j(null,i,t),null!=e&&r["s-si"]!==e&&r.classList.add(r["s-si"]=e),i.o)for(u=0;u<i.o.length;++u)c=S(l,i,u),c&&r.appendChild(c);"svg"===i.v?t=!1:"foreignObject"===r.tagName&&(t=!0)}return r["s-hn"]=n,r},k=(e,t,l,o,s,i)=>{let r,c=e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=S(null,l,s),r&&(o[s].p=r,c.insertBefore(r,t)))},O=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.p;e&&e.remove()}}},M=(e,n,t=!1)=>e.v===n.v&&(!!t||e.i===n.i),C=(e,n,l=!1)=>{const o=n.p=e.p,s=e.o,i=n.o,r=n.v,c=n.t;null===c?(t="svg"===r||"foreignObject"!==r&&t,j(e,n,t),null!==s&&null!==i?((e,n,t,l,o=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],v=n[a],y=l.length-1,p=l[0],h=l[y];for(;r<=a&&c<=y;)if(null==d)d=n[++r];else if(null==v)v=n[--a];else if(null==p)p=l[++c];else if(null==h)h=l[--y];else if(M(d,p,o))C(d,p,o),d=n[++r],p=l[++c];else if(M(v,h,o))C(v,h,o),v=n[--a],h=l[--y];else if(M(d,h,o))C(d,h,o),e.insertBefore(d.p,v.p.nextSibling),d=n[++r],h=l[--y];else if(M(v,p,o))C(v,p,o),e.insertBefore(v.p,d.p),v=n[--a],p=l[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].i&&n[f].i===p.i){u=f;break}u>=0?(i=n[u],i.v!==p.v?s=S(n&&n[c],t,u):(C(i,p,o),n[u]=void 0,s=i.p),p=l[++c]):(s=S(n&&n[c],t,c),p=l[++c]),s&&d.p.parentNode.insertBefore(s,d.p)}r>a?k(e,null==l[y+1]?null:l[y+1].p,t,l,c,y):c>y&&O(n,r,a)})(o,s,n,i,l):null!==i?(null!==e.t&&(o.textContent=""),k(o,null,n,i,0,i.length-1)):null!==s&&O(s,0,s.length-1),t&&"svg"===r&&(t=!1)):e.t!==c&&(o.data=c)},x=(e,n)=>{n&&!e.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.$=n)))},E=(e,n)=>{if(e.u|=16,!(4&e.u))return x(e,e.j),ae((()=>P(e,n)));e.u|=512},P=(e,n)=>{const t=e.S;return A(void 0,(()=>N(e,t,n)))},A=(e,n)=>L(e)?e.then(n):n(),L=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,N=async(e,n,t)=>{var l;const o=e.$hostElement$,i=o["s-rc"];t&&(e=>{const n=e.k,t=e.$hostElement$,l=n.u,o=((e,n)=>{var t;const l=h(n),o=Z.get(l);if(e=11===e.nodeType?e:ne,o)if("string"==typeof o){let i,r=p.get(e=e.head||e);if(r||p.set(e,r=new Set),!r.has(l)){{i=ne.createElement("style"),i.innerHTML=o;const n=null!==(t=te.O)&&void 0!==t?t:c(ne);null!=n&&i.setAttribute("nonce",n),e.insertBefore(i,e.querySelector("link"))}4&n.u&&(i.innerHTML+=s),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"))})(e);R(e,n,o,t),i&&(i.map((e=>e())),o["s-rc"]=void 0);{const n=null!==(l=o["s-p"])&&void 0!==l?l:[],t=()=>U(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},R=(t,o,s,i)=>{try{l=o,o=o.render(),t.u&=-17,t.u|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.M||f(null,null),r=(e=>e&&e.v===a)(l)?l:u(null,null,l);if(n=s.tagName,o&&r.l)for(const e of Object.keys(r.l))s.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.l[e]=s[e]);r.v=null,r.u|=4,t.M=r,r.p=i.p=s.shadowRoot||s,e=s["s-sc"],C(i,r,o)})(t,o,i)}catch(e){Q(e,t.$hostElement$)}return l=null,null},T=()=>l,U=e=>{const n=e.$hostElement$,t=e.S,l=e.j;64&e.u||(e.u|=64,F(n),D(t,"componentDidLoad"),e.C(n),l||q()),e.$&&(e.$(),e.$=void 0),512&e.u&&fe((()=>E(e,!1))),e.u&=-517},W=e=>{{const n=G(e),t=n.$hostElement$.isConnected;return t&&2==(18&n.u)&&E(n,!1),t}},q=()=>{F(ne.documentElement),fe((()=>(e=>{const n=te.ce("appload",{detail:{namespace:"proto-sudoku-wc"}});return e.dispatchEvent(n),n})(ee)))},D=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){Q(e)}},F=e=>e.classList.add("hydrated"),H=(e,n,t)=>{var l;const o=e.prototype;if(n.P){const s=Object.entries(n.P);if(s.map((([e,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,e,{get(){return((e,n)=>G(this).A.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=G(e),s=o.A.get(n),i=o.u,c=o.S;t=((e,n)=>null==e||r(e)?e:1&n?e+"":e)(t,l.P[n][0]),8&i&&void 0!==s||t===s||Number.isNaN(s)&&Number.isNaN(t)||(o.A.set(n,t),c&&2==(18&i)&&E(o,!1))})(this,e,t,n)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){te.jmp((()=>{var i;const r=t.get(e);if(this.hasOwnProperty(r))s=this[r],delete this[r];else{if(o.hasOwnProperty(r)&&"number"==typeof this[r]&&this[r]==s)return;if(null==r){const t=G(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.S,r=null===(i=n.L)||void 0===i?void 0:i[e];null==r||r.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[r]=(null!==s||"boolean"!=typeof this[r])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.L)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},V=async(e,n,t)=>{let l;if(!(32&n.u)){if(n.u|=32,t.N){if(l=Y(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(H(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){Q(e)}n.u&=-9,e()}else l=e.constructor,customElements.whenDefined(t.m).then((()=>n.u|=128));if(l.style){let e=l.style;const n=h(t);if(!Z.has(n)){const l=()=>{};((e,n,t)=>{let l=Z.get(e);oe&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,Z.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.j,s=()=>E(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()},_=(e,n={})=>{var t;const l=[],o=n.exclude||[],i=ee.customElements,r=ne.head,u=r.querySelector("meta[charset]"),f=ne.createElement("style"),a=[];let d,v=!0;Object.assign(te,n),te.R=new URL(n.resourcesUrl||"./",ne.baseURI).href;let y=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],m:n[1],P:n[2],T:n[3]};4&t.u&&(y=!0),t.P=n[2];const s=t.m,r=class extends HTMLElement{constructor(e){super(e),J(e=this,t),1&t.u&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),v?a.push(this):te.jmp((()=>(e=>{if(!(1&te.u)){const n=G(e),t=n.k,l=()=>{};if(1&n.u)(null==n?void 0:n.S)||(null==n?void 0:n.U)&&n.U.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){x(n,n.j=t);break}}t.P&&Object.entries(t.P).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),V(e,n,t)}l()}})(this)))}disconnectedCallback(){te.jmp((()=>(async()=>{if(!(1&te.u)){const e=G(this);(null==e?void 0:e.S)||(null==e?void 0:e.U)&&e.U.then((()=>{}))}})()))}componentOnReady(){return G(this).U}};t.N=e[0],o.includes(s)||i.get(s)||(l.push(s),i.define(s,H(r,t,1)))}))})),l.length>0&&(y&&(f.textContent+=s),f.textContent+=l+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!==(t=te.O)&&void 0!==t?t:c(ne);null!=e&&f.setAttribute("nonce",e),r.insertBefore(f,u?u.nextSibling:r.firstChild)}v=!1,a.length?a.map((e=>e.connectedCallback())):te.jmp((()=>d=setTimeout(q,30)))},z=e=>te.O=e,B=new WeakMap,G=e=>B.get(e),I=(e,n)=>B.set(n.S=e,n),J=(e,n)=>{const t={u:0,$hostElement$:e,k:n,A:new Map};return t.U=new Promise((e=>t.C=e)),e["s-p"]=[],e["s-rc"]=[],B.set(e,t)},K=(e,n)=>n in e,Q=(e,n)=>(0,console.error)(e,n),X=new Map,Y=e=>{const n=e.m.replace(/-/g,"_"),t=e.N,l=X.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(X.set(t,e),e[n])),Q)
2
2
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Z=new Map,ee="undefined"!=typeof window?window:{},ne=ee.document||{head:{}},te={u:0,R:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},le=e=>Promise.resolve(e),oe=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),se=[],ie=[],re=(e,n)=>t=>{e.push(t),o||(o=!0,n&&4&te.u?fe(ue):te.raf(ue))},ce=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){Q(e)}e.length=0},ue=()=>{ce(se),ce(ie),(o=se.length>0)&&te.raf(ue)},fe=e=>le().then(e),ae=re(ie,!0);export{_ as b,W as f,T as g,u as h,le as p,I as r,z as s}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-sudoku-wc",
3
- "version": "0.0.746",
3
+ "version": "0.0.748",
4
4
  "description": "prototype - a simple Sudoku app rendered in Stencil and Tailwind",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -27,10 +27,10 @@
27
27
  "format": "prettier --write src"
28
28
  },
29
29
  "dependencies": {
30
- "@stencil/core": "4.12.5",
30
+ "@stencil/core": "4.12.6",
31
31
  "@stencil/store": "2.0.14",
32
32
  "ky": "1.2.2",
33
- "proto-tailwindcss-clrs": "0.0.313",
33
+ "proto-tailwindcss-clrs": "0.0.314",
34
34
  "tailwindcss": "3.4.1"
35
35
  },
36
36
  "devDependencies": {