@camstack/addon-pipeline-orchestrator 1.2.141 → 1.2.142
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.
- package/assets/viewer/.viewer-current-files.json +1 -1
- package/assets/viewer/.viewer-version +1 -1
- package/assets/viewer/_expo/static/js/web/{index-fca91e2e1a24a2ef85e940a5bf8db0ba.js → index-54d8fec83158ad6002cc1fbeb6d792cc.js} +1186 -1185
- package/assets/viewer/index.html +1 -1
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-CH12-IRV.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-xQ7z01mK.mjs} +3 -3
- package/dist/{hostInit-CDWfqZhL.mjs → hostInit-BYBHxXms.mjs} +3 -3
- package/dist/index.js +30 -3
- package/dist/index.mjs +30 -3
- package/dist/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/assets/viewer/_expo/static/js/web/Clipboard-8d1cf886e487311b6cae84719d51da86.js +0 -8
- package/assets/viewer/_expo/static/js/web/Haptics-ee1b39de60d10769dd683cb6155c8317.js +0 -3
- package/assets/viewer/_expo/static/js/web/node-fs-ab61600c93a9f0d431bd7cb86b989744.js +0 -1
- package/assets/viewer/_expo/static/js/web/node-path-d2643f0eba8f73272cb47b5f2a8938db.js +0 -1
package/assets/viewer/index.html
CHANGED
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
</noscript>
|
|
37
37
|
<!-- The root element for your Expo app. -->
|
|
38
38
|
<div id="root"></div>
|
|
39
|
-
<script src="/viewer/camstack/_expo/static/js/web/index-
|
|
39
|
+
<script src="/viewer/camstack/_expo/static/js/web/index-54d8fec83158ad6002cc1fbeb6d792cc.js" defer></script>
|
|
40
40
|
</body>
|
|
41
41
|
</html>
|
|
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
|
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.2.
|
|
6
|
+
version: "1.2.61",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_pipeline_orchestrator_widgets",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.141",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_orchestrator_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.107",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_orchestrator_widgets",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.141",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -45,7 +45,7 @@ async function r() {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@camstack/sdk": {
|
|
48
|
-
version: "1.2.
|
|
48
|
+
version: "1.2.61",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -99,7 +99,7 @@ async function r() {
|
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
"@camstack/ui-library": {
|
|
102
|
-
version: "1.2.
|
|
102
|
+
version: "1.2.107",
|
|
103
103
|
scope: "default",
|
|
104
104
|
shareConfig: {
|
|
105
105
|
singleton: !0,
|
package/dist/index.js
CHANGED
|
@@ -20020,7 +20020,20 @@ var RecentTracksQueryInput = object({
|
|
|
20020
20020
|
projection: TrackProjectionSchema.optional(),
|
|
20021
20021
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
20022
20022
|
* feed lists passages; parking records live on the stationary registry. */
|
|
20023
|
-
includeStationary: boolean().optional()
|
|
20023
|
+
includeStationary: boolean().optional(),
|
|
20024
|
+
/**
|
|
20025
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
20026
|
+
*
|
|
20027
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
20028
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
20029
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
20030
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
20031
|
+
*
|
|
20032
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
20033
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
20034
|
+
* exact one.
|
|
20035
|
+
*/
|
|
20036
|
+
classes: array(string()).optional()
|
|
20024
20037
|
});
|
|
20025
20038
|
var RecentTracksPageSchema = object({
|
|
20026
20039
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -24539,8 +24552,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
24539
24552
|
* threshold.
|
|
24540
24553
|
*/
|
|
24541
24554
|
var BatteryStatusSchema = object({
|
|
24542
|
-
/**
|
|
24543
|
-
|
|
24555
|
+
/**
|
|
24556
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
24557
|
+
* provider has registered the capability but no reading has landed.
|
|
24558
|
+
*
|
|
24559
|
+
* It is nullable because it was not, and the only value a provider could
|
|
24560
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
24561
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
24562
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
24563
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
24564
|
+
* reading the difference is an alarm.
|
|
24565
|
+
*
|
|
24566
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
24567
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
24568
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
24569
|
+
*/
|
|
24570
|
+
percentage: number().min(0).max(100).nullable(),
|
|
24544
24571
|
/**
|
|
24545
24572
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
24546
24573
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/dist/index.mjs
CHANGED
|
@@ -19992,7 +19992,20 @@ var RecentTracksQueryInput = object({
|
|
|
19992
19992
|
projection: TrackProjectionSchema.optional(),
|
|
19993
19993
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19994
19994
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19995
|
-
includeStationary: boolean().optional()
|
|
19995
|
+
includeStationary: boolean().optional(),
|
|
19996
|
+
/**
|
|
19997
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19998
|
+
*
|
|
19999
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
20000
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
20001
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
20002
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
20003
|
+
*
|
|
20004
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
20005
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
20006
|
+
* exact one.
|
|
20007
|
+
*/
|
|
20008
|
+
classes: array(string()).optional()
|
|
19996
20009
|
});
|
|
19997
20010
|
var RecentTracksPageSchema = object({
|
|
19998
20011
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -24511,8 +24524,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
24511
24524
|
* threshold.
|
|
24512
24525
|
*/
|
|
24513
24526
|
var BatteryStatusSchema = object({
|
|
24514
|
-
/**
|
|
24515
|
-
|
|
24527
|
+
/**
|
|
24528
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
24529
|
+
* provider has registered the capability but no reading has landed.
|
|
24530
|
+
*
|
|
24531
|
+
* It is nullable because it was not, and the only value a provider could
|
|
24532
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
24533
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
24534
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
24535
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
24536
|
+
* reading the difference is an alarm.
|
|
24537
|
+
*
|
|
24538
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
24539
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
24540
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
24541
|
+
*/
|
|
24542
|
+
percentage: number().min(0).max(100).nullable(),
|
|
24516
24543
|
/**
|
|
24517
24544
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
24518
24545
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/dist/remoteEntry.js
CHANGED
|
@@ -30,7 +30,7 @@ async function d(e) {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
async function f() {
|
|
33
|
-
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-
|
|
33
|
+
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-xQ7z01mK.mjs")).catch((e) => {
|
|
34
34
|
throw l = void 0, e;
|
|
35
35
|
}), l;
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-pipeline-orchestrator",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.142",
|
|
4
4
|
"description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"ClipboardPasteButton",{enumerable:!0,get:function(){return c.ClipboardPasteButton}}),_e.getStringAsync=async function(t={}){if(!s.default.getStringAsync)throw new n.UnavailabilityError('Clipboard','getStringAsync');return await s.default.getStringAsync(t)},_e.setStringAsync=async function(t,e={}){if(!s.default.setStringAsync)throw new n.UnavailabilityError('Clipboard','setStringAsync');return s.default.setStringAsync(t,e)},_e.hasStringAsync=function(){if(!s.default.hasStringAsync)throw new n.UnavailabilityError('Clipboard','hasStringAsync');return s.default.hasStringAsync()},_e.getUrlAsync=async function(){if(!s.default.getUrlAsync)throw new n.UnavailabilityError('Clipboard','getUrlAsync');return await s.default.getUrlAsync()},_e.setUrlAsync=async function(t){if(!s.default.setUrlAsync)throw new n.UnavailabilityError('Clipboard','setUrlAsync');return s.default.setUrlAsync(t)},_e.hasUrlAsync=async function(){if(!s.default.hasUrlAsync)throw new n.UnavailabilityError('Clipboard','hasUrlAsync');return await s.default.hasUrlAsync()},_e.getImageAsync=async function(t){if(!s.default.getImageAsync)throw new n.UnavailabilityError('Clipboard','getImageAsync');return await s.default.getImageAsync(t)},_e.setImageAsync=async function(t){if(!s.default.setImageAsync)throw new n.UnavailabilityError('Clipboard','setImageAsync');return s.default.setImageAsync(t)},_e.hasImageAsync=async function(){if(!s.default.hasImageAsync)throw new n.UnavailabilityError('Clipboard','hasImageAsync');return s.default.hasImageAsync()},_e.addClipboardListener=function(t){return s.default.addListener(e.clipboardEventName,t)},_e.removeClipboardListener=function(t){t.remove()},Object.defineProperty(_e,"isPasteButtonAvailable",{enumerable:!0,get:function(){return o}});var t,n=r(d[0]),e=r(d[1]),s=(t=e)&&t.__esModule?t:{default:t},l=r(d[2]);Object.keys(l).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(_e,t)||Object.defineProperty(_e,t,{enumerable:!0,get:function(){return l[t]}})});var c=r(d[3]);const o=!1},2295,[289,2298,2302,2303]);
|
|
2
|
-
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(_e,"clipboardEventName",{enumerable:!0,get:function(){return u}});var e,t=r(d[0]),n=(e=t)&&e.__esModule?e:{default:e};const u='onClipboardChanged'},2298,[2299]);
|
|
3
|
-
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});var t=r(d[0]),n=r(d[1]),o=r(d[2]),c={async getStringAsync(c){if(!navigator.clipboard)throw new t.ClipboardUnavailableException;try{if(c.preferredFormat===o.StringFormat.HTML){const t=await navigator.clipboard.read(),o=await(0,n.findHtmlInClipboardAsync)(t);return o?await new Response(o).text():await navigator.clipboard.readText()}{let t=await navigator.clipboard.readText();if(!t||''===t){const o=await navigator.clipboard.read(),c=await(0,n.findHtmlInClipboardAsync)(o),l=await(c?.text());t=(0,n.htmlToPlainText)(l??'')}return t}}catch(o){if('object'==typeof o&&'NotAllowedError'===o?.name||await(0,n.isClipboardPermissionDeniedAsync)())throw new t.NoPermissionException;try{return window.clipboardData.getData('Text')}catch{return Promise.reject(new Error('Unable to retrieve item from clipboard'))}}},async setStringAsync(c,l){if(l.inputFormat===o.StringFormat.HTML){if(!navigator.clipboard)throw new t.ClipboardUnavailableException;try{const t=(p=c,new ClipboardItem({'text/html':new Blob([p],{type:'text/html'}),'text/plain':new Blob([(0,n.htmlToPlainText)(p)],{type:'text/plain'})}));return await navigator.clipboard.write([t]),!0}catch(o){if('object'==typeof o&&'NotAllowedError'===o?.name||await(0,n.isClipboardPermissionDeniedAsync)())throw new t.NoPermissionException;throw new t.CopyFailureException(o.message)}}try{if(!navigator.clipboard)throw new Error;return await navigator.clipboard.writeText(c),!0}catch{return s(c)}var p},hasStringAsync:async()=>await l(['text/plain','text/html']),async getImageAsync(o){if(!navigator.clipboard)throw new t.ClipboardUnavailableException;try{const t=await navigator.clipboard.read(),o=await(0,n.findImageInClipboardAsync)(t);if(!o)return null;const[c,l]=await Promise.all([(0,n.blobToBase64Async)(o),(0,n.getImageSizeFromBlobAsync)(o)]);return{data:c,size:l}}catch(o){if('object'==typeof o&&'NotAllowedError'===o?.name||await(0,n.isClipboardPermissionDeniedAsync)())throw new t.NoPermissionException;throw new t.PasteFailureException(o.message)}},async setImageAsync(o){if(!navigator.clipboard)throw new t.ClipboardUnavailableException;try{const t=(0,n.base64toBlob)(o,'image/png');await navigator.clipboard.write([new ClipboardItem({[t.type]:t})])}catch(n){throw new t.CopyFailureException(n.message)}},hasImageAsync:async()=>await l(['image/png','image/jpeg']),addClipboardListener(){},removeClipboardListener(){}};async function l(o){if(!navigator.clipboard)throw new t.ClipboardUnavailableException;try{return(await navigator.clipboard.read()).flatMap(t=>t.types).some(t=>o.includes(t))}catch(o){if('object'==typeof o&&'NotAllowedError'===o?.name||await(0,n.isClipboardPermissionDeniedAsync)())throw new t.NoPermissionException;throw o}}function s(t){const n=document.createElement('textarea');n.textContent=t,document.body.appendChild(n),n.select();try{return document.execCommand('copy'),!0}catch{return!1}finally{document.body.removeChild(n)}}},2299,[2300,2301,2302]);
|
|
4
|
-
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"ClipboardUnavailableException",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"CopyFailureException",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"PasteFailureException",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"NoPermissionException",{enumerable:!0,get:function(){return c}});var o=r(d[0]);class t extends o.CodedError{constructor(){super('ERR_CLIPBOARD_UNAVAILABLE',"The 'AsyncClipboard' API is not available on this browser")}}class n extends o.CodedError{constructor(o){super('ERR_COPY_FAILURE',`Failed to copy to clipboard: ${o}`)}}class s extends o.CodedError{constructor(o){super('ERR_COPY_FAILURE',`Failed to paste from clipboard: ${o}`)}}class c extends o.CodedError{constructor(){super('ERR_NO_PERMISSION','User denied permission to access clipboard')}}},2300,[289]);
|
|
5
|
-
__d(function(g,r,_i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.base64toBlob=function(n,t){t=t||'';const o=1024,i=atob(n),s=i.length,c=Math.ceil(s/o),l=new Array(c);for(let n=0;n<c;++n){const t=n*o,c=Math.min(t+o,s),u=new Array(c-t);for(let n=t,o=0;n<c;++o,++n){const t=i[n];null!=t&&(u[o]=t.charCodeAt(0))}l[n]=new Uint8Array(u)}return new Blob(l,{type:t})},e.blobToBase64Async=function(n){return new Promise((t,o)=>{const i=new FileReader;i.onloadend=()=>t(i.result),i.readAsDataURL(n)})},e.htmlToPlainText=function(n){const t=document.createElement('div');return t.innerHTML=n,t.textContent||t.innerText||''},e.getImageSizeFromBlobAsync=function(n){return new Promise((t,o)=>{const i=URL.createObjectURL(n),s=document.createElement('img');s.src=i,s.onload=function(){t({width:s.width,height:s.height})}})},e.findImageInClipboardAsync=async function(n){for(const t of n){if(t.types.some(n=>'image/png'===n))return await t.getType('image/png');if(t.types.some(n=>'image/jpeg'===n))return await t.getType('image/jpeg')}return null},e.findHtmlInClipboardAsync=async function(n){for(const t of n)if(t.types.some(n=>'text/html'===n))return await t.getType('text/html');return null},e.isClipboardPermissionDeniedAsync=async function(){return'denied'===(await navigator.permissions.query({name:'clipboard-read'})).state}},2301,[]);
|
|
6
|
-
__d(function(g,r,i,a,m,e,d){"use strict";var t,n;Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"ContentType",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"StringFormat",{enumerable:!0,get:function(){return n}}),(function(t){t.PLAIN_TEXT="plain-text",t.HTML="html",t.IMAGE="image",t.URL="url"})(t||(t={})),(function(t){t.PLAIN_TEXT="plainText",t.HTML="html"})(n||(n={}))},2302,[]);
|
|
7
|
-
__d(function(g,r,i,a,m,_e,d){"use strict";const e=["onPress"];function t(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.ClipboardPasteButton=function(t){let{onPress:o}=t,l=(0,n.default)(t,e);if(!u.default)return null;return(0,s.jsx)(u.default,Object.assign({onPastePressed:({nativeEvent:e})=>{o(e)}},l))};var n=t(r(d[0])),s=r(d[1]),u=t(r(d[2]))},2303,[115,10,2304]);
|
|
8
|
-
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}}),r(d[0]),r(d[1]);var t=void 0},2304,[289,131]);
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.notificationAsync=async function(e=o.NotificationFeedbackType.Success){if(!c.default?.notificationAsync)throw new t.UnavailabilityError('Haptics','notificationAsync');await c.default.notificationAsync(e)},_e.impactAsync=async function(e=o.ImpactFeedbackStyle.Medium){if(!c.default?.impactAsync)throw new t.UnavailabilityError('Haptic','impactAsync');await c.default.impactAsync(e)},_e.selectionAsync=async function(){if(!c.default?.selectionAsync)throw new t.UnavailabilityError('Haptic','selectionAsync');await c.default.selectionAsync()},_e.performAndroidHapticsAsync=async function(e){return},Object.defineProperty(_e,"NotificationFeedbackType",{enumerable:!0,get:function(){return o.NotificationFeedbackType}}),Object.defineProperty(_e,"ImpactFeedbackStyle",{enumerable:!0,get:function(){return o.ImpactFeedbackStyle}}),Object.defineProperty(_e,"AndroidHaptics",{enumerable:!0,get:function(){return o.AndroidHaptics}});var e,t=r(d[0]),n=r(d[1]),c=(e=n)&&e.__esModule?e:{default:e},o=r(d[2])},2294,[289,2296,2297]);
|
|
2
|
-
__d(function(g,r,_i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return u}});var t=r(d[0]);const n={[t.NotificationFeedbackType.Success]:[40,100,40],[t.NotificationFeedbackType.Warning]:[50,100,50],[t.NotificationFeedbackType.Error]:[60,100,60,100,60],[t.ImpactFeedbackStyle.Light]:[40],[t.ImpactFeedbackStyle.Medium]:[50],[t.ImpactFeedbackStyle.Heavy]:[60],[t.ImpactFeedbackStyle.Soft]:[35],[t.ImpactFeedbackStyle.Rigid]:[45],selection:[50]};function i(){return'undefined'!=typeof window&&'navigator'in window&&'vibrate'in navigator}function c(){try{const t=document.createElement('label');t.ariaHidden='true',t.style.display='none';const n=document.createElement('input');n.type='checkbox',n.setAttribute('switch',''),t.appendChild(n),document.head.appendChild(t),t.click(),document.head.removeChild(t)}catch{}}const o='undefined'!=typeof window&&window.matchMedia('(pointer: coarse)').matches;function s(t){i()?navigator.vibrate(t):o&&c()}var u={async notificationAsync(s){if(i())return void navigator.vibrate(n[s]);if(!o)return;const u=s===t.NotificationFeedbackType.Error?3:2;for(let t=0;t<u;t++)t>0&&await new Promise(t=>setTimeout(t,120)),c()},async impactAsync(t){s(n[t])},async selectionAsync(){s(n.selection)}}},2296,[2297]);
|
|
3
|
-
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"NotificationFeedbackType",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"ImpactFeedbackStyle",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"AndroidHaptics",{enumerable:!0,get:function(){return o}});let t=(function(t){return t.Success="success",t.Warning="warning",t.Error="error",t})({}),n=(function(t){return t.Light="light",t.Medium="medium",t.Heavy="heavy",t.Soft="soft",t.Rigid="rigid",t})({}),o=(function(t){return t.Confirm="confirm",t.Reject="reject",t.Gesture_Start="gesture-start",t.Gesture_End="gesture-end",t.Toggle_On="toggle-on",t.Toggle_Off="toggle-off",t.Clock_Tick="clock-tick",t.Context_Click="context-click",t.Drag_Start="drag-start",t.Keyboard_Tap="keyboard-tap",t.Keyboard_Press="keyboard-press",t.Keyboard_Release="keyboard-release",t.Long_Press="long-press",t.Virtual_Key="virtual-key",t.Virtual_Key_Release="virtual-key-release",t.No_Haptics="no-haptics",t.Segment_Tick="segment-tick",t.Segment_Frequent_Tick="segment-frequent-tick",t.Text_Handle_Move="text-handle-move",t})({})},2297,[]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__d(function(g,r,i,a,m,e,d){function n(){throw new Error("node:fs is unavailable in the Viewer runtime")}m.exports={chmodSync:n,createWriteStream:n,existsSync:n,mkdirSync:n,promises:new Proxy({},{get:()=>n}),readFileSync:n,readdirSync:n,renameSync:n,rmSync:n,unlinkSync:n,writeFileSync:n}},2293,[]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__d(function(g,r,i,a,m,e,d){function n(){throw new Error("node:path is unavailable in the Viewer runtime")}m.exports={basename:n,join:n}},2292,[]);
|