@plaidev/karte-action-sdk 1.1.184-28093385.169b3110 → 1.1.185-28097907.4ee3401c

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.
@@ -5858,10 +5858,10 @@ function create_fragment$j(ctx) {
5858
5858
  m(target, anchor) {
5859
5859
  insert_hydration(target, div1, anchor);
5860
5860
  append_hydration(div1, div0);
5861
- /*div0_binding*/ ctx[7](div0);
5861
+ /*div0_binding*/ ctx[26](div0);
5862
5862
  },
5863
- p(ctx, [dirty]) {
5864
- if (dirty & /*_style*/ 1) {
5863
+ p(ctx, dirty) {
5864
+ if (dirty[0] & /*_style*/ 1) {
5865
5865
  attr(div1, "style", /*_style*/ ctx[0]);
5866
5866
  }
5867
5867
  },
@@ -5869,26 +5869,55 @@ function create_fragment$j(ctx) {
5869
5869
  o: noop,
5870
5870
  d(detaching) {
5871
5871
  if (detaching) detach(div1);
5872
- /*div0_binding*/ ctx[7](null);
5872
+ /*div0_binding*/ ctx[26](null);
5873
5873
  }
5874
5874
  };
5875
5875
  }
5876
5876
 
5877
+ function _bton(value) {
5878
+ return value ? 1 : 0;
5879
+ }
5880
+
5881
+ function _setValue(obj, key, value) {
5882
+ if (value) {
5883
+ obj[key] = value;
5884
+ }
5885
+ }
5886
+
5877
5887
  function instance$j($$self, $$props, $$invalidate) {
5878
5888
  let $system;
5879
- component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
5880
- let { videoId = "wt0OjOeX-JA" } = $$props;
5889
+ component_subscribe($$self, system, $$value => $$invalidate(31, $system = $$value));
5890
+ let { videoId = 'wt0OjOeX-JA' } = $$props;
5881
5891
  let { sendEvent = true } = $$props;
5882
5892
  let { autoplay = false } = $$props;
5893
+ let { cc_lang_pref = '' } = $$props;
5894
+ let { cc_load_policy = '' } = $$props;
5895
+ let { color = '' } = $$props;
5896
+ let { controls = true } = $$props;
5897
+ let { disablekb = false } = $$props;
5898
+ let { enablejsapi = false } = $$props;
5899
+ let { end = -1 } = $$props;
5900
+ let { fs = true } = $$props;
5901
+ let { hl = '' } = $$props;
5902
+ let { iv_load_policy = 1 } = $$props;
5903
+ let { list = '' } = $$props;
5904
+ let { listType = '' } = $$props;
5883
5905
  let { loop = false } = $$props;
5906
+ let { modestbranding = false } = $$props;
5907
+ let { origin = '' } = $$props;
5908
+ let { playlist = '' } = $$props;
5909
+ let { playsinline = false } = $$props;
5910
+ let { rel = true } = $$props;
5911
+ let { start = -1 } = $$props;
5912
+ let { widget_referrer = '' } = $$props;
5884
5913
  let { mute = false } = $$props;
5885
- let { _style = "" } = $$props;
5914
+ let { _style = '' } = $$props;
5886
5915
 
5887
5916
  // @ts-ignore
5888
5917
  if (!window.YT) {
5889
- const tag = document.createElement("script");
5890
- tag.src = "https://www.youtube.com/iframe_api";
5891
- const firstScriptTag = document.getElementsByTagName("script")[0];
5918
+ const tag = document.createElement('script');
5919
+ tag.src = 'https://www.youtube.com/iframe_api';
5920
+ const firstScriptTag = document.getElementsByTagName('script')[0];
5892
5921
  firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
5893
5922
  }
5894
5923
 
@@ -5921,7 +5950,7 @@ function instance$j($$self, $$props, $$invalidate) {
5921
5950
  const playSeconds = Math.round((currentDate - startDate) / 1000);
5922
5951
  totalPlaySeconds += playSeconds;
5923
5952
 
5924
- sendMovieEvent("_movie_playtime", {
5953
+ sendMovieEvent('_movie_playtime', {
5925
5954
  seconds: playSeconds,
5926
5955
  total_seconds: totalPlaySeconds
5927
5956
  });
@@ -5939,7 +5968,7 @@ function instance$j($$self, $$props, $$invalidate) {
5939
5968
 
5940
5969
  if (!alreadyPlay) {
5941
5970
  alreadyPlay = true;
5942
- sendMovieEvent("_movie_play");
5971
+ sendMovieEvent('_movie_play');
5943
5972
  }
5944
5973
  }
5945
5974
 
@@ -5949,7 +5978,7 @@ function instance$j($$self, $$props, $$invalidate) {
5949
5978
  }
5950
5979
 
5951
5980
  function onFinish() {
5952
- sendMovieEvent("_movie_finish");
5981
+ sendMovieEvent('_movie_finish');
5953
5982
  sendPlaytime();
5954
5983
  startDate = null;
5955
5984
  }
@@ -5977,14 +6006,40 @@ function instance$j($$self, $$props, $$invalidate) {
5977
6006
  }
5978
6007
 
5979
6008
  const playerVars = {
5980
- autoplay: autoplay ? 1 : 0,
5981
- loop: loop ? 1 : 0,
5982
- rel: 0,
5983
- playlist: null
6009
+ autoplay: _bton(autoplay),
6010
+ controls: _bton(controls),
6011
+ disablekb: _bton(disablekb),
6012
+ enablejsapi: _bton(enablejsapi),
6013
+ fs: _bton(fs),
6014
+ iv_load_policy,
6015
+ loop: _bton(loop),
6016
+ modestbranding: _bton(modestbranding),
6017
+ playsinline: _bton(playsinline),
6018
+ rel: _bton(rel)
5984
6019
  };
5985
6020
 
6021
+ _setValue(playerVars, 'cc_lang_pref', cc_lang_pref);
6022
+ _setValue(playerVars, 'cc_load_policy', cc_load_policy);
6023
+ _setValue(playerVars, 'color', color);
6024
+ _setValue(playerVars, 'hl', hl);
6025
+ _setValue(playerVars, 'list', list);
6026
+ _setValue(playerVars, 'listType', listType);
6027
+ _setValue(playerVars, 'origin', origin);
6028
+ _setValue(playerVars, 'playlist', playlist);
6029
+ _setValue(playerVars, 'widget_referrer', widget_referrer);
6030
+
5986
6031
  if (loop) {
5987
- playerVars.playlist = videoId;
6032
+ if (!playlist) {
6033
+ playerVars.playlist = videoId;
6034
+ }
6035
+ }
6036
+
6037
+ if (end >= 0) {
6038
+ playerVars.end = end;
6039
+ }
6040
+
6041
+ if (start >= 0) {
6042
+ playerVars.start = start;
5988
6043
  }
5989
6044
 
5990
6045
  // @ts-ignore
@@ -6013,8 +6068,8 @@ function instance$j($$self, $$props, $$invalidate) {
6013
6068
 
6014
6069
  onDestroy$1(() => {
6015
6070
  if (player) {
6016
- player.stopVideo();
6017
- player.destroy();
6071
+ player.stopVideo?.();
6072
+ player.destroy?.();
6018
6073
  }
6019
6074
  });
6020
6075
 
@@ -6023,7 +6078,7 @@ function instance$j($$self, $$props, $$invalidate) {
6023
6078
  createPlayer();
6024
6079
  };
6025
6080
 
6026
- window.addEventListener("beforeunload", () => {
6081
+ window.addEventListener('beforeunload', () => {
6027
6082
  sendPlaytime();
6028
6083
  });
6029
6084
 
@@ -6038,12 +6093,59 @@ function instance$j($$self, $$props, $$invalidate) {
6038
6093
  if ('videoId' in $$props) $$invalidate(2, videoId = $$props.videoId);
6039
6094
  if ('sendEvent' in $$props) $$invalidate(3, sendEvent = $$props.sendEvent);
6040
6095
  if ('autoplay' in $$props) $$invalidate(4, autoplay = $$props.autoplay);
6041
- if ('loop' in $$props) $$invalidate(5, loop = $$props.loop);
6042
- if ('mute' in $$props) $$invalidate(6, mute = $$props.mute);
6096
+ if ('cc_lang_pref' in $$props) $$invalidate(5, cc_lang_pref = $$props.cc_lang_pref);
6097
+ if ('cc_load_policy' in $$props) $$invalidate(6, cc_load_policy = $$props.cc_load_policy);
6098
+ if ('color' in $$props) $$invalidate(7, color = $$props.color);
6099
+ if ('controls' in $$props) $$invalidate(8, controls = $$props.controls);
6100
+ if ('disablekb' in $$props) $$invalidate(9, disablekb = $$props.disablekb);
6101
+ if ('enablejsapi' in $$props) $$invalidate(10, enablejsapi = $$props.enablejsapi);
6102
+ if ('end' in $$props) $$invalidate(11, end = $$props.end);
6103
+ if ('fs' in $$props) $$invalidate(12, fs = $$props.fs);
6104
+ if ('hl' in $$props) $$invalidate(13, hl = $$props.hl);
6105
+ if ('iv_load_policy' in $$props) $$invalidate(14, iv_load_policy = $$props.iv_load_policy);
6106
+ if ('list' in $$props) $$invalidate(15, list = $$props.list);
6107
+ if ('listType' in $$props) $$invalidate(16, listType = $$props.listType);
6108
+ if ('loop' in $$props) $$invalidate(17, loop = $$props.loop);
6109
+ if ('modestbranding' in $$props) $$invalidate(18, modestbranding = $$props.modestbranding);
6110
+ if ('origin' in $$props) $$invalidate(19, origin = $$props.origin);
6111
+ if ('playlist' in $$props) $$invalidate(20, playlist = $$props.playlist);
6112
+ if ('playsinline' in $$props) $$invalidate(21, playsinline = $$props.playsinline);
6113
+ if ('rel' in $$props) $$invalidate(22, rel = $$props.rel);
6114
+ if ('start' in $$props) $$invalidate(23, start = $$props.start);
6115
+ if ('widget_referrer' in $$props) $$invalidate(24, widget_referrer = $$props.widget_referrer);
6116
+ if ('mute' in $$props) $$invalidate(25, mute = $$props.mute);
6043
6117
  if ('_style' in $$props) $$invalidate(0, _style = $$props._style);
6044
6118
  };
6045
6119
 
6046
- return [_style, domRef, videoId, sendEvent, autoplay, loop, mute, div0_binding];
6120
+ return [
6121
+ _style,
6122
+ domRef,
6123
+ videoId,
6124
+ sendEvent,
6125
+ autoplay,
6126
+ cc_lang_pref,
6127
+ cc_load_policy,
6128
+ color,
6129
+ controls,
6130
+ disablekb,
6131
+ enablejsapi,
6132
+ end,
6133
+ fs,
6134
+ hl,
6135
+ iv_load_policy,
6136
+ list,
6137
+ listType,
6138
+ loop,
6139
+ modestbranding,
6140
+ origin,
6141
+ playlist,
6142
+ playsinline,
6143
+ rel,
6144
+ start,
6145
+ widget_referrer,
6146
+ mute,
6147
+ div0_binding
6148
+ ];
6047
6149
  }
6048
6150
 
6049
6151
  class MovieYouTubeElement extends SvelteComponent {
@@ -6060,11 +6162,31 @@ class MovieYouTubeElement extends SvelteComponent {
6060
6162
  videoId: 2,
6061
6163
  sendEvent: 3,
6062
6164
  autoplay: 4,
6063
- loop: 5,
6064
- mute: 6,
6165
+ cc_lang_pref: 5,
6166
+ cc_load_policy: 6,
6167
+ color: 7,
6168
+ controls: 8,
6169
+ disablekb: 9,
6170
+ enablejsapi: 10,
6171
+ end: 11,
6172
+ fs: 12,
6173
+ hl: 13,
6174
+ iv_load_policy: 14,
6175
+ list: 15,
6176
+ listType: 16,
6177
+ loop: 17,
6178
+ modestbranding: 18,
6179
+ origin: 19,
6180
+ playlist: 20,
6181
+ playsinline: 21,
6182
+ rel: 22,
6183
+ start: 23,
6184
+ widget_referrer: 24,
6185
+ mute: 25,
6065
6186
  _style: 0
6066
6187
  },
6067
- add_css$i
6188
+ add_css$i,
6189
+ [-1, -1]
6068
6190
  );
6069
6191
  }
6070
6192
  }
@@ -6226,7 +6348,7 @@ function instance$i($$self, $$props, $$invalidate) {
6226
6348
 
6227
6349
  onDestroy$1(() => {
6228
6350
  if (player) {
6229
- player.destroy();
6351
+ player.destroy?.();
6230
6352
  }
6231
6353
  });
6232
6354
 
package/dist/index.es.js CHANGED
@@ -5623,10 +5623,10 @@ function create_fragment$j(ctx) {
5623
5623
  m(target, anchor) {
5624
5624
  insert(target, div1, anchor);
5625
5625
  append(div1, div0);
5626
- /*div0_binding*/ ctx[7](div0);
5626
+ /*div0_binding*/ ctx[26](div0);
5627
5627
  },
5628
- p(ctx, [dirty]) {
5629
- if (dirty & /*_style*/ 1) {
5628
+ p(ctx, dirty) {
5629
+ if (dirty[0] & /*_style*/ 1) {
5630
5630
  attr(div1, "style", /*_style*/ ctx[0]);
5631
5631
  }
5632
5632
  },
@@ -5634,26 +5634,55 @@ function create_fragment$j(ctx) {
5634
5634
  o: noop,
5635
5635
  d(detaching) {
5636
5636
  if (detaching) detach(div1);
5637
- /*div0_binding*/ ctx[7](null);
5637
+ /*div0_binding*/ ctx[26](null);
5638
5638
  }
5639
5639
  };
5640
5640
  }
5641
5641
 
5642
+ function _bton(value) {
5643
+ return value ? 1 : 0;
5644
+ }
5645
+
5646
+ function _setValue(obj, key, value) {
5647
+ if (value) {
5648
+ obj[key] = value;
5649
+ }
5650
+ }
5651
+
5642
5652
  function instance$j($$self, $$props, $$invalidate) {
5643
5653
  let $system;
5644
- component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
5645
- let { videoId = "wt0OjOeX-JA" } = $$props;
5654
+ component_subscribe($$self, system, $$value => $$invalidate(31, $system = $$value));
5655
+ let { videoId = 'wt0OjOeX-JA' } = $$props;
5646
5656
  let { sendEvent = true } = $$props;
5647
5657
  let { autoplay = false } = $$props;
5658
+ let { cc_lang_pref = '' } = $$props;
5659
+ let { cc_load_policy = '' } = $$props;
5660
+ let { color = '' } = $$props;
5661
+ let { controls = true } = $$props;
5662
+ let { disablekb = false } = $$props;
5663
+ let { enablejsapi = false } = $$props;
5664
+ let { end = -1 } = $$props;
5665
+ let { fs = true } = $$props;
5666
+ let { hl = '' } = $$props;
5667
+ let { iv_load_policy = 1 } = $$props;
5668
+ let { list = '' } = $$props;
5669
+ let { listType = '' } = $$props;
5648
5670
  let { loop = false } = $$props;
5671
+ let { modestbranding = false } = $$props;
5672
+ let { origin = '' } = $$props;
5673
+ let { playlist = '' } = $$props;
5674
+ let { playsinline = false } = $$props;
5675
+ let { rel = true } = $$props;
5676
+ let { start = -1 } = $$props;
5677
+ let { widget_referrer = '' } = $$props;
5649
5678
  let { mute = false } = $$props;
5650
- let { _style = "" } = $$props;
5679
+ let { _style = '' } = $$props;
5651
5680
 
5652
5681
  // @ts-ignore
5653
5682
  if (!window.YT) {
5654
- const tag = document.createElement("script");
5655
- tag.src = "https://www.youtube.com/iframe_api";
5656
- const firstScriptTag = document.getElementsByTagName("script")[0];
5683
+ const tag = document.createElement('script');
5684
+ tag.src = 'https://www.youtube.com/iframe_api';
5685
+ const firstScriptTag = document.getElementsByTagName('script')[0];
5657
5686
  firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
5658
5687
  }
5659
5688
 
@@ -5686,7 +5715,7 @@ function instance$j($$self, $$props, $$invalidate) {
5686
5715
  const playSeconds = Math.round((currentDate - startDate) / 1000);
5687
5716
  totalPlaySeconds += playSeconds;
5688
5717
 
5689
- sendMovieEvent("_movie_playtime", {
5718
+ sendMovieEvent('_movie_playtime', {
5690
5719
  seconds: playSeconds,
5691
5720
  total_seconds: totalPlaySeconds
5692
5721
  });
@@ -5704,7 +5733,7 @@ function instance$j($$self, $$props, $$invalidate) {
5704
5733
 
5705
5734
  if (!alreadyPlay) {
5706
5735
  alreadyPlay = true;
5707
- sendMovieEvent("_movie_play");
5736
+ sendMovieEvent('_movie_play');
5708
5737
  }
5709
5738
  }
5710
5739
 
@@ -5714,7 +5743,7 @@ function instance$j($$self, $$props, $$invalidate) {
5714
5743
  }
5715
5744
 
5716
5745
  function onFinish() {
5717
- sendMovieEvent("_movie_finish");
5746
+ sendMovieEvent('_movie_finish');
5718
5747
  sendPlaytime();
5719
5748
  startDate = null;
5720
5749
  }
@@ -5742,14 +5771,40 @@ function instance$j($$self, $$props, $$invalidate) {
5742
5771
  }
5743
5772
 
5744
5773
  const playerVars = {
5745
- autoplay: autoplay ? 1 : 0,
5746
- loop: loop ? 1 : 0,
5747
- rel: 0,
5748
- playlist: null
5774
+ autoplay: _bton(autoplay),
5775
+ controls: _bton(controls),
5776
+ disablekb: _bton(disablekb),
5777
+ enablejsapi: _bton(enablejsapi),
5778
+ fs: _bton(fs),
5779
+ iv_load_policy,
5780
+ loop: _bton(loop),
5781
+ modestbranding: _bton(modestbranding),
5782
+ playsinline: _bton(playsinline),
5783
+ rel: _bton(rel)
5749
5784
  };
5750
5785
 
5786
+ _setValue(playerVars, 'cc_lang_pref', cc_lang_pref);
5787
+ _setValue(playerVars, 'cc_load_policy', cc_load_policy);
5788
+ _setValue(playerVars, 'color', color);
5789
+ _setValue(playerVars, 'hl', hl);
5790
+ _setValue(playerVars, 'list', list);
5791
+ _setValue(playerVars, 'listType', listType);
5792
+ _setValue(playerVars, 'origin', origin);
5793
+ _setValue(playerVars, 'playlist', playlist);
5794
+ _setValue(playerVars, 'widget_referrer', widget_referrer);
5795
+
5751
5796
  if (loop) {
5752
- playerVars.playlist = videoId;
5797
+ if (!playlist) {
5798
+ playerVars.playlist = videoId;
5799
+ }
5800
+ }
5801
+
5802
+ if (end >= 0) {
5803
+ playerVars.end = end;
5804
+ }
5805
+
5806
+ if (start >= 0) {
5807
+ playerVars.start = start;
5753
5808
  }
5754
5809
 
5755
5810
  // @ts-ignore
@@ -5778,8 +5833,8 @@ function instance$j($$self, $$props, $$invalidate) {
5778
5833
 
5779
5834
  onDestroy$1(() => {
5780
5835
  if (player) {
5781
- player.stopVideo();
5782
- player.destroy();
5836
+ player.stopVideo?.();
5837
+ player.destroy?.();
5783
5838
  }
5784
5839
  });
5785
5840
 
@@ -5788,7 +5843,7 @@ function instance$j($$self, $$props, $$invalidate) {
5788
5843
  createPlayer();
5789
5844
  };
5790
5845
 
5791
- window.addEventListener("beforeunload", () => {
5846
+ window.addEventListener('beforeunload', () => {
5792
5847
  sendPlaytime();
5793
5848
  });
5794
5849
 
@@ -5803,12 +5858,59 @@ function instance$j($$self, $$props, $$invalidate) {
5803
5858
  if ('videoId' in $$props) $$invalidate(2, videoId = $$props.videoId);
5804
5859
  if ('sendEvent' in $$props) $$invalidate(3, sendEvent = $$props.sendEvent);
5805
5860
  if ('autoplay' in $$props) $$invalidate(4, autoplay = $$props.autoplay);
5806
- if ('loop' in $$props) $$invalidate(5, loop = $$props.loop);
5807
- if ('mute' in $$props) $$invalidate(6, mute = $$props.mute);
5861
+ if ('cc_lang_pref' in $$props) $$invalidate(5, cc_lang_pref = $$props.cc_lang_pref);
5862
+ if ('cc_load_policy' in $$props) $$invalidate(6, cc_load_policy = $$props.cc_load_policy);
5863
+ if ('color' in $$props) $$invalidate(7, color = $$props.color);
5864
+ if ('controls' in $$props) $$invalidate(8, controls = $$props.controls);
5865
+ if ('disablekb' in $$props) $$invalidate(9, disablekb = $$props.disablekb);
5866
+ if ('enablejsapi' in $$props) $$invalidate(10, enablejsapi = $$props.enablejsapi);
5867
+ if ('end' in $$props) $$invalidate(11, end = $$props.end);
5868
+ if ('fs' in $$props) $$invalidate(12, fs = $$props.fs);
5869
+ if ('hl' in $$props) $$invalidate(13, hl = $$props.hl);
5870
+ if ('iv_load_policy' in $$props) $$invalidate(14, iv_load_policy = $$props.iv_load_policy);
5871
+ if ('list' in $$props) $$invalidate(15, list = $$props.list);
5872
+ if ('listType' in $$props) $$invalidate(16, listType = $$props.listType);
5873
+ if ('loop' in $$props) $$invalidate(17, loop = $$props.loop);
5874
+ if ('modestbranding' in $$props) $$invalidate(18, modestbranding = $$props.modestbranding);
5875
+ if ('origin' in $$props) $$invalidate(19, origin = $$props.origin);
5876
+ if ('playlist' in $$props) $$invalidate(20, playlist = $$props.playlist);
5877
+ if ('playsinline' in $$props) $$invalidate(21, playsinline = $$props.playsinline);
5878
+ if ('rel' in $$props) $$invalidate(22, rel = $$props.rel);
5879
+ if ('start' in $$props) $$invalidate(23, start = $$props.start);
5880
+ if ('widget_referrer' in $$props) $$invalidate(24, widget_referrer = $$props.widget_referrer);
5881
+ if ('mute' in $$props) $$invalidate(25, mute = $$props.mute);
5808
5882
  if ('_style' in $$props) $$invalidate(0, _style = $$props._style);
5809
5883
  };
5810
5884
 
5811
- return [_style, domRef, videoId, sendEvent, autoplay, loop, mute, div0_binding];
5885
+ return [
5886
+ _style,
5887
+ domRef,
5888
+ videoId,
5889
+ sendEvent,
5890
+ autoplay,
5891
+ cc_lang_pref,
5892
+ cc_load_policy,
5893
+ color,
5894
+ controls,
5895
+ disablekb,
5896
+ enablejsapi,
5897
+ end,
5898
+ fs,
5899
+ hl,
5900
+ iv_load_policy,
5901
+ list,
5902
+ listType,
5903
+ loop,
5904
+ modestbranding,
5905
+ origin,
5906
+ playlist,
5907
+ playsinline,
5908
+ rel,
5909
+ start,
5910
+ widget_referrer,
5911
+ mute,
5912
+ div0_binding
5913
+ ];
5812
5914
  }
5813
5915
 
5814
5916
  class MovieYouTubeElement extends SvelteComponent {
@@ -5825,11 +5927,31 @@ class MovieYouTubeElement extends SvelteComponent {
5825
5927
  videoId: 2,
5826
5928
  sendEvent: 3,
5827
5929
  autoplay: 4,
5828
- loop: 5,
5829
- mute: 6,
5930
+ cc_lang_pref: 5,
5931
+ cc_load_policy: 6,
5932
+ color: 7,
5933
+ controls: 8,
5934
+ disablekb: 9,
5935
+ enablejsapi: 10,
5936
+ end: 11,
5937
+ fs: 12,
5938
+ hl: 13,
5939
+ iv_load_policy: 14,
5940
+ list: 15,
5941
+ listType: 16,
5942
+ loop: 17,
5943
+ modestbranding: 18,
5944
+ origin: 19,
5945
+ playlist: 20,
5946
+ playsinline: 21,
5947
+ rel: 22,
5948
+ start: 23,
5949
+ widget_referrer: 24,
5950
+ mute: 25,
5830
5951
  _style: 0
5831
5952
  },
5832
- add_css$i
5953
+ add_css$i,
5954
+ [-1, -1]
5833
5955
  );
5834
5956
  }
5835
5957
  }
@@ -5980,7 +6102,7 @@ function instance$i($$self, $$props, $$invalidate) {
5980
6102
 
5981
6103
  onDestroy$1(() => {
5982
6104
  if (player) {
5983
- player.destroy();
6105
+ player.destroy?.();
5984
6106
  }
5985
6107
  });
5986
6108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.184-28093385.169b3110",
3
+ "version": "1.1.185-28097907.4ee3401c",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",