@livetiles/reach-components-react 0.5.0-preview.850 → 0.5.0-preview.851

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.
@@ -1 +1 @@
1
- import{x as e,A as t,y as r,z as n,T as i,I as o}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";function a(o,a,c){return e(this,void 0,void 0,(function(){function s(a,c){return e(this,void 0,void 0,(function(){var e,s,u;return t(this,(function(t){switch(t.label){case 0:return e=!1,s=null,[4,n(c({payload:i(a,{clone:!0,traverse:!1}),integration:o,next:function(t){e=!0,null===t&&(s=null),t&&(s=t.obj)}}))];case 1:return t.sent(),!e&&null!==s&&(s.integrations=r(r({},a.integrations),((u={})[o]=!1,u))),[2,s]}}))}))}var u,l,f,d;return t(this,(function(e){switch(e.label){case 0:u=0,l=c,e.label=1;case 1:return u<l.length?(f=l[u],[4,s(a,f)]):[3,4];case 2:if(null===(d=e.sent()))return[2,null];a=d,e.label=3;case 3:return u++,[3,1];case 4:return[2,a]}}))}))}function c(r,a){function c(c){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=!1,[4,n(r({payload:i(c.event,{clone:!0,traverse:!1}),integrations:null!=a?a:{},next:function(t){e=!0,t&&(c.event=t.obj)}}))];case 1:if(t.sent(),!e)throw new o({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,c]}}))}))}return{name:"Source Middleware ".concat(r.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(e){return Promise.resolve(e)},track:c,page:c,identify:c,alias:c,group:c}}export{a as applyDestinationMiddleware,c as sourceMiddlewarePlugin};
1
+ import{x as e,A as t,w as r,y as n,z as i,I as o}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";function a(o,a,c){return e(this,void 0,void 0,(function(){function s(a,c){return e(this,void 0,void 0,(function(){var e,s,u;return t(this,(function(t){switch(t.label){case 0:return e=!1,s=null,[4,n(c({payload:i(a,{clone:!0,traverse:!1}),integration:o,next:function(t){e=!0,null===t&&(s=null),t&&(s=t.obj)}}))];case 1:return t.sent(),!e&&null!==s&&(s.integrations=r(r({},a.integrations),((u={})[o]=!1,u))),[2,s]}}))}))}var u,l,f,d;return t(this,(function(e){switch(e.label){case 0:u=0,l=c,e.label=1;case 1:return u<l.length?(f=l[u],[4,s(a,f)]):[3,4];case 2:if(null===(d=e.sent()))return[2,null];a=d,e.label=3;case 3:return u++,[3,1];case 4:return[2,a]}}))}))}function c(r,a){function c(c){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=!1,[4,n(r({payload:i(c.event,{clone:!0,traverse:!1}),integrations:null!=a?a:{},next:function(t){e=!0,t&&(c.event=t.obj)}}))];case 1:if(t.sent(),!e)throw new o({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,c]}}))}))}return{name:"Source Middleware ".concat(r.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(e){return Promise.resolve(e)},track:c,page:c,identify:c,alias:c,group:c}}export{a as applyDestinationMiddleware,c as sourceMiddlewarePlugin};
@@ -1,4 +1,4 @@
1
- import{M as t,x as e,A as n,C as r,H as i,K as o,D as a,z as u,y as s,I as c,Q as f,E as l,U as d,R as p,F as h,G as v,J as y,N as g,O as m,S as w,V as b,W as _}from"./index.esm2.js";import{l as j}from"./is-plan-event-enabled-d9660f36.esm.js";import{applyDestinationMiddleware as A}from"./index-9966489c.esm.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";const O=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e,n,r,i){for(e=e.split?e.split("."):e,r=0;r<e.length;r++)t=t?t[e[r]]:i;return t===i?n:t}},Symbol.toStringTag,{value:"Module"}));for(var k={},S={},N=[],I=0;I<64;)N[I]=0|4294967296*Math.sin(++I%Math.PI);const P=Object.freeze(Object.defineProperty({__proto__:null,default:function(t){var e,n,r,i=[e=1732584193,n=4023233417,~e,~n],o=[],a=unescape(encodeURI(t))+"€",u=a.length;for(t=--u/4+2|15,o[--t]=8*u;~u;)o[u>>2]|=a.charCodeAt(u)<<8*u--;for(I=a=0;I<t;I+=16){for(u=i;a<64;u=[r=u[3],e+((r=u[0]+[e&n|~e&r,r&e|~r&n,e^n^r,n^(e|~r)][u=a>>4]+N[a]+~~o[I|15&[a,5*a+1,3*a+5,7*a][u]])<<(u=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*u+a++%4])|r>>>-u),e,n])e=0|u[1],n=u[2];for(a=4;a;)i[--a]+=u[a]}for(t="";a<32;)t+=(i[a>>3]>>4*(1^a++)&15).toString(16);return t}},Symbol.toStringTag,{value:"Module"})),U=h(P),M=h(O);
1
+ import{M as t,x as e,A as n,C as r,H as i,K as o,D as a,y as u,w as s,I as c,Q as f,L as l,U as d,R as p,E as h,F as v,G as y,J as g,N as m,O as w,S as b,V as _}from"./index.esm2.js";import{l as j}from"./is-plan-event-enabled-d9660f36.esm.js";import{applyDestinationMiddleware as A}from"./index-9966489c.esm.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";const O=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e,n,r,i){for(e=e.split?e.split("."):e,r=0;r<e.length;r++)t=t?t[e[r]]:i;return t===i?n:t}},Symbol.toStringTag,{value:"Module"}));for(var k={},S={},N=[],I=0;I<64;)N[I]=0|4294967296*Math.sin(++I%Math.PI);const P=Object.freeze(Object.defineProperty({__proto__:null,default:function(t){var e,n,r,i=[e=1732584193,n=4023233417,~e,~n],o=[],a=unescape(encodeURI(t))+"€",u=a.length;for(t=--u/4+2|15,o[--t]=8*u;~u;)o[u>>2]|=a.charCodeAt(u)<<8*u--;for(I=a=0;I<t;I+=16){for(u=i;a<64;u=[r=u[3],e+((r=u[0]+[e&n|~e&r,r&e|~r&n,e^n^r,n^(e|~r)][u=a>>4]+N[a]+~~o[I|15&[a,5*a+1,3*a+5,7*a][u]])<<(u=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*u+a++%4])|r>>>-u),e,n])e=0|u[1],n=u[2];for(a=4;a;)i[--a]+=u[a]}for(t="";a<32;)t+=(i[a>>3]>>4*(1^a++)&15).toString(16);return t}},Symbol.toStringTag,{value:"Module"})),U=h(P),M=h(O);
2
2
  /**
3
3
  * @license Apache-2.0
4
4
  *
@@ -15,7 +15,7 @@ import{M as t,x as e,A as n,C as r,H as i,K as o,D as a,z as u,y as s,I as c,Q a
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */var E=Number.POSITIVE_INFINITY,z=Number.NEGATIVE_INFINITY;
18
+ */var E=Number.POSITIVE_INFINITY,F=Number.NEGATIVE_INFINITY;
19
19
  /**
20
20
  * @license Apache-2.0
21
21
  *
@@ -32,7 +32,7 @@ import{M as t,x as e,A as n,C as r,H as i,K as o,D as a,z as u,y as s,I as c,Q a
32
32
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33
33
  * See the License for the specific language governing permissions and
34
34
  * limitations under the License.
35
- */var F=
35
+ */var z=
36
36
  /**
37
37
  * @license Apache-2.0
38
38
  *
@@ -50,7 +50,7 @@ import{M as t,x as e,A as n,C as r,H as i,K as o,D as a,z as u,y as s,I as c,Q a
50
50
  * See the License for the specific language governing permissions and
51
51
  * limitations under the License.
52
52
  */
53
- function(t){return t!=t},D=F,T=E,J=z;
53
+ function(t){return t!=t},D=z,L=E,T=F;
54
54
  /**
55
55
  * @license Apache-2.0
56
56
  *
@@ -67,7 +67,7 @@ function(t){return t!=t},D=F,T=E,J=z;
67
67
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
68
68
  * See the License for the specific language governing permissions and
69
69
  * limitations under the License.
70
- */var L=function(t){return t===T||t===J},C=L;
70
+ */var J=function(t){return t===L||t===T},C=J;
71
71
  /**
72
72
  * @license Apache-2.0
73
73
  *
@@ -136,7 +136,7 @@ function(){return"function"==typeof Symbol&&"symbol"==typeof Symbol("foo")}();
136
136
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
137
137
  * See the License for the specific language governing permissions and
138
138
  * limitations under the License.
139
- */var W=function(t){return G.call(t)},B=Object.prototype.hasOwnProperty;
139
+ */var B=function(t){return G.call(t)},W=Object.prototype.hasOwnProperty;
140
140
  /**
141
141
  * @license Apache-2.0
142
142
  *
@@ -153,7 +153,7 @@ function(){return"function"==typeof Symbol&&"symbol"==typeof Symbol("foo")}();
153
153
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
154
154
  * See the License for the specific language governing permissions and
155
155
  * limitations under the License.
156
- */var Q=function(t,e){return null!=t&&B.call(t,e)},V=Q,Y="function"==typeof Symbol?Symbol.toStringTag:"",q=V,K=Y,X=x;
156
+ */var Q=function(t,e){return null!=t&&W.call(t,e)},V=Q,Y="function"==typeof Symbol?Symbol.toStringTag:"",q=V,K=Y,X=x;
157
157
  /**
158
158
  * @license Apache-2.0
159
159
  *
@@ -170,7 +170,7 @@ function(){return"function"==typeof Symbol&&"symbol"==typeof Symbol("foo")}();
170
170
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
171
171
  * See the License for the specific language governing permissions and
172
172
  * limitations under the License.
173
- */var Z=function(t){var e,n,r;if(null==t)return X.call(t);n=t[K],e=q(t,K);try{t[K]=void 0}catch(e){return X.call(t)}return r=X.call(t),e?t[K]=n:delete t[K],r},$=W,tt=Z,et=R()?tt:$,nt=et,rt="function"==typeof Uint32Array;
173
+ */var Z=function(t){var e,n,r;if(null==t)return X.call(t);n=t[K],e=q(t,K);try{t[K]=void 0}catch(e){return X.call(t)}return r=X.call(t),e?t[K]=n:delete t[K],r},$=B,tt=Z,et=R()?tt:$,nt=et,rt="function"==typeof Uint32Array;
174
174
  /**
175
175
  * @license Apache-2.0
176
176
  *
@@ -377,7 +377,7 @@ function(){throw new Error("not implemented")},jt=wt()?bt:_t,At=et,Ot="function"
377
377
  * See the License for the specific language governing permissions and
378
378
  * limitations under the License.
379
379
  */
380
- function(){throw new Error("not implemented")},Et=Pt()?Ut:Mt,zt=et,Ft="function"==typeof Uint16Array;
380
+ function(){throw new Error("not implemented")},Et=Pt()?Ut:Mt,Ft=et,zt="function"==typeof Uint16Array;
381
381
  /**
382
382
  * @license Apache-2.0
383
383
  *
@@ -394,7 +394,7 @@ function(){throw new Error("not implemented")},Et=Pt()?Ut:Mt,zt=et,Ft="function"
394
394
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
395
395
  * See the License for the specific language governing permissions and
396
396
  * limitations under the License.
397
- */var Dt=function(t){return Ft&&t instanceof Uint16Array||"[object Uint16Array]"===zt(t)},Tt="function"==typeof Uint16Array?Uint16Array:null,Jt=Dt,Lt=65535,Ct=Tt;
397
+ */var Dt=function(t){return zt&&t instanceof Uint16Array||"[object Uint16Array]"===Ft(t)},Lt="function"==typeof Uint16Array?Uint16Array:null,Tt=Dt,Jt=65535,Ct=Lt;
398
398
  /**
399
399
  * @license Apache-2.0
400
400
  *
@@ -411,7 +411,7 @@ function(){throw new Error("not implemented")},Et=Pt()?Ut:Mt,zt=et,Ft="function"
411
411
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
412
412
  * See the License for the specific language governing permissions and
413
413
  * limitations under the License.
414
- */var Ht=function(){var t,e;if("function"!=typeof Ct)return!1;try{e=new Ct(e=[1,3.14,-3.14,Lt+1,Lt+2]),t=Jt(e)&&1===e[0]&&3===e[1]&&e[2]===Lt-2&&0===e[3]&&1===e[4]}catch(e){t=!1}return t};
414
+ */var Ht=function(){var t,e;if("function"!=typeof Ct)return!1;try{e=new Ct(e=[1,3.14,-3.14,Jt+1,Jt+2]),t=Tt(e)&&1===e[0]&&3===e[1]&&e[2]===Jt-2&&0===e[3]&&1===e[4]}catch(e){t=!1}return t};
415
415
  /**
416
416
  * @license Apache-2.0
417
417
  *
@@ -446,7 +446,7 @@ function(){throw new Error("not implemented")},Et=Pt()?Ut:Mt,zt=et,Ft="function"
446
446
  * See the License for the specific language governing permissions and
447
447
  * limitations under the License.
448
448
  */
449
- function(){throw new Error("not implemented")},Wt={uint16:Ht()?xt:Gt,uint8:Et};
449
+ function(){throw new Error("not implemented")},Bt={uint16:Ht()?xt:Gt,uint8:Et};
450
450
  /**
451
451
  * @license Apache-2.0
452
452
  *
@@ -463,7 +463,7 @@ function(){throw new Error("not implemented")},Wt={uint16:Ht()?xt:Gt,uint8:Et};
463
463
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
464
464
  * See the License for the specific language governing permissions and
465
465
  * limitations under the License.
466
- */(Rt=new Wt.uint16(1))[0]=4660;var Bt,Qt,Vt=52===new Wt.uint8(Rt.buffer)[0];
466
+ */(Rt=new Bt.uint16(1))[0]=4660;var Wt,Qt,Vt=52===new Bt.uint8(Rt.buffer)[0];
467
467
  /**
468
468
  * @license Apache-2.0
469
469
  *
@@ -480,7 +480,7 @@ function(){throw new Error("not implemented")},Wt={uint16:Ht()?xt:Gt,uint8:Et};
480
480
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
481
481
  * See the License for the specific language governing permissions and
482
482
  * limitations under the License.
483
- */!0===Vt?(Bt=1,Qt=0):(Bt=0,Qt=1);var Yt=dt,qt={HIGH:Bt,LOW:Qt},Kt=new jt(1),Xt=new Yt(Kt.buffer),Zt=qt.HIGH,$t=qt.LOW;
483
+ */!0===Vt?(Wt=1,Qt=0):(Wt=0,Qt=1);var Yt=dt,qt={HIGH:Wt,LOW:Qt},Kt=new jt(1),Xt=new Yt(Kt.buffer),Zt=qt.HIGH,$t=qt.LOW;
484
484
  /**
485
485
  * @license Apache-2.0
486
486
  *
@@ -668,7 +668,7 @@ function(t){return Math.abs(t)},ke=C,Se=D,Ne=Oe;
668
668
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
669
669
  * See the License for the specific language governing permissions and
670
670
  * limitations under the License.
671
- */var Ee=function(t){var e=Me(t);return(e=(2146435072&e)>>>20)-1023|0},ze=E,Fe=z,De=D,Te=C,Je=Ae,Le=Ue,Ce=Ee,He=re,Re=me,xe=[0,0],Ge=[0,0];
671
+ */var Ee=function(t){var e=Me(t);return(e=(2146435072&e)>>>20)-1023|0},Fe=E,ze=F,De=D,Le=C,Te=Ae,Je=Ue,Ce=Ee,He=re,Re=me,xe=[0,0],Ge=[0,0];
672
672
  /**
673
673
  * @license Apache-2.0
674
674
  *
@@ -685,7 +685,7 @@ function(t){return Math.abs(t)},ke=C,Se=D,Ne=Oe;
685
685
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
686
686
  * See the License for the specific language governing permissions and
687
687
  * limitations under the License.
688
- */var We=function(t,e){var n,r;return 0===t||De(t)||Te(t)?t:(Le(xe,t),e+=xe[1],(e+=Ce(t=xe[0]))<-1074?Je(0,t):e>1023?t<0?Fe:ze:(e<=-1023?(e+=52,r=2220446049250313e-31):r=1,He(Ge,t),n=Ge[0],n&=2148532223,r*Re(n|=e+1023<<20,Ge[1])))},Be=We;
688
+ */var Be=function(t,e){var n,r;return 0===t||De(t)||Le(t)?t:(Je(xe,t),e+=xe[1],(e+=Ce(t=xe[0]))<-1074?Te(0,t):e>1023?t<0?ze:Fe:(e<=-1023?(e+=52,r=2220446049250313e-31):r=1,He(Ge,t),n=Ge[0],n&=2148532223,r*Re(n|=e+1023<<20,Ge[1])))},We=Be;
689
689
  /**
690
690
  * @license Apache-2.0
691
691
  *
@@ -702,4 +702,4 @@ function(t){return Math.abs(t)},ke=C,Se=D,Ne=Oe;
702
702
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
703
703
  * See the License for the specific language governing permissions and
704
704
  * limitations under the License.
705
- */const Qe=h(_);var Ve={},Ye=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.unset=void 0;var qe=Ye(M);Ve.unset=function(t,e){if((0,qe.default)(t,e)){for(var n=e.split("."),r=n.pop();n.length&&"\\"===n[n.length-1].slice(-1);)r=n.pop().slice(0,-1)+"."+r;for(;n.length;)t=t[e=n.shift()];return delete t[r]}return!0};var Ke=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(S,"__esModule",{value:!0});var Xe=Ke(U),Ze=Ke(M),$e=Ke(Be),tn=Qe,en=Ve;function nn(t,e){for(var n in e.drop)if(e.drop.hasOwnProperty(n)){var r=""===n?t:(0,Ze.default)(t,n);if("object"==typeof r&&null!==r)for(var i=0,o=e.drop[n];i<o.length;i++){delete r[o[i]]}}}function rn(t,e){for(var n in e.allow)if(e.allow.hasOwnProperty(n)){var r=""===n?t:(0,Ze.default)(t,n);if("object"==typeof r&&null!==r)for(var i in r)r.hasOwnProperty(i)&&-1===e.allow[n].indexOf(i)&&delete r[i]}}function on(t,e){var n=JSON.parse(JSON.stringify(t));for(var r in e.map)if(e.map.hasOwnProperty(r)){var i=e.map[r],o=r.split("."),a=void 0;if(o.length>1?(o.pop(),a=(0,Ze.default)(n,o.join("."))):a=t,"object"==typeof a){if(i.copy){var u=(0,Ze.default)(n,i.copy);void 0!==u&&(0,tn.dset)(t,r,u)}else if(i.move){var s=(0,Ze.default)(n,i.move);void 0!==s&&(0,tn.dset)(t,r,s),(0,en.unset)(t,i.move)}else i.hasOwnProperty("set")&&(0,tn.dset)(t,r,i.set);if(i.to_string){var c=(0,Ze.default)(t,r);if("string"==typeof c||"object"==typeof c&&null!==c)continue;void 0!==c?(0,tn.dset)(t,r,JSON.stringify(c)):(0,tn.dset)(t,r,"undefined")}}}}function an(t,e){return!(e.sample.percent<=0)&&(e.sample.percent>=1||(e.sample.path?function(t,e){var n=(0,Ze.default)(t,e.sample.path),r=(0,Xe.default)(JSON.stringify(n)),i=-64,o=[];un(r.slice(0,8),o);for(var a=0,u=0;u<64&&1!==o[u];u++)a++;if(0!==a){var s=[];un(r.slice(9,16),s),i-=a,o.splice(0,a),s.splice(64-a),o=o.concat(s)}return o[63]=0===o[63]?1:0,(0,$e.default)(parseInt(o.join(""),2),i)<e.sample.percent}(t,e):function(t){return Math.random()<=t}(e.sample.percent)))}function un(t,e){for(var n=0;n<8;n++)for(var r=t[n],i=128;i>=1;i/=2)r-i>=0?(r-=i,e.push(1)):e.push(0)}S.default=function(t,e){for(var n=t,r=0,i=e;r<i.length;r++){var o=i[r];switch(o.type){case"drop":return null;case"drop_properties":nn(n,o.config);break;case"allow_properties":rn(n,o.config);break;case"sample_event":if(an(n,o.config))break;return null;case"map_properties":on(n,o.config);break;case"hash_properties":break;default:throw new Error('Transformer of type "'.concat(o.type,'" is unsupported.'))}}return n};var sn={},cn=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(sn,"__esModule",{value:!0});var fn=cn(M);function ln(t,e){if(!Array.isArray(t))return!0===dn(t,e);var n=t[0];switch(n){case"!":return!ln(t[1],e);case"or":for(var r=1;r<t.length;r++)if(ln(t[r],e))return!0;return!1;case"and":for(r=1;r<t.length;r++)if(!ln(t[r],e))return!1;return!0;case"=":case"!=":return function(t,e,n,r){switch(pn(t)&&(t=ln(t,r)),pn(e)&&(e=ln(e,r)),"object"==typeof t&&"object"==typeof e&&(t=JSON.stringify(t),e=JSON.stringify(e)),n){case"=":return t===e;case"!=":return t!==e;default:throw new Error("Invalid operator in compareItems: ".concat(n))}}(dn(t[1],e),dn(t[2],e),n,e);case"<=":case"<":case">":case">=":return function(t,e,n,r){if(pn(t)&&(t=ln(t,r)),pn(e)&&(e=ln(e,r)),"number"!=typeof t||"number"!=typeof e)return!1;switch(n){case"<=":return t<=e;case">=":return t>=e;case"<":return t<e;case">":return t>e;default:throw new Error("Invalid operator in compareNumbers: ".concat(n))}}(dn(t[1],e),dn(t[2],e),n,e);case"contains":return function(t,e){return"string"==typeof t&&"string"==typeof e&&-1!==t.indexOf(e)}(dn(t[1],e),dn(t[2],e));case"match":return function(t,e){return"string"==typeof t&&"string"==typeof e&&function(t,e){var n,r;t:for(;t.length>0;){var i=void 0,o=void 0;if(i=(n=hn(t)).star,o=n.chunk,t=n.pattern,i&&""===o)return!0;var a=vn(o,e),u=a.t,s=a.ok,c=a.err;if(c)return!1;if(!s||!(0===u.length||t.length>0)){if(i)for(var f=0;f<e.length;f++){if(u=(r=vn(o,e.slice(f+1))).t,s=r.ok,c=r.err,s){if(0===t.length&&u.length>0)continue;e=u;continue t}if(c)return!1}return!1}e=u}return 0===e.length}(e,t)}(dn(t[1],e),dn(t[2],e));case"lowercase":var i=dn(t[1],e);return"string"!=typeof i?null:i.toLowerCase();case"typeof":return typeof dn(t[1],e);case"length":return function(t){return null===t?0:Array.isArray(t)||"string"==typeof t?t.length:NaN}(dn(t[1],e));default:throw new Error("FQL IR could not evaluate for token: ".concat(n))}}function dn(t,e){return Array.isArray(t)?t:"object"==typeof t?t.value:(0,fn.default)(e,t)}function pn(t){return!!Array.isArray(t)&&(("lowercase"===t[0]||"length"===t[0]||"typeof"===t[0])&&2===t.length||("contains"===t[0]||"match"===t[0])&&3===t.length)}function hn(t){for(var e={star:!1,chunk:"",pattern:""};t.length>0&&"*"===t[0];)t=t.slice(1),e.star=!0;var n,r=!1;t:for(n=0;n<t.length;n++)switch(t[n]){case"\\":n+1<t.length&&n++;break;case"[":r=!0;break;case"]":r=!1;break;case"*":if(!r)break t}return e.chunk=t.slice(0,n),e.pattern=t.slice(n),e}function vn(t,e){for(var n,r,i={t:"",ok:!1,err:!1};t.length>0;){if(0===e.length)return i;switch(t[0]){case"[":var o=e[0];e=e.slice(1);var a=!0;(t=t.slice(1)).length>0&&"^"===t[0]&&(a=!1,t=t.slice(1));for(var u=!1,s=0;;){if(t.length>0&&"]"===t[0]&&s>0){t=t.slice(1);break}var c,f="";if(c=(n=yn(t)).char,t=n.newChunk,n.err||(f=c,"-"===t[0]&&(f=(r=yn(t.slice(1))).char,t=r.newChunk,r.err)))return i;c<=o&&o<=f&&(u=!0),s++}if(u!==a)return i;break;case"?":e=e.slice(1),t=t.slice(1);break;case"\\":if(0===(t=t.slice(1)).length)return i.err=!0,i;default:if(t[0]!==e[0])return i;e=e.slice(1),t=t.slice(1)}}return i.t=e,i.ok=!0,i.err=!1,i}function yn(t){var e={char:"",newChunk:"",err:!1};return 0===t.length||"-"===t[0]||"]"===t[0]||"\\"===t[0]&&0===(t=t.slice(1)).length?(e.err=!0,e):(e.char=t[0],e.newChunk=t.slice(1),0===e.newChunk.length&&(e.err=!0),e)}sn.default=function(t,e){if(!e)throw new Error("No matcher supplied!");switch(e.type){case"all":return!0;case"fql":return function(t,e){if(!t)return!1;try{t=JSON.parse(t)}catch(e){throw new Error('Failed to JSON.parse FQL intermediate representation "'.concat(t,'": ').concat(e))}var n=ln(t,e);return"boolean"==typeof n&&n}(e.ir,t);default:throw new Error("Matcher of type ".concat(e.type," unsupported."))}};var gn={};Object.defineProperty(gn,"__esModule",{value:!0});var mn=function(){function t(t){this.rules=[],this.rules=t||[]}return t.prototype.getRulesByDestinationName=function(t){for(var e=[],n=0,r=this.rules;n<r.length;n++){var i=r[n];(i.destinationName===t||void 0===i.destinationName)&&e.push(i)}return e},t}();gn.default=mn,function(e){var n=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Store=e.matches=e.transform=void 0;var r=S;Object.defineProperty(e,"transform",{enumerable:!0,get:function(){return n(r).default}});var i=sn;Object.defineProperty(e,"matches",{enumerable:!0,get:function(){return n(i).default}});var o=gn;Object.defineProperty(e,"Store",{enumerable:!0,get:function(){return n(o).default}})}(k);function wn(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function bn(t,e){return void 0===e&&(e=!1),e?btoa(t).replace(/=/g,""):void 0}function _n(t,o,a,u,s,c){return e(this,void 0,void 0,(function(){var e,f,l,d,p,h,y,g;return n(this,(function(n){switch(n.label){case 0:e=wn(a),f=bn(e,c),l=i(),d="".concat(l,"/integrations/").concat(null!=f?f:e,"/").concat(u,"/").concat(null!=f?f:e,".dynamic.js.gz"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,r(d)];case 2:return n.sent(),function(t,e,n){var r,i;try{var o=(null!==(i=null===(r=null==window?void 0:window.performance)||void 0===r?void 0:r.getEntriesByName(t,"resource"))&&void 0!==i?i:[])[0];o&&e.stats.gauge("legacy_destination_time",Math.round(o.duration),v([n],o.duration<100?["cached"]:[],!0))}catch(t){}}(d,t,a),[3,4];case 3:throw p=n.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(a),"failed"]),p;case 4:return h=window["".concat(e,"Deps")],[4,Promise.all(h.map((function(t){return r(l+t+".gz")})))];case 5:return n.sent(),window["".concat(e,"Loader")](),(y=window["".concat(e,"Integration")]).Integration&&(y({user:function(){return o.user()},addIntegration:function(){}}),y=y.Integration),(g=new y(s)).analytics=o,[2,g]}}))}))}var jn=function(t){return JSON.parse(JSON.stringify(t))};function An(t,r){return e(this,void 0,void 0,(function(){var i,o=this;return n(this,(function(u){switch(u.label){case 0:return i=[],a()?[2,r]:[4,l((function(){return r.length>0&&g()}),(function(){return e(o,void 0,void 0,(function(){var e,o;return n(this,(function(n){switch(n.label){case 0:return(e=r.pop())?[4,y(e,t)]:[2];case 1:return o=n.sent(),o instanceof b||i.push(e),[2]}}))}))}))];case 1:return u.sent(),i.map((function(t){return r.pushWithBackoff(t)})),[2,r]}}))}))}var On=function(){function t(t,e,n,r){void 0===n&&(n={}),this.options={},this.type="destination",this.middleware=[],this._ready=!1,this._initialized=!1,this.flushing=!1,this.name=t,this.version=e,this.settings=s({},n),this.settings.type&&"browser"===this.settings.type&&delete this.settings.type,this.options=r,this.buffer=r.disableClientPersistence?new m(4,[]):new w(4,"dest-".concat(t)),this.scheduleFlush()}return t.prototype.isLoaded=function(){return this._ready},t.prototype.ready=function(){var t;return null!==(t=this.onReady)&&void 0!==t?t:Promise.resolve()},t.prototype.load=function(t,r){return e(this,void 0,void 0,(function(){var e,i=this;return n(this,(function(n){switch(n.label){case 0:return this._ready||void 0!==this.onReady?[2]:(e=this,[4,_n(t,r,this.name,this.version,this.settings,this.options.obfuscate)]);case 1:e.integration=n.sent(),this.onReady=new Promise((function(t){i.integration.once("ready",(function(){i._ready=!0,t(!0)}))})),this.onInitialize=new Promise((function(t){i.integration.on("initialize",(function(){i._initialized=!0,t(!0)}))}));try{t.stats.increment("analytics_js.integration.invoke",1,["method:initialize","integration_name:".concat(this.name)]),this.integration.initialize()}catch(e){throw t.stats.increment("analytics_js.integration.invoke.error",1,["method:initialize","integration_name:".concat(this.name)]),e}return[2]}}))}))},t.prototype.unload=function(t,r){return function(t,r,a){return e(this,void 0,void 0,(function(){var e,u,s,c;return n(this,(function(n){return e=i(),u=wn(t),s=bn(t,a),c="".concat(e,"/integrations/").concat(null!=s?s:u,"/").concat(r,"/").concat(null!=s?s:u,".dynamic.js.gz"),[2,o(c)]}))}))}(this.name,this.version,this.options.obfuscate)},t.prototype.addMiddleware=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this.middleware=(t=this.middleware).concat.apply(t,e)},t.prototype.shouldBuffer=function(t){return"page"!==t.event.type&&(a()||!1===this._ready||!1===this._initialized)},t.prototype.send=function(t,r,i){var o,a;return e(this,void 0,void 0,(function(){var e,f,l,d,p,h;return n(this,(function(n){switch(n.label){case 0:if(this.shouldBuffer(t))return this.buffer.push(t),this.scheduleFlush(),[2,t];if(e=null===(a=null===(o=this.options)||void 0===o?void 0:o.plan)||void 0===a?void 0:a.track,f=t.event.event,e&&f&&"Segment.io"!==this.name){if(l=e[f],!j(e,l))return t.updateEvent("integrations",s(s({},t.event.integrations),{All:!1,"Segment.io":!0})),t.cancel(new c({retry:!1,reason:"Event ".concat(f," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,t];if(t.updateEvent("integrations",s(s({},t.event.integrations),null==l?void 0:l.integrations)),null!=l&&l.enabled&&!1===(null==l?void 0:l.integrations[this.name]))return t.cancel(new c({retry:!1,reason:"Event ".concat(f," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,t]}return[4,A(this.name,jn(t.event),this.middleware)];case 1:if(null===(d=n.sent()))return[2,t];p=new r(d,{}),t.stats.increment("analytics_js.integration.invoke",1,["method:".concat(i),"integration_name:".concat(this.name)]),n.label=2;case 2:return n.trys.push([2,5,,6]),this.integration?[4,u(this.integration.invoke.call(this.integration,i,p))]:[3,4];case 3:n.sent(),n.label=4;case 4:return[3,6];case 5:throw h=n.sent(),t.stats.increment("analytics_js.integration.invoke.error",1,["method:".concat(i),"integration_name:".concat(this.name)]),h;case 6:return[2,t]}}))}))},t.prototype.track=function(t){return e(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.send(t,f.Track,"track")]}))}))},t.prototype.page=function(t){var r;return e(this,void 0,void 0,(function(){var e=this;return n(this,(function(n){return!(null===(r=this.integration)||void 0===r)&&r._assumesPageview&&!this._initialized&&this.integration.initialize(),[2,this.onInitialize.then((function(){return e.send(t,f.Page,"page")}))]}))}))},t.prototype.identify=function(t){return e(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.send(t,f.Identify,"identify")]}))}))},t.prototype.alias=function(t){return e(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.send(t,f.Alias,"alias")]}))}))},t.prototype.group=function(t){return e(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.send(t,f.Group,"group")]}))}))},t.prototype.scheduleFlush=function(){var t=this;this.flushing||setTimeout((function(){return e(t,void 0,void 0,(function(){var t;return n(this,(function(e){switch(e.label){case 0:return this.flushing=!0,t=this,[4,An(this,this.buffer)];case 1:return t.buffer=e.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}}))}))}),5e3*Math.random())},t}();function kn(t,e,n){var r,i;if(void 0===e&&(e={}),void 0===n&&(n={}),d())return[];t.plan&&((n=null!=n?n:{}).plan=t.plan);var o=null!==(i=null===(r=t.middlewareSettings)||void 0===r?void 0:r.routingRules)&&void 0!==i?i:[],a=function(t){return function(e){var n=e.payload,r=e.integration,i=e.next;new k.Store(t).getRulesByDestinationName(r).forEach((function(t){for(var e=t.matchers,r=t.transformers,o=0;o<e.length;o++)if(k.matches(n.obj,e[o])&&(n.obj=k.transform(n.obj,r[o]),null===n.obj))return i(null)})),i(n)}}(o),u=p(t,null!=n?n:{});return Object.entries(t.integrations).map((function(t){var r,i=t[0],s=t[1];if(!i.startsWith("Segment")){var c=!1===e.All&&void 0===e[i];if(!1!==e[i]&&!c){var f=s.type,l=s.bundlingStatus,d=s.versionSettings;if(("unbundled"!==l&&("browser"===f||(null===(r=null==d?void 0:d.componentTypes)||void 0===r?void 0:r.includes("browser")))||"Segment.io"===i)&&"Iterable"!==i){var p=function(t){var e,n,r,i;return null!==(i=null!==(n=null===(e=t.versionSettings)||void 0===e?void 0:e.override)&&void 0!==n?n:null===(r=t.versionSettings)||void 0===r?void 0:r.version)&&void 0!==i?i:"latest"}(s),h=new On(i,p,u[i],n);return o.filter((function(t){return t.destinationName===i})).length>0&&h.addMiddleware(a),h}}}})).filter((function(t){return void 0!==t}))}export{On as LegacyDestination,kn as ajsDestinations};
705
+ */const Qe=h(_);var Ve={},Ye=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.unset=void 0;var qe=Ye(M);Ve.unset=function(t,e){if((0,qe.default)(t,e)){for(var n=e.split("."),r=n.pop();n.length&&"\\"===n[n.length-1].slice(-1);)r=n.pop().slice(0,-1)+"."+r;for(;n.length;)t=t[e=n.shift()];return delete t[r]}return!0};var Ke=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(S,"__esModule",{value:!0});var Xe=Ke(U),Ze=Ke(M),$e=Ke(We),tn=Qe,en=Ve;function nn(t,e){for(var n in e.drop)if(e.drop.hasOwnProperty(n)){var r=""===n?t:(0,Ze.default)(t,n);if("object"==typeof r&&null!==r)for(var i=0,o=e.drop[n];i<o.length;i++){delete r[o[i]]}}}function rn(t,e){for(var n in e.allow)if(e.allow.hasOwnProperty(n)){var r=""===n?t:(0,Ze.default)(t,n);if("object"==typeof r&&null!==r)for(var i in r)r.hasOwnProperty(i)&&-1===e.allow[n].indexOf(i)&&delete r[i]}}function on(t,e){var n=JSON.parse(JSON.stringify(t));for(var r in e.map)if(e.map.hasOwnProperty(r)){var i=e.map[r],o=r.split("."),a=void 0;if(o.length>1?(o.pop(),a=(0,Ze.default)(n,o.join("."))):a=t,"object"==typeof a){if(i.copy){var u=(0,Ze.default)(n,i.copy);void 0!==u&&(0,tn.dset)(t,r,u)}else if(i.move){var s=(0,Ze.default)(n,i.move);void 0!==s&&(0,tn.dset)(t,r,s),(0,en.unset)(t,i.move)}else i.hasOwnProperty("set")&&(0,tn.dset)(t,r,i.set);if(i.to_string){var c=(0,Ze.default)(t,r);if("string"==typeof c||"object"==typeof c&&null!==c)continue;void 0!==c?(0,tn.dset)(t,r,JSON.stringify(c)):(0,tn.dset)(t,r,"undefined")}}}}function an(t,e){return!(e.sample.percent<=0)&&(e.sample.percent>=1||(e.sample.path?function(t,e){var n=(0,Ze.default)(t,e.sample.path),r=(0,Xe.default)(JSON.stringify(n)),i=-64,o=[];un(r.slice(0,8),o);for(var a=0,u=0;u<64&&1!==o[u];u++)a++;if(0!==a){var s=[];un(r.slice(9,16),s),i-=a,o.splice(0,a),s.splice(64-a),o=o.concat(s)}return o[63]=0===o[63]?1:0,(0,$e.default)(parseInt(o.join(""),2),i)<e.sample.percent}(t,e):function(t){return Math.random()<=t}(e.sample.percent)))}function un(t,e){for(var n=0;n<8;n++)for(var r=t[n],i=128;i>=1;i/=2)r-i>=0?(r-=i,e.push(1)):e.push(0)}S.default=function(t,e){for(var n=t,r=0,i=e;r<i.length;r++){var o=i[r];switch(o.type){case"drop":return null;case"drop_properties":nn(n,o.config);break;case"allow_properties":rn(n,o.config);break;case"sample_event":if(an(n,o.config))break;return null;case"map_properties":on(n,o.config);break;case"hash_properties":break;default:throw new Error('Transformer of type "'.concat(o.type,'" is unsupported.'))}}return n};var sn={},cn=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(sn,"__esModule",{value:!0});var fn=cn(M);function ln(t,e){if(!Array.isArray(t))return!0===dn(t,e);var n=t[0];switch(n){case"!":return!ln(t[1],e);case"or":for(var r=1;r<t.length;r++)if(ln(t[r],e))return!0;return!1;case"and":for(r=1;r<t.length;r++)if(!ln(t[r],e))return!1;return!0;case"=":case"!=":return function(t,e,n,r){switch(pn(t)&&(t=ln(t,r)),pn(e)&&(e=ln(e,r)),"object"==typeof t&&"object"==typeof e&&(t=JSON.stringify(t),e=JSON.stringify(e)),n){case"=":return t===e;case"!=":return t!==e;default:throw new Error("Invalid operator in compareItems: ".concat(n))}}(dn(t[1],e),dn(t[2],e),n,e);case"<=":case"<":case">":case">=":return function(t,e,n,r){if(pn(t)&&(t=ln(t,r)),pn(e)&&(e=ln(e,r)),"number"!=typeof t||"number"!=typeof e)return!1;switch(n){case"<=":return t<=e;case">=":return t>=e;case"<":return t<e;case">":return t>e;default:throw new Error("Invalid operator in compareNumbers: ".concat(n))}}(dn(t[1],e),dn(t[2],e),n,e);case"contains":return function(t,e){return"string"==typeof t&&"string"==typeof e&&-1!==t.indexOf(e)}(dn(t[1],e),dn(t[2],e));case"match":return function(t,e){return"string"==typeof t&&"string"==typeof e&&function(t,e){var n,r;t:for(;t.length>0;){var i=void 0,o=void 0;if(i=(n=hn(t)).star,o=n.chunk,t=n.pattern,i&&""===o)return!0;var a=vn(o,e),u=a.t,s=a.ok,c=a.err;if(c)return!1;if(!s||!(0===u.length||t.length>0)){if(i)for(var f=0;f<e.length;f++){if(u=(r=vn(o,e.slice(f+1))).t,s=r.ok,c=r.err,s){if(0===t.length&&u.length>0)continue;e=u;continue t}if(c)return!1}return!1}e=u}return 0===e.length}(e,t)}(dn(t[1],e),dn(t[2],e));case"lowercase":var i=dn(t[1],e);return"string"!=typeof i?null:i.toLowerCase();case"typeof":return typeof dn(t[1],e);case"length":return function(t){return null===t?0:Array.isArray(t)||"string"==typeof t?t.length:NaN}(dn(t[1],e));default:throw new Error("FQL IR could not evaluate for token: ".concat(n))}}function dn(t,e){return Array.isArray(t)?t:"object"==typeof t?t.value:(0,fn.default)(e,t)}function pn(t){return!!Array.isArray(t)&&(("lowercase"===t[0]||"length"===t[0]||"typeof"===t[0])&&2===t.length||("contains"===t[0]||"match"===t[0])&&3===t.length)}function hn(t){for(var e={star:!1,chunk:"",pattern:""};t.length>0&&"*"===t[0];)t=t.slice(1),e.star=!0;var n,r=!1;t:for(n=0;n<t.length;n++)switch(t[n]){case"\\":n+1<t.length&&n++;break;case"[":r=!0;break;case"]":r=!1;break;case"*":if(!r)break t}return e.chunk=t.slice(0,n),e.pattern=t.slice(n),e}function vn(t,e){for(var n,r,i={t:"",ok:!1,err:!1};t.length>0;){if(0===e.length)return i;switch(t[0]){case"[":var o=e[0];e=e.slice(1);var a=!0;(t=t.slice(1)).length>0&&"^"===t[0]&&(a=!1,t=t.slice(1));for(var u=!1,s=0;;){if(t.length>0&&"]"===t[0]&&s>0){t=t.slice(1);break}var c,f="";if(c=(n=yn(t)).char,t=n.newChunk,n.err||(f=c,"-"===t[0]&&(f=(r=yn(t.slice(1))).char,t=r.newChunk,r.err)))return i;c<=o&&o<=f&&(u=!0),s++}if(u!==a)return i;break;case"?":e=e.slice(1),t=t.slice(1);break;case"\\":if(0===(t=t.slice(1)).length)return i.err=!0,i;default:if(t[0]!==e[0])return i;e=e.slice(1),t=t.slice(1)}}return i.t=e,i.ok=!0,i.err=!1,i}function yn(t){var e={char:"",newChunk:"",err:!1};return 0===t.length||"-"===t[0]||"]"===t[0]||"\\"===t[0]&&0===(t=t.slice(1)).length?(e.err=!0,e):(e.char=t[0],e.newChunk=t.slice(1),0===e.newChunk.length&&(e.err=!0),e)}sn.default=function(t,e){if(!e)throw new Error("No matcher supplied!");switch(e.type){case"all":return!0;case"fql":return function(t,e){if(!t)return!1;try{t=JSON.parse(t)}catch(e){throw new Error('Failed to JSON.parse FQL intermediate representation "'.concat(t,'": ').concat(e))}var n=ln(t,e);return"boolean"==typeof n&&n}(e.ir,t);default:throw new Error("Matcher of type ".concat(e.type," unsupported."))}};var gn={};Object.defineProperty(gn,"__esModule",{value:!0});var mn=function(){function t(t){this.rules=[],this.rules=t||[]}return t.prototype.getRulesByDestinationName=function(t){for(var e=[],n=0,r=this.rules;n<r.length;n++){var i=r[n];(i.destinationName===t||void 0===i.destinationName)&&e.push(i)}return e},t}();gn.default=mn,function(e){var n=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Store=e.matches=e.transform=void 0;var r=S;Object.defineProperty(e,"transform",{enumerable:!0,get:function(){return n(r).default}});var i=sn;Object.defineProperty(e,"matches",{enumerable:!0,get:function(){return n(i).default}});var o=gn;Object.defineProperty(e,"Store",{enumerable:!0,get:function(){return n(o).default}})}(k);function wn(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function bn(t,e){return void 0===e&&(e=!1),e?btoa(t).replace(/=/g,""):void 0}function _n(t,o,a,u,s,c){return e(this,void 0,void 0,(function(){var e,f,l,d,p,h,y,g;return n(this,(function(n){switch(n.label){case 0:e=wn(a),f=bn(e,c),l=i(),d="".concat(l,"/integrations/").concat(null!=f?f:e,"/").concat(u,"/").concat(null!=f?f:e,".dynamic.js.gz"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,r(d)];case 2:return n.sent(),function(t,e,n){var r,i;try{var o=(null!==(i=null===(r=null==window?void 0:window.performance)||void 0===r?void 0:r.getEntriesByName(t,"resource"))&&void 0!==i?i:[])[0];o&&e.stats.gauge("legacy_destination_time",Math.round(o.duration),v([n],o.duration<100?["cached"]:[],!0))}catch(t){}}(d,t,a),[3,4];case 3:throw p=n.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(a),"failed"]),p;case 4:return h=window["".concat(e,"Deps")],[4,Promise.all(h.map((function(t){return r(l+t+".gz")})))];case 5:return n.sent(),window["".concat(e,"Loader")](),(y=window["".concat(e,"Integration")]).Integration&&(y({user:function(){return o.user()},addIntegration:function(){}}),y=y.Integration),(g=new y(s)).analytics=o,[2,g]}}))}))}var jn=function(t){return JSON.parse(JSON.stringify(t))};function An(t,r){return e(this,void 0,void 0,(function(){var i,o=this;return n(this,(function(u){switch(u.label){case 0:return i=[],a()?[2,r]:[4,l((function(){return r.length>0&&g()}),(function(){return e(o,void 0,void 0,(function(){var e,o;return n(this,(function(n){switch(n.label){case 0:return(e=r.pop())?[4,y(e,t)]:[2];case 1:return o=n.sent(),o instanceof b||i.push(e),[2]}}))}))}))];case 1:return u.sent(),i.map((function(t){return r.pushWithBackoff(t)})),[2,r]}}))}))}var On=function(){function t(t,e,n,r){void 0===n&&(n={}),this.options={},this.type="destination",this.middleware=[],this._ready=!1,this._initialized=!1,this.flushing=!1,this.name=t,this.version=e,this.settings=s({},n),this.settings.type&&"browser"===this.settings.type&&delete this.settings.type,this.options=r,this.buffer=r.disableClientPersistence?new m(4,[]):new w(4,"dest-".concat(t)),this.scheduleFlush()}return t.prototype.isLoaded=function(){return this._ready},t.prototype.ready=function(){var t;return null!==(t=this.onReady)&&void 0!==t?t:Promise.resolve()},t.prototype.load=function(t,r){return e(this,void 0,void 0,(function(){var e,i=this;return n(this,(function(n){switch(n.label){case 0:return this._ready||void 0!==this.onReady?[2]:(e=this,[4,_n(t,r,this.name,this.version,this.settings,this.options.obfuscate)]);case 1:e.integration=n.sent(),this.onReady=new Promise((function(t){i.integration.once("ready",(function(){i._ready=!0,t(!0)}))})),this.onInitialize=new Promise((function(t){i.integration.on("initialize",(function(){i._initialized=!0,t(!0)}))}));try{t.stats.increment("analytics_js.integration.invoke",1,["method:initialize","integration_name:".concat(this.name)]),this.integration.initialize()}catch(e){throw t.stats.increment("analytics_js.integration.invoke.error",1,["method:initialize","integration_name:".concat(this.name)]),e}return[2]}}))}))},t.prototype.unload=function(t,r){return function(t,r,a){return e(this,void 0,void 0,(function(){var e,u,s,c;return n(this,(function(n){return e=i(),u=wn(t),s=bn(t,a),c="".concat(e,"/integrations/").concat(null!=s?s:u,"/").concat(r,"/").concat(null!=s?s:u,".dynamic.js.gz"),[2,o(c)]}))}))}(this.name,this.version,this.options.obfuscate)},t.prototype.addMiddleware=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this.middleware=(t=this.middleware).concat.apply(t,e)},t.prototype.shouldBuffer=function(t){return"page"!==t.event.type&&(a()||!1===this._ready||!1===this._initialized)},t.prototype.send=function(t,r,i){var o,a;return e(this,void 0,void 0,(function(){var e,f,l,d,p,h;return n(this,(function(n){switch(n.label){case 0:if(this.shouldBuffer(t))return this.buffer.push(t),this.scheduleFlush(),[2,t];if(e=null===(a=null===(o=this.options)||void 0===o?void 0:o.plan)||void 0===a?void 0:a.track,f=t.event.event,e&&f&&"Segment.io"!==this.name){if(l=e[f],!j(e,l))return t.updateEvent("integrations",s(s({},t.event.integrations),{All:!1,"Segment.io":!0})),t.cancel(new c({retry:!1,reason:"Event ".concat(f," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,t];if(t.updateEvent("integrations",s(s({},t.event.integrations),null==l?void 0:l.integrations)),null!=l&&l.enabled&&!1===(null==l?void 0:l.integrations[this.name]))return t.cancel(new c({retry:!1,reason:"Event ".concat(f," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,t]}return[4,A(this.name,jn(t.event),this.middleware)];case 1:if(null===(d=n.sent()))return[2,t];p=new r(d,{}),t.stats.increment("analytics_js.integration.invoke",1,["method:".concat(i),"integration_name:".concat(this.name)]),n.label=2;case 2:return n.trys.push([2,5,,6]),this.integration?[4,u(this.integration.invoke.call(this.integration,i,p))]:[3,4];case 3:n.sent(),n.label=4;case 4:return[3,6];case 5:throw h=n.sent(),t.stats.increment("analytics_js.integration.invoke.error",1,["method:".concat(i),"integration_name:".concat(this.name)]),h;case 6:return[2,t]}}))}))},t.prototype.track=function(t){return e(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.send(t,f.Track,"track")]}))}))},t.prototype.page=function(t){var r;return e(this,void 0,void 0,(function(){var e=this;return n(this,(function(n){return!(null===(r=this.integration)||void 0===r)&&r._assumesPageview&&!this._initialized&&this.integration.initialize(),[2,this.onInitialize.then((function(){return e.send(t,f.Page,"page")}))]}))}))},t.prototype.identify=function(t){return e(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.send(t,f.Identify,"identify")]}))}))},t.prototype.alias=function(t){return e(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.send(t,f.Alias,"alias")]}))}))},t.prototype.group=function(t){return e(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.send(t,f.Group,"group")]}))}))},t.prototype.scheduleFlush=function(){var t=this;this.flushing||setTimeout((function(){return e(t,void 0,void 0,(function(){var t;return n(this,(function(e){switch(e.label){case 0:return this.flushing=!0,t=this,[4,An(this,this.buffer)];case 1:return t.buffer=e.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}}))}))}),5e3*Math.random())},t}();function kn(t,e,n){var r,i;if(void 0===e&&(e={}),void 0===n&&(n={}),d())return[];t.plan&&((n=null!=n?n:{}).plan=t.plan);var o=null!==(i=null===(r=t.middlewareSettings)||void 0===r?void 0:r.routingRules)&&void 0!==i?i:[],a=function(t){return function(e){var n=e.payload,r=e.integration,i=e.next;new k.Store(t).getRulesByDestinationName(r).forEach((function(t){for(var e=t.matchers,r=t.transformers,o=0;o<e.length;o++)if(k.matches(n.obj,e[o])&&(n.obj=k.transform(n.obj,r[o]),null===n.obj))return i(null)})),i(n)}}(o),u=p(t,null!=n?n:{});return Object.entries(t.integrations).map((function(t){var r,i=t[0],s=t[1];if(!i.startsWith("Segment")){var c=!1===e.All&&void 0===e[i];if(!1!==e[i]&&!c){var f=s.type,l=s.bundlingStatus,d=s.versionSettings;if(("unbundled"!==l&&("browser"===f||(null===(r=null==d?void 0:d.componentTypes)||void 0===r?void 0:r.includes("browser")))||"Segment.io"===i)&&"Iterable"!==i){var p=function(t){var e,n,r,i;return null!==(i=null!==(n=null===(e=t.versionSettings)||void 0===e?void 0:e.override)&&void 0!==n?n:null===(r=t.versionSettings)||void 0===r?void 0:r.version)&&void 0!==i?i:"latest"}(s),h=new On(i,p,u[i],n);return o.filter((function(t){return t.destinationName===i})).length>0&&h.addMiddleware(a),h}}}})).filter((function(t){return void 0!==t}))}export{On as LegacyDestination,kn as ajsDestinations};
@@ -1 +1 @@
1
- import{y as e}from"./index.esm2.js";import{l as t}from"./is-plan-event-enabled-d9660f36.esm.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";function n(n,r){function i(i){var o=n,a=i.event.event;if(o&&a){var c=o[a];if(!t(o,c))return i.updateEvent("integrations",e(e({},i.event.integrations),{All:!1,"Segment.io":!0})),i;var s=function(e,t){var n,r;if(!e||!Object.keys(e))return{};var i=Object.keys(e.integrations).filter((function(t){return!1===e.integrations[t]})),o=[];return(null!==(n=t.remotePlugins)&&void 0!==n?n:[]).forEach((function(e){i.forEach((function(t){(e.name.includes(t)||t.includes(e.name))&&o.push(e.name)}))})),(null!==(r=t.remotePlugins)&&void 0!==r?r:[]).reduce((function(e,t){return t.settings.subscriptions&&o.includes(t.name)&&t.settings.subscriptions.forEach((function(n){return e["".concat(t.name," ").concat(n.partnerAction)]=!1})),e}),{})}(c,r);i.updateEvent("integrations",e(e(e({},i.event.integrations),null==c?void 0:c.integrations),s))}return i}return{name:"Schema Filter",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:i,alias:i,track:i,identify:i,group:i}}export{n as schemaFilter};
1
+ import{w as e}from"./index.esm2.js";import{l as t}from"./is-plan-event-enabled-d9660f36.esm.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";function n(n,r){function i(i){var o=n,a=i.event.event;if(o&&a){var c=o[a];if(!t(o,c))return i.updateEvent("integrations",e(e({},i.event.integrations),{All:!1,"Segment.io":!0})),i;var s=function(e,t){var n,r;if(!e||!Object.keys(e))return{};var i=Object.keys(e.integrations).filter((function(t){return!1===e.integrations[t]})),o=[];return(null!==(n=t.remotePlugins)&&void 0!==n?n:[]).forEach((function(e){i.forEach((function(t){(e.name.includes(t)||t.includes(e.name))&&o.push(e.name)}))})),(null!==(r=t.remotePlugins)&&void 0!==r?r:[]).reduce((function(e,t){return t.settings.subscriptions&&o.includes(t.name)&&t.settings.subscriptions.forEach((function(n){return e["".concat(t.name," ").concat(n.partnerAction)]=!1})),e}),{})}(c,r);i.updateEvent("integrations",e(e(e({},i.event.integrations),null==c?void 0:c.integrations),s))}return i}return{name:"Schema Filter",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:i,alias:i,track:i,identify:i,group:i}}export{n as schemaFilter};
package/index.d.ts CHANGED
@@ -72,6 +72,10 @@ interface PaginatedList<TItem> {
72
72
  hasNextPage?: boolean;
73
73
  }
74
74
 
75
+ interface Resources {
76
+ [language: string]: Record<string, string>;
77
+ }
78
+
75
79
  interface BasicUserInformation {
76
80
  displayName?: string;
77
81
  userPrincipalName?: string;
@@ -91,8 +95,120 @@ interface Account extends BasicUserInformation {
91
95
  tenantId?: string;
92
96
  }
93
97
 
94
- interface Resources {
95
- [language: string]: Record<string, string>;
98
+ interface UserChannelSubscription {
99
+ id: string;
100
+ name: string;
101
+ sendNotifications?: boolean;
102
+ isPinnedToNavigation?: boolean;
103
+ isMandatory?: boolean;
104
+ }
105
+
106
+ interface PublishableItemNotificationSummary {
107
+ itemId: string;
108
+ title?: string;
109
+ channelIds?: string[];
110
+ publishingDate?: string;
111
+ }
112
+ declare enum GroupRoleNames {
113
+ Admin = "Admin",
114
+ Editor = "Editor",
115
+ Author = "Author",
116
+ Reader = "Reader",
117
+ LimitedReader = "LimitedReader",
118
+ None = "None"
119
+ }
120
+ declare enum GroupRoles {
121
+ None = 0,
122
+ LimitedReader = 5,
123
+ Reader = 10,
124
+ Author = 20,
125
+ Editor = 30,
126
+ Admin = 40
127
+ }
128
+ declare enum NotificationType {
129
+ None = 0,
130
+ MobilePush = 1,
131
+ Email = 2,
132
+ Teams = 4,
133
+ BrowserPush = 8
134
+ }
135
+ interface NotificationTypeSettings {
136
+ news: NotificationType;
137
+ posts: NotificationType;
138
+ comments: NotificationType;
139
+ mentions: NotificationType;
140
+ events: NotificationType;
141
+ chat: NotificationType;
142
+ pluginNotifications: {
143
+ [key: string]: NotificationType;
144
+ };
145
+ newsEditor: NotificationType;
146
+ eventEditor: NotificationType;
147
+ }
148
+ interface CurrentUser extends Account {
149
+ isEmailVerificationPending?: boolean;
150
+ isSubscriptionOwner: boolean;
151
+ givenName: string;
152
+ surname: string;
153
+ preferredUiLanguage: string;
154
+ preferredContentLanguage?: string;
155
+ preferredLocale?: string;
156
+ bookmarks: string[];
157
+ groups: UserGroup[];
158
+ subscription: SubscriptionSummary;
159
+ availableSubscriptions: SubscriptionSummary[];
160
+ channels: UserChannelSubscription[];
161
+ userHash: string;
162
+ unreadNews: PublishableItemNotificationSummary[];
163
+ unreadEvents: PublishableItemNotificationSummary[];
164
+ unreadPosts: {
165
+ groupId: string;
166
+ itemId: string;
167
+ }[];
168
+ unreadFeedItemsCount?: number;
169
+ mostRecentPostGroups: string[];
170
+ notificationTypeSettings: NotificationTypeSettings;
171
+ hasPendingRegistration?: boolean;
172
+ minRoles: UserMinRoles;
173
+ hasDirectory: boolean;
174
+ contacts: UserContact[];
175
+ termsAndConditionsApprovedHash: string;
176
+ isPublicUser?: boolean;
177
+ hasUnreadChats?: boolean;
178
+ publicSubscriptionIds?: string[];
179
+ }
180
+ interface UserContact {
181
+ tokenUniqueId: string;
182
+ tenantId: string;
183
+ }
184
+ interface GroupBase {
185
+ id: string;
186
+ name: string;
187
+ translations?: {
188
+ [key: string]: string;
189
+ };
190
+ }
191
+ interface UserGroup extends GroupBase {
192
+ allowPosts: boolean;
193
+ disablePostComments: boolean;
194
+ availableChannelIds: string[];
195
+ defaultChannelIds: string[];
196
+ mandatoryChannelIds: string[];
197
+ availableKeywordIds: string[];
198
+ defaultKeywordIds: string[];
199
+ mandatoryKeywordIds: string[];
200
+ role: UserGroupRole;
201
+ }
202
+ interface UserMinRoles {
203
+ isEditor: boolean;
204
+ isAuthor: boolean;
205
+ isAdmin: boolean;
206
+ isReader: boolean;
207
+ isSubscriptionOwner: boolean;
208
+ }
209
+ interface UserGroupRole {
210
+ roleValue: GroupRoles;
211
+ displayName: GroupRoleNames;
96
212
  }
97
213
 
98
214
  interface LanguageBase {
@@ -292,122 +408,6 @@ declare enum FieldMode {
292
408
  Hidden = 3
293
409
  }
294
410
 
295
- interface UserChannelSubscription {
296
- id: string;
297
- name: string;
298
- sendNotifications?: boolean;
299
- isPinnedToNavigation?: boolean;
300
- isMandatory?: boolean;
301
- }
302
-
303
- interface PublishableItemNotificationSummary {
304
- itemId: string;
305
- title?: string;
306
- channelIds?: string[];
307
- publishingDate?: string;
308
- }
309
- declare enum GroupRoleNames {
310
- Admin = "Admin",
311
- Editor = "Editor",
312
- Author = "Author",
313
- Reader = "Reader",
314
- LimitedReader = "LimitedReader",
315
- None = "None"
316
- }
317
- declare enum GroupRoles {
318
- None = 0,
319
- LimitedReader = 5,
320
- Reader = 10,
321
- Author = 20,
322
- Editor = 30,
323
- Admin = 40
324
- }
325
- declare enum NotificationType {
326
- None = 0,
327
- MobilePush = 1,
328
- Email = 2,
329
- Teams = 4,
330
- BrowserPush = 8
331
- }
332
- interface NotificationTypeSettings {
333
- news: NotificationType;
334
- posts: NotificationType;
335
- comments: NotificationType;
336
- mentions: NotificationType;
337
- events: NotificationType;
338
- chat: NotificationType;
339
- pluginNotifications: {
340
- [key: string]: NotificationType;
341
- };
342
- newsEditor: NotificationType;
343
- eventEditor: NotificationType;
344
- }
345
- interface CurrentUser extends Account {
346
- isEmailVerificationPending?: boolean;
347
- isSubscriptionOwner: boolean;
348
- givenName: string;
349
- surname: string;
350
- preferredUiLanguage: string;
351
- preferredContentLanguage?: string;
352
- preferredLocale?: string;
353
- bookmarks: string[];
354
- groups: UserGroup[];
355
- subscription: SubscriptionSummary;
356
- availableSubscriptions: SubscriptionSummary[];
357
- channels: UserChannelSubscription[];
358
- userHash: string;
359
- unreadNews: PublishableItemNotificationSummary[];
360
- unreadEvents: PublishableItemNotificationSummary[];
361
- unreadPosts: {
362
- groupId: string;
363
- itemId: string;
364
- }[];
365
- unreadFeedItemsCount?: number;
366
- mostRecentPostGroups: string[];
367
- notificationTypeSettings: NotificationTypeSettings;
368
- hasPendingRegistration?: boolean;
369
- minRoles: UserMinRoles;
370
- hasDirectory: boolean;
371
- contacts: UserContact[];
372
- termsAndConditionsApprovedHash: string;
373
- isPublicUser?: boolean;
374
- hasUnreadChats?: boolean;
375
- publicSubscriptionIds?: string[];
376
- }
377
- interface UserContact {
378
- tokenUniqueId: string;
379
- tenantId: string;
380
- }
381
- interface GroupBase {
382
- id: string;
383
- name: string;
384
- translations?: {
385
- [key: string]: string;
386
- };
387
- }
388
- interface UserGroup extends GroupBase {
389
- allowPosts: boolean;
390
- disablePostComments: boolean;
391
- availableChannelIds: string[];
392
- defaultChannelIds: string[];
393
- mandatoryChannelIds: string[];
394
- availableKeywordIds: string[];
395
- defaultKeywordIds: string[];
396
- mandatoryKeywordIds: string[];
397
- role: UserGroupRole;
398
- }
399
- interface UserMinRoles {
400
- isEditor: boolean;
401
- isAuthor: boolean;
402
- isAdmin: boolean;
403
- isReader: boolean;
404
- isSubscriptionOwner: boolean;
405
- }
406
- interface UserGroupRole {
407
- roleValue: GroupRoles;
408
- displayName: GroupRoleNames;
409
- }
410
-
411
411
  interface ItemStatistics {
412
412
  commentCount?: number;
413
413
  likeCount?: number;
@@ -450,6 +450,7 @@ interface NewsItem extends SchedulableItem {
450
450
  expiryDate?: string;
451
451
  knownState: KnownNewsState;
452
452
  hasNewComments?: boolean;
453
+ isLiked?: boolean;
453
454
  }
454
455
  interface NewsItemAlertOptions {
455
456
  duration?: string;
@@ -469,19 +470,6 @@ interface BaseItem {
469
470
  id?: string;
470
471
  statistics?: ItemStatistics;
471
472
  poll?: Poll;
472
- searchHighlights?: SearchHighlightSummary;
473
- }
474
- interface SearchHighlightSummary {
475
- title: SearchHighlight[];
476
- content: SearchHighlight[];
477
- }
478
- interface SearchHighlight {
479
- language: string;
480
- texts: {
481
- value: string;
482
- type: 'text' | 'hit';
483
- }[];
484
- score: number;
485
473
  }
486
474
  interface Poll {
487
475
  questions: PollQuestion[];
@@ -516,6 +504,7 @@ interface PublishableItemContent extends ContentDefinition {
516
504
  headline?: string;
517
505
  intro?: string;
518
506
  body?: string;
507
+ bodyRaw?: string;
519
508
  customProperties?: {
520
509
  [key: string]: any;
521
510
  };
@@ -580,7 +569,6 @@ interface PublishableItem extends BaseItem {
580
569
  statistics?: ItemStatistics;
581
570
  useExternalContent?: boolean;
582
571
  isDemoContent?: boolean;
583
- isLiked?: boolean;
584
572
  }
585
573
  interface PollTranslation {
586
574
  questions: QuestionTranslations[];
@@ -646,7 +634,6 @@ interface Comment extends ItemWithAttachments {
646
634
  id: string;
647
635
  parentItemId: string;
648
636
  content: string;
649
- formattedContent?: string;
650
637
  contentLanguageCode?: string;
651
638
  receivedDateTime: string;
652
639
  sender: Account;
@@ -874,7 +861,7 @@ interface PostDetailProps {
874
861
  }
875
862
  declare const PostDetail: FC<PostDetailProps>;
876
863
 
877
- declare const LegacyDialog: FC<IDialogProps>;
864
+ declare const Dialog: FC<IDialogProps>;
878
865
 
879
866
  interface ToolbarProps {
880
867
  leftSide?: ReactNode;
@@ -1650,4 +1637,4 @@ declare const ToolbarBookmarkButton: FC<{
1650
1637
  onClick?: () => unknown;
1651
1638
  }>;
1652
1639
 
1653
- export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, ErrorType, ErrorWrapper, ErrorWrapperProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailPreview, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventItemContextProvider, EventItemPreviewContextProvider, EventStreamItem, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemLoader, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, NewsStreamItem, PageDetail, PageDetailPreview, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageItemPreviewContextProvider, PageStreamItem, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PostStreamItem, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, LegacyDialog as ReachDialog, SharedItemDetailPreviewProps, TargetLinkOverrideContextProvider, Toolbar, ToolbarBookmarkButton, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarLanguageSelector, ToolbarManageButton, ToolbarManageItemButton, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarLanguageSelector as ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, VideoSource$1 as VideoSource, isFilterActive, useCurrentUser, useEventsStreamDataLoader, useLazySubscriptionContext, useNewsStreamDataLoader, usePagesStreamDataLoader, usePostsStreamDataLoader };
1640
+ export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, ErrorType, ErrorWrapper, ErrorWrapperProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailPreview, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventItemContextProvider, EventItemPreviewContextProvider, EventStreamItem, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemLoader, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, NewsStreamItem, PageDetail, PageDetailPreview, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageItemPreviewContextProvider, PageStreamItem, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PostStreamItem, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, Dialog as ReachDialog, SharedItemDetailPreviewProps, TargetLinkOverrideContextProvider, Toolbar, ToolbarBookmarkButton, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarLanguageSelector, ToolbarManageButton, ToolbarManageItemButton, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarLanguageSelector as ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, VideoSource$1 as VideoSource, isFilterActive, useCurrentUser, useEventsStreamDataLoader, useLazySubscriptionContext, useNewsStreamDataLoader, usePagesStreamDataLoader, usePostsStreamDataLoader };
package/index.esm.js CHANGED
@@ -1 +1 @@
1
- export{b3 as AuthorFilter,b2 as AuthorToolbarFilter,au as Avatar,aX as ChannelFilter,b8 as ChannelSelector,aY as ChannelToolbarFilter,a$ as ClearAllFiltersButton,bs as ContactToolbarFilter,bg as EditorToolbarIndicators,bI as ErrorType,bH as ErrorWrapper,bt as EventDatesToolbarFilter,aj as EventDetail,aP as EventDetailPreview,by as EventEditor,bz as EventEditorContextProvider,bA as EventEditorPanel,bC as EventEditorToolbarRecurringControls,bB as EventEditorToolbarStateActions,aI as EventItemContextProvider,aS as EventItemPreviewContextProvider,b7 as EventView,ax as EventsEditorDashboard,ao as EventsGrid,ap as EventsList,b4 as FilterSearch,bn as GroupNotificationsSettings,am as ItemLayoutMode,bd as ItemResourceTypes,be as KeywordPicker,b0 as KeywordsFilter,b1 as KeywordsToolbarFilter,bu as LogicalOperator,aq as ManageChannels,ah as NewsDetail,aN as NewsDetailPreview,b9 as NewsEditor,ba as NewsEditorContextProvider,aw as NewsEditorDashboard,bi as NewsEditorPanel,bh as NewsEditorToolbarStateActions,an as NewsGrid,av as NewsHero,aG as NewsItemContextProvider,aQ as NewsItemPreviewContextProvider,al as NewsList,ai as PageDetail,aO as PageDetailPreview,bE as PageEditor,bD as PageEditorContextProvider,bG as PageEditorPanel,bF as PageEditorToolbarStateActions,aH as PageItemContextProvider,aR as PageItemPreviewContextProvider,bx as PageType,bb as PageViewTrackerSettingsContextProvider,bv as PagesGrid,bw as PagesList,ak as PostDetail,bm as PostGroupSelector,bp as PostGroupSelectorButton,bl as PostGroupsPicker,bj as PostInputBox,bk as PostList,ag as PostListContextProvider,a_ as PublishingDateFilter,aZ as PublishingDateToolbarFilter,af as ReachContextProvider,bf as ReachDialog,bc as TargetLinkOverrideContextProvider,ay as Toolbar,aB as ToolbarBookmarkButton,aC as ToolbarChannelSelector,aF as ToolbarCloseButton,b6 as ToolbarEventViewSelector,aU as ToolbarFilterModal,aV as ToolbarFilterModalButton,aT as ToolbarFilterPanel,b5 as ToolbarFilterSearch,bq as ToolbarFilterToggleButton,az as ToolbarIconButton,aJ as ToolbarLanguageSelector,aK as ToolbarManageButton,aM as ToolbarManageItemButton,aL as ToolbarManageNewsItemButton,aD as ToolbarMarkAllEventsAsReadButton,aE as ToolbarMarkAllNewsAsReadButton,aJ as ToolbarNewsLanguageSelector,bo as ToolbarPostNotificationButton,aA as ToolbarUnreadItemsButton,at as UserDetails,aW as VerticalFilterPanel,br as isFilterActive,ar as useCurrentUser,bL as useEventsStreamDataLoader,as as useLazySubscriptionContext,bM as useNewsStreamDataLoader,bJ as usePagesStreamDataLoader,bK as usePostsStreamDataLoader}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";
1
+ export{aN as AuthorFilter,aM as AuthorToolbarFilter,ac as Avatar,aF as ChannelFilter,aS as ChannelSelector,aG as ChannelToolbarFilter,aJ as ClearAllFiltersButton,ba as ContactToolbarFilter,b0 as EditorToolbarIndicators,bq as ErrorType,bp as ErrorWrapper,bb as EventDatesToolbarFilter,a1 as EventDetail,ax as EventDetailPreview,bg as EventEditor,bh as EventEditorContextProvider,bi as EventEditorPanel,bk as EventEditorToolbarRecurringControls,bj as EventEditorToolbarStateActions,aq as EventItemContextProvider,aA as EventItemPreviewContextProvider,aR as EventView,af as EventsEditorDashboard,a6 as EventsGrid,a7 as EventsList,aO as FilterSearch,b5 as GroupNotificationsSettings,a4 as ItemLayoutMode,aX as ItemResourceTypes,a_ as KeywordPicker,aK as KeywordsFilter,aL as KeywordsToolbarFilter,bc as LogicalOperator,a8 as ManageChannels,$ as NewsDetail,av as NewsDetailPreview,aT as NewsEditor,aU as NewsEditorContextProvider,ae as NewsEditorDashboard,aZ as NewsEditorPanel,aY as NewsEditorToolbarStateActions,a5 as NewsGrid,ad as NewsHero,ao as NewsItemContextProvider,ay as NewsItemPreviewContextProvider,a3 as NewsList,a0 as PageDetail,aw as PageDetailPreview,bm as PageEditor,bl as PageEditorContextProvider,bo as PageEditorPanel,bn as PageEditorToolbarStateActions,ap as PageItemContextProvider,az as PageItemPreviewContextProvider,bf as PageType,aV as PageViewTrackerSettingsContextProvider,bd as PagesGrid,be as PagesList,a2 as PostDetail,b4 as PostGroupSelector,b7 as PostGroupSelectorButton,b3 as PostGroupsPicker,b1 as PostInputBox,b2 as PostList,Z as PostListContextProvider,aI as PublishingDateFilter,aH as PublishingDateToolbarFilter,Y as ReachContextProvider,a$ as ReachDialog,aW as TargetLinkOverrideContextProvider,ag as Toolbar,aj as ToolbarBookmarkButton,ak as ToolbarChannelSelector,an as ToolbarCloseButton,aQ as ToolbarEventViewSelector,aC as ToolbarFilterModal,aD as ToolbarFilterModalButton,aB as ToolbarFilterPanel,aP as ToolbarFilterSearch,b8 as ToolbarFilterToggleButton,ah as ToolbarIconButton,ar as ToolbarLanguageSelector,as as ToolbarManageButton,au as ToolbarManageItemButton,at as ToolbarManageNewsItemButton,al as ToolbarMarkAllEventsAsReadButton,am as ToolbarMarkAllNewsAsReadButton,ar as ToolbarNewsLanguageSelector,b6 as ToolbarPostNotificationButton,ai as ToolbarUnreadItemsButton,ab as UserDetails,aE as VerticalFilterPanel,b9 as isFilterActive,a9 as useCurrentUser,bt as useEventsStreamDataLoader,aa as useLazySubscriptionContext,bu as useNewsStreamDataLoader,br as usePagesStreamDataLoader,bs as usePostsStreamDataLoader}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";