@googleworkspace/meet-addons 1.1.1-dev-693507607 → 1.1.1-dev-694274115

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.
Files changed (2) hide show
  1. package/meet.addons.js +9 -9
  2. package/package.json +1 -1
package/meet.addons.js CHANGED
@@ -22,7 +22,7 @@ Bc)}f[tb++]=ub}}tb<Oa&&(f.length=tb);h|=4;h=sb?h|16:h&-17;h=rb?h|8:h&-9;f[q]=h;N
22
22
  c[q]=f,d=B(a,d,1,c)),cc(f)||(a=f,f=ic(f,d,!1),f!==a&&(c[q]=f)),g?x=Hb(c):b===2&&((v=Ib)==null||v.delete(c));return x||c},kc=function(a,b,c){c==null&&(c=void 0);return Zb(a,b,c)},E=function(a,b,c,d){d==null&&(d=void 0);a:{const g=a.h;var e=g[q];Ta(e);if(d==null){var f=ec(g);if(dc(f,g,e,c)===b)f.set(c,0);else break a}else{f=g;const h=ec(f),m=dc(h,f,e,c);m!==b&&(m&&(e=B(f,e,m)),h.set(c,b))}B(g,e,b,d)}return a},lc=function(a,b){const c=a.h;let d=c[q];Ta(d);if(b==null)return B(c,d,1),a;var e=b,f;b=((f=
23
23
  Jb)==null?void 0:f.get(e))||e;f=e=b[q]|0;const g=!!(2&e)||!!(2048&e),h=g||Object.isFrozen(b);var m;if(m=!h)(m=void 0===Wa)||(m=void 0!==Va);let t=!0,x=!0;for(let N=0;N<b.length;N++){var v=b[N];g||(v=!!((v.h[q]|0)&2),t&&(t=!v),x&&(x=v))}g||(e|=5,e=t?e|8:e&-9,e=x?e|16:e&-17);if(m||h&&e!==f)b=Fa(b),f=0,e=gc(e,d),e=ic(e,d,!0);e!==f&&(b[q]=e);B(c,d,1,b);return a};function gc(a,b){a=(2&b?a|2:a&-3)|32;return a&=-2049}function ic(a,b,c){32&b&&c||(a&=-33);return a}function F(a,b){return a!=null?a:b}
24
24
  var mc=function(a){a=Xb(a,1);a!=null&&(typeof a==="bigint"?gb(a)?a=Number(a):(a=BigInt.asIntN(64,a),a=gb(a)?Number(a):String(a)):a=pb(a)?typeof a==="number"?wb(a):vb(a):void 0);return F(a,0)},G=function(a,b){a=Xb(a,b);return F(a==null||typeof a==="string"?a:void 0,"")},H=function(a,b){a=Xb(a,b);a=a==null?a:Number.isFinite(a)?a|0:void 0;return F(a,0)},I=function(a,b,c,d){c=C(a,d)===c?c:-1;return fc(a,b,c)};let nc;
