This is still quite ugly and only meant to get things going for now, as a proof of concept. It is usable though, and quite fast. Signed-off-by: Yonah <contrib@gensokyo.uk>
1 line
3.8 KiB
JavaScript
1 line
3.8 KiB
JavaScript
/*! hg-web-sdk@2.10.11 Copyright (C) 2017 - 2025 Hypergryph Co.,Ltd. All Rights Reserved. Published at 2025-09-12 11:52:40 */!function(){"use strict";var e,t,n,r,o={7384:function(e){e.exports=void 0}},f={};function c(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={id:e,exports:{}};return o[e].call(n.exports,n,n.exports,c),n.exports}c.m=o,c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},c.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);c.r(o);var f={};e=e||[null,t({}),t([]),t(t)];for(var u=2&r&&n;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach((function(e){f[e]=function(){return n[e]}}));return f.default=function(){return n},c.d(o,f),o},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=function(e){return Promise.all(Object.keys(c.f).reduce((function(t,n){return c.f[n](e,t),t}),[]))},c.u=function(e){return e+"."+{28:"8a36160d124e1fc0d695",93:"ded0c4ea6557e13e450a",121:"5496c920e3be96ec1c85",129:"262222be26cc102d11d9",306:"7ea4490145ac18b4b0f6",374:"dca7e29a1476aafa8ab1",389:"c4c636ec9a56be1b5965",533:"8647f436c1f4cfe38581",576:"91297a5c93a1b33d078e",590:"fe49eee5dbd7d2e738aa",592:"91c1d092dcffddfa3356",616:"9b2b6c931fdd0cfbcc34",623:"44d788954a39216e54ea",664:"76278e41ec6bc96a5535",694:"8f6120ad4997e6b2885a",754:"38b331149223a3b5db08",787:"24cdd1c202257bf4fadb",852:"9317493ac1a6da74b065",881:"28683b921b7e29e534be",987:"80ad9ecfa1a14168688b"}[e]+".js"},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="@hg/hg-web-sdk:",c.l=function(e,t,o,f){if(n[e])n[e].push(t);else{var u,i;if(void 0!==o)for(var a=document.getElementsByTagName("script"),d=0;d<a.length;d++){var b=a[d];if(b.getAttribute("src")==e||b.getAttribute("data-webpack")==r+o){u=b;break}}u||(i=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,c.nc&&u.setAttribute("nonce",c.nc),u.setAttribute("data-webpack",r+o),u.src=e),n[e]=[t];var l=function(t,r){u.onerror=u.onload=null,clearTimeout(s);var o=n[e];if(delete n[e],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((function(e){return e(r)})),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=l.bind(null,u.onerror),u.onload=l.bind(null,u.onload),i&&document.head.appendChild(u)}},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.p="/assets/hg_web_sdk/lib/",function(){c.b=document.baseURI||self.location.href;var e={650:0};c.f.j=function(t,n){var r=c.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=o);var f=c.p+c.u(t),u=new Error;c.l(f,(function(n){if(c.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),f=n&&n.target&&n.target.src;u.message="Loading chunk "+t+" failed.\n("+o+": "+f+")",u.name="ChunkLoadError",u.type=o,u.request=f,r[1](u)}}),"chunk-"+t,t)}};var t=function(t,n){var r,o,f=n[0],u=n[1],i=n[2],a=0;if(f.some((function(t){return 0!==e[t]}))){for(r in u)c.o(u,r)&&(c.m[r]=u[r]);if(i)i(c)}for(t&&t(n);a<f.length;a++)o=f[a],c.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunk_hg_hg_web_sdk=self.webpackChunk_hg_hg_web_sdk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),c.nc=void 0,c.e(129).then(c.bind(c,9129))}(); |