chrome-devtools-frontend 1.0.1701636 → 1.0.1703574
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/eslint.config.mjs +3 -1
- package/front_end/core/common/ParsedURL.ts +5 -1
- package/front_end/core/host/UserMetricsEnums.ts +2 -1
- package/front_end/core/root/ExperimentNames.ts +1 -0
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +2 -7
- package/front_end/core/text_utils/Markdown.ts +73 -0
- package/front_end/core/text_utils/text_utils.ts +2 -0
- package/front_end/devtools_compatibility.js +2 -1
- package/front_end/entrypoints/main/MainImpl.ts +8 -0
- package/front_end/generated/InspectorBackendCommands.ts +6 -4
- package/front_end/generated/protocol-mapping.d.ts +8 -0
- package/front_end/generated/protocol-proxy-api.d.ts +6 -0
- package/front_end/generated/protocol.ts +22 -3
- package/front_end/models/ai_assistance/AiAgent2.ts +13 -1
- package/front_end/models/ai_assistance/AiConversation.ts +1 -1
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +13 -19
- package/front_end/models/change_tracker/ChangeTracker.ts +5 -64
- package/front_end/models/comment_manager/CD4ABridge.ts +5 -0
- package/front_end/models/comment_manager/CommentManager.ts +3 -5
- package/front_end/models/comment_manager/CommentThread.ts +30 -13
- package/front_end/models/issues_manager/CookieDeprecationMetadataIssue.ts +6 -7
- package/front_end/models/issues_manager/DeprecationIssue.ts +1 -1
- package/front_end/models/issues_manager/MarkdownIssueDescription.ts +18 -52
- package/front_end/models/issues_manager/SRIMessageSignatureIssue.ts +2 -4
- package/front_end/models/issues_manager/descriptions/cookieWarnMetadataGrantRead.md +0 -1
- package/front_end/models/issues_manager/descriptions/cookieWarnMetadataGrantReadOptOut.md +5 -0
- package/front_end/models/issues_manager/descriptions/cookieWarnMetadataGrantSet.md +0 -1
- package/front_end/models/issues_manager/descriptions/cookieWarnMetadataGrantSetOptOut.md +5 -0
- package/front_end/models/issues_manager/descriptions/deprecation.md +1 -1
- package/front_end/models/issues_manager/descriptions/sriValidationFailedIntegrityMismatch.md +2 -0
- package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +1 -1
- package/front_end/models/persistence/NetworkPersistenceManager.ts +14 -2
- package/front_end/panels/common/CommentThreadWidget.ts +29 -10
- package/front_end/panels/common/CommentsOverlayWidget.ts +50 -14
- package/front_end/panels/common/CommentsStatusBarPill.ts +40 -7
- package/front_end/panels/common/commentThreadWidget.css +11 -0
- package/front_end/panels/common/commentsStatusBarPill.css +13 -0
- package/front_end/panels/elements/StylePropertiesSection.ts +10 -0
- package/front_end/panels/elements/StylePropertyTreeElement.ts +1 -1
- package/front_end/panels/elements/StylesSidebarPane.ts +101 -49
- package/front_end/panels/elements/components/CSSQuery.ts +1 -1
- package/front_end/panels/elements/components/cssQuery.css +4 -0
- package/front_end/panels/elements/elements.ts +0 -1
- package/front_end/panels/elements/stylesSidebarPane.css +6 -0
- package/front_end/panels/issues/IssueView.ts +5 -1
- package/front_end/panels/sources/ResourceOriginPlugin.ts +8 -3
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +3 -4
- package/front_end/panels/sources/SourcesView.ts +127 -147
- package/front_end/panels/sources/TabbedEditorContainer.ts +518 -246
- package/front_end/panels/sources/UISourceCodeFrame.ts +9 -0
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/chromium/client-variations/ClientVariations.js +25 -96
- package/front_end/third_party/codemirror.next/chunk/angular.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/cpp.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/cpp.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/java.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/java.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/legacy.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/less.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/less.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/markdown.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/php.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/php.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/python.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/sass.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/sass.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/svelte.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/svelte.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/vue.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/wast.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/wast.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/xml.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/xml.js.map +1 -1
- package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
- package/front_end/third_party/codemirror.next/package.json +4 -1
- package/front_end/third_party/codemirror.next/rebuild.sh +1 -1
- package/front_end/ui/comments/CommentOverlayManager.ts +11 -10
- package/front_end/ui/components/markdown_view/MarkdownPlaceholderLitRenderer.ts +59 -0
- package/front_end/ui/components/markdown_view/markdown_view.ts +2 -0
- package/front_end/ui/legacy/TabbedPane.ts +51 -40
- package/front_end/ui/legacy/Treeoutline.ts +28 -19
- package/front_end/ui/legacy/UIUtils.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +424 -570
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +2 -27
- package/front_end/ui/visual_logging/KnownContextValues.ts +1 -0
- package/mcp/mcp.ts +1 -0
- package/package.json +2 -1
|
@@ -331,6 +331,15 @@ export class UISourceCodeFrame extends UISourceCodeFrameBase {
|
|
|
331
331
|
private reloadPlugins(): void {
|
|
332
332
|
this.disposePlugins();
|
|
333
333
|
this.loadPlugins();
|
|
334
|
+
if (!this.loaded) {
|
|
335
|
+
// Until the content is loaded the editor still holds the placeholder
|
|
336
|
+
// state, which doesn't contain `pluginCompartment` at all. Reconfiguring
|
|
337
|
+
// a compartment that isn't part of the state is a no-op, so the plugins
|
|
338
|
+
// would end up initialized against a state that can never hold their
|
|
339
|
+
// `StateField`s. `setContent` re-creates and initializes the plugins once
|
|
340
|
+
// the content arrives, so there's nothing to do here.
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
334
343
|
const editor = this.textEditor;
|
|
335
344
|
editor.dispatch({effects: pluginCompartment.reconfigure(this.plugins.map(plugin => plugin.editorExtension()))});
|
|
336
345
|
for (const plugin of this.plugins) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Name: Dependencies sourced from the upstream `chromium` repository
|
|
2
2
|
URL: Internal
|
|
3
3
|
Version: N/A
|
|
4
|
-
Revision:
|
|
4
|
+
Revision: d45ba94c77a2835c4097934e46ff30d9b7615fc0
|
|
5
5
|
Update Mechanism: Manual (https://crbug.com/428069060)
|
|
6
6
|
License: BSD-3-Clause
|
|
7
7
|
License File: LICENSE
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
1
|
// Copyright 2020 The Chromium Authors
|
|
3
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
4
3
|
// found in the LICENSE file.
|
|
@@ -6,100 +5,30 @@
|
|
|
6
5
|
// Note: This is a generated file. Do not edit by hand. Instead, run
|
|
7
6
|
// components/variations/proto/devtools/update_client_variations.py to update.
|
|
8
7
|
|
|
9
|
-
const gen = {};
|
|
10
|
-
|
|
11
8
|
// clang-format off
|
|
12
|
-
(function(){
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
1048575)>>>0;y=4503599627370496*b>>>0}this.A(y);this.A(z)};f.H=function(a){r("boolean"===typeof a||"number"===typeof a);this.g.push(a?1:0)};f.S=function(a){r(a==Math.floor(a));r(-2147483648<=a&&2147483648>a);D(this,a)};f.ja=function(a){this.g.push.apply(this.g,a)};
|
|
38
|
-
f.V=function(a){var b=this.g.length,c=[];"string"!==typeof a&&q("Expected string but got %s: %s.",[h(a),a],void 0,c);for(c=0;c<a.length;c++){var d=a.charCodeAt(c);if(128>d)this.g.push(d);else if(2048>d)this.g.push(d>>6|192),this.g.push(d&63|128);else if(65536>d)if(55296<=d&&56319>=d&&c+1<a.length){var e=a.charCodeAt(c+1);56320<=e&&57343>=e&&(d=1024*(d-55296)+e-56320+65536,this.g.push(d>>18|240),this.g.push(d>>12&63|128),this.g.push(d>>6&63|128),this.g.push(d&63|128),c++)}else this.g.push(d>>12|224),
|
|
39
|
-
this.g.push(d>>6&63|128),this.g.push(d&63|128)}return this.g.length-b};function E(a){this.g=va(a,void 0,void 0);this.D=this.g.g;this.h=this.j=-1;this.o=!1}E.prototype.Ca=function(){return this.j};E.prototype.getFieldNumber=E.prototype.Ca;E.prototype.Z=function(){return 2==this.h};E.prototype.isDelimited=E.prototype.Z;E.prototype.aa=function(){return 4==this.h};E.prototype.isEndGroup=E.prototype.aa;E.prototype.reset=function(){this.g.reset();this.h=this.j=-1};
|
|
40
|
-
E.prototype.M=function(){var a=this.g;if(a.g==a.j)return!1;(a=this.o)||(a=this.g,a=a.D||0>a.g||a.g>a.j);if(a)return t("Decoder hit an error"),!1;this.D=this.g.g;var b=this.g.v();a=b>>>3;b&=7;if(0!=b&&5!=b&&1!=b&&2!=b&&3!=b&&4!=b)return t("Invalid wire type: %s (at position %s)",b,this.D),this.o=!0,!1;this.j=a;this.h=b;return!0};E.prototype.nextField=E.prototype.M;
|
|
41
|
-
function F(a){switch(a.h){case 0:if(0!=a.h)t("Invalid wire type for skipVarintField"),F(a);else{for(a=a.g;a.h[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.h?(t("Invalid wire type for skipFixed64Field"),F(a)):wa(a.g,8);break;case 2:if(2!=a.h)t("Invalid wire type for skipDelimitedField"),F(a);else{var b=a.g.v();wa(a.g,b)}break;case 5:5!=a.h?(t("Invalid wire type for skipFixed32Field"),F(a)):wa(a.g,4);break;case 3:b=a.j;do{if(!a.M()){t("Unmatched start-group tag: stream EOF");a.o=!0;break}if(4==a.h){a.j!=
|
|
42
|
-
b&&(t("Unmatched end-group tag"),a.o=!0);break}F(a)}while(1);break;default:t("Invalid wire encoding for field.")}}E.prototype.Ja=function(a,b){r(2==this.h);var c=this.g.j,d=this.g.v();d=this.g.g+d;this.g.j=d;b(a,this);this.g.g=d;this.g.j=c};E.prototype.readMessage=E.prototype.Ja;E.prototype.Ia=function(a,b,c){r(3==this.h);r(this.j==a);c(b,this);this.o||4==this.h||(t("Group submessage did not end with an END_GROUP tag"),this.o=!0)};E.prototype.readGroup=E.prototype.Ia;
|
|
43
|
-
E.prototype.G=function(){r(0==this.h);return this.g.fa()};E.prototype.readInt32=E.prototype.G;E.prototype.P=function(){r(0==this.h);return this.g.ga()};E.prototype.readInt64=E.prototype.P;E.prototype.u=function(){r(0==this.h);return this.g.v()};E.prototype.readUint32=E.prototype.u;E.prototype.R=function(){r(0==this.h);return this.g.pa()};E.prototype.readUint64=E.prototype.R;E.prototype.Za=function(){r(0==this.h);return this.g.qa()};E.prototype.readSint32=E.prototype.Za;
|
|
44
|
-
E.prototype.$a=function(){r(0==this.h);return this.g.ra()};E.prototype.readSint64=E.prototype.$a;E.prototype.Ga=function(){r(5==this.h);return this.g.u()};E.prototype.readFixed32=E.prototype.Ga;E.prototype.Ha=function(){r(1==this.h);return this.g.R()};E.prototype.readFixed64=E.prototype.Ha;E.prototype.Xa=function(){r(5==this.h);return this.g.G()};E.prototype.readSfixed32=E.prototype.Xa;E.prototype.Ya=function(){r(1==this.h);return this.g.P()};E.prototype.readSfixed64=E.prototype.Ya;
|
|
45
|
-
E.prototype.O=function(){r(5==this.h);return this.g.O()};E.prototype.readFloat=E.prototype.O;E.prototype.N=function(){r(1==this.h);return this.g.N()};E.prototype.readDouble=E.prototype.N;E.prototype.ba=function(){r(0==this.h);return!!this.g.v()};E.prototype.readBool=E.prototype.ba;E.prototype.da=function(){r(0==this.h);return this.g.ga()};E.prototype.readEnum=E.prototype.da;E.prototype.ha=function(){r(2==this.h);var a=this.g.v();return this.g.ha(a)};E.prototype.readString=E.prototype.ha;
|
|
46
|
-
E.prototype.ca=function(){r(2==this.h);var a=this.g.v();return this.g.ca(a)};E.prototype.readBytes=E.prototype.ca;function G(a,b){r(2==a.h);var c=a.g.v();c=a.g.g+c;for(var d=[];a.g.g<c;)d.push(b.call(a.g));return d}E.prototype.ea=function(){return G(this,this.g.fa)};E.prototype.readPackedInt32=E.prototype.ea;E.prototype.Qa=function(){return G(this,this.g.ga)};E.prototype.readPackedInt64=E.prototype.Qa;E.prototype.Va=function(){return G(this,this.g.v)};E.prototype.readPackedUint32=E.prototype.Va;
|
|
47
|
-
E.prototype.Wa=function(){return G(this,this.g.pa)};E.prototype.readPackedUint64=E.prototype.Wa;E.prototype.Ta=function(){return G(this,this.g.qa)};E.prototype.readPackedSint32=E.prototype.Ta;E.prototype.Ua=function(){return G(this,this.g.ra)};E.prototype.readPackedSint64=E.prototype.Ua;E.prototype.Na=function(){return G(this,this.g.u)};E.prototype.readPackedFixed32=E.prototype.Na;E.prototype.Oa=function(){return G(this,this.g.R)};E.prototype.readPackedFixed64=E.prototype.Oa;
|
|
48
|
-
E.prototype.Ra=function(){return G(this,this.g.G)};E.prototype.readPackedSfixed32=E.prototype.Ra;E.prototype.Sa=function(){return G(this,this.g.P)};E.prototype.readPackedSfixed64=E.prototype.Sa;E.prototype.Pa=function(){return G(this,this.g.O)};E.prototype.readPackedFloat=E.prototype.Pa;E.prototype.La=function(){return G(this,this.g.N)};E.prototype.readPackedDouble=E.prototype.La;E.prototype.Ka=function(){return G(this,this.g.ba)};E.prototype.readPackedBool=E.prototype.Ka;
|
|
49
|
-
E.prototype.Ma=function(){return G(this,this.g.da)};E.prototype.readPackedEnum=E.prototype.Ma;function H(){this.j=[];this.h=0;this.g=new ya;this.o=[]}function I(a,b){J(a,b,2);b=a.g.end();a.j.push(b);a.h+=b.length;b.push(a.h);return b}function L(a,b){var c=b.pop();c=a.h+a.g.length()-c;for(r(0<=c);127<c;)b.push(c&127|128),c>>>=7,a.h++;b.push(c);a.h++}H.prototype.reset=function(){this.j=[];this.g.end();this.h=0;this.o=[]};
|
|
50
|
-
H.prototype.oa=function(){r(0==this.o.length);for(var a=new Uint8Array(this.h+this.g.length()),b=this.j,c=b.length,d=0,e=0;e<c;e++){var g=b[e];a.set(g,d);d+=g.length}b=this.g.end();a.set(b,d);d+=b.length;r(d==a.length);this.j=[a];return a};H.prototype.getResultBuffer=H.prototype.oa;function J(a,b,c){r(1<=b&&b==Math.floor(b));C(a.g,8*b+c)}H.prototype.T=function(a,b){null!=b&&(r(-2147483648<=b&&2147483648>b),null!=b&&(J(this,a,0),D(this.g,b)))};H.prototype.writeInt32=H.prototype.T;
|
|
51
|
-
H.prototype.U=function(a,b){null!=b&&(r(-0x7fffffffffffffff<=b&&0x7fffffffffffffff>b),null!=b&&(J(this,a,0),Ca(this.g,b)))};H.prototype.writeInt64=H.prototype.U;H.prototype.A=function(a,b){null!=b&&(r(0<=b&&4294967296>b),null!=b&&(J(this,a,0),C(this.g,b)))};H.prototype.writeUint32=H.prototype.A;H.prototype.W=function(a,b){null!=b&&(r(0<=b&&1.8446744073709552E19>b),null!=b&&(J(this,a,0),Ba(this.g,b)))};H.prototype.writeUint64=H.prototype.W;
|
|
52
|
-
H.prototype.Kb=function(a,b){null!=b&&(r(-2147483648<=b&&2147483648>b),null!=b&&(J(this,a,0),Da(this.g,b)))};H.prototype.writeSint32=H.prototype.Kb;H.prototype.Lb=function(a,b){null!=b&&(r(-0x7fffffffffffffff<=b&&0x7fffffffffffffff>b),null!=b&&(J(this,a,0),Ea(this.g,b)))};H.prototype.writeSint64=H.prototype.Lb;H.prototype.ua=function(a,b){null!=b&&(r(0<=b&&4294967296>b),J(this,a,5),this.g.A(b))};H.prototype.writeFixed32=H.prototype.ua;
|
|
53
|
-
H.prototype.va=function(a,b){null!=b&&(r(0<=b&&1.8446744073709552E19>b),J(this,a,1),this.g.W(b))};H.prototype.writeFixed64=H.prototype.va;H.prototype.wa=function(a,b){null!=b&&(r(-2147483648<=b&&2147483648>b),J(this,a,5),this.g.T(b))};H.prototype.writeSfixed32=H.prototype.wa;H.prototype.xa=function(a,b){null!=b&&(r(-0x7fffffffffffffff<=b&&0x7fffffffffffffff>b),J(this,a,1),this.g.U(b))};H.prototype.writeSfixed64=H.prototype.xa;H.prototype.J=function(a,b){null!=b&&(J(this,a,5),this.g.J(b))};
|
|
54
|
-
H.prototype.writeFloat=H.prototype.J;H.prototype.I=function(a,b){null!=b&&(J(this,a,1),this.g.I(b))};H.prototype.writeDouble=H.prototype.I;H.prototype.H=function(a,b){null!=b&&(r("boolean"===typeof b||"number"===typeof b),J(this,a,0),this.g.H(b))};H.prototype.writeBool=H.prototype.H;H.prototype.S=function(a,b){null!=b&&(r(-2147483648<=b&&2147483648>b),J(this,a,0),D(this.g,b))};H.prototype.writeEnum=H.prototype.S;H.prototype.V=function(a,b){null!=b&&(a=I(this,a),this.g.V(b),L(this,a))};
|
|
55
|
-
H.prototype.writeString=H.prototype.V;H.prototype.ja=function(a,b){null!=b&&(b=ra(b),J(this,a,2),C(this.g,b.length),a=this.g.end(),this.j.push(a),this.j.push(b),this.h+=a.length+b.length)};H.prototype.writeBytes=H.prototype.ja;H.prototype.cb=function(a,b,c){null!=b&&(a=I(this,a),c(b,this),L(this,a))};H.prototype.writeMessage=H.prototype.cb;H.prototype.bb=function(a,b,c){null!=b&&(J(this,a,3),c(b,this),J(this,a,4))};H.prototype.writeGroup=H.prototype.bb;
|
|
56
|
-
H.prototype.ka=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(J(this,a,0),D(this.g,d))}};H.prototype.writeRepeatedInt32=H.prototype.ka;H.prototype.Bb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(J(this,a,0),Ca(this.g,d))}};H.prototype.writeRepeatedInt64=H.prototype.Bb;H.prototype.Ib=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(J(this,a,0),C(this.g,d))}};H.prototype.writeRepeatedUint32=H.prototype.Ib;
|
|
57
|
-
H.prototype.Jb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(J(this,a,0),Ba(this.g,d))}};H.prototype.writeRepeatedUint64=H.prototype.Jb;H.prototype.Fb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(J(this,a,0),Da(this.g,d))}};H.prototype.writeRepeatedSint32=H.prototype.Fb;H.prototype.Gb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];null!=d&&(J(this,a,0),Ea(this.g,d))}};H.prototype.writeRepeatedSint64=H.prototype.Gb;
|
|
58
|
-
H.prototype.wb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.ua(a,b[c])};H.prototype.writeRepeatedFixed32=H.prototype.wb;H.prototype.xb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.va(a,b[c])};H.prototype.writeRepeatedFixed64=H.prototype.xb;
|
|
59
|
-
H.prototype.yb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++){var d=a,e=b[c];if(null!=e){a:{for(var g=new x(0,0),m=new x(0,0),n=0;n<e.length;n++){if("0">e[n]||"9"<e[n]){e=null;break a}m.g=parseInt(e[n],10);var w=ma(g.g);g=ma(g.h);g.h=g.g;g.g=0;g=w.add(g).add(m)}e=g}J(this,d,1);Aa(this.g,e.g,e.h)}}};H.prototype.writeRepeatedFixed64String=H.prototype.yb;H.prototype.Db=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.wa(a,b[c])};H.prototype.writeRepeatedSfixed32=H.prototype.Db;
|
|
60
|
-
H.prototype.Eb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.xa(a,b[c])};H.prototype.writeRepeatedSfixed64=H.prototype.Eb;H.prototype.zb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.J(a,b[c])};H.prototype.writeRepeatedFloat=H.prototype.zb;H.prototype.ub=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.I(a,b[c])};H.prototype.writeRepeatedDouble=H.prototype.ub;H.prototype.sb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.H(a,b[c])};
|
|
61
|
-
H.prototype.writeRepeatedBool=H.prototype.sb;H.prototype.vb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.S(a,b[c])};H.prototype.writeRepeatedEnum=H.prototype.vb;H.prototype.Hb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.V(a,b[c])};H.prototype.writeRepeatedString=H.prototype.Hb;H.prototype.tb=function(a,b){if(null!=b)for(var c=0;c<b.length;c++)this.ja(a,b[c])};H.prototype.writeRepeatedBytes=H.prototype.tb;
|
|
62
|
-
H.prototype.Cb=function(a,b,c){if(null!=b)for(var d=0;d<b.length;d++){var e=I(this,a);c(b[d],this);L(this,e)}};H.prototype.writeRepeatedMessage=H.prototype.Cb;H.prototype.Ab=function(a,b,c){if(null!=b)for(var d=0;d<b.length;d++)J(this,a,3),c(b[d],this),J(this,a,4)};H.prototype.writeRepeatedGroup=H.prototype.Ab;H.prototype.kb=function(a,b){if(null!=b&&b.length){a=I(this,a);for(var c=0;c<b.length;c++)D(this.g,b[c]);L(this,a)}};H.prototype.writePackedInt32=H.prototype.kb;
|
|
63
|
-
H.prototype.lb=function(a,b){if(null!=b&&b.length){a=I(this,a);for(var c=0;c<b.length;c++)Ca(this.g,b[c]);L(this,a)}};H.prototype.writePackedInt64=H.prototype.lb;H.prototype.qb=function(a,b){if(null!=b&&b.length){a=I(this,a);for(var c=0;c<b.length;c++)C(this.g,b[c]);L(this,a)}};H.prototype.writePackedUint32=H.prototype.qb;H.prototype.rb=function(a,b){if(null!=b&&b.length){a=I(this,a);for(var c=0;c<b.length;c++)Ba(this.g,b[c]);L(this,a)}};H.prototype.writePackedUint64=H.prototype.rb;
|
|
64
|
-
H.prototype.ob=function(a,b){if(null!=b&&b.length){a=I(this,a);for(var c=0;c<b.length;c++)Da(this.g,b[c]);L(this,a)}};H.prototype.writePackedSint32=H.prototype.ob;H.prototype.pb=function(a,b){if(null!=b&&b.length){a=I(this,a);for(var c=0;c<b.length;c++)Ea(this.g,b[c]);L(this,a)}};H.prototype.writePackedSint64=H.prototype.pb;H.prototype.hb=function(a,b){if(null!=b&&b.length)for(J(this,a,2),C(this.g,4*b.length),a=0;a<b.length;a++)this.g.A(b[a])};H.prototype.writePackedFixed32=H.prototype.hb;
|
|
65
|
-
H.prototype.ib=function(a,b){if(null!=b&&b.length)for(J(this,a,2),C(this.g,8*b.length),a=0;a<b.length;a++)this.g.W(b[a])};H.prototype.writePackedFixed64=H.prototype.ib;H.prototype.mb=function(a,b){if(null!=b&&b.length)for(J(this,a,2),C(this.g,4*b.length),a=0;a<b.length;a++)this.g.T(b[a])};H.prototype.writePackedSfixed32=H.prototype.mb;H.prototype.nb=function(a,b){if(null!=b&&b.length)for(J(this,a,2),C(this.g,8*b.length),a=0;a<b.length;a++)this.g.U(b[a])};H.prototype.writePackedSfixed64=H.prototype.nb;
|
|
66
|
-
H.prototype.jb=function(a,b){if(null!=b&&b.length)for(J(this,a,2),C(this.g,4*b.length),a=0;a<b.length;a++)this.g.J(b[a])};H.prototype.writePackedFloat=H.prototype.jb;H.prototype.fb=function(a,b){if(null!=b&&b.length)for(J(this,a,2),C(this.g,8*b.length),a=0;a<b.length;a++)this.g.I(b[a])};H.prototype.writePackedDouble=H.prototype.fb;H.prototype.eb=function(a,b){if(null!=b&&b.length)for(J(this,a,2),C(this.g,b.length),a=0;a<b.length;a++)this.g.H(b[a])};H.prototype.writePackedBool=H.prototype.eb;
|
|
67
|
-
H.prototype.gb=function(a,b){if(null!=b&&b.length){a=I(this,a);for(var c=0;c<b.length;c++)this.g.S(b[c]);L(this,a)}};H.prototype.writePackedEnum=H.prototype.gb;function M(a,b){this.j=a;this.h=b;this.g={};this.arrClean=!0;if(0<this.j.length){for(a=0;a<this.j.length;a++){b=this.j[a];var c=b[0];this.g[c.toString()]=new Fa(c,b[1])}this.arrClean=!0}}k("jspb.Map",M);M.prototype.l=function(){if(this.arrClean){if(this.h){var a=this.g,b;for(b in a)if(Object.prototype.hasOwnProperty.call(a,b)){var c=a[b].g;c&&c.l()}}}else{this.j.length=0;a=N(this);a.sort();for(b=0;b<a.length;b++){var d=this.g[a[b]];(c=d.g)&&c.l();this.j.push([d.key,d.value])}this.arrClean=!0}return this.j};
|
|
68
|
-
M.prototype.toArray=M.prototype.l;M.prototype.ta=function(a,b){for(var c=this.l(),d=[],e=0;e<c.length;e++){var g=this.g[c[e][0].toString()];O(this,g);var m=g.g;m?(r(b),d.push([g.key,b(a,m)])):d.push([g.key,g.value])}return d};M.prototype.toObject=M.prototype.ta;M.fromObject=function(a,b,c){b=new M([],b);for(var d=0;d<a.length;d++){var e=a[d][0],g=c(a[d][1]);b.set(e,g)}return b};function P(a){this.h=0;this.g=a}
|
|
69
|
-
P.prototype.next=function(){return this.h<this.g.length?{done:!1,value:this.g[this.h++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&(P.prototype[Symbol.iterator]=function(){return this});M.prototype.Ea=function(){return N(this).length};M.prototype.getLength=M.prototype.Ea;M.prototype.clear=function(){this.g={};this.arrClean=!1};M.prototype.clear=M.prototype.clear;M.prototype.Aa=function(a){a=a.toString();var b=this.g.hasOwnProperty(a);delete this.g[a];this.arrClean=!1;return b};
|
|
70
|
-
M.prototype.del=M.prototype.Aa;M.prototype.Ba=function(){var a=[],b=N(this);b.sort();for(var c=0;c<b.length;c++){var d=this.g[b[c]];a.push([d.key,d.value])}return a};M.prototype.getEntryList=M.prototype.Ba;M.prototype.entries=function(){var a=[],b=N(this);b.sort();for(var c=0;c<b.length;c++){var d=this.g[b[c]];a.push([d.key,O(this,d)])}return new P(a)};M.prototype.entries=M.prototype.entries;
|
|
71
|
-
M.prototype.keys=function(){var a=[],b=N(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.g[b[c]].key);return new P(a)};M.prototype.keys=M.prototype.keys;M.prototype.values=function(){var a=[],b=N(this);b.sort();for(var c=0;c<b.length;c++)a.push(O(this,this.g[b[c]]));return new P(a)};M.prototype.values=M.prototype.values;M.prototype.forEach=function(a,b){var c=N(this);c.sort();for(var d=0;d<c.length;d++){var e=this.g[c[d]];a.call(b,O(this,e),e.key,this)}};M.prototype.forEach=M.prototype.forEach;
|
|
72
|
-
M.prototype.set=function(a,b){var c=new Fa(a);this.h?(c.g=b,c.value=b.l()):c.value=b;this.g[a.toString()]=c;this.arrClean=!1;return this};M.prototype.set=M.prototype.set;function O(a,b){return a.h?(b.g||(b.g=new a.h(b.value)),b.g):b.value}M.prototype.get=function(a){if(a=this.g[a.toString()])return O(this,a)};M.prototype.get=M.prototype.get;M.prototype.has=function(a){return a.toString()in this.g};M.prototype.has=M.prototype.has;
|
|
73
|
-
M.prototype.sa=function(a,b,c,d,e){var g=N(this);g.sort();for(var m=0;m<g.length;m++){var n=this.g[g[m]];b.o.push(I(b,a));c.call(b,1,n.key);this.h?d.call(b,2,O(this,n),e):d.call(b,2,n.value);n=b;r(0<=n.o.length);L(n,n.o.pop())}};M.prototype.serializeBinary=M.prototype.sa;M.deserializeBinary=function(a,b,c,d,e,g,m){for(;b.M()&&!b.aa();){var n=b.j;1==n?g=c.call(b):2==n&&(a.h?(r(e),m||(m=new a.h),d.call(b,m,e)):m=d.call(b))}r(void 0!=g);r(void 0!=m);a.set(g,m)};
|
|
74
|
-
function N(a){a=a.g;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b}function Fa(a,b){this.key=a;this.value=b;this.g=void 0};function Q(a,b,c,d,e){this.K=a;this.na=b;this.ctor=c;this.ia=d;this.L=e}k("jspb.ExtensionFieldInfo",Q);k("jspb.ExtensionFieldBinaryInfo",function(a,b,c,d,e,g){this.ma=a;this.X=b;this.Y=c;this.la=d;this.ya=e;this.Fa=g});Q.prototype.C=function(){return!!this.ctor};Q.prototype.isMessageType=Q.prototype.C;function v(){}k("jspb.Message",v);v.GENERATE_TO_OBJECT=!0;v.GENERATE_FROM_OBJECT=!0;var R="function"==typeof Uint8Array;v.prototype.Da=function(){return this.h};v.prototype.getJsPbMessageId=v.prototype.Da;
|
|
75
|
-
function Ga(a,b,c,d,e,g){a.i=null;b||(b=c?[c]:[]);a.h=c?String(c):void 0;a.B=0===c?-1:0;a.s=b;a:{c=a.s.length;b=-1;if(c&&(b=c-1,c=a.s[b],!(null===c||"object"!=typeof c||Array.isArray(c)||R&&c instanceof Uint8Array))){a.F=b-a.B;a.m=c;break a}-1<d?(a.F=Math.max(d,b+1-a.B),a.m=null):a.F=Number.MAX_VALUE}a.g={};if(e)for(d=0;d<e.length;d++)b=e[d],b<a.F?(b+=a.B,a.s[b]=a.s[b]||S):(T(a),a.m[b]=a.m[b]||S);if(g&&g.length)for(d=0;d<g.length;d++)Ha(a,g[d])}v.initialize=Ga;
|
|
76
|
-
var S=Object.freeze?Object.freeze([]):[];function T(a){var b=a.F+a.B;a.s[b]||(a.m=a.s[b]={})}function Ia(a,b,c){for(var d=[],e=0;e<a.length;e++)d[e]=b.call(a[e],c,a[e]);return d}v.toObjectList=Ia;v.toObjectExtension=function(a,b,c,d,e){for(var g in c){var m=c[g],n=d.call(a,m);if(null!=n){for(var w in m.na)if(m.na.hasOwnProperty(w))break;b[w]=m.ia?m.L?Ia(n,m.ia,e):m.ia(e,n):n}}};
|
|
77
|
-
v.serializeBinaryExtensions=function(a,b,c,d){for(var e in c){var g=c[e],m=g.ma;if(!g.Y)throw Error("Message extension present that was generated without binary serialization support");var n=d.call(a,m);if(null!=n)if(m.C())if(g.la)g.Y.call(b,m.K,n,g.la);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else g.Y.call(b,m.K,n)}};
|
|
78
|
-
v.readBinaryExtension=function(a,b,c,d,e){var g=c[b.j];if(g){c=g.ma;if(!g.X)throw Error("Deserializing extension whose generated code does not support binary format");if(c.C()){var m=new c.ctor;g.X.call(b,m,g.ya)}else m=g.X.call(b);c.L&&!g.Fa?(b=d.call(a,c))?b.push(m):e.call(a,c,[m]):e.call(a,c,m)}else F(b)};function U(a,b){if(b<a.F){b+=a.B;var c=a.s[b];return c===S?a.s[b]=[]:c}if(a.m)return c=a.m[b],c===S?a.m[b]=[]:c}v.getField=U;v.getRepeatedField=function(a,b){return U(a,b)};
|
|
79
|
-
function Ja(a,b){a=U(a,b);return null==a?a:+a}v.getOptionalFloatingPointField=Ja;function Ka(a,b){a=U(a,b);return null==a?a:!!a}v.getBooleanField=Ka;v.getRepeatedFloatingPointField=function(a,b){var c=U(a,b);a.g||(a.g={});if(!a.g[b]){for(var d=0;d<c.length;d++)c[d]=+c[d];a.g[b]=!0}return c};v.getRepeatedBooleanField=function(a,b){var c=U(a,b);a.g||(a.g={});if(!a.g[b]){for(var d=0;d<c.length;d++)c[d]=!!c[d];a.g[b]=!0}return c};
|
|
80
|
-
function La(a){if(null==a||"string"===typeof a)return a;if(R&&a instanceof Uint8Array){var b;void 0===b&&(b=0);ia();b=ea[b];const m=Array(Math.floor(a.length/3)),n=b[64]||"";let w=0,K=0;for(;w<a.length-2;w+=3){var c=a[w],d=a[w+1],e=a[w+2],g=b[c>>2];c=b[(c&3)<<4|d>>4];d=b[(d&15)<<2|e>>6];e=b[e&63];m[K++]=g+c+d+e}g=0;e=n;switch(a.length-w){case 2:g=a[w+1],e=b[(g&15)<<2]||n;case 1:a=a[w],m[K]=b[a>>2]+b[(a&3)<<4|g>>4]+e+n}return m.join("")}t("Cannot coerce to b64 string: "+h(a));return null}
|
|
81
|
-
v.bytesAsB64=La;function Ma(a){if(null==a||a instanceof Uint8Array)return a;if("string"===typeof a)return fa(a);t("Cannot coerce to Uint8Array: "+h(a));return null}v.bytesAsU8=Ma;v.bytesListAsB64=function(a){Na(a);return a.length&&"string"!==typeof a[0]?l(a,La):a};v.bytesListAsU8=function(a){Na(a);return!a.length||a[0]instanceof Uint8Array?a:l(a,Ma)};
|
|
82
|
-
function Na(a){if(a&&1<a.length){var b=h(a[0]);da(a,function(c){h(c)!=b&&t("Inconsistent type in JSPB repeated field array. Got "+h(c)+" expected "+b)})}}function Oa(a,b,c){a=U(a,b);return null==a?c:a}v.getFieldWithDefault=Oa;v.getBooleanFieldWithDefault=function(a,b,c){a=Ka(a,b);return null==a?c:a};v.getFloatingPointFieldWithDefault=function(a,b,c){a=Ja(a,b);return null==a?c:a};v.getFieldProto3=Oa;
|
|
83
|
-
v.getMapField=function(a,b,c,d){a.i||(a.i={});if(b in a.i)return a.i[b];var e=U(a,b);if(!e){if(c)return;e=[];V(a,b,e)}return a.i[b]=new M(e,d)};function V(a,b,c){u(a);b<a.F?a.s[b+a.B]=c:(T(a),a.m[b]=c);return a}v.setField=V;v.setProto3IntField=function(a,b,c){return W(a,b,c,0)};v.setProto3FloatField=function(a,b,c){return W(a,b,c,0)};v.setProto3BooleanField=function(a,b,c){return W(a,b,c,!1)};v.setProto3StringField=function(a,b,c){return W(a,b,c,"")};
|
|
84
|
-
v.setProto3BytesField=function(a,b,c){return W(a,b,c,"")};v.setProto3EnumField=function(a,b,c){return W(a,b,c,0)};v.setProto3StringIntField=function(a,b,c){return W(a,b,c,"0")};function W(a,b,c,d){u(a);c!==d?V(a,b,c):b<a.F?a.s[b+a.B]=null:(T(a),delete a.m[b]);return a}function Pa(a,b,c,d){u(a);b=U(a,b);void 0!=d?b.splice(d,0,c):b.push(c);return a}v.addToRepeatedField=Pa;function Qa(a,b,c,d){u(a);(c=Ha(a,c))&&c!==b&&void 0!==d&&(a.i&&c in a.i&&(a.i[c]=void 0),V(a,c,void 0));return V(a,b,d)}
|
|
85
|
-
v.setOneofField=Qa;function Ha(a,b){for(var c,d,e=0;e<b.length;e++){var g=b[e],m=U(a,g);null!=m&&(c=g,d=m,V(a,g,void 0))}return c?(V(a,c,d),c):0}v.computeOneofCase=Ha;v.getWrapperField=function(a,b,c,d){a.i||(a.i={});if(!a.i[c]){var e=U(a,c);if(d||e)a.i[c]=new b(e)}return a.i[c]};v.getRepeatedWrapperField=function(a,b,c){Ra(a,b,c);b=a.i[c];b==S&&(b=a.i[c]=[]);return b};function Ra(a,b,c){a.i||(a.i={});if(!a.i[c]){for(var d=U(a,c),e=[],g=0;g<d.length;g++)e[g]=new b(d[g]);a.i[c]=e}}
|
|
86
|
-
v.setWrapperField=function(a,b,c){u(a);a.i||(a.i={});var d=c?c.l():c;a.i[b]=c;return V(a,b,d)};v.setOneofWrapperField=function(a,b,c,d){u(a);a.i||(a.i={});var e=d?d.l():d;a.i[b]=d;return Qa(a,b,c,e)};v.setRepeatedWrapperField=function(a,b,c){u(a);a.i||(a.i={});c=c||[];for(var d=[],e=0;e<c.length;e++)d[e]=c[e].l();a.i[b]=c;return V(a,b,d)};
|
|
87
|
-
v.addToRepeatedWrapperField=function(a,b,c,d,e){Ra(a,d,b);var g=a.i[b];g||(g=a.i[b]=[]);c=c?c:new d;a=U(a,b);void 0!=e?(g.splice(e,0,c),a.splice(e,0,c.l())):(g.push(c),a.push(c.l()));return c};v.toMap=function(a,b,c,d){for(var e={},g=0;g<a.length;g++)e[b.call(a[g])]=c?c.call(a[g],d,a[g]):a[g];return e};function Sa(a){if(a.i)for(var b in a.i){var c=a.i[b];if(Array.isArray(c))for(var d=0;d<c.length;d++)c[d]&&c[d].l();else c&&c.l()}}v.prototype.l=function(){Sa(this);return this.s};
|
|
88
|
-
v.prototype.toArray=v.prototype.l;v.prototype.toString=function(){Sa(this);return this.s.toString()};v.prototype.getExtension=function(a){if(this.m){this.i||(this.i={});var b=a.K;if(a.L){if(a.C())return this.i[b]||(this.i[b]=l(this.m[b]||[],function(c){return new a.ctor(c)})),this.i[b]}else if(a.C())return!this.i[b]&&this.m[b]&&(this.i[b]=new a.ctor(this.m[b])),this.i[b];return this.m[b]}};v.prototype.getExtension=v.prototype.getExtension;
|
|
89
|
-
v.prototype.ab=function(a,b){this.i||(this.i={});T(this);var c=a.K;a.L?(b=b||[],a.C()?(this.i[c]=b,this.m[c]=l(b,function(d){return d.l()})):this.m[c]=b):a.C()?(this.i[c]=b,this.m[c]=b?b.l():b):this.m[c]=b;return this};v.prototype.setExtension=v.prototype.ab;v.difference=function(a,b){if(!(a instanceof b.constructor))throw Error("Messages have different types.");var c=a.l();b=b.l();var d=[],e=0,g=c.length>b.length?c.length:b.length;a.h&&(d[0]=a.h,e=1);for(;e<g;e++)X(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};
|
|
90
|
-
v.equals=function(a,b){return a==b||!(!a||!b)&&a instanceof b.constructor&&X(a.l(),b.l())};function Ta(a,b){a=a||{};b=b||{};var c={},d;for(d in a)c[d]=0;for(d in b)c[d]=0;for(d in c)if(!X(a[d],b[d]))return!1;return!0}v.compareExtensions=Ta;
|
|
91
|
-
function X(a,b){if(a==b)return!0;if(!ba(a)||!ba(b))return"number"===typeof a&&isNaN(a)||"number"===typeof b&&isNaN(b)?String(a)==String(b):!1;if(a.constructor!=b.constructor)return!1;if(R&&a.constructor===Uint8Array){if(a.length!=b.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!=b[c])return!1;return!0}if(a.constructor===Array){var d=void 0,e=void 0,g=Math.max(a.length,b.length);for(c=0;c<g;c++){var m=a[c],n=b[c];m&&m.constructor==Object&&(r(void 0===d),r(c===a.length-1),d=m,m=void 0);n&&n.constructor==
|
|
92
|
-
Object&&(r(void 0===e),r(c===b.length-1),e=n,n=void 0);if(!X(m,n))return!1}return d||e?(d=d||{},e=e||{},Ta(d,e)):!0}if(a.constructor===Object)return Ta(a,b);throw Error("Invalid type in JSPB array");}v.compareFields=X;v.prototype.za=function(){return Y(this)};v.prototype.cloneMessage=v.prototype.za;v.prototype.clone=function(){return Y(this)};v.prototype.clone=v.prototype.clone;v.clone=function(a){return Y(a)};function Y(a){return new a.constructor(Ua(a.l()))}
|
|
93
|
-
v.copyInto=function(a,b){u(a);u(b);r(a.constructor==b.constructor,"Copy source and target message should have the same type.");a=Y(a);for(var c=b.l(),d=a.l(),e=c.length=0;e<d.length;e++)c[e]=d[e];b.i=a.i;b.m=a.m};function Ua(a){if(Array.isArray(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?Ua(r(d)):d)}return b}if(R&&a instanceof Uint8Array)return new Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?Ua(r(d)):d);return b}
|
|
94
|
-
v.registerMessageType=function(a,b){b.Nb=a};function Z(a){Ga(this,a,0,-1,Va,null)}ca(Z,v);var Va=[1,3];Z.prototype.ta=function(a){var b,c={Qb:null==(b=U(this,1))?void 0:b,Pb:null==(b=U(this,3))?void 0:b};a&&(c.Mb=this);return c};function Wa(a){a=new E(a);for(var b=new Z;a.M()&&!a.aa();)switch(a.j){case 1:for(var c=a.Z()?a.ea():[a.G()],d=0;d<c.length;d++)Pa(b,1,c[d],void 0);break;case 3:c=a.Z()?a.ea():[a.G()];for(d=0;d<c.length;d++)Pa(b,3,c[d],void 0);break;default:F(a)}return b}
|
|
95
|
-
Z.prototype.sa=function(){var a=new H;var b=U(this,1);0<b.length&&a.ka(1,b);b=U(this,3);0<b.length&&a.ka(3,b);return a.oa()};k("parseClientVariations",function(a){var b="";try{b=atob(a)}catch(c){}a=[];for(let c=0;c<b.length;c++)a.push(b.charCodeAt(c));b=null;try{b=Wa(a)}catch(c){b=Wa([])}return{variationIds:U(b,1),triggerVariationIds:U(b,3)}});
|
|
96
|
-
k("formatClientVariations",function(a,b="Active Google-visible variation IDs on this client. These are reported for analysis, but do not directly affect any server-side behavior.",c="Active Google-visible variation IDs on this client that trigger server-side behavior. These are reported for analysis *and* directly affect server-side behavior."){const d=a.variationIds;a=a.triggerVariationIds;const e=["message ClientVariations {"];d.length&&e.push(` // ${b}`,` repeated int32 variation_id = [${d.join(", ")}];`);
|
|
97
|
-
a.length&&e.push(` // ${c}`,` repeated int32 trigger_variation_id = [${a.join(", ")}];`);e.push("}");return e.join("\n")});}).call(gen);
|
|
9
|
+
function t(){let t=0,i=0;for(let r=0;r<28;r+=7){let n=this.buf[this.pos++];if(t|=(127&n)<<r,!(128&n))return this.assertBounds(),[t,i]}let r=this.buf[this.pos++];if(t|=(15&r)<<28,i=(112&r)>>4,!(128&r))return this.assertBounds(),[t,i];for(let r=3;r<=31;r+=7){let n=this.buf[this.pos++];if(i|=(127&n)<<r,!(128&n))return this.assertBounds(),[t,i]}throw new Error("invalid varint")}function i(t,i,r){for(let n=0;n<28;n+=7){const e=t>>>n,s=!(e>>>7==0&&0==i),o=255&(s?128|e:e);if(r.push(o),!s)return}
|
|
10
|
+
const n=t>>>28&15|(7&i)<<4,e=!!(i>>3);if(r.push(255&(e?128|n:n)),e){for(let t=3;t<31;t+=7){const n=i>>>t,e=!(n>>>7==0),s=255&(e?128|n:n);if(r.push(s),!e)return}r.push(i>>>31&1)}}const r=4294967296;function n(t){const i="-"===t[0];i&&(t=t.slice(1));const n=1e6;let e=0,a=0;function u(i,s){const o=Number(t.slice(i,s));a*=n,e=e*n+o,e>=r&&(a+=e/r|0,e%=r)}return u(-24,-18),u(-18,-12),u(-12,-6),u(-6),i?o(e,a):s(e,a)}function e(t,i){if(({lo:t,hi:i}=function(t,i){return{lo:t>>>0,hi:i>>>0}}(t,i)),
|
|
11
|
+
i<=2097151)return String(r*i+t);const n=16777215&(t>>>24|i<<8),e=i>>16&65535;let s=(16777215&t)+6777216*n+6710656*e,o=n+8147497*e,u=2*e;const h=1e7;return s>=h&&(o+=Math.floor(s/h),s%=h),o>=h&&(u+=Math.floor(o/h),o%=h),u.toString()+a(o)+a(s)}function s(t,i){return{lo:0|t,hi:0|i}}function o(t,i){return i=~i,t?t=1+~t:i+=1,s(t,i)}const a=t=>{const i=String(t);return"0000000".slice(i.length)+i};function u(t,i){if(t>=0){for(;t>127;)i.push(127&t|128),t>>>=7;i.push(t)}else{
|
|
12
|
+
for(let r=0;r<9;r++)i.push(127&t|128),t>>=7;i.push(1)}}function h(){let t=this.buf[this.pos++],i=127&t;if(!(128&t))return this.assertBounds(),i;if(t=this.buf[this.pos++],i|=(127&t)<<7,!(128&t))return this.assertBounds(),i;if(t=this.buf[this.pos++],i|=(127&t)<<14,!(128&t))return this.assertBounds(),i;if(t=this.buf[this.pos++],i|=(127&t)<<21,!(128&t))return this.assertBounds(),i;t=this.buf[this.pos++],i|=(15&t)<<28;for(let i=5;128&t&&i<10;i++)t=this.buf[this.pos++]
|
|
13
|
+
;if(128&t)throw new Error("invalid varint");return this.assertBounds(),i>>>0}const f=c();function c(){const t=new DataView(new ArrayBuffer(8));if("function"==typeof BigInt&&"function"==typeof t.getBigInt64&&"function"==typeof t.getBigUint64&&"function"==typeof t.setBigInt64&&"function"==typeof t.setBigUint64&&("object"!=typeof process||"object"!=typeof process.env||"1"!==process.env.BUF_BIGINT_DISABLE)){
|
|
14
|
+
const i=BigInt("-9223372036854775808"),r=BigInt("9223372036854775807"),n=BigInt("0"),e=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(t){const n="bigint"==typeof t?t:BigInt(t);if(n>r||n<i)throw new Error(`invalid int64: ${t}`);return n},uParse(t){const i="bigint"==typeof t?t:BigInt(t);if(i>e||i<n)throw new Error(`invalid uint64: ${t}`);return i},enc(i){return t.setBigInt64(0,this.parse(i),!0),{lo:t.getInt32(0,!0),hi:t.getInt32(4,!0)}},uEnc(i){
|
|
15
|
+
return t.setBigInt64(0,this.uParse(i),!0),{lo:t.getInt32(0,!0),hi:t.getInt32(4,!0)}},dec:(i,r)=>(t.setInt32(0,i,!0),t.setInt32(4,r,!0),t.getBigInt64(0,!0)),uDec:(i,r)=>(t.setInt32(0,i,!0),t.setInt32(4,r,!0),t.getBigUint64(0,!0))}}return{zero:"0",supported:!1,parse:t=>("string"!=typeof t&&(t=t.toString()),l(t),t),uParse:t=>("string"!=typeof t&&(t=t.toString()),d(t),t),enc:t=>("string"!=typeof t&&(t=t.toString()),l(t),n(t)),uEnc:t=>("string"!=typeof t&&(t=t.toString()),d(t),n(t)),
|
|
16
|
+
dec:(t,i)=>function(t,i){let r=s(t,i);const n=2147483648&r.hi;n&&(r=o(r.lo,r.hi));const a=e(r.lo,r.hi);return n?"-"+a:a}(t,i),uDec:(t,i)=>e(t,i)}}function l(t){if(!/^-?[0-9]+$/.test(t))throw new Error("invalid int64: "+t)}function d(t){if(!/^[0-9]+$/.test(t))throw new Error("invalid uint64: "+t)}const g=Symbol.for("@bufbuild/protobuf/text-encoding");function p(){if(null==globalThis[g]){const t=new globalThis.TextEncoder,i=new globalThis.TextDecoder;globalThis[g]={encodeUtf8:i=>t.encode(i),
|
|
17
|
+
decodeUtf8:t=>i.decode(t),checkUtf8(t){try{return encodeURIComponent(t),!0}catch(t){return!1}}}}return globalThis[g]}var I;!function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"}(I||(I={}));const b=34028234663852886e22,w=-34028234663852886e22;class v{constructor(t=p().encodeUtf8){this.encodeUtf8=t,this.stack=[],this.chunks=[],this.buf=[]}finish(){
|
|
18
|
+
this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]);let t=0;for(let i=0;i<this.chunks.length;i++)t+=this.chunks[i].length;let i=new Uint8Array(t),r=0;for(let t=0;t<this.chunks.length;t++)i.set(this.chunks[t],r),r+=this.chunks[t].length;return this.chunks=[],i}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let t=this.finish(),i=this.stack.pop();if(!i)throw new Error("invalid state, fork stack empty")
|
|
19
|
+
;return this.chunks=i.chunks,this.buf=i.buf,this.uint32(t.byteLength),this.raw(t)}tag(t,i){return this.uint32((t<<3|i)>>>0)}raw(t){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(t),this}uint32(t){for(E(t);t>127;)this.buf.push(127&t|128),t>>>=7;return this.buf.push(t),this}int32(t){return B(t),u(t,this.buf),this}bool(t){return this.buf.push(t?1:0),this}bytes(t){return this.uint32(t.byteLength),this.raw(t)}string(t){let i=this.encodeUtf8(t)
|
|
20
|
+
;return this.uint32(i.byteLength),this.raw(i)}float(t){!function(t){if("string"==typeof t){const i=t;if(t=Number(t),isNaN(t)&&"NaN"!==i)throw new Error("invalid float32: "+i)}else if("number"!=typeof t)throw new Error("invalid float32: "+typeof t);if(Number.isFinite(t)&&(t>b||t<w))throw new Error("invalid float32: "+t)}(t);let i=new Uint8Array(4);return new DataView(i.buffer).setFloat32(0,t,!0),this.raw(i)}double(t){let i=new Uint8Array(8);return new DataView(i.buffer).setFloat64(0,t,!0),
|
|
21
|
+
this.raw(i)}fixed32(t){E(t);let i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,t,!0),this.raw(i)}sfixed32(t){B(t);let i=new Uint8Array(4);return new DataView(i.buffer).setInt32(0,t,!0),this.raw(i)}sint32(t){return B(t),u(t=(t<<1^t>>31)>>>0,this.buf),this}sfixed64(t){let i=new Uint8Array(8),r=new DataView(i.buffer),n=f.enc(t);return r.setInt32(0,n.lo,!0),r.setInt32(4,n.hi,!0),this.raw(i)}fixed64(t){let i=new Uint8Array(8),r=new DataView(i.buffer),n=f.uEnc(t)
|
|
22
|
+
;return r.setInt32(0,n.lo,!0),r.setInt32(4,n.hi,!0),this.raw(i)}int64(t){let r=f.enc(t);return i(r.lo,r.hi,this.buf),this}sint64(t){let r=f.enc(t),n=r.hi>>31;return i(r.lo<<1^n,(r.hi<<1|r.lo>>>31)^n,this.buf),this}uint64(t){let r=f.uEnc(t);return i(r.lo,r.hi,this.buf),this}}class y{constructor(i,r=p().decodeUtf8){this.decodeUtf8=r,this.varint64=t,this.uint32=h,this.buf=i,this.len=i.length,this.pos=0,this.view=new DataView(i.buffer,i.byteOffset,i.byteLength)}tag(){
|
|
23
|
+
let t=this.uint32(),i=t>>>3,r=7&t;if(i<=0||r<0||r>5)throw new Error("illegal tag: field no "+i+" wire type "+r);return[i,r]}skip(t,i){let r=this.pos;switch(t){case I.Varint:for(;128&this.buf[this.pos++];);break;case I.Bit64:this.pos+=4;case I.Bit32:this.pos+=4;break;case I.LengthDelimited:let r=this.uint32();this.pos+=r;break;case I.StartGroup:for(;;){const[t,r]=this.tag();if(r===I.EndGroup){if(void 0!==i&&t!==i)throw new Error("invalid end group tag");break}this.skip(r,t)}break;default:
|
|
24
|
+
throw new Error("cant skip wire type "+t)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return 0|this.uint32()}sint32(){let t=this.uint32();return t>>>1^-(1&t)}int64(){return f.dec(...this.varint64())}uint64(){return f.uDec(...this.varint64())}sint64(){let[t,i]=this.varint64(),r=-(1&t);return t=(t>>>1|(1&i)<<31)^r,i=i>>>1^r,f.dec(t,i)}bool(){let[t,i]=this.varint64();return 0!==t||0!==i}fixed32(){
|
|
25
|
+
return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return f.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return f.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let t=this.uint32(),i=this.pos;return this.pos+=t,this.assertBounds(),this.buf.subarray(i,i+t)}string(){return this.decodeUtf8(this.bytes())}}function B(t){
|
|
26
|
+
if("string"==typeof t)t=Number(t);else if("number"!=typeof t)throw new Error("invalid int32: "+typeof t);if(!Number.isInteger(t)||t>2147483647||t<-2147483648)throw new Error("invalid int32: "+t)}function E(t){if("string"==typeof t)t=Number(t);else if("number"!=typeof t)throw new Error("invalid uint32: "+typeof t);if(!Number.isInteger(t)||t>4294967295||t<0)throw new Error("invalid uint32: "+t)}var k;!function(t){t[t.DOUBLE=1]="DOUBLE",t[t.FLOAT=2]="FLOAT",t[t.INT64=3]="INT64",
|
|
27
|
+
t[t.UINT64=4]="UINT64",t[t.INT32=5]="INT32",t[t.FIXED64=6]="FIXED64",t[t.FIXED32=7]="FIXED32",t[t.BOOL=8]="BOOL",t[t.STRING=9]="STRING",t[t.BYTES=12]="BYTES",t[t.UINT32=13]="UINT32",t[t.SFIXED32=15]="SFIXED32",t[t.SFIXED64=16]="SFIXED64",t[t.SINT32=17]="SINT32",t[t.SINT64=18]="SINT64"}(k||(k={}));const V={encode(t,i=new v){if(void 0!==t.variationId&&0!==t.variationId.length)for(const r of t.variationId)i.uint32(8).int32(r)
|
|
28
|
+
;if(void 0!==t.triggerVariationId&&0!==t.triggerVariationId.length)for(const r of t.triggerVariationId)i.uint32(24).int32(r);return i},decode(t,i){const r=t instanceof y?t:new y(t),n=void 0===i?r.len:r.pos+i,e={variationId:[],triggerVariationId:[]};for(;r.pos<n;){const t=r.uint32();switch(t>>>3){case 1:if(8===t){e.variationId.push(r.int32());continue}if(10===t){const t=r.uint32()+r.pos;for(;r.pos<t;)e.variationId.push(r.int32());continue}break;case 3:if(24===t){
|
|
29
|
+
e.triggerVariationId.push(r.int32());continue}if(26===t){const t=r.uint32()+r.pos;for(;r.pos<t;)e.triggerVariationId.push(r.int32());continue}}if(4==(7&t)||0===t)break;r.skip(7&t)}return e},fromJSON:t=>({variationId:globalThis.Array.isArray(t?.variationId)?t.variationId.map((t=>globalThis.Number(t))):[],triggerVariationId:globalThis.Array.isArray(t?.triggerVariationId)?t.triggerVariationId.map((t=>globalThis.Number(t))):[]}),toJSON(t){const i={}
|
|
30
|
+
;return t.variationId?.length&&(i.variationId=t.variationId.map((t=>Math.round(t)))),t.triggerVariationId?.length&&(i.triggerVariationId=t.triggerVariationId.map((t=>Math.round(t)))),i},create:t=>V.fromPartial(t??{}),fromPartial(t){const i={variationId:[],triggerVariationId:[]};return i.variationId=t.variationId?.map((t=>t))||[],i.triggerVariationId=t.triggerVariationId?.map((t=>t))||[],i}};function T(t){if(""===t)return{variationIds:[],triggerVariationIds:[]};let i="";try{i=atob(t)}catch(t){
|
|
31
|
+
return{variationIds:[],triggerVariationIds:[]}}const r=new Uint8Array(i.length);for(let t=0;t<i.length;t++)r[t]=i.charCodeAt(t);let n;try{n=V.decode(r)}catch(t){return{variationIds:[],triggerVariationIds:[]}}return{variationIds:n.variationId??[],triggerVariationIds:n.triggerVariationId??[]}}
|
|
32
|
+
function U(t,i="Active Google-visible variation IDs on this client. These are reported for analysis, but do not directly affect any server-side behavior.",r="Active Google-visible variation IDs on this client that trigger server-side behavior. These are reported for analysis *and* directly affect server-side behavior."){const n=t.variationIds,e=t.triggerVariationIds,s=["message ClientVariations {"];if(n&&n.length){const t=n.join(", ");s.push(` // ${i}`,` repeated int32 variation_id = [${t}];`)
|
|
33
|
+
}if(e&&e.length){const t=e.join(", ");s.push(` // ${r}`,` repeated int32 trigger_variation_id = [${t}];`)}return s.push("}"),s.join("\n")}export{U as formatClientVariations,T as parseClientVariations};
|
|
98
34
|
// clang-format on
|
|
99
|
-
|
|
100
|
-
export function parseClientVariations(data) {
|
|
101
|
-
return gen.parseClientVariations(data);
|
|
102
|
-
}
|
|
103
|
-
export function formatClientVariations(data) {
|
|
104
|
-
return gen.formatClientVariations(data);
|
|
105
|
-
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{L as O,
|
|
1
|
+
import{L as O,a as r,h as e,p as t,s as n,t as a,j as o,b as i,E as p}from"./codemirror.js";const l=new p(O=>{let r=O.pos;for(;;){if(10==O.next){O.advance();break}if(123==O.next&&123==O.peek(1)||O.next<0)break;O.advance()}O.pos>r&&O.acceptToken(1)});function Q(O,r,e){return new p(t=>{let n=t.pos;for(;t.next!=O&&t.next>=0&&(e||38!=t.next&&(123!=t.next||123!=t.peek(1)));)t.advance();t.pos>n&&t.acceptToken(r)})}const S=Q(39,33,!1),s=Q(34,34,!1),u=Q(39,35,!0),q=Q(34,36,!0),P=i.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<<GrOOQO<<Gr<<GrOOQO1G/[1G/[OOOS-E6x-E6xOOQO1G.}1G.}OOOQ-E6y-E6yOOQOAN=^AN=^",stateData:"&d~OvOS~OPROSQOVROWRO~OZTO[XO^VOaUOhWO~OR]OU^O~O[`O^aO~O[bO~O[cO~O[dO~ObeO~ObfO~ObgO~ORhO~O]kOwiO~O[lO~O_mO~OynOzoO~OysOztO~O[uO~O]wOwiO~O_yOwiO~OtzO~Os|O~OSQOV!OOW!OOr!OOy!QO~OSQOV!ROW!ROq!ROz!QO~O_!TOwiO~O]!UO~Oy!VO~Oz!VO~OSQOV!OOW!OOr!OOy!XO~OSQOV!ROW!ROq!ROz!XO~O]!ZO~O",goto:"#dyPPPPPzPPPP!WPPPPP!WPP!Z!^!a!d!dP!g!j!m!p!v#Q#WPPPPPPPP#^SROSS!Os!PT!Rt!SRYPRqeR{nR}oRZPRqfR[PRqgQSOR_SQj`SvjxRxlQ!PsR!W!PQ!StR!Y!SQpeRrf",nodeNames:"⚠ Text Content }} {{ Interpolation InterpolationContent Entity InvalidEntity Attribute BoundAttributeName [ Identifier ] ( ) ReferenceName # Is ExpressionAttributeValue AttributeInterpolation AttributeInterpolation EventName DirectiveName * StatementAttributeValue AttributeName AttributeValue",maxTerm:42,nodeProps:[["openedBy",3,"{{",15,"("],["closedBy",4,"}}",14,")"],["isolate",-4,5,19,25,27,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"0r~RyOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mqr#rrs%jst&Qtv#rvw&hwx)zxy*byz*xz{+`{}#r}!O+v!O!P-]!P!Q#r!Q![+v![!]+v!]!_#r!_!`-s!`!c#r!c!}+v!}#O.Z#O#P#r#P#Q.q#Q#R#r#R#S+v#S#T#r#T#o+v#o#p/X#p#q#r#q#r0Z#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vQ#wTUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rQ$ZSO#q#r#r;'S#r;'S;=`$g<%lO#rQ$jP;=`<%l#rR$t[UQvPOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mq#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR%qTyPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&XTaPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&oXUQWPOp'[pq#rq!]'[!]!^#r!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R'aXUQOp'[pq#rq!]'[!]!^'|!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R(TTVPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR(gXOp'[pq#rq!]'[!]!^'|!^#q'[#q#r)S#r;'S'[;'S;=`)t<%lO'[P)VUOp)Sq!])S!]!^)i!^;'S)S;'S;=`)n<%lO)SP)nOVPP)qP;=`<%l)SR)wP;=`<%l'[R*RTzPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR*iT^PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+PT_PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+gThPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+}b[PUQO}#r}!O+v!O!Q#r!Q![+v![!]+v!]!c#r!c!}+v!}#R#r#R#S+v#S#T#r#T#o+v#o#q#r#q#r$W#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vR-YP;=`<%l+vR-dTwPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR-zTUQbPO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.bTZPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.xT]PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/^VUQO#o#r#o#p/s#p#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/zTSPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#r~0^TO#q#r#q#r0m#r;'S#r;'S;=`$g<%lO#r~0rOR~",tokenizers:[l,S,s,u,q,0,1],topRules:{Content:[0,2],Attribute:[1,9]},tokenPrec:0}),R=o.parser.configure({top:"SingleExpression"}),$=P.configure({props:[n({Text:a.content,Is:a.definitionOperator,AttributeName:a.attributeName,"AttributeValue ExpressionAttributeValue StatementAttributeValue":a.attributeValue,Entity:a.character,InvalidEntity:a.invalid,"BoundAttributeName/Identifier":a.attributeName,"EventName/Identifier":a.special(a.attributeName),"ReferenceName/Identifier":a.variableName,"DirectiveName/Identifier":a.keyword,"{{ }}":a.brace,"( )":a.paren,"[ ]":a.bracket,"# '*'":a.punctuation})]}),g={parser:R},c={parser:o.parser},b={parser:$.configure({wrap:t((O,r)=>"InterpolationContent"==O.name?g:null)})},m={parser:$.configure({wrap:t((O,r)=>{var e;return"InterpolationContent"==O.name?g:"AttributeInterpolation"!=O.name?null:"StatementAttributeValue"==(null===(e=O.node.parent)||void 0===e?void 0:e.name)?c:g}),top:"Attribute"})},v=e();function W(O){return O.configure({wrap:t(f)},"angular")}const d=W(v.language);function f(O,r){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(r.read(O.from,O.to))?m:null;case"Text":return b}return null}function C(e={}){let t=v;if(e.base){if("html"!=e.base.language.name||!(e.base.language instanceof O))throw new RangeError("The base option must be the result of calling html(...)");t=e.base}return new r(t.language==v.language?d:W(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{C as angular,d as angularLanguage};
|
|
2
2
|
//# sourceMappingURL=angular.js.map
|