25
- var pc=function(a){try{return nc=!0,JSON.stringify(oc(a),Nb)}finally{nc=!1}},sc=function(){var a=qc||(qc=rc("[1,1,1]"));a=Vb(a);a=Zb(a,4,z("dev-693507607"));const b=a.h,c=b[q];return c&2?a:Mb(a.constructor,Ub(b,c,!0))},J=class{constructor(a){a:{var b=b!=null?b:0;a==null&&(a=Lb);Lb=void 0;if(a==null){var c=96;a=[]}else{if(!Array.isArray(a))throw Error("narr");c=a[q]|0;if(c&2048)throw Error("farr");if(c&64)break a;b===1||b===2||(c|=64);b=a;var d=b.length;if(d&&(--d,Na(b[d]))){c|=256;b=d-(+!!(c&512)-
25
+ var pc=function(a){try{return nc=!0,JSON.stringify(oc(a),Nb)}finally{nc=!1}},sc=function(){var a=qc||(qc=rc("[1,1,1]"));a=Vb(a);a=Zb(a,4,z("dev-694274115"));const b=a.h,c=b[q];return c&2?a:Mb(a.constructor,Ub(b,c,!0))},J=class{constructor(a){a:{var b=b!=null?b:0;a==null&&(a=Lb);Lb=void 0;if(a==null){var c=96;a=[]}else{if(!Array.isArray(a))throw Error("narr");c=a[q]|0;if(c&2048)throw Error("farr");if(c&64)break a;b===1||b===2||(c|=64);b=a;var d=b.length;if(d&&(--d,Na(b[d]))){c|=256;b=d-(+!!(c&512)-
26
26
  1);if(b>=1024)throw Error("pvtlmt");c=c&-33521665|(b&1023)<<15}}a[q]=c}this.h=a}toJSON(){return oc(this)}getExtension(a){const b=a.D?a.Za?a.M(this,a.D,a.F,bc(!0),!0):a.M(this,a.D,a.F,!0):a.Za?a.M(this,a.F,bc(!0),!0):a.M(this,a.F,a.defaultValue,!0);return a.rb&&b==null?a.defaultValue:b}hasExtension(a){a.D?a=$b(this,a.D,a.F,!0)!==void 0:(a=a.D?a.M(this,a.D,a.F,!0):a.M(this,a.F,null,!0),a=(a===null?void 0:a)!==void 0);return a}clone(){const a=this.h;return Mb(this.constructor,Ub(a,a[q],!1))}};
27
27
  J.prototype.qa=Ka;J.prototype.toString=function(){try{return nc=!0,oc(this).toString()}finally{nc=!1}};
28
28
  function oc(a){a=nc?a.h:Rb(a.h,Sb,void 0,void 0,!1);{var b=!nc;let t=a.length;if(t){var c=a[t-1],d=Na(c);d?t--:c=void 0;var e=a;if(d){b:{var f=c;var g;var h=!1;if(f)for(let x in f)if(isNaN(+x)){let v;((v=g)!=null?v:g={})[x]=f[x]}else if(d=f[x],Array.isArray(d)&&(Qa(d)||Ma(d)&&d.size===0)&&(d=null),d==null&&(h=!0),d!=null){let v;((v=g)!=null?v:g={})[x]=d}h||(g=f);if(g)for(let x in g){h=g;break b}h=null}f=h==null?c!=null:h!==c}for(;t>0;t--){g=e[t-1];if(!(g==null||Qa(g)||Ma(g)&&g.size===0))break;var m=
@@ -45,14 +45,14 @@ g:"No further information is available."}}return c;default:return Sc(a)}}functio
45
45
  typeof a.additionalData!=="string")throw new K(M("additionalData",typeof a.additionalData,"string | undefined"));if(Object.keys(a).length!==+!!a.mainStageUrl+ +!!a.sidePanelUrl+ +!!a.additionalData)throw new K(Oc);if(Object.keys(a).length===0)throw new K(Nc);}},Fd=function(a){const b=[];b.push(md(ld(kd(2),a.mainStageUrl),a.additionalData));b.push(md(ld(kd(1),a.sidePanelUrl),a.additionalData));return b},Md=class extends O{constructor(a){super();this.context=a;this.Da={};Gd(this.context.i.Ia,b=>{switch(b.content.na()){case 7:const d=
46
46
  this.Da.frameToFrameMessage;b=I(b.content,rd,7,wd);if(d&&b){var c=H(b,1);c=Ad.get(c);if(c===void 0)throw Error("Unknown frame type.");d({originator:c,payload:G(b,2)})}}})}async getMeetingInfo(){const a=await Hd(this.context.i,qd(2));return{meetingId:G(a.getMeetingInfo(),1),meetingCode:G(a.getMeetingInfo(),2)}}async getFrameOpenReason(){let a;const b=(a=this.context.P.Wa)!=null?a:0;let c;return(c=Bd.get(b))!=null?c:"UNKNOWN"}async getActivityStartingState(){var a=(await Hd(this.context.i,qd(1))).ma();
47
47
  const b=a==null?void 0:a.ja().find(c=>c.getFrameType()===2);a=a==null?void 0:a.ja().find(c=>c.getFrameType()===1);return{mainStageUrl:(b==null?void 0:G(b,2))||void 0,sidePanelUrl:(a==null?void 0:G(a,2))||void 0,additionalData:(a==null?void 0:G(a,3))||void 0}}async setActivityStartingState(a){Ed({ua:a,Ga:!0});a=Fd(a);await Id(this.context.i,(new yd).aa((new nd).X(a)))}on(a,b){this.Da[a]=b}async getMeetPlatformInfo(){const a=await Hd(this.context.i,qd(3));return{isMeetHardware:F(nb(Xb(a.getMeetPlatformInfo(),
48
- 1)),!1)}}async closeAddon(){await Jd(this.context.i)}async startActivity(a){Ed({ua:a,Ga:!1});const b=new zd;a&&(a=Fd(a),b.aa((new nd).X(a)));await Kd(this.context.i,b)}async endActivity(a){var b=Ld,c=this.context.i,d=new od;a=D(d,1,y(a==="aab61ee0-51b4-475d-aa4d-849f2498640d"?999:0),0);await b(c,a)}};var Nd=tc(class extends J{getFrameOpenReason(){return H(this,5)}});function Od(){var a=window.location.href;var b=window.location.href;var c=(new URL(b)).searchParams.get("meet_sdk");c?b=Nd(atob(c)):(jd("meet_sdk",b),b=void 0);(c=G(b,1))||jd("meet_addon_frame_type",a);c=Number(c);if(c!==2&&c!==1)throw new K(Jc);const d=G(b,2);d||jd("meet_control_channel_name",a);const e=G(b,4);e||jd("addon_cloud_project_number",a);var f;a=(f=b.getFrameOpenReason())!=null?f:0;f=G(b,3)||"https://meet.google.com";return{Wa:a,frameType:c,Sa:d,cloudProjectNumber:e,Ha:f}};var Pd=class extends J{constructor(){super()}};var Qd=class extends J{constructor(){super()}};var Td=function(){var a=new Rd,b=new Qd;return E(a,1,Sd,b)},Rd=class extends J{constructor(){super()}za(){return C(this,Sd)}},Sd=[1,2];var Vd=function(a){var b=new Ud;return kc(b,2,a)},Wd=function(a,b){return D(a,3,z(b),"")},Ud=class extends J{constructor(){super()}};var Xd=class extends J{constructor(){super()}};var Yd=class extends J{constructor(){super()}La(a){return D(this,2,z(a),"")}};var Zd=class extends J{constructor(){super()}};var $d=class extends J{constructor(){super()}ja(){return jc(this)}X(a){return lc(this,a)}};var ae=class extends J{constructor(){super()}setAddonStartingState(a){return kc(this,1,a)}};var be=class extends J{constructor(){super()}};var ce=function(a,b){return E(a,2,P,b)},Q=class extends J{constructor(){super()}na(){return C(this,P)}},P=[1,2,5,6,7,8,9,10,11,13,14,15,16];var de=class extends J{},ee=tc(de),fe=[1,2];class ge{constructor(a,b){this.data=a;this.channel=b}};var he=Promise;var je=function(a){const b=new MessageChannel;ie(b.port1,a);return b},le=function(a,b){ie(a,b);return new ke(a)};class ke{constructor(a){this.ib=a}send(a,b,c=[]){b=je(b);this.ib.postMessage(a,[b.port2].concat(c))}O(a,b){return new he(c=>{this.send(a,c,b)})}}const ie=function(a,b){b&&(a.onmessage=c=>{var d=c.data;c=le(c.ports[0]);b(new ge(d,c))})};class me{constructor(a,b){this.bb=100;this.Ta=a;this.lb=b;this.W=0;this.V=null}get(){let a;this.W>0?(this.W--,a=this.V,this.V=a.next,a.next=null):a=this.Ta();return a}put(a){this.lb(a);this.W<this.bb&&(this.W++,a.next=this.V,this.V=a)}};class ne{constructor(){this.ca=this.J=null}add(a,b){const c=oe.get();c.set(a,b);this.ca?this.ca.next=c:this.J=c;this.ca=c}remove(){let a=null;this.J&&(a=this.J,this.J=this.J.next,this.J||(this.ca=null),a.next=null);return a}}var oe=new me(()=>new pe,a=>a.reset());class pe{constructor(){this.next=this.scope=this.ia=null}set(a,b){this.ia=a;this.scope=b;this.next=null}reset(){this.next=this.scope=this.ia=null}};let qe,re=!1,se=new ne,ue=(a,b)=>{qe||te();re||(qe(),re=!0);se.add(a,b)},te=()=>{const a=Promise.resolve(void 0);qe=()=>{a.then(ve)}};function ve(){let a;for(;a=se.remove();){try{a.ia.call(a.scope)}catch(b){l(b)}oe.put(a)}re=!1};var we=function(){};var R=function(a){this.l=0;this.Ja=void 0;this.C=this.u=this.B=null;this.T=this.ha=!1;if(a!=we)try{const b=this;a.call(void 0,function(c){xe(b,2,c)},function(c){xe(b,3,c)})}catch(b){xe(this,3,b)}},ye=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?a=>a&&AsyncContext.Snapshot.wrap(a):a=>a,ze=function(){this.next=this.context=this.H=this.N=this.v=null;this.L=!1};ze.prototype.reset=function(){this.context=this.H=this.N=this.v=null;this.L=!1};
49
- var Ae=new me(function(){return new ze},function(a){a.reset()}),Be=function(a,b,c){const d=Ae.get();d.N=a;d.H=b;d.context=c;return d},De=function(){let a,b;const c=new R(function(d,e){a=d;b=e});return new Ce(c,a,b)};R.prototype.then=function(a,b,c){return Ee(this,ye(typeof a==="function"?a:null),ye(typeof b==="function"?b:null),c)};R.prototype.$goog_Thenable=!0;var Ge=function(a,b){b=ye(b);b=Be(b,b);b.L=!0;Fe(a,b)};R.prototype.nb=function(a,b){return Ee(this,null,ye(a),b)};R.prototype.catch=R.prototype.nb;
50
- R.prototype.cancel=function(a){if(this.l==0){const b=new S(a);ue(function(){He(this,b)},this)}};
51
- var He=function(a,b){if(a.l==0)if(a.B){var c=a.B;if(c.u){var d=0,e=null,f=null;for(let g=c.u;g&&(g.L||(d++,g.v==a&&(e=g),!(e&&d>1)));g=g.next)e||(f=g);e&&(c.l==0&&d==1?He(c,b):(f?(d=f,d.next==c.C&&(c.C=d),d.next=d.next.next):Ie(c),Je(c,e,3,b)))}a.B=null}else xe(a,3,b)},Fe=function(a,b){a.u||a.l!=2&&a.l!=3||Ke(a);a.C?a.C.next=b:a.u=b;a.C=b},Ee=function(a,b,c,d){const e=Be(null,null,null);e.v=new R(function(f,g){e.N=b?function(h){try{const m=b.call(d,h);f(m)}catch(m){g(m)}}:f;e.H=c?function(h){try{const m=
52
- c.call(d,h);m===void 0&&h instanceof S?g(h):f(m)}catch(m){g(m)}}:g});e.v.B=a;Fe(a,e);return e.v};R.prototype.ob=function(a){this.l=0;xe(this,2,a)};R.prototype.pb=function(a){this.l=0;xe(this,3,a)};
53
- var xe=function(a,b,c){if(a.l==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.l=1;a:{var d=c,e=a.ob,f=a.pb;if(d instanceof R){Fe(d,Be(e||we,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(m){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{h=typeof d;if(h=="object"&&d!=null||h=="function")try{const m=d.then;if(typeof m==="function"){Le(d,m,e,f,a);g=!0;break a}}catch(m){f.call(a,m);g=!0;break a}g=!1}}}g||(a.Ja=c,a.l=b,a.B=null,Ke(a),b!=3||c instanceof S||Me(a,c))}},
54
- Le=function(a,b,c,d,e){let f=!1;const g=function(m){f||(f=!0,c.call(e,m))},h=function(m){f||(f=!0,d.call(e,m))};try{b.call(a,g,h)}catch(m){h(m)}},Ke=function(a){a.ha||(a.ha=!0,ue(a.Va,a))},Ie=function(a){let b=null;a.u&&(b=a.u,a.u=b.next,b.next=null);a.u||(a.C=null);return b};R.prototype.Va=function(){let a;for(;a=Ie(this);)Je(this,a,this.l,this.Ja);this.ha=!1};
55
- var Je=function(a,b,c,d){if(c==3&&b.H&&!b.L)for(;a&&a.T;a=a.B)a.T=!1;if(b.v)b.v.B=null,Ne(b,c,d);else try{b.L?b.N.call(b.context):Ne(b,c,d)}catch(e){Oe.call(null,e)}Ae.put(b)},Ne=function(a,b,c){b==2?a.N.call(a.context,c):a.H&&a.H.call(a.context,c)},Me=function(a,b){a.T=!0;ue(function(){a.T&&Oe.call(null,b)})},Oe=l,S=function(a){ia.call(this,a)};ha(S,ia);S.prototype.name="cancel";var Ce=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};let Pe=1,Qe=new WeakMap;
48
+ 1)),!1)}}async closeAddon(){await Jd(this.context.i)}async startActivity(a){Ed({ua:a,Ga:!1});const b=new zd;a&&(a=Fd(a),b.aa((new nd).X(a)));await Kd(this.context.i,b)}async endActivity(a){var b=Ld,c=this.context.i,d=new od;a=D(d,1,y(a==="aab61ee0-51b4-475d-aa4d-849f2498640d"?999:0),0);await b(c,a)}};var Nd=tc(class extends J{getFrameOpenReason(){return H(this,5)}});function Od(){var a=window.location.href;var b=window.location.href;var c=(new URL(b)).searchParams.get("meet_sdk");c?b=Nd(atob(c)):(jd("meet_sdk",b),b=void 0);(c=G(b,1))||jd("meet_addon_frame_type",a);c=Number(c);if(c!==2&&c!==1)throw new K(Jc);const d=G(b,2);d||jd("meet_control_channel_name",a);const e=G(b,4);e||jd("addon_cloud_project_number",a);var f;a=(f=b.getFrameOpenReason())!=null?f:0;f=G(b,3)||"https://meet.google.com";return{Wa:a,frameType:c,Sa:d,cloudProjectNumber:e,Ha:f}};var Pd=class extends J{constructor(){super()}};var Qd=class extends J{constructor(){super()}};var Td=function(){var a=new Rd,b=new Qd;return E(a,1,Sd,b)},Rd=class extends J{constructor(){super()}za(){return C(this,Sd)}},Sd=[1,2];var Vd=function(a){var b=new Ud;return kc(b,2,a)},Wd=function(a,b){return D(a,3,z(b),"")},Ud=class extends J{constructor(){super()}};var Xd=class extends J{constructor(){super()}};var Yd=class extends J{constructor(){super()}La(a){return D(this,2,z(a),"")}};var Zd=class extends J{constructor(){super()}};var $d=class extends J{constructor(){super()}ja(){return jc(this)}X(a){return lc(this,a)}};var ae=class extends J{constructor(){super()}setAddonStartingState(a){return kc(this,1,a)}};var be=class extends J{constructor(){super()}};var ce=function(a,b){return E(a,2,P,b)},Q=class extends J{constructor(){super()}na(){return C(this,P)}},P=[1,2,5,6,7,8,9,10,11,13,14,15,16];var de=class extends J{},ee=tc(de),fe=[1,2];class ge{constructor(a,b){this.data=a;this.channel=b}};var he=Promise;var je=function(a){const b=new MessageChannel;ie(b.port1,a);return b},le=function(a,b){ie(a,b);return new ke(a)};class ke{constructor(a){this.ib=a}send(a,b,c=[]){b=je(b);this.ib.postMessage(a,[b.port2].concat(c))}O(a,b){return new he(c=>{this.send(a,c,b)})}}const ie=function(a,b){b&&(a.onmessage=c=>{var d=c.data;c=le(c.ports[0]);b(new ge(d,c))})};var me=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?a=>a&&AsyncContext.Snapshot.wrap(a):a=>a;class ne{constructor(a,b){this.bb=100;this.Ta=a;this.lb=b;this.W=0;this.V=null}get(){let a;this.W>0?(this.W--,a=this.V,this.V=a.next,a.next=null):a=this.Ta();return a}put(a){this.lb(a);this.W<this.bb&&(this.W++,a.next=this.V,this.V=a)}};class oe{constructor(){this.ca=this.J=null}add(a,b){const c=pe.get();c.set(a,b);this.ca?this.ca.next=c:this.J=c;this.ca=c}remove(){let a=null;this.J&&(a=this.J,this.J=this.J.next,this.J||(this.ca=null),a.next=null);return a}}var pe=new ne(()=>new qe,a=>a.reset());class qe{constructor(){this.next=this.scope=this.ia=null}set(a,b){this.ia=a;this.scope=b;this.next=null}reset(){this.next=this.scope=this.ia=null}};let re,se=!1,te=new oe,ve=(a,b)=>{re||ue();se||(re(),se=!0);te.add(a,b)},ue=()=>{const a=Promise.resolve(void 0);re=()=>{a.then(we)}};function we(){let a;for(;a=te.remove();){try{a.ia.call(a.scope)}catch(b){l(b)}pe.put(a)}se=!1};var xe=function(){};var R=function(a){this.l=0;this.Ja=void 0;this.C=this.u=this.B=null;this.T=this.ha=!1;if(a!=xe)try{const b=this;a.call(void 0,function(c){ye(b,2,c)},function(c){ye(b,3,c)})}catch(b){ye(this,3,b)}},ze=function(){this.next=this.context=this.H=this.N=this.v=null;this.L=!1};ze.prototype.reset=function(){this.context=this.H=this.N=this.v=null;this.L=!1};
49
+ var Ae=new ne(function(){return new ze},function(a){a.reset()}),Be=function(a,b,c){const d=Ae.get();d.N=a;d.H=b;d.context=c;return d},De=function(){let a,b;const c=new R(function(d,e){a=d;b=e});return new Ce(c,a,b)};R.prototype.then=function(a,b,c){return Ee(this,me(typeof a==="function"?a:null),me(typeof b==="function"?b:null),c)};R.prototype.$goog_Thenable=!0;var Ge=function(a,b){b=me(b);b=Be(b,b);b.L=!0;Fe(a,b)};R.prototype.nb=function(a,b){return Ee(this,null,me(a),b)};R.prototype.catch=R.prototype.nb;
50
+ R.prototype.cancel=function(a){if(this.l==0){const b=new S(a);ve(function(){He(this,b)},this)}};
51
+ var He=function(a,b){if(a.l==0)if(a.B){var c=a.B;if(c.u){var d=0,e=null,f=null;for(let g=c.u;g&&(g.L||(d++,g.v==a&&(e=g),!(e&&d>1)));g=g.next)e||(f=g);e&&(c.l==0&&d==1?He(c,b):(f?(d=f,d.next==c.C&&(c.C=d),d.next=d.next.next):Ie(c),Je(c,e,3,b)))}a.B=null}else ye(a,3,b)},Fe=function(a,b){a.u||a.l!=2&&a.l!=3||Ke(a);a.C?a.C.next=b:a.u=b;a.C=b},Ee=function(a,b,c,d){const e=Be(null,null,null);e.v=new R(function(f,g){e.N=b?function(h){try{const m=b.call(d,h);f(m)}catch(m){g(m)}}:f;e.H=c?function(h){try{const m=
52
+ c.call(d,h);m===void 0&&h instanceof S?g(h):f(m)}catch(m){g(m)}}:g});e.v.B=a;Fe(a,e);return e.v};R.prototype.ob=function(a){this.l=0;ye(this,2,a)};R.prototype.pb=function(a){this.l=0;ye(this,3,a)};
53
+ var ye=function(a,b,c){if(a.l==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.l=1;a:{var d=c,e=a.ob,f=a.pb;if(d instanceof R){Fe(d,Be(e||xe,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(m){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{h=typeof d;if(h=="object"&&d!=null||h=="function")try{const m=d.then;if(typeof m==="function"){Le(d,m,e,f,a);g=!0;break a}}catch(m){f.call(a,m);g=!0;break a}g=!1}}}g||(a.Ja=c,a.l=b,a.B=null,Ke(a),b!=3||c instanceof S||Me(a,c))}},
54
+ Le=function(a,b,c,d,e){let f=!1;const g=function(m){f||(f=!0,c.call(e,m))},h=function(m){f||(f=!0,d.call(e,m))};try{b.call(a,g,h)}catch(m){h(m)}},Ke=function(a){a.ha||(a.ha=!0,ve(a.Va,a))},Ie=function(a){let b=null;a.u&&(b=a.u,a.u=b.next,b.next=null);a.u||(a.C=null);return b};R.prototype.Va=function(){let a;for(;a=Ie(this);)Je(this,a,this.l,this.Ja);this.ha=!1};
55
+ var Je=function(a,b,c,d){if(c==3&&b.H&&!b.L)for(;a&&a.T;a=a.B)a.T=!1;if(b.v)b.v.B=null,Ne(b,c,d);else try{b.L?b.N.call(b.context):Ne(b,c,d)}catch(e){Oe.call(null,e)}Ae.put(b)},Ne=function(a,b,c){b==2?a.N.call(a.context,c):a.H&&a.H.call(a.context,c)},Me=function(a,b){a.T=!0;ve(function(){a.T&&Oe.call(null,b)})},Oe=l,S=function(a){ia.call(this,a)};ha(S,ia);S.prototype.name="cancel";var Ce=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};let Pe=1,Qe=new WeakMap;
56
56
  var Se=function(a,b,c){var d=Re;a.Oa.has(b);d(b,c)},Ue=class extends O{constructor(){super();this.Oa=new Set}signal(){const a=new Te;this.Oa.add(a);Dd(this,fa(Cd,a));return a}},Re=function(a,b){return new Promise(c=>{Ve(()=>{a.wa&&(a.ab=b,a.Ca=!0);for(const {ta:d,slot:e}of a.j.values())try{e(b,{signal:a,ta:d})}catch(f){l(f)}for(const d of a.I)d.resolve(b);a.I.clear();c()})})},Gd=function(a,b,c){const d=Pe++;Ve(()=>{We(a,d,b,c)});return d},We=function(a,b,c,d){if(!a.o)if(d){if(!d.o){const e=()=>{Ve(()=>
57
57
  {a.j.delete(b);const f=Qe.get(d);f&&pa(f,e)})};a.j.set(b,{ta:b,slot:c,ea:e});Xe(d,e)}}else a.j.set(b,{ta:b,slot:c,ea:()=>a.j.delete(b)})},Te=class extends O{constructor(){super();this.wa=!1;this.j=new Map;this.I=new Set;this.Ca=!1}detach(a){Ve(()=>{const b=this.j.get(a);b&&b.ea()})}value(a){return this.promise(!0,a)}next(a){return this.promise(!1,a)}promise(a,b){const c=De();Ve(()=>{if(this.o)c.reject(new S("Signal initially disposed"));else if(b&&b.o)c.reject(new S("Owner initially disposed"));else if(a&&
58
58
  this.wa&&this.Ca)c.resolve(this.ab);else if(this.I.add(c),Ge(c.promise,()=>{this.I.delete(c)}),b){const d=()=>{c.reject(new S("Owner asynchronously disposed"))};Ge(c.promise,()=>{const e=Qe.get(b);e&&pa(e,d)});Xe(b,d)}});return c.promise}fa(){super.fa();Ve(()=>{for(const {ea:a}of this.j.values())a();this.j.clear();for(const a of this.I)a.reject(new S("Signal asynchronously disposed"));this.I.clear()})}};const Ye=[];let Ze=!1;function Ve(a){Ye.push(a);$e()}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@googleworkspace/meet-addons",
3
3
  "description": "The Google Meet Add-ons SDK lets you embed your app into Google Meet as an add-on where users can discover, share, and collaborate in the app without leaving Meet",
4
- "version": "1.1.1-dev-693507607",
4
+ "version": "1.1.1-dev-694274115",
5
5
  "repository": "googleworkspace/meet",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "homepage": "https://developers.google.com/meet/add-ons/guides/overview",