WP Offload S3 Lite - Version 3.1.0

Version Description

= 2.6 = This is a major upgrade that updates the format of information stored about offloaded Media Library items. Once upgraded you will not be able to downgrade without restoring data from a backup. This version requires PHP 5.6+

= 2.3 = This is a major upgrade that switches to using a custom table for storing data about offloaded Media Library items. Once upgraded you will not be able to downgrade without restoring data from a backup.

= 2.0 = This is a major upgrade that introduces support for DigitalOcean Spaces, renames the plugin to WP Offload Media Lite, and coincidentally upgrades some of its database settings. You may not be able to downgrade to WP Offload S3 Lite 1.x after upgrading to WP Offload Media Lite 2.0+.

= 1.1 = This is a major change, which ensures S3 URLs are no longer saved in post content. Instead, local URLs are filtered on page generation and replaced with the S3 version. If you depend on the S3 URLs being stored in post content you will need to make modifications to support this version.

= 0.6 = This version requires PHP 5.3.3+ and the Amazon Web Services plugin

Download this release

Release Info

Developer deliciousbrains
Plugin Icon 128x128 WP Offload S3 Lite
Version 3.1.0
Comparing to
See all releases

Code changes from version 3.0.2 to 3.1.0

assets/js/settings.js CHANGED
@@ -3696,7 +3696,7 @@
3696
  }
3697
 
3698
  // (121:3) {#if extra}
3699
- function create_if_block_1$b(ctx) {
3700
  let p;
3701
 
3702
  const block = {
@@ -3717,7 +3717,7 @@
3717
 
3718
  dispatch_dev("SvelteRegisterBlock", {
3719
  block,
3720
- id: create_if_block_1$b.name,
3721
  type: "if",
3722
  source: "(121:3) {#if extra}",
3723
  ctx
@@ -3774,7 +3774,7 @@
3774
  let if_block1 = (/*heading*/ ctx[8] || /*dismissible*/ ctx[9] || /*expandable*/ ctx[12]) && create_if_block_2$8(ctx);
3775
  const default_slot_template = /*#slots*/ ctx[23].default;
3776
  const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[22], null);
3777
- let if_block2 = /*extra*/ ctx[11] && create_if_block_1$b(ctx);
3778
  let if_block3 = /*linksHTML*/ ctx[16] && create_if_block$p(ctx);
3779
  const details_slot_template = /*#slots*/ ctx[23].details;
3780
  const details_slot = create_slot(details_slot_template, ctx, /*$$scope*/ ctx[22], get_details_slot_context);
@@ -3887,7 +3887,7 @@
3887
  if (if_block2) {
3888
  if_block2.p(ctx, dirty);
3889
  } else {
3890
- if_block2 = create_if_block_1$b(ctx);
3891
  if_block2.c();
3892
  if_block2.m(div0, t3);
3893
  }
@@ -4498,7 +4498,7 @@
4498
  }
4499
 
4500
  // (13:3) {#if !notification.dismissed && (notification.only_show_on_tab === tab || notification.only_show_on_tab === tabParent || !notification.only_show_on_tab)}
4501
- function create_if_block_1$a(ctx) {
4502
  let switch_instance;
4503
  let switch_instance_anchor;
4504
  let current;
@@ -4581,7 +4581,7 @@
4581
 
4582
  dispatch_dev("SvelteRegisterBlock", {
4583
  block,
4584
- id: create_if_block_1$a.name,
4585
  type: "if",
4586
  source: "(13:3) {#if !notification.dismissed && (notification.only_show_on_tab === tab || notification.only_show_on_tab === tabParent || !notification.only_show_on_tab)}",
4587
  ctx
@@ -4672,7 +4672,7 @@
4672
  let first;
4673
  let if_block_anchor;
4674
  let current;
4675
- let if_block = !/*notification*/ ctx[4].dismissed && (/*notification*/ ctx[4].only_show_on_tab === /*tab*/ ctx[1] || /*notification*/ ctx[4].only_show_on_tab === /*tabParent*/ ctx[2] || !/*notification*/ ctx[4].only_show_on_tab) && create_if_block_1$a(ctx);
4676
 
4677
  const block = {
4678
  key: key_1,
@@ -4700,7 +4700,7 @@
4700
  transition_in(if_block, 1);
4701
  }
4702
  } else {
4703
- if_block = create_if_block_1$a(ctx);
4704
  if_block.c();
4705
  transition_in(if_block, 1);
4706
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -5603,7 +5603,7 @@
5603
  }
5604
 
5605
  // (18:3) {#if progress && index < (displayItems.length - 1)}
5606
- function create_if_block_1$9(ctx) {
5607
  let li;
5608
  let img;
5609
  let img_src_value;
@@ -5637,7 +5637,7 @@
5637
 
5638
  dispatch_dev("SvelteRegisterBlock", {
5639
  block,
5640
- id: create_if_block_1$9.name,
5641
  type: "if",
5642
  source: "(18:3) {#if progress && index < (displayItems.length - 1)}",
5643
  ctx
@@ -5658,7 +5658,7 @@
5658
  $$inline: true
5659
  });
5660
 
5661
- let if_block = /*progress*/ ctx[2] && /*index*/ ctx[8] < /*displayItems*/ ctx[3].length - 1 && create_if_block_1$9(ctx);
5662
 
5663
  const block = {
5664
  c: function create() {
@@ -5683,7 +5683,7 @@
5683
  if (if_block) {
5684
  if_block.p(ctx, dirty);
5685
  } else {
5686
- if_block = create_if_block_1$9(ctx);
5687
  if_block.c();
5688
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
5689
  }
@@ -7836,7 +7836,7 @@
7836
  }
7837
 
7838
  // (81:4) {#if helpURL}
7839
- function create_if_block_1$8(ctx) {
7840
  let helpbutton;
7841
  let current;
7842
 
@@ -7878,7 +7878,7 @@
7878
 
7879
  dispatch_dev("SvelteRegisterBlock", {
7880
  block,
7881
- id: create_if_block_1$8.name,
7882
  type: "if",
7883
  source: "(81:4) {#if helpURL}",
7884
  ctx
@@ -7916,7 +7916,7 @@
7916
  });
7917
 
7918
  let if_block1 = /*storageProvider*/ ctx[9] && create_if_block_3$4(ctx);
7919
- const if_block_creators_1 = [create_if_block_1$8, create_if_block_2$6];
7920
  const if_blocks_1 = [];
7921
 
7922
  function select_block_type_2(ctx, dirty) {
@@ -10095,7 +10095,7 @@
10095
  }
10096
 
10097
  // (126:1) {#if toggleName}
10098
- function create_if_block_1$7(ctx) {
10099
  let settingnotifications;
10100
  let current;
10101
 
@@ -10133,7 +10133,7 @@
10133
 
10134
  dispatch_dev("SvelteRegisterBlock", {
10135
  block,
10136
- id: create_if_block_1$7.name,
10137
  type: "if",
10138
  source: "(126:1) {#if toggleName}",
10139
  ctx
@@ -10220,7 +10220,7 @@
10220
  });
10221
 
10222
  let if_block0 = /*input*/ ctx[10] && create_if_block_2$5(ctx);
10223
- let if_block1 = /*toggleName*/ ctx[7] && create_if_block_1$7(ctx);
10224
  let if_block2 = /*textName*/ ctx[8] && create_if_block$e(ctx);
10225
  const default_slot_template = /*#slots*/ ctx[22].default;
10226
  const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null);
@@ -10313,7 +10313,7 @@
10313
  transition_in(if_block1, 1);
10314
  }
10315
  } else {
10316
- if_block1 = create_if_block_1$7(ctx);
10317
  if_block1.c();
10318
  transition_in(if_block1, 1);
10319
  if_block1.m(div, t3);
@@ -11728,7 +11728,7 @@
11728
 
11729
  binding_callbacks.push(() => bind(settingspaneloption, 'toggle', settingspaneloption_toggle_binding));
11730
  binding_callbacks.push(() => bind(settingspaneloption, 'text', settingspaneloption_text_binding));
11731
- let if_block = /*$delivery_provider*/ ctx[1].use_signed_urls_key_file_allowed && /*$settings*/ ctx[2]["enable-delivery-domain"] && create_if_block_1$6(ctx);
11732
 
11733
  const block = {
11734
  c: function create() {
@@ -11771,7 +11771,7 @@
11771
  transition_in(if_block, 1);
11772
  }
11773
  } else {
11774
- if_block = create_if_block_1$6(ctx);
11775
  if_block.c();
11776
  transition_in(if_block, 1);
11777
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -11817,7 +11817,7 @@
11817
  }
11818
 
11819
  // (51:2) {#if $delivery_provider.use_signed_urls_key_file_allowed && $settings[ "enable-delivery-domain" ]}
11820
- function create_if_block_1$6(ctx) {
11821
  let settingspaneloption;
11822
  let updating_toggle;
11823
  let current;
@@ -11886,7 +11886,7 @@
11886
 
11887
  dispatch_dev("SvelteRegisterBlock", {
11888
  block,
11889
- id: create_if_block_1$6.name,
11890
  type: "if",
11891
  source: "(51:2) {#if $delivery_provider.use_signed_urls_key_file_allowed && $settings[ \\\"enable-delivery-domain\\\" ]}",
11892
  ctx
@@ -13661,8 +13661,8 @@
13661
  /* src/amazon-s3-and-cloudfront/ui/components/MediaPage.svelte generated by Svelte v3.49.0 */
13662
  const file$r = "src/amazon-s3-and-cloudfront/ui/components/MediaPage.svelte";
13663
 
13664
- // (44:0) <Page {name} on:routeEvent>
13665
- function create_default_slot$c(ctx) {
13666
  let notifications;
13667
  let t0;
13668
  let div;
@@ -13688,7 +13688,7 @@
13688
  subnav = new SubNav({
13689
  props: {
13690
  name: /*name*/ ctx[0],
13691
- items: /*items*/ ctx[3],
13692
  subpage: true
13693
  },
13694
  $$inline: true
@@ -13697,7 +13697,7 @@
13697
  subpages = new SubPages({
13698
  props: {
13699
  name: /*name*/ ctx[0],
13700
- routes: /*routes*/ ctx[2]
13701
  },
13702
  $$inline: true
13703
  });
@@ -13720,7 +13720,7 @@
13720
  create_component(urlpreview.$$.fragment);
13721
  attr_dev(div, "id", "provider-warning-notifications");
13722
  attr_dev(div, "class", "notifications wrapper");
13723
- add_location(div, file$r, 45, 1, 1496);
13724
  },
13725
  m: function mount(target, anchor) {
13726
  mount_component(notifications, target, anchor);
@@ -13782,18 +13782,84 @@
13782
  }
13783
  };
13784
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13785
  dispatch_dev("SvelteRegisterBlock", {
13786
  block,
13787
  id: create_default_slot$c.name,
13788
  type: "slot",
13789
- source: "(44:0) <Page {name} on:routeEvent>",
13790
  ctx
13791
  });
13792
 
13793
  return block;
13794
  }
13795
 
13796
- // (55:0) {#if sidebar}
13797
  function create_if_block$a(ctx) {
13798
  let switch_instance;
13799
  let switch_instance_anchor;
@@ -13863,7 +13929,7 @@
13863
  block,
13864
  id: create_if_block$a.name,
13865
  type: "if",
13866
- source: "(55:0) {#if sidebar}",
13867
  ctx
13868
  });
13869
 
@@ -13886,10 +13952,10 @@
13886
  $$inline: true
13887
  });
13888
 
13889
- page.$on("routeEvent", /*routeEvent_handler*/ ctx[5]);
13890
- let if_block = /*sidebar*/ ctx[1] && create_if_block$a(ctx);
13891
  footer = new Footer({ $$inline: true });
13892
- footer.$on("routeEvent", /*routeEvent_handler_1*/ ctx[6]);
13893
 
13894
  const block = {
13895
  c: function create() {
@@ -13914,17 +13980,17 @@
13914
  const page_changes = {};
13915
  if (dirty & /*name*/ 1) page_changes.name = /*name*/ ctx[0];
13916
 
13917
- if (dirty & /*$$scope, name*/ 513) {
13918
  page_changes.$$scope = { dirty, ctx };
13919
  }
13920
 
13921
  page.$set(page_changes);
13922
 
13923
- if (/*sidebar*/ ctx[1]) {
13924
  if (if_block) {
13925
  if_block.p(ctx, dirty);
13926
 
13927
- if (dirty & /*sidebar*/ 2) {
13928
  transition_in(if_block, 1);
13929
  }
13930
  } else {
@@ -13977,15 +14043,19 @@
13977
  }
13978
 
13979
  function instance$t($$self, $$props, $$invalidate) {
 
13980
  let $strings;
 
 
13981
  validate_store(strings, 'strings');
13982
- component_subscribe($$self, strings, $$value => $$invalidate(7, $strings = $$value));
13983
  let { $$slots: slots = {}, $$scope } = $$props;
13984
  validate_slots('MediaPage', slots, []);
13985
  let { name = "media" } = $$props;
13986
  let { params = {} } = $$props;
13987
  const _params = params; // Stops compiler warning for params;
13988
  let sidebar = null;
 
13989
 
13990
  if (hasContext('sidebar')) {
13991
  sidebar = getContext('sidebar');
@@ -14010,6 +14080,12 @@
14010
  }
14011
  ];
14012
 
 
 
 
 
 
 
14013
  const writable_props = ['name', 'params'];
14014
 
14015
  Object.keys($$props).forEach(key => {
@@ -14026,13 +14102,15 @@
14026
 
14027
  $$self.$$set = $$props => {
14028
  if ('name' in $$props) $$invalidate(0, name = $$props.name);
14029
- if ('params' in $$props) $$invalidate(4, params = $$props.params);
14030
  };
14031
 
14032
  $$self.$capture_state = () => ({
14033
  getContext,
14034
  hasContext,
 
14035
  setContext,
 
14036
  settingsLocked,
14037
  strings,
14038
  Page,
@@ -14048,28 +14126,40 @@
14048
  params,
14049
  _params,
14050
  sidebar,
 
14051
  routes,
14052
  items,
 
14053
  $strings
14054
  });
14055
 
14056
  $$self.$inject_state = $$props => {
14057
  if ('name' in $$props) $$invalidate(0, name = $$props.name);
14058
- if ('params' in $$props) $$invalidate(4, params = $$props.params);
14059
  if ('sidebar' in $$props) $$invalidate(1, sidebar = $$props.sidebar);
 
14060
  };
14061
 
14062
  if ($$props && "$$inject" in $$props) {
14063
  $$self.$inject_state($$props.$$inject);
14064
  }
14065
 
14066
- return [name, sidebar, routes, items, params, routeEvent_handler, routeEvent_handler_1];
 
 
 
 
 
 
 
 
 
14067
  }
14068
 
14069
  class MediaPage extends SvelteComponentDev {
14070
  constructor(options) {
14071
  super(options);
14072
- init(this, options, instance$t, create_fragment$t, safe_not_equal, { name: 0, params: 4 });
14073
 
14074
  dispatch_dev("SvelteRegisterComponent", {
14075
  component: this,
@@ -19209,7 +19299,7 @@
19209
  if (if_block) if_block.c();
19210
  attr_dev(label, "class", "input-label");
19211
  attr_dev(label, "for", "bucket-name");
19212
- add_location(label, file$f, 286, 7, 7764);
19213
  attr_dev(input, "type", "text");
19214
  attr_dev(input, "id", "bucket-name");
19215
  attr_dev(input, "class", "bucket-name");
@@ -19218,11 +19308,11 @@
19218
  attr_dev(input, "placeholder", input_placeholder_value = /*$strings*/ ctx[14].enter_bucket_name_placeholder);
19219
  input.disabled = /*disabled*/ ctx[11];
19220
  toggle_class(input, "disabled", /*disabled*/ ctx[11]);
19221
- add_location(input, file$f, 287, 7, 7847);
19222
  attr_dev(div0, "class", "new-bucket-details flex-column");
19223
- add_location(div0, file$f, 285, 6, 7712);
19224
  attr_dev(div1, "class", "flex-row align-center row");
19225
- add_location(div1, file$f, 284, 5, 7666);
19226
  },
19227
  m: function mount(target, anchor) {
19228
  insert_dev(target, div1, anchor);
@@ -19354,15 +19444,15 @@
19354
 
19355
  attr_dev(label, "class", "input-label");
19356
  attr_dev(label, "for", "region");
19357
- add_location(label, file$f, 301, 8, 8221);
19358
  attr_dev(select, "name", "region");
19359
  attr_dev(select, "id", "region");
19360
  select.disabled = /*newRegionDisabled*/ ctx[12];
19361
  if (/*newRegion*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[26].call(select));
19362
  toggle_class(select, "disabled", /*newRegionDisabled*/ ctx[12]);
19363
- add_location(select, file$f, 304, 8, 8367);
19364
  attr_dev(div, "class", "region flex-column");
19365
- add_location(div, file$f, 300, 7, 8180);
19366
  },
19367
  m: function mount(target, anchor) {
19368
  insert_dev(target, div, anchor);
@@ -19473,7 +19563,7 @@
19473
  option.__value = option_value_value = /*regionKey*/ ctx[39];
19474
  option.value = option.__value;
19475
  option.selected = option_selected_value = /*regionKey*/ ctx[39] === /*newRegion*/ ctx[8];
19476
- add_location(option, file$f, 306, 10, 8594);
19477
  },
19478
  m: function mount(target, anchor) {
19479
  insert_dev(target, option, anchor);
@@ -19656,13 +19746,13 @@
19656
 
19657
  attr_dev(label, "class", "input-label");
19658
  attr_dev(label, "for", "list-region");
19659
- add_location(label, file$f, 321, 6, 8913);
19660
  attr_dev(select, "name", "region");
19661
  attr_dev(select, "id", "list-region");
19662
  select.disabled = /*newRegionDisabled*/ ctx[12];
19663
  if (/*newRegion*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[27].call(select));
19664
  toggle_class(select, "disabled", /*newRegionDisabled*/ ctx[12]);
19665
- add_location(select, file$f, 324, 6, 9058);
19666
  },
19667
  m: function mount(target, anchor) {
19668
  insert_dev(target, label, anchor);
@@ -19774,7 +19864,7 @@
19774
  option.__value = option_value_value = /*regionKey*/ ctx[39];
19775
  option.value = option.__value;
19776
  option.selected = option_selected_value = /*regionKey*/ ctx[39] === /*newRegion*/ ctx[8];
19777
- add_location(option, file$f, 326, 8, 9286);
19778
  },
19779
  m: function mount(target, anchor) {
19780
  insert_dev(target, option, anchor);
@@ -19848,7 +19938,7 @@
19848
  ul = element("ul");
19849
  if_block.c();
19850
  attr_dev(ul, "class", "bucket-list");
19851
- add_location(ul, file$f, 338, 6, 9539);
19852
  },
19853
  m: function mount(target, anchor) {
19854
  insert_dev(target, ul, anchor);
@@ -19898,9 +19988,9 @@
19898
  li = element("li");
19899
  p = element("p");
19900
  t = text(t_value);
19901
- add_location(p, file$f, 357, 9, 10304);
19902
  attr_dev(li, "class", "row nothing-found");
19903
- add_location(li, file$f, 356, 8, 10264);
19904
  },
19905
  m: function mount(target, anchor) {
19906
  insert_dev(target, li, anchor);
@@ -20007,7 +20097,7 @@
20007
  if (!src_url_equal(img.src, img_src_value = /*$urls*/ ctx[15].assets + 'img/icon/licence-checked.svg')) attr_dev(img, "src", img_src_value);
20008
  attr_dev(img, "type", "image/svg+xml");
20009
  attr_dev(img, "alt", img_alt_value = /*$strings*/ ctx[14].selected_desc);
20010
- add_location(img, file$f, 351, 11, 10064);
20011
  },
20012
  m: function mount(target, anchor) {
20013
  insert_dev(target, img, anchor);
@@ -20072,12 +20162,12 @@
20072
  attr_dev(img, "class", "icon bucket");
20073
  if (!src_url_equal(img.src, img_src_value = /*$urls*/ ctx[15].assets + 'img/icon/bucket.svg')) attr_dev(img, "src", img_src_value);
20074
  attr_dev(img, "alt", img_alt_value = /*$strings*/ ctx[14].bucket_icon);
20075
- add_location(img, file$f, 348, 10, 9882);
20076
- add_location(p, file$f, 349, 10, 9990);
20077
  attr_dev(li, "class", "row");
20078
  attr_dev(li, "data-bucket-name", li_data_bucket_name_value = /*bucket*/ ctx[44].Name);
20079
  toggle_class(li, "active", /*newBucket*/ ctx[2] === /*bucket*/ ctx[44].Name);
20080
- add_location(li, file$f, 341, 9, 9635);
20081
  },
20082
  m: function mount(target, anchor) {
20083
  insert_dev(target, li, anchor);
@@ -20205,7 +20295,7 @@
20205
  p = element("p");
20206
  t = text(/*invalidBucketNameMessage*/ ctx[10]);
20207
  attr_dev(p, "class", "input-error");
20208
- add_location(p, file$f, 364, 5, 10439);
20209
  },
20210
  m: function mount(target, anchor) {
20211
  insert_dev(target, p, anchor);
@@ -20329,7 +20419,7 @@
20329
  if (if_block2) if_block2.c();
20330
  if_block2_anchor = empty();
20331
  attr_dev(div, "class", "flex-row align-center row radio-btns");
20332
- add_location(div, file$f, 278, 4, 7304);
20333
  },
20334
  m: function mount(target, anchor) {
20335
  insert_dev(target, div, anchor);
@@ -20621,7 +20711,7 @@
20621
  option.__value = option_value_value = /*regionKey*/ ctx[39];
20622
  option.value = option.__value;
20623
  option.selected = option_selected_value = /*regionKey*/ ctx[39] === /*newRegion*/ ctx[8];
20624
- add_location(option, file$f, 394, 8, 11601);
20625
  },
20626
  m: function mount(target, anchor) {
20627
  insert_dev(target, option, anchor);
@@ -20668,7 +20758,7 @@
20668
  p = element("p");
20669
  t = text(/*invalidBucketNameMessage*/ ctx[10]);
20670
  attr_dev(p, "class", "input-error");
20671
- add_location(p, file$f, 405, 5, 11824);
20672
  },
20673
  m: function mount(target, anchor) {
20674
  insert_dev(target, p, anchor);
@@ -20781,7 +20871,7 @@
20781
  if_block_anchor = empty();
20782
  attr_dev(label0, "class", "input-label");
20783
  attr_dev(label0, "for", "new-bucket-name");
20784
- add_location(label0, file$f, 375, 6, 10827);
20785
  attr_dev(input, "type", "text");
20786
  attr_dev(input, "id", "new-bucket-name");
20787
  attr_dev(input, "class", "bucket-name");
@@ -20790,22 +20880,22 @@
20790
  attr_dev(input, "placeholder", input_placeholder_value = /*$strings*/ ctx[14].enter_bucket_name_placeholder);
20791
  input.disabled = /*disabled*/ ctx[11];
20792
  toggle_class(input, "disabled", /*disabled*/ ctx[11]);
20793
- add_location(input, file$f, 376, 6, 10913);
20794
  attr_dev(div0, "class", "new-bucket-details flex-column");
20795
- add_location(div0, file$f, 374, 5, 10776);
20796
  attr_dev(label1, "class", "input-label");
20797
  attr_dev(label1, "for", "new-region");
20798
- add_location(label1, file$f, 389, 6, 11230);
20799
  attr_dev(select, "name", "region");
20800
  attr_dev(select, "id", "new-region");
20801
  select.disabled = /*newRegionDisabled*/ ctx[12];
20802
  if (/*newRegion*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler_2*/ ctx[30].call(select));
20803
  toggle_class(select, "disabled", /*newRegionDisabled*/ ctx[12]);
20804
- add_location(select, file$f, 392, 6, 11374);
20805
  attr_dev(div1, "class", "region flex-column");
20806
- add_location(div1, file$f, 388, 5, 11191);
20807
  attr_dev(div2, "class", "flex-row align-center row");
20808
- add_location(div2, file$f, 373, 4, 10731);
20809
  },
20810
  m: function mount(target, anchor) {
20811
  insert_dev(target, div2, anchor);
@@ -21380,7 +21470,7 @@
21380
  return $strings.defined_region_invalid;
21381
  }
21382
 
21383
- const bucketNamePattern = /[^a-z0-9.-]/;
21384
  let message = "";
21385
 
21386
  if (bucket.trim().length < 1) {
@@ -21390,7 +21480,9 @@
21390
  message = $strings.create_bucket_name_missing;
21391
  }
21392
  } else if (true === bucketNamePattern.test(bucket)) {
21393
- message = $strings.create_bucket_invalid_chars;
 
 
21394
  } else if (bucket.length < 3) {
21395
  message = $strings.create_bucket_name_short;
21396
  } else if (bucket.length > 63) {
3696
  }
3697
 
3698
  // (121:3) {#if extra}
3699
+ function create_if_block_1$c(ctx) {
3700
  let p;
3701
 
3702
  const block = {
3717
 
3718
  dispatch_dev("SvelteRegisterBlock", {
3719
  block,
3720
+ id: create_if_block_1$c.name,
3721
  type: "if",
3722
  source: "(121:3) {#if extra}",
3723
  ctx
3774
  let if_block1 = (/*heading*/ ctx[8] || /*dismissible*/ ctx[9] || /*expandable*/ ctx[12]) && create_if_block_2$8(ctx);
3775
  const default_slot_template = /*#slots*/ ctx[23].default;
3776
  const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[22], null);
3777
+ let if_block2 = /*extra*/ ctx[11] && create_if_block_1$c(ctx);
3778
  let if_block3 = /*linksHTML*/ ctx[16] && create_if_block$p(ctx);
3779
  const details_slot_template = /*#slots*/ ctx[23].details;
3780
  const details_slot = create_slot(details_slot_template, ctx, /*$$scope*/ ctx[22], get_details_slot_context);
3887
  if (if_block2) {
3888
  if_block2.p(ctx, dirty);
3889
  } else {
3890
+ if_block2 = create_if_block_1$c(ctx);
3891
  if_block2.c();
3892
  if_block2.m(div0, t3);
3893
  }
4498
  }
4499
 
4500
  // (13:3) {#if !notification.dismissed && (notification.only_show_on_tab === tab || notification.only_show_on_tab === tabParent || !notification.only_show_on_tab)}
4501
+ function create_if_block_1$b(ctx) {
4502
  let switch_instance;
4503
  let switch_instance_anchor;
4504
  let current;
4581
 
4582
  dispatch_dev("SvelteRegisterBlock", {
4583
  block,
4584
+ id: create_if_block_1$b.name,
4585
  type: "if",
4586
  source: "(13:3) {#if !notification.dismissed && (notification.only_show_on_tab === tab || notification.only_show_on_tab === tabParent || !notification.only_show_on_tab)}",
4587
  ctx
4672
  let first;
4673
  let if_block_anchor;
4674
  let current;
4675
+ let if_block = !/*notification*/ ctx[4].dismissed && (/*notification*/ ctx[4].only_show_on_tab === /*tab*/ ctx[1] || /*notification*/ ctx[4].only_show_on_tab === /*tabParent*/ ctx[2] || !/*notification*/ ctx[4].only_show_on_tab) && create_if_block_1$b(ctx);
4676
 
4677
  const block = {
4678
  key: key_1,
4700
  transition_in(if_block, 1);
4701
  }
4702
  } else {
4703
+ if_block = create_if_block_1$b(ctx);
4704
  if_block.c();
4705
  transition_in(if_block, 1);
4706
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
5603
  }
5604
 
5605
  // (18:3) {#if progress && index < (displayItems.length - 1)}
5606
+ function create_if_block_1$a(ctx) {
5607
  let li;
5608
  let img;
5609
  let img_src_value;
5637
 
5638
  dispatch_dev("SvelteRegisterBlock", {
5639
  block,
5640
+ id: create_if_block_1$a.name,
5641
  type: "if",
5642
  source: "(18:3) {#if progress && index < (displayItems.length - 1)}",
5643
  ctx
5658
  $$inline: true
5659
  });
5660
 
5661
+ let if_block = /*progress*/ ctx[2] && /*index*/ ctx[8] < /*displayItems*/ ctx[3].length - 1 && create_if_block_1$a(ctx);
5662
 
5663
  const block = {
5664
  c: function create() {
5683
  if (if_block) {
5684
  if_block.p(ctx, dirty);
5685
  } else {
5686
+ if_block = create_if_block_1$a(ctx);
5687
  if_block.c();
5688
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
5689
  }
7836
  }
7837
 
7838
  // (81:4) {#if helpURL}
7839
+ function create_if_block_1$9(ctx) {
7840
  let helpbutton;
7841
  let current;
7842
 
7878
 
7879
  dispatch_dev("SvelteRegisterBlock", {
7880
  block,
7881
+ id: create_if_block_1$9.name,
7882
  type: "if",
7883
  source: "(81:4) {#if helpURL}",
7884
  ctx
7916
  });
7917
 
7918
  let if_block1 = /*storageProvider*/ ctx[9] && create_if_block_3$4(ctx);
7919
+ const if_block_creators_1 = [create_if_block_1$9, create_if_block_2$6];
7920
  const if_blocks_1 = [];
7921
 
7922
  function select_block_type_2(ctx, dirty) {
10095
  }
10096
 
10097
  // (126:1) {#if toggleName}
10098
+ function create_if_block_1$8(ctx) {
10099
  let settingnotifications;
10100
  let current;
10101
 
10133
 
10134
  dispatch_dev("SvelteRegisterBlock", {
10135
  block,
10136
+ id: create_if_block_1$8.name,
10137
  type: "if",
10138
  source: "(126:1) {#if toggleName}",
10139
  ctx
10220
  });
10221
 
10222
  let if_block0 = /*input*/ ctx[10] && create_if_block_2$5(ctx);
10223
+ let if_block1 = /*toggleName*/ ctx[7] && create_if_block_1$8(ctx);
10224
  let if_block2 = /*textName*/ ctx[8] && create_if_block$e(ctx);
10225
  const default_slot_template = /*#slots*/ ctx[22].default;
10226
  const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null);
10313
  transition_in(if_block1, 1);
10314
  }
10315
  } else {
10316
+ if_block1 = create_if_block_1$8(ctx);
10317
  if_block1.c();
10318
  transition_in(if_block1, 1);
10319
  if_block1.m(div, t3);
11728
 
11729
  binding_callbacks.push(() => bind(settingspaneloption, 'toggle', settingspaneloption_toggle_binding));
11730
  binding_callbacks.push(() => bind(settingspaneloption, 'text', settingspaneloption_text_binding));
11731
+ let if_block = /*$delivery_provider*/ ctx[1].use_signed_urls_key_file_allowed && /*$settings*/ ctx[2]["enable-delivery-domain"] && create_if_block_1$7(ctx);
11732
 
11733
  const block = {
11734
  c: function create() {
11771
  transition_in(if_block, 1);
11772
  }
11773
  } else {
11774
+ if_block = create_if_block_1$7(ctx);
11775
  if_block.c();
11776
  transition_in(if_block, 1);
11777
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
11817
  }
11818
 
11819
  // (51:2) {#if $delivery_provider.use_signed_urls_key_file_allowed && $settings[ "enable-delivery-domain" ]}
11820
+ function create_if_block_1$7(ctx) {
11821
  let settingspaneloption;
11822
  let updating_toggle;
11823
  let current;
11886
 
11887
  dispatch_dev("SvelteRegisterBlock", {
11888
  block,
11889
+ id: create_if_block_1$7.name,
11890
  type: "if",
11891
  source: "(51:2) {#if $delivery_provider.use_signed_urls_key_file_allowed && $settings[ \\\"enable-delivery-domain\\\" ]}",
11892
  ctx
13661
  /* src/amazon-s3-and-cloudfront/ui/components/MediaPage.svelte generated by Svelte v3.49.0 */
13662
  const file$r = "src/amazon-s3-and-cloudfront/ui/components/MediaPage.svelte";
13663
 
13664
+ // (52:1) {#if render}
13665
+ function create_if_block_1$6(ctx) {
13666
  let notifications;
13667
  let t0;
13668
  let div;
13688
  subnav = new SubNav({
13689
  props: {
13690
  name: /*name*/ ctx[0],
13691
+ items: /*items*/ ctx[4],
13692
  subpage: true
13693
  },
13694
  $$inline: true
13697
  subpages = new SubPages({
13698
  props: {
13699
  name: /*name*/ ctx[0],
13700
+ routes: /*routes*/ ctx[3]
13701
  },
13702
  $$inline: true
13703
  });
13720
  create_component(urlpreview.$$.fragment);
13721
  attr_dev(div, "id", "provider-warning-notifications");
13722
  attr_dev(div, "class", "notifications wrapper");
13723
+ add_location(div, file$r, 53, 2, 1633);
13724
  },
13725
  m: function mount(target, anchor) {
13726
  mount_component(notifications, target, anchor);
13782
  }
13783
  };
13784
 
13785
+ dispatch_dev("SvelteRegisterBlock", {
13786
+ block,
13787
+ id: create_if_block_1$6.name,
13788
+ type: "if",
13789
+ source: "(52:1) {#if render}",
13790
+ ctx
13791
+ });
13792
+
13793
+ return block;
13794
+ }
13795
+
13796
+ // (51:0) <Page {name} on:routeEvent>
13797
+ function create_default_slot$c(ctx) {
13798
+ let if_block_anchor;
13799
+ let current;
13800
+ let if_block = /*render*/ ctx[2] && create_if_block_1$6(ctx);
13801
+
13802
+ const block = {
13803
+ c: function create() {
13804
+ if (if_block) if_block.c();
13805
+ if_block_anchor = empty();
13806
+ },
13807
+ m: function mount(target, anchor) {
13808
+ if (if_block) if_block.m(target, anchor);
13809
+ insert_dev(target, if_block_anchor, anchor);
13810
+ current = true;
13811
+ },
13812
+ p: function update(ctx, dirty) {
13813
+ if (/*render*/ ctx[2]) {
13814
+ if (if_block) {
13815
+ if_block.p(ctx, dirty);
13816
+
13817
+ if (dirty & /*render*/ 4) {
13818
+ transition_in(if_block, 1);
13819
+ }
13820
+ } else {
13821
+ if_block = create_if_block_1$6(ctx);
13822
+ if_block.c();
13823
+ transition_in(if_block, 1);
13824
+ if_block.m(if_block_anchor.parentNode, if_block_anchor);
13825
+ }
13826
+ } else if (if_block) {
13827
+ group_outros();
13828
+
13829
+ transition_out(if_block, 1, 1, () => {
13830
+ if_block = null;
13831
+ });
13832
+
13833
+ check_outros();
13834
+ }
13835
+ },
13836
+ i: function intro(local) {
13837
+ if (current) return;
13838
+ transition_in(if_block);
13839
+ current = true;
13840
+ },
13841
+ o: function outro(local) {
13842
+ transition_out(if_block);
13843
+ current = false;
13844
+ },
13845
+ d: function destroy(detaching) {
13846
+ if (if_block) if_block.d(detaching);
13847
+ if (detaching) detach_dev(if_block_anchor);
13848
+ }
13849
+ };
13850
+
13851
  dispatch_dev("SvelteRegisterBlock", {
13852
  block,
13853
  id: create_default_slot$c.name,
13854
  type: "slot",
13855
+ source: "(51:0) <Page {name} on:routeEvent>",
13856
  ctx
13857
  });
13858
 
13859
  return block;
13860
  }
13861
 
13862
+ // (64:0) {#if sidebar && render}
13863
  function create_if_block$a(ctx) {
13864
  let switch_instance;
13865
  let switch_instance_anchor;
13929
  block,
13930
  id: create_if_block$a.name,
13931
  type: "if",
13932
+ source: "(64:0) {#if sidebar && render}",
13933
  ctx
13934
  });
13935
 
13952
  $$inline: true
13953
  });
13954
 
13955
+ page.$on("routeEvent", /*routeEvent_handler*/ ctx[6]);
13956
+ let if_block = /*sidebar*/ ctx[1] && /*render*/ ctx[2] && create_if_block$a(ctx);
13957
  footer = new Footer({ $$inline: true });
13958
+ footer.$on("routeEvent", /*routeEvent_handler_1*/ ctx[7]);
13959
 
13960
  const block = {
13961
  c: function create() {
13980
  const page_changes = {};
13981
  if (dirty & /*name*/ 1) page_changes.name = /*name*/ ctx[0];
13982
 
13983
+ if (dirty & /*$$scope, name, render*/ 2053) {
13984
  page_changes.$$scope = { dirty, ctx };
13985
  }
13986
 
13987
  page.$set(page_changes);
13988
 
13989
+ if (/*sidebar*/ ctx[1] && /*render*/ ctx[2]) {
13990
  if (if_block) {
13991
  if_block.p(ctx, dirty);
13992
 
13993
+ if (dirty & /*sidebar, render*/ 6) {
13994
  transition_in(if_block, 1);
13995
  }
13996
  } else {
14043
  }
14044
 
14045
  function instance$t($$self, $$props, $$invalidate) {
14046
+ let $is_plugin_setup;
14047
  let $strings;
14048
+ validate_store(is_plugin_setup, 'is_plugin_setup');
14049
+ component_subscribe($$self, is_plugin_setup, $$value => $$invalidate(8, $is_plugin_setup = $$value));
14050
  validate_store(strings, 'strings');
14051
+ component_subscribe($$self, strings, $$value => $$invalidate(9, $strings = $$value));
14052
  let { $$slots: slots = {}, $$scope } = $$props;
14053
  validate_slots('MediaPage', slots, []);
14054
  let { name = "media" } = $$props;
14055
  let { params = {} } = $$props;
14056
  const _params = params; // Stops compiler warning for params;
14057
  let sidebar = null;
14058
+ let render = false;
14059
 
14060
  if (hasContext('sidebar')) {
14061
  sidebar = getContext('sidebar');
14080
  }
14081
  ];
14082
 
14083
+ onMount(() => {
14084
+ if ($is_plugin_setup) {
14085
+ $$invalidate(2, render = true);
14086
+ }
14087
+ });
14088
+
14089
  const writable_props = ['name', 'params'];
14090
 
14091
  Object.keys($$props).forEach(key => {
14102
 
14103
  $$self.$$set = $$props => {
14104
  if ('name' in $$props) $$invalidate(0, name = $$props.name);
14105
+ if ('params' in $$props) $$invalidate(5, params = $$props.params);
14106
  };
14107
 
14108
  $$self.$capture_state = () => ({
14109
  getContext,
14110
  hasContext,
14111
+ onMount,
14112
  setContext,
14113
+ is_plugin_setup,
14114
  settingsLocked,
14115
  strings,
14116
  Page,
14126
  params,
14127
  _params,
14128
  sidebar,
14129
+ render,
14130
  routes,
14131
  items,
14132
+ $is_plugin_setup,
14133
  $strings
14134
  });
14135
 
14136
  $$self.$inject_state = $$props => {
14137
  if ('name' in $$props) $$invalidate(0, name = $$props.name);
14138
+ if ('params' in $$props) $$invalidate(5, params = $$props.params);
14139
  if ('sidebar' in $$props) $$invalidate(1, sidebar = $$props.sidebar);
14140
+ if ('render' in $$props) $$invalidate(2, render = $$props.render);
14141
  };
14142
 
14143
  if ($$props && "$$inject" in $$props) {
14144
  $$self.$inject_state($$props.$$inject);
14145
  }
14146
 
14147
+ return [
14148
+ name,
14149
+ sidebar,
14150
+ render,
14151
+ routes,
14152
+ items,
14153
+ params,
14154
+ routeEvent_handler,
14155
+ routeEvent_handler_1
14156
+ ];
14157
  }
14158
 
14159
  class MediaPage extends SvelteComponentDev {
14160
  constructor(options) {
14161
  super(options);
14162
+ init(this, options, instance$t, create_fragment$t, safe_not_equal, { name: 0, params: 5 });
14163
 
14164
  dispatch_dev("SvelteRegisterComponent", {
14165
  component: this,
19299
  if (if_block) if_block.c();
19300
  attr_dev(label, "class", "input-label");
19301
  attr_dev(label, "for", "bucket-name");
19302
+ add_location(label, file$f, 286, 7, 7863);
19303
  attr_dev(input, "type", "text");
19304
  attr_dev(input, "id", "bucket-name");
19305
  attr_dev(input, "class", "bucket-name");
19308
  attr_dev(input, "placeholder", input_placeholder_value = /*$strings*/ ctx[14].enter_bucket_name_placeholder);
19309
  input.disabled = /*disabled*/ ctx[11];
19310
  toggle_class(input, "disabled", /*disabled*/ ctx[11]);
19311
+ add_location(input, file$f, 287, 7, 7946);
19312
  attr_dev(div0, "class", "new-bucket-details flex-column");
19313
+ add_location(div0, file$f, 285, 6, 7811);
19314
  attr_dev(div1, "class", "flex-row align-center row");
19315
+ add_location(div1, file$f, 284, 5, 7765);
19316
  },
19317
  m: function mount(target, anchor) {
19318
  insert_dev(target, div1, anchor);
19444
 
19445
  attr_dev(label, "class", "input-label");
19446
  attr_dev(label, "for", "region");
19447
+ add_location(label, file$f, 301, 8, 8320);
19448
  attr_dev(select, "name", "region");
19449
  attr_dev(select, "id", "region");
19450
  select.disabled = /*newRegionDisabled*/ ctx[12];
19451
  if (/*newRegion*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[26].call(select));
19452
  toggle_class(select, "disabled", /*newRegionDisabled*/ ctx[12]);
19453
+ add_location(select, file$f, 304, 8, 8466);
19454
  attr_dev(div, "class", "region flex-column");
19455
+ add_location(div, file$f, 300, 7, 8279);
19456
  },
19457
  m: function mount(target, anchor) {
19458
  insert_dev(target, div, anchor);
19563
  option.__value = option_value_value = /*regionKey*/ ctx[39];
19564
  option.value = option.__value;
19565
  option.selected = option_selected_value = /*regionKey*/ ctx[39] === /*newRegion*/ ctx[8];
19566
+ add_location(option, file$f, 306, 10, 8693);
19567
  },
19568
  m: function mount(target, anchor) {
19569
  insert_dev(target, option, anchor);
19746
 
19747
  attr_dev(label, "class", "input-label");
19748
  attr_dev(label, "for", "list-region");
19749
+ add_location(label, file$f, 321, 6, 9012);
19750
  attr_dev(select, "name", "region");
19751
  attr_dev(select, "id", "list-region");
19752
  select.disabled = /*newRegionDisabled*/ ctx[12];
19753
  if (/*newRegion*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[27].call(select));
19754
  toggle_class(select, "disabled", /*newRegionDisabled*/ ctx[12]);
19755
+ add_location(select, file$f, 324, 6, 9157);
19756
  },
19757
  m: function mount(target, anchor) {
19758
  insert_dev(target, label, anchor);
19864
  option.__value = option_value_value = /*regionKey*/ ctx[39];
19865
  option.value = option.__value;
19866
  option.selected = option_selected_value = /*regionKey*/ ctx[39] === /*newRegion*/ ctx[8];
19867
+ add_location(option, file$f, 326, 8, 9385);
19868
  },
19869
  m: function mount(target, anchor) {
19870
  insert_dev(target, option, anchor);
19938
  ul = element("ul");
19939
  if_block.c();
19940
  attr_dev(ul, "class", "bucket-list");
19941
+ add_location(ul, file$f, 338, 6, 9638);
19942
  },
19943
  m: function mount(target, anchor) {
19944
  insert_dev(target, ul, anchor);
19988
  li = element("li");
19989
  p = element("p");
19990
  t = text(t_value);
19991
+ add_location(p, file$f, 357, 9, 10403);
19992
  attr_dev(li, "class", "row nothing-found");
19993
+ add_location(li, file$f, 356, 8, 10363);
19994
  },
19995
  m: function mount(target, anchor) {
19996
  insert_dev(target, li, anchor);
20097
  if (!src_url_equal(img.src, img_src_value = /*$urls*/ ctx[15].assets + 'img/icon/licence-checked.svg')) attr_dev(img, "src", img_src_value);
20098
  attr_dev(img, "type", "image/svg+xml");
20099
  attr_dev(img, "alt", img_alt_value = /*$strings*/ ctx[14].selected_desc);
20100
+ add_location(img, file$f, 351, 11, 10163);
20101
  },
20102
  m: function mount(target, anchor) {
20103
  insert_dev(target, img, anchor);
20162
  attr_dev(img, "class", "icon bucket");
20163
  if (!src_url_equal(img.src, img_src_value = /*$urls*/ ctx[15].assets + 'img/icon/bucket.svg')) attr_dev(img, "src", img_src_value);
20164
  attr_dev(img, "alt", img_alt_value = /*$strings*/ ctx[14].bucket_icon);
20165
+ add_location(img, file$f, 348, 10, 9981);
20166
+ add_location(p, file$f, 349, 10, 10089);
20167
  attr_dev(li, "class", "row");
20168
  attr_dev(li, "data-bucket-name", li_data_bucket_name_value = /*bucket*/ ctx[44].Name);
20169
  toggle_class(li, "active", /*newBucket*/ ctx[2] === /*bucket*/ ctx[44].Name);
20170
+ add_location(li, file$f, 341, 9, 9734);
20171
  },
20172
  m: function mount(target, anchor) {
20173
  insert_dev(target, li, anchor);
20295
  p = element("p");
20296
  t = text(/*invalidBucketNameMessage*/ ctx[10]);
20297
  attr_dev(p, "class", "input-error");
20298
+ add_location(p, file$f, 364, 5, 10538);
20299
  },
20300
  m: function mount(target, anchor) {
20301
  insert_dev(target, p, anchor);
20419
  if (if_block2) if_block2.c();
20420
  if_block2_anchor = empty();
20421
  attr_dev(div, "class", "flex-row align-center row radio-btns");
20422
+ add_location(div, file$f, 278, 4, 7403);
20423
  },
20424
  m: function mount(target, anchor) {
20425
  insert_dev(target, div, anchor);
20711
  option.__value = option_value_value = /*regionKey*/ ctx[39];
20712
  option.value = option.__value;
20713
  option.selected = option_selected_value = /*regionKey*/ ctx[39] === /*newRegion*/ ctx[8];
20714
+ add_location(option, file$f, 394, 8, 11700);
20715
  },
20716
  m: function mount(target, anchor) {
20717
  insert_dev(target, option, anchor);
20758
  p = element("p");
20759
  t = text(/*invalidBucketNameMessage*/ ctx[10]);
20760
  attr_dev(p, "class", "input-error");
20761
+ add_location(p, file$f, 405, 5, 11923);
20762
  },
20763
  m: function mount(target, anchor) {
20764
  insert_dev(target, p, anchor);
20871
  if_block_anchor = empty();
20872
  attr_dev(label0, "class", "input-label");
20873
  attr_dev(label0, "for", "new-bucket-name");
20874
+ add_location(label0, file$f, 375, 6, 10926);
20875
  attr_dev(input, "type", "text");
20876
  attr_dev(input, "id", "new-bucket-name");
20877
  attr_dev(input, "class", "bucket-name");
20880
  attr_dev(input, "placeholder", input_placeholder_value = /*$strings*/ ctx[14].enter_bucket_name_placeholder);
20881
  input.disabled = /*disabled*/ ctx[11];
20882
  toggle_class(input, "disabled", /*disabled*/ ctx[11]);
20883
+ add_location(input, file$f, 376, 6, 11012);
20884
  attr_dev(div0, "class", "new-bucket-details flex-column");
20885
+ add_location(div0, file$f, 374, 5, 10875);
20886
  attr_dev(label1, "class", "input-label");
20887
  attr_dev(label1, "for", "new-region");
20888
+ add_location(label1, file$f, 389, 6, 11329);
20889
  attr_dev(select, "name", "region");
20890
  attr_dev(select, "id", "new-region");
20891
  select.disabled = /*newRegionDisabled*/ ctx[12];
20892
  if (/*newRegion*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler_2*/ ctx[30].call(select));
20893
  toggle_class(select, "disabled", /*newRegionDisabled*/ ctx[12]);
20894
+ add_location(select, file$f, 392, 6, 11473);
20895
  attr_dev(div1, "class", "region flex-column");
20896
+ add_location(div1, file$f, 388, 5, 11290);
20897
  attr_dev(div2, "class", "flex-row align-center row");
20898
+ add_location(div2, file$f, 373, 4, 10830);
20899
  },
20900
  m: function mount(target, anchor) {
20901
  insert_dev(target, div2, anchor);
21470
  return $strings.defined_region_invalid;
21471
  }
21472
 
21473
+ const bucketNamePattern = source === "new" ? /[^a-z0-9.\-]/ : /[^a-zA-Z0-9.\-_]/;
21474
  let message = "";
21475
 
21476
  if (bucket.trim().length < 1) {
21480
  message = $strings.create_bucket_name_missing;
21481
  }
21482
  } else if (true === bucketNamePattern.test(bucket)) {
21483
+ message = source === "new"
21484
+ ? $strings.create_bucket_invalid_chars
21485
+ : $strings.select_bucket_invalid_chars;
21486
  } else if (bucket.length < 3) {
21487
  message = $strings.create_bucket_name_short;
21488
  } else if (bucket.length > 63) {
assets/js/settings.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sources":["../../../../node_modules/svelte/internal/index.mjs","../../../../node_modules/svelte/store/index.mjs","../js/objectsDiffer.js","../js/stores.js","../../../../node_modules/svelte-spa-router/wrap.js","../js/routes.js","../../../../node_modules/regexparam/dist/index.mjs","../../../../node_modules/svelte-spa-router/Router.svelte","../components/Page.svelte","../../../../node_modules/svelte/easing/index.mjs","../../../../node_modules/svelte/transition/index.mjs","../components/Notification.svelte","../components/Notifications.svelte","../components/BlockPublicAccessWarning.svelte","../components/ObjectOwnershipEnforcedWarning.svelte","../components/SubNavItem.svelte","../components/SubNav.svelte","../components/SubPages.svelte","../../../../node_modules/svelte-spa-router/active.js","../components/SubPage.svelte","../components/PanelContainer.svelte","../components/PanelRow.svelte","../components/DefinedInWPConfig.svelte","../components/ToggleSwitch.svelte","../components/HelpButton.svelte","../components/Panel.svelte","../components/Button.svelte","../components/StorageSettingsHeadingRow.svelte","../components/SettingNotifications.svelte","../components/SettingsPanelOption.svelte","../components/StorageSettingsPanel.svelte","../components/DeliverySettingsHeadingRow.svelte","../components/DeliverySettingsPanel.svelte","../components/MediaSettings.svelte","../components/UrlPreview.svelte","../js/scrollNotificationsIntoView.js","../components/Footer.svelte","../components/MediaPage.svelte","../components/StoragePage.svelte","../js/needsRefresh.js","../components/TabButton.svelte","../components/RadioButton.svelte","../components/AccessKeysDefine.svelte","../components/BackNextButtonsRow.svelte","../components/KeyFileDefine.svelte","../components/UseServerRolesDefine.svelte","../components/AccessKeysEntry.svelte","../components/KeyFileEntry.svelte","../components/StorageProviderSubPage.svelte","../js/scrollIntoView.js","../components/Loading.svelte","../components/BucketSettingsSubPage.svelte","../components/Checkbox.svelte","../components/SecuritySubPage.svelte","../components/DeliveryPage.svelte","../js/defaultPages.js","../components/Upsell.svelte","../components/AssetsUpgrade.svelte","../components/AssetsPage.svelte","../components/ToolsUpgrade.svelte","../components/ToolsPage.svelte","../components/SupportPage.svelte","../lite/pages.js","../js/settingsNotifications.js","../components/Header.svelte","../components/Settings.svelte","../lite/Header.svelte","../components/NavItem.svelte","../components/Nav.svelte","../components/Pages.svelte","../lite/Sidebar.svelte","../lite/Settings.svelte"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nlet src_url_equal_anchor;\nfunction src_url_equal(element_src, url) {\n if (!src_url_equal_anchor) {\n src_url_equal_anchor = document.createElement('a');\n }\n src_url_equal_anchor.href = url;\n return element_src === src_url_equal_anchor.href;\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn) {\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn);\n}\nfunction get_all_dirty_from_scope($$scope) {\n if ($$scope.ctx.length > 32) {\n const dirty = [];\n const length = $$scope.ctx.length / 32;\n for (let i = 0; i < length; i++) {\n dirty[i] = -1;\n }\n return dirty;\n }\n return -1;\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\n// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM\n// at the end of hydration without touching the remaining nodes.\nlet is_hydrating = false;\nfunction start_hydrating() {\n is_hydrating = true;\n}\nfunction end_hydrating() {\n is_hydrating = false;\n}\nfunction upper_bound(low, high, key, value) {\n // Return first index of value larger than input value in the range [low, high)\n while (low < high) {\n const mid = low + ((high - low) >> 1);\n if (key(mid) <= value) {\n low = mid + 1;\n }\n else {\n high = mid;\n }\n }\n return low;\n}\nfunction init_hydrate(target) {\n if (target.hydrate_init)\n return;\n target.hydrate_init = true;\n // We know that all children have claim_order values since the unclaimed have been detached if target is not <head>\n let children = target.childNodes;\n // If target is <head>, there may be children without claim_order\n if (target.nodeName === 'HEAD') {\n const myChildren = [];\n for (let i = 0; i < children.length; i++) {\n const node = children[i];\n if (node.claim_order !== undefined) {\n myChildren.push(node);\n }\n }\n children = myChildren;\n }\n /*\n * Reorder claimed children optimally.\n * We can reorder claimed children optimally by finding the longest subsequence of\n * nodes that are already claimed in order and only moving the rest. The longest\n * subsequence subsequence of nodes that are claimed in order can be found by\n * computing the longest increasing subsequence of .claim_order values.\n *\n * This algorithm is optimal in generating the least amount of reorder operations\n * possible.\n *\n * Proof:\n * We know that, given a set of reordering operations, the nodes that do not move\n * always form an increasing subsequence, since they do not move among each other\n * meaning that they must be already ordered among each other. Thus, the maximal\n * set of nodes that do not move form a longest increasing subsequence.\n */\n // Compute longest increasing subsequence\n // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j\n const m = new Int32Array(children.length + 1);\n // Predecessor indices + 1\n const p = new Int32Array(children.length);\n m[0] = -1;\n let longest = 0;\n for (let i = 0; i < children.length; i++) {\n const current = children[i].claim_order;\n // Find the largest subsequence length such that it ends in a value less than our current value\n // upper_bound returns first greater value, so we subtract one\n // with fast path for when we are on the current longest subsequence\n const seqLen = ((longest > 0 && children[m[longest]].claim_order <= current) ? longest + 1 : upper_bound(1, longest, idx => children[m[idx]].claim_order, current)) - 1;\n p[i] = m[seqLen] + 1;\n const newLen = seqLen + 1;\n // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.\n m[newLen] = i;\n longest = Math.max(newLen, longest);\n }\n // The longest increasing subsequence of nodes (initially reversed)\n const lis = [];\n // The rest of the nodes, nodes that will be moved\n const toMove = [];\n let last = children.length - 1;\n for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {\n lis.push(children[cur - 1]);\n for (; last >= cur; last--) {\n toMove.push(children[last]);\n }\n last--;\n }\n for (; last >= 0; last--) {\n toMove.push(children[last]);\n }\n lis.reverse();\n // We sort the nodes being moved to guarantee that their insertion order matches the claim order\n toMove.sort((a, b) => a.claim_order - b.claim_order);\n // Finally, we move the nodes\n for (let i = 0, j = 0; i < toMove.length; i++) {\n while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) {\n j++;\n }\n const anchor = j < lis.length ? lis[j] : null;\n target.insertBefore(toMove[i], anchor);\n }\n}\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction append_styles(target, style_sheet_id, styles) {\n const append_styles_to = get_root_for_style(target);\n if (!append_styles_to.getElementById(style_sheet_id)) {\n const style = element('style');\n style.id = style_sheet_id;\n style.textContent = styles;\n append_stylesheet(append_styles_to, style);\n }\n}\nfunction get_root_for_style(node) {\n if (!node)\n return document;\n const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;\n if (root && root.host) {\n return root;\n }\n return node.ownerDocument;\n}\nfunction append_empty_stylesheet(node) {\n const style_element = element('style');\n append_stylesheet(get_root_for_style(node), style_element);\n return style_element.sheet;\n}\nfunction append_stylesheet(node, style) {\n append(node.head || node, style);\n}\nfunction append_hydration(target, node) {\n if (is_hydrating) {\n init_hydrate(target);\n if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentElement !== target))) {\n target.actual_end_child = target.firstChild;\n }\n // Skip nodes of undefined ordering\n while ((target.actual_end_child !== null) && (target.actual_end_child.claim_order === undefined)) {\n target.actual_end_child = target.actual_end_child.nextSibling;\n }\n if (node !== target.actual_end_child) {\n // We only insert if the ordering of this node should be modified or the parent node is not target\n if (node.claim_order !== undefined || node.parentNode !== target) {\n target.insertBefore(node, target.actual_end_child);\n }\n }\n else {\n target.actual_end_child = node.nextSibling;\n }\n }\n else if (node.parentNode !== target || node.nextSibling !== null) {\n target.appendChild(node);\n }\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction insert_hydration(target, node, anchor) {\n if (is_hydrating && !anchor) {\n append_hydration(target, node);\n }\n else if (node.parentNode !== target || node.nextSibling != anchor) {\n target.insertBefore(node, anchor || null);\n }\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction trusted(fn) {\n return function (event) {\n // @ts-ignore\n if (event.isTrusted)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction init_claim_info(nodes) {\n if (nodes.claim_info === undefined) {\n nodes.claim_info = { last_index: 0, total_claimed: 0 };\n }\n}\nfunction claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) {\n // Try to find nodes in an order such that we lengthen the longest increasing subsequence\n init_claim_info(nodes);\n const resultNode = (() => {\n // We first try to find an element after the previous one\n for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n return node;\n }\n }\n // Otherwise, we try to find one before\n // We iterate in reverse so that we don't go too far back\n for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n else if (replacement === undefined) {\n // Since we spliced before the last_index, we decrease it\n nodes.claim_info.last_index--;\n }\n return node;\n }\n }\n // If we can't find any matching node, we create a new one\n return createNode();\n })();\n resultNode.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n return resultNode;\n}\nfunction claim_element_base(nodes, name, attributes, create_element) {\n return claim_node(nodes, (node) => node.nodeName === name, (node) => {\n const remove = [];\n for (let j = 0; j < node.attributes.length; j++) {\n const attribute = node.attributes[j];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n remove.forEach(v => node.removeAttribute(v));\n return undefined;\n }, () => create_element(name));\n}\nfunction claim_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, element);\n}\nfunction claim_svg_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, svg_element);\n}\nfunction claim_text(nodes, data) {\n return claim_node(nodes, (node) => node.nodeType === 3, (node) => {\n const dataStr = '' + data;\n if (node.data.startsWith(dataStr)) {\n if (node.data.length !== dataStr.length) {\n return node.splitText(dataStr.length);\n }\n }\n else {\n node.data = dataStr;\n }\n }, () => text(data), true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements\n );\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction find_comment(nodes, text, start) {\n for (let i = start; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 8 /* comment node */ && node.textContent.trim() === text) {\n return i;\n }\n }\n return nodes.length;\n}\nfunction claim_html_tag(nodes, is_svg) {\n // find html opening tag\n const start_index = find_comment(nodes, 'HTML_TAG_START', 0);\n const end_index = find_comment(nodes, 'HTML_TAG_END', start_index);\n if (start_index === end_index) {\n return new HtmlTagHydration(undefined, is_svg);\n }\n init_claim_info(nodes);\n const html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1);\n detach(html_tag_nodes[0]);\n detach(html_tag_nodes[html_tag_nodes.length - 1]);\n const claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1);\n for (const n of claimed_nodes) {\n n.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n }\n return new HtmlTagHydration(claimed_nodes, is_svg);\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n if (value === null) {\n node.style.removeProperty(key);\n }\n else {\n node.style.setProperty(key, value, important ? 'important' : '');\n }\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n select.selectedIndex = -1; // no option should be selected\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}</script>\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, bubbles, cancelable, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(is_svg = false) {\n this.is_svg = false;\n this.is_svg = is_svg;\n this.e = this.n = null;\n }\n c(html) {\n this.h(html);\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n if (this.is_svg)\n this.e = svg_element(target.nodeName);\n else\n this.e = element(target.nodeName);\n this.t = target;\n this.c(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nclass HtmlTagHydration extends HtmlTag {\n constructor(claimed_nodes, is_svg = false) {\n super(is_svg);\n this.e = this.n = null;\n this.l = claimed_nodes;\n }\n c(html) {\n if (this.l) {\n this.n = this.l;\n }\n else {\n super.c(html);\n }\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert_hydration(this.t, this.n[i], anchor);\n }\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\n// we need to store the information for multiple documents because a Svelte application could also contain iframes\n// https://github.com/sveltejs/svelte/issues/3624\nconst managed_styles = new Map();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_style_information(doc, node) {\n const info = { stylesheet: append_empty_stylesheet(node), rules: {} };\n managed_styles.set(doc, info);\n return info;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = get_root_for_style(node);\n const { stylesheet, rules } = managed_styles.get(doc) || create_style_information(doc, node);\n if (!rules[name]) {\n rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n managed_styles.forEach(info => {\n const { stylesheet } = info;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n info.rules = {};\n });\n managed_styles.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail, { cancelable = false } = {}) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail, { cancelable });\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n return !event.defaultPrevented;\n }\n return true;\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n return context;\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction getAllContexts() {\n return get_current_component().$$.context;\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n // @ts-ignore\n callbacks.slice().forEach(fn => fn.call(this, event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\n// flush() calls callbacks in this order:\n// 1. All beforeUpdate callbacks, in order: parents before children\n// 2. All bind:this callbacks, in reverse order: children before parents.\n// 3. All afterUpdate callbacks, in order: parents before children. EXCEPT\n// for afterUpdates called during the initial onMount, which are called in\n// reverse order: children before parents.\n// Since callbacks might update component values, which could trigger another\n// call to flush(), the following steps guard against this:\n// 1. During beforeUpdate, any updated components will be added to the\n// dirty_components array and will cause a reentrant call to flush(). Because\n// the flush index is kept outside the function, the reentrant call will pick\n// up where the earlier call left off and go through all dirty components. The\n// current_component value is saved and restored so that the reentrant call will\n// not interfere with the \"parent\" flush() call.\n// 2. bind:this callbacks cannot trigger new flush() calls.\n// 3. During afterUpdate, any updated components will NOT have their afterUpdate\n// callback called a second time; the seen_callbacks set, outside the flush()\n// function, guarantees this behavior.\nconst seen_callbacks = new Set();\nlet flushidx = 0; // Do *not* move this inside the flush() function\nfunction flush() {\n const saved_component = current_component;\n do {\n // first, call beforeUpdate functions\n // and update components\n while (flushidx < dirty_components.length) {\n const component = dirty_components[flushidx];\n flushidx++;\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n flushidx = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n seen_callbacks.clear();\n set_current_component(saved_component);\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n else if (callback) {\n callback();\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n started = true;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = (program.b - t);\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\nfunction update_await_block_branch(info, ctx, dirty) {\n const child_ctx = ctx.slice();\n const { resolved } = info;\n if (info.current === info.then) {\n child_ctx[info.value] = resolved;\n }\n if (info.current === info.catch) {\n child_ctx[info.error] = resolved;\n }\n info.block.p(child_ctx, dirty);\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst void_element_names = /^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;\nfunction is_void(name) {\n return void_element_names.test(name) || name.toLowerCase() === '!doctype';\n}\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, attrs_to_add) {\n const attributes = Object.assign({}, ...args);\n if (attrs_to_add) {\n const classes_to_add = attrs_to_add.classes;\n const styles_to_add = attrs_to_add.styles;\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n if (styles_to_add) {\n if (attributes.style == null) {\n attributes.style = style_object_to_string(styles_to_add);\n }\n else {\n attributes.style = style_object_to_string(merge_ssr_styles(attributes.style, styles_to_add));\n }\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${value}\"`;\n }\n });\n return str;\n}\nfunction merge_ssr_styles(style_attribute, style_directive) {\n const style_object = {};\n for (const individual_style of style_attribute.split(';')) {\n const colon_index = individual_style.indexOf(':');\n const name = individual_style.slice(0, colon_index).trim();\n const value = individual_style.slice(colon_index + 1).trim();\n if (!name)\n continue;\n style_object[name] = value;\n }\n for (const name in style_directive) {\n const value = style_directive[name];\n if (value) {\n style_object[name] = value;\n }\n else {\n delete style_object[name];\n }\n }\n return style_object;\n}\nconst ATTR_REGEX = /[&\"]/g;\nconst CONTENT_REGEX = /[&<]/g;\n/**\n * Note: this method is performance sensitive and has been optimized\n * https://github.com/sveltejs/svelte/pull/5701\n */\nfunction escape(value, is_attr = false) {\n const str = String(value);\n const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;\n pattern.lastIndex = 0;\n let escaped = '';\n let last = 0;\n while (pattern.test(str)) {\n const i = pattern.lastIndex - 1;\n const ch = str[i];\n escaped += str.substring(last, i) + (ch === '&' ? '&amp;' : (ch === '\"' ? '&quot;' : '&lt;'));\n last = i + 1;\n }\n return escaped + str.substring(last);\n}\nfunction escape_attribute_value(value) {\n // keep booleans, null, and undefined for the sake of `spread`\n const should_escape = typeof value === 'string' || (value && typeof value === 'object');\n return should_escape ? escape(value, true) : value;\n}\nfunction escape_object(obj) {\n const result = {};\n for (const key in obj) {\n result[key] = escape_attribute_value(obj[key]);\n }\n return result;\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots, context) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(context || (parent_component ? parent_component.$$.context : [])),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, $$slots, context);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n const assignment = (boolean && value === true) ? '' : `=\"${escape(value, true)}\"`;\n return ` ${name}${assignment}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\nfunction style_object_to_string(style_object) {\n return Object.keys(style_object)\n .filter(key => style_object[key])\n .map(key => `${key}: ${style_object[key]};`)\n .join(' ');\n}\nfunction add_styles(style_object) {\n const styles = style_object_to_string(style_object);\n return styles ? ` style=\"${styles}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, append_styles, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false,\n root: options.target || parent_component.$$.root\n };\n append_styles && append_styles($$.root);\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n start_hydrating();\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n end_hydrating();\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.49.0' }, detail), { bubbles: true }));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction append_hydration_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append_hydration(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction insert_hydration_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert_hydration(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\nfunction validate_dynamic_element(tag) {\n const is_string = typeof tag === 'string';\n if (tag && !is_string) {\n throw new Error('<svelte:element> expects \"this\" attribute to be a string.');\n }\n}\nfunction validate_void_dynamic_element(tag) {\n if (tag && is_void(tag)) {\n throw new Error(`<svelte:element this=\"${tag}\"> is self-closing and cannot have content.`);\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * <script lang=\"ts\">\n * \timport { MyComponent } from \"component-library\";\n * </script>\n * <MyComponent foo={'bar'} />\n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to separate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, HtmlTagHydration, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_styles, add_transform, afterUpdate, append, append_dev, append_empty_stylesheet, append_hydration, append_hydration_dev, append_styles, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_html_tag, claim_space, claim_svg_element, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, end_hydrating, escape, escape_attribute_value, escape_object, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getAllContexts, getContext, get_all_dirty_from_scope, get_binding_group_value, get_current_component, get_custom_elements_slots, get_root_for_style, get_slot_changes, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, insert_hydration, insert_hydration_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, is_void, listen, listen_dev, loop, loop_guard, merge_ssr_styles, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, src_url_equal, start_hydrating, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, trusted, update_await_block_branch, update_keyed_each, update_slot, update_slot_base, validate_component, validate_dynamic_element, validate_each_argument, validate_each_keys, validate_slots, validate_store, validate_void_dynamic_element, xlink_attr };\n","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal/index.mjs';\nexport { get_store_value as get } from '../internal/index.mjs';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = new Set();\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (const subscriber of subscribers) {\n subscriber[1]();\n subscriber_queue.push(subscriber, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.add(subscriber);\n if (subscribers.size === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n subscribers.delete(subscriber);\n if (subscribers.size === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","/**\n * Does the current object have different keys or values compared to the previous version?\n *\n * @param {object} previous\n * @param {object} current\n *\n * @returns {boolean}\n */\nexport function objectsDiffer( [previous, current] ) {\n\tif ( !previous || !current ) {\n\t\treturn false;\n\t}\n\n\t// Any difference in keys?\n\tconst prevKeys = Object.keys( previous );\n\tconst currKeys = Object.keys( current );\n\n\tif ( prevKeys.length !== currKeys.length ) {\n\t\treturn true;\n\t}\n\n\t// Symmetrical diff to find extra keys in either object.\n\tif (\n\t\tprevKeys.filter( x => !currKeys.includes( x ) )\n\t\t\t.concat(\n\t\t\t\tcurrKeys.filter( x => !prevKeys.includes( x ) )\n\t\t\t)\n\t\t\t.length > 0\n\t) {\n\t\treturn true;\n\t}\n\n\t// Any difference in values?\n\tfor ( const key in previous ) {\n\t\tif ( JSON.stringify( current[ key ] ) !== JSON.stringify( previous[ key ] ) ) {\n\t\t\treturn true;\n\t\t}\n\t}\n\n\treturn false;\n}\n","import {derived, writable, get, readable} from \"svelte/store\";\nimport {objectsDiffer} from \"./objectsDiffer\";\n\n// Initial config store.\nexport const config = writable( {} );\n\n// Whether settings are locked due to background activity such as upgrade.\nexport const settingsLocked = writable( false );\n\n// Convenience readable store of server's settings, derived from config.\nexport const current_settings = derived( config, $config => $config.settings );\n\n// Convenience readable store of defined settings keys, derived from config.\nexport const defined_settings = derived( config, $config => $config.defined_settings );\n\n// Convenience readable store of translated strings, derived from config.\nexport const strings = derived( config, $config => $config.strings );\n\n// Convenience readable store for nonce, derived from config.\nexport const nonce = derived( config, $config => $config.nonce );\n\n// Convenience readable store of urls, derived from config.\nexport const urls = derived( config, $config => $config.urls );\n\n// Convenience readable store of docs, derived from config.\nexport const docs = derived( config, $config => $config.docs );\n\n// Convenience readable store of api endpoints, derived from config.\nexport const endpoints = derived( config, $config => $config.endpoints );\n\n// Convenience readable store of diagnostics, derived from config.\nexport const diagnostics = derived( config, $config => $config.diagnostics );\n\n// Convenience readable store of counts, derived from config.\nexport const counts = derived( config, $config => $config.counts );\n\n// Convenience readable store of upgrades, derived from config.\nexport const upgrades = derived( config, $config => $config.upgrades );\n\n// Convenience readable store of whether plugin is set up, derived from config.\nexport const is_plugin_setup = derived( config, $config => $config.is_plugin_setup );\n\n// Convenience readable store of whether plugin is set up, including with credentials, derived from config.\nexport const is_plugin_setup_with_credentials = derived( config, $config => $config.is_plugin_setup_with_credentials );\n\n// Convenience readable store of whether storage provider needs access credentials, derived from config.\nexport const needs_access_keys = derived( config, $config => $config.needs_access_keys );\n\n// Convenience readable store of whether bucket is writable, derived from config.\nexport const bucket_writable = derived( config, $config => $config.bucket_writable );\n\n// Store of inline errors and warnings to be shown next to settings.\n// Format is a map using settings key for keys, values are an array of objects that can be used to instantiate a notification.\nexport const settings_notifications = writable( new Map() );\n\n// Store of validation errors for settings.\n// Format is a map using settings key for keys, values are strings containing validation error.\nexport const validationErrors = writable( new Map() );\n\n// Does the app need a page refresh to resolve conflicts?\nexport const needs_refresh = writable( false );\n\n// Various stores may call the API, and the api object uses some stores.\n// To avoid cyclic dependencies, we therefore co-locate the api object with the stores.\n// We also need to add its functions much later so that JSHint does not complain about using the stores too early.\nexport const api = {};\n\n/**\n * Creates store of settings.\n *\n * @return {Object}\n */\nfunction createSettings() {\n\tconst { subscribe, set, update } = writable( [] );\n\n\treturn {\n\t\tsubscribe,\n\t\tset,\n\t\tasync save() {\n\t\t\tconst json = await api.put( \"settings\", get( this ) );\n\n\t\t\tif ( json.hasOwnProperty( \"saved\" ) && true === json.saved ) {\n\t\t\t\t// Sync settings with what the server has.\n\t\t\t\tthis.updateSettings( json );\n\n\t\t\t\treturn json;\n\t\t\t}\n\n\t\t\treturn {};\n\t\t},\n\t\treset() {\n\t\t\tset( { ...get( current_settings ) } );\n\t\t},\n\t\tasync fetch() {\n\t\t\tconst json = await api.get( \"settings\", {} );\n\t\t\tthis.updateSettings( json );\n\t\t},\n\t\tupdateSettings( json ) {\n\t\t\tif (\n\t\t\t\tjson.hasOwnProperty( \"defined_settings\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"settings\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"storage_providers\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"delivery_providers\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"is_plugin_setup\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"is_plugin_setup_with_credentials\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"needs_access_keys\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"bucket_writable\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"urls\" )\n\t\t\t) {\n\t\t\t\t// Update our understanding of what the server's settings are.\n\t\t\t\tconfig.update( $config => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\t...$config,\n\t\t\t\t\t\tdefined_settings: json.defined_settings,\n\t\t\t\t\t\tsettings: json.settings,\n\t\t\t\t\t\tstorage_providers: json.storage_providers,\n\t\t\t\t\t\tdelivery_providers: json.delivery_providers,\n\t\t\t\t\t\tis_plugin_setup: json.is_plugin_setup,\n\t\t\t\t\t\tis_plugin_setup_with_credentials: json.is_plugin_setup_with_credentials,\n\t\t\t\t\t\tneeds_access_keys: json.needs_access_keys,\n\t\t\t\t\t\tbucket_writable: json.bucket_writable,\n\t\t\t\t\t\turls: json.urls\n\t\t\t\t\t};\n\t\t\t\t} );\n\t\t\t\t// Update our local working copy of the settings.\n\t\t\t\tupdate( $settings => {\n\t\t\t\t\treturn { ...json.settings };\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\t};\n}\n\nexport const settings = createSettings();\n\n// Have the settings been changed from current server side settings?\nexport const settings_changed = derived( [settings, current_settings], objectsDiffer );\n\n// Convenience readable store of available storage providers.\nexport const storage_providers = derived( [config, urls], ( [$config, $urls] ) => {\n\tfor ( const key in $config.storage_providers ) {\n\t\t$config.storage_providers[ key ].icon = $urls.assets + \"img/icon/provider/storage/\" + $config.storage_providers[ key ].provider_key_name + \".svg\";\n\t\t$config.storage_providers[ key ].link_icon = $urls.assets + \"img/icon/provider/storage/\" + $config.storage_providers[ key ].provider_key_name + \"-link.svg\";\n\t\t$config.storage_providers[ key ].round_icon = $urls.assets + \"img/icon/provider/storage/\" + $config.storage_providers[ key ].provider_key_name + \"-round.svg\";\n\t}\n\n\treturn $config.storage_providers;\n} );\n\n// Convenience readable store of storage provider's details.\nexport const storage_provider = derived( [settings, storage_providers], ( [$settings, $storage_providers] ) => {\n\tif ( $settings.hasOwnProperty( \"provider\" ) && $storage_providers.hasOwnProperty( $settings.provider ) ) {\n\t\treturn $storage_providers[ $settings.provider ];\n\t} else {\n\t\treturn [];\n\t}\n} );\n\n// Convenience readable store of available delivery providers.\nexport const delivery_providers = derived( [config, urls, storage_provider], ( [$config, $urls, $storage_provider] ) => {\n\tfor ( const key in $config.delivery_providers ) {\n\t\tif ( \"storage\" === key ) {\n\t\t\t$config.delivery_providers[ key ].icon = $storage_provider.icon;\n\t\t\t$config.delivery_providers[ key ].round_icon = $storage_provider.round_icon;\n\t\t\t$config.delivery_providers[ key ].provider_service_quick_start_url = $storage_provider.provider_service_quick_start_url;\n\t\t} else {\n\t\t\t$config.delivery_providers[ key ].icon = $urls.assets + \"img/icon/provider/delivery/\" + $config.delivery_providers[ key ].provider_key_name + \".svg\";\n\t\t\t$config.delivery_providers[ key ].round_icon = $urls.assets + \"img/icon/provider/delivery/\" + $config.delivery_providers[ key ].provider_key_name + \"-round.svg\";\n\t\t}\n\t}\n\n\treturn $config.delivery_providers;\n} );\n\n// Convenience readable store of delivery provider's details.\nexport const delivery_provider = derived( [settings, delivery_providers, urls], ( [$settings, $delivery_providers, $urls] ) => {\n\tif ( $settings.hasOwnProperty( \"delivery-provider\" ) && $delivery_providers.hasOwnProperty( $settings[ \"delivery-provider\" ] ) ) {\n\t\treturn $delivery_providers[ $settings[ \"delivery-provider\" ] ];\n\t} else {\n\t\treturn [];\n\t}\n} );\n\n// Full name for current region.\nexport const region_name = derived( [settings, storage_provider, strings], ( [$settings, $storage_provider, $strings] ) => {\n\tif ( $settings.region && $storage_provider.regions && $storage_provider.regions.hasOwnProperty( $settings.region ) ) {\n\t\treturn $storage_provider.regions[ $settings.region ];\n\t} else if ( $settings.region && $storage_provider.regions ) {\n\t\t// Region set but not available in list of regions.\n\t\treturn $strings.unknown;\n\t} else if ( $storage_provider.default_region && $storage_provider.regions && $storage_provider.regions.hasOwnProperty( $storage_provider.default_region ) ) {\n\t\t// Region not set but default available.\n\t\treturn $storage_provider.regions[ $storage_provider.default_region ];\n\t} else {\n\t\t// Possibly no default region or regions available.\n\t\treturn $strings.unknown;\n\t}\n} );\n\n// Convenience readable store of whether Block All Public Access is enabled.\nexport const bapa = derived( [settings, storage_provider], ( [$settings, $storage_provider] ) => {\n\treturn $storage_provider.block_public_access_supported && $settings.hasOwnProperty( \"block-public-access\" ) && $settings[ \"block-public-access\" ];\n} );\n\n// Convenience readable store of whether Object Ownership is enforced.\nexport const ooe = derived( [settings, storage_provider], ( [$settings, $storage_provider] ) => {\n\treturn $storage_provider.object_ownership_supported && $settings.hasOwnProperty( \"object-ownership-enforced\" ) && $settings[ \"object-ownership-enforced\" ];\n} );\n\n/**\n * Creates a store of notifications.\n *\n * Example object in the array:\n * {\n * \tid: \"error-message\",\n * \ttype: \"error\", // error | warning | success | primary (default)\n * \tdismissible: true,\n * \tflash: true, // Optional, means notification is context specific and will not persist on server, defaults to true.\n * \tinline: false, // Optional, unlikely to be true, included here for completeness.\n * \tonly_show_on_tab: \"media-library\", // Optional, blank/missing means on all tabs.\n * \theading: \"Global Error: Something has gone terribly pear shaped.\", // Optional.\n * \tmessage: \"We're so sorry, but unfortunately we're going to have to delete the year 2020.\", // Optional.\n * \ticon: \"notification-error.svg\", // Optional icon file name to be shown in front of heading.\n * \tplainHeading: false, // Optional boolean as to whether a <p> tag should be used instead of <h3> for heading content.\n * \textra: \"\", // Optional extra content to be shown in paragraph below message.\n * \tlinks: [], // Optional list of links to be shown at bottom of notice.\n * },\n *\n * @return {Object}\n */\nfunction createNotifications() {\n\tconst { subscribe, set, update } = writable( [] );\n\n\treturn {\n\t\tset,\n\t\tsubscribe,\n\t\tadd( notification ) {\n\t\t\t// There's a slight difference between our notification's formatting and what WP uses.\n\t\t\tif ( notification.hasOwnProperty( \"type\" ) && notification.type === \"updated\" ) {\n\t\t\t\tnotification.type = \"success\";\n\t\t\t}\n\t\t\tif ( notification.hasOwnProperty( \"type\" ) && notification.type === \"notice-warning\" ) {\n\t\t\t\tnotification.type = \"warning\";\n\t\t\t}\n\t\t\tif ( notification.hasOwnProperty( \"type\" ) && notification.type === \"notice-info\" ) {\n\t\t\t\tnotification.type = \"info\";\n\t\t\t}\n\t\t\tif (\n\t\t\t\tnotification.hasOwnProperty( \"message\" ) &&\n\t\t\t\t(!notification.hasOwnProperty( \"heading\" ) || notification.heading.trim().length === 0)\n\t\t\t) {\n\t\t\t\tnotification.heading = notification.message;\n\t\t\t\tnotification.plainHeading = true;\n\t\t\t\tdelete notification.message;\n\t\t\t}\n\t\t\tif ( !notification.hasOwnProperty( \"flash\" ) ) {\n\t\t\t\tnotification.flash = true;\n\t\t\t}\n\n\t\t\t// We need some sort of id for indexing and to ensure rendering is efficient.\n\t\t\tif ( !notification.hasOwnProperty( \"id\" ) ) {\n\t\t\t\t// Notifications are useless without at least a heading or message, so we can be sure at least one exists.\n\t\t\t\tconst idHeading = notification.hasOwnProperty( \"heading\" ) ? notification.heading.trim() : \"dynamic-heading\";\n\t\t\t\tconst idMessage = notification.hasOwnProperty( \"message\" ) ? notification.message.trim() : \"dynamic-message\";\n\n\t\t\t\tnotification.id = btoa( idHeading + idMessage );\n\t\t\t}\n\n\t\t\t// So that rendering is efficient, but updates displayed notifications that re-use keys,\n\t\t\t// we create a render_key based on id and created_at as created_at is churned on re-use.\n\t\t\tconst createdAt = notification.hasOwnProperty( \"created_at\" ) ? notification.created_at : 0;\n\t\t\tnotification.render_key = notification.id + \"-\" + createdAt;\n\n\t\t\tupdate( $notifications => {\n\t\t\t\t// Maybe update a notification if id already exists.\n\t\t\t\tlet index = -1;\n\t\t\t\tif ( notification.hasOwnProperty( \"id\" ) ) {\n\t\t\t\t\tindex = $notifications.findIndex( _notification => _notification.id === notification.id );\n\t\t\t\t}\n\n\t\t\t\tif ( index >= 0 ) {\n\t\t\t\t\t// If the id exists but has been dismissed, add the replacement notification to the end of the array\n\t\t\t\t\t// if given notification is newer, otherwise skip it entirely.\n\t\t\t\t\tif ( $notifications[ index ].hasOwnProperty( \"dismissed\" ) ) {\n\t\t\t\t\t\tif ( $notifications[ index ].dismissed < notification.created_at ) {\n\t\t\t\t\t\t\t$notifications.push( notification );\n\t\t\t\t\t\t\t$notifications.splice( index, 1 );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Update existing.\n\t\t\t\t\t\t$notifications.splice( index, 1, notification );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// Add new.\n\t\t\t\t\t$notifications.push( notification );\n\t\t\t\t}\n\n\t\t\t\treturn $notifications.sort( this.sortCompare );\n\t\t\t} );\n\t\t},\n\t\tsortCompare( a, b ) {\n\t\t\t// Sort by created_at in case an existing notification was updated.\n\t\t\tif ( a.created_at < b.created_at ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\tif ( a.created_at > b.created_at ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\treturn 0;\n\t\t},\n\t\tasync dismiss( id ) {\n\t\t\tupdate( $notifications => {\n\t\t\t\tconst index = $notifications.findIndex( notification => notification.id === id );\n\n\t\t\t\t// If the notification still exists, set a \"dismissed\" tombstone with the created_at value.\n\t\t\t\t// The cleanup will delete any notifications that have been dismissed and no longer exist\n\t\t\t\t// in the list of notifications retrieved from the server.\n\t\t\t\t// The created_at value ensures that if a notification is retrieved from the server that\n\t\t\t\t// has the same id but later created_at, then it can be added, otherwise it is skipped.\n\t\t\t\tif ( index >= 0 ) {\n\t\t\t\t\tif ( $notifications[ index ].hasOwnProperty( \"created_at\" ) ) {\n\t\t\t\t\t\t$notifications[ index ].dismissed = $notifications[ index ].created_at;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Notification likely did not come from server, maybe a local \"flash\" notification.\n\t\t\t\t\t\t$notifications.splice( index, 1 );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn $notifications;\n\t\t\t} );\n\n\t\t\t// Tell server to dismiss notification, still ok to try if flash notification, makes sure it is definitely removed.\n\t\t\tawait api.delete( \"notifications\", { id: id, all_tabs: true } );\n\t\t},\n\t\t/**\n\t\t * Delete removes a notification from the UI without telling the server.\n\t\t */\n\t\tdelete( id ) {\n\t\t\tupdate( $notifications => {\n\t\t\t\tconst index = $notifications.findIndex( notification => notification.id === id );\n\n\t\t\t\tif ( index >= 0 ) {\n\t\t\t\t\t$notifications.splice( index, 1 );\n\t\t\t\t}\n\n\t\t\t\treturn $notifications;\n\t\t\t} );\n\t\t},\n\t\tcleanup( latest ) {\n\t\t\tupdate( $notifications => {\n\t\t\t\tfor ( const [index, notification] of $notifications.entries() ) {\n\t\t\t\t\t// Only clean up dismissed or server created notices that no longer exist.\n\t\t\t\t\tif ( notification.hasOwnProperty( \"dismissed\" ) || notification.hasOwnProperty( \"created_at\" ) ) {\n\t\t\t\t\t\tconst latestIndex = latest.findIndex( _notification => _notification.id === notification.id );\n\n\t\t\t\t\t\t// If server doesn't know about the notification anymore, remove it.\n\t\t\t\t\t\tif ( latestIndex < 0 ) {\n\t\t\t\t\t\t\t$notifications.splice( index, 1 );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn $notifications;\n\t\t\t} );\n\t\t}\n\t};\n}\n\nexport const notifications = createNotifications();\n\n// Controller for periodic fetch of state info.\nlet stateFetchInterval;\nlet stateFetchIntervalStarted = false;\nlet stateFetchIntervalPaused = false;\n\n// Store of functions to call before an update of state processes the result into config.\nexport const preStateUpdateCallbacks = writable( [] );\n\n// Store of functions to call after an update of state processes the result into config.\nexport const postStateUpdateCallbacks = writable( [] );\n\n/**\n * Store of functions to call when state info is updated, and actual API access methods.\n *\n * Functions are called after the returned state info has been used to update the config store.\n * Therefore, functions should only be added to the store if extra processing is required.\n * The functions should be asynchronous as they are part of the reactive chain and called with await.\n *\n * @return {Object}\n */\nfunction createState() {\n\tconst { subscribe, set, update } = writable( [] );\n\n\treturn {\n\t\tsubscribe,\n\t\tset,\n\t\tupdate,\n\t\tasync fetch() {\n\t\t\tconst json = await api.get( \"state\", {} );\n\n\t\t\t// Abort controller is still a bit hit or miss, so we'll go old skool.\n\t\t\tif ( stateFetchIntervalStarted && !stateFetchIntervalPaused ) {\n\t\t\t\tthis.updateState( json );\n\t\t\t}\n\t\t},\n\t\tupdateState( json ) {\n\t\t\tfor ( const callable of get( preStateUpdateCallbacks ) ) {\n\t\t\t\tcallable( json );\n\t\t\t}\n\n\t\t\tconst dirty = get( settings_changed );\n\t\t\tconst previous_settings = { ...get( current_settings ) }; // cloned\n\n\t\t\tconfig.update( $config => {\n\t\t\t\treturn { ...$config, ...json };\n\t\t\t} );\n\n\t\t\t// If the settings weren't changed before, they shouldn't be now.\n\t\t\tif ( !dirty && get( settings_changed ) ) {\n\t\t\t\tsettings.reset();\n\t\t\t}\n\n\t\t\t// If settings are in middle of being changed when changes come in\n\t\t\t// from server, reset to server version.\n\t\t\tif ( dirty && objectsDiffer( [previous_settings, get( current_settings )] ) ) {\n\t\t\t\tneeds_refresh.update( $needs_refresh => true );\n\t\t\t\tsettings.reset();\n\t\t\t}\n\n\t\t\tfor ( const callable of get( postStateUpdateCallbacks ) ) {\n\t\t\t\tcallable( json );\n\t\t\t}\n\t\t},\n\t\tstartPeriodicFetch() {\n\t\t\tstateFetchIntervalStarted = true;\n\t\t\tstateFetchIntervalPaused = false;\n\n\t\t\tstateFetchInterval = setInterval( async () => {\n\t\t\t\tawait this.fetch();\n\t\t\t}, 5000 );\n\t\t},\n\t\tstopPeriodicFetch() {\n\t\t\tstateFetchIntervalStarted = false;\n\t\t\tstateFetchIntervalPaused = false;\n\n\t\t\tclearInterval( stateFetchInterval );\n\t\t},\n\t\tpausePeriodicFetch() {\n\t\t\tif ( stateFetchIntervalStarted ) {\n\t\t\t\tstateFetchIntervalPaused = true;\n\t\t\t\tclearInterval( stateFetchInterval );\n\t\t\t}\n\t\t},\n\t\tresumePeriodicFetch() {\n\t\t\tstateFetchIntervalPaused = false;\n\n\t\t\tif ( stateFetchIntervalStarted ) {\n\t\t\t\tthis.startPeriodicFetch();\n\t\t\t}\n\t\t}\n\t};\n}\n\nexport const state = createState();\n\n// API functions added here to avoid JSHint errors.\napi.headers = () => {\n\treturn {\n\t\t'Accept': 'application/json',\n\t\t'Content-Type': 'application/json',\n\t\t'X-WP-Nonce': get( nonce )\n\t};\n};\n\napi.url = ( endpoint ) => {\n\treturn get( urls ).api + get( endpoints )[ endpoint ];\n};\n\napi.get = async ( endpoint, params ) => {\n\tlet url = new URL( api.url( endpoint ) );\n\n\tconst searchParams = new URLSearchParams( params );\n\n\tsearchParams.forEach( function( value, name ) {\n\t\turl.searchParams.set( name, value );\n\t} );\n\n\tconst response = await fetch( url.toString(), {\n\t\tmethod: 'GET',\n\t\theaders: api.headers()\n\t} );\n\treturn response.json().then( json => {\n\t\tjson = api.check_response( json );\n\t\treturn json;\n\t} );\n};\n\napi.post = async ( endpoint, body ) => {\n\tconst response = await fetch( api.url( endpoint ), {\n\t\tmethod: 'POST',\n\t\theaders: api.headers(),\n\t\tbody: JSON.stringify( body )\n\t} );\n\treturn response.json().then( json => {\n\t\tjson = api.check_response( json );\n\t\treturn json;\n\t} );\n};\n\napi.put = async ( endpoint, body ) => {\n\tconst response = await fetch( api.url( endpoint ), {\n\t\tmethod: 'PUT',\n\t\theaders: api.headers(),\n\t\tbody: JSON.stringify( body )\n\t} );\n\treturn response.json().then( json => {\n\t\tjson = api.check_response( json );\n\t\treturn json;\n\t} );\n};\n\napi.delete = async ( endpoint, body ) => {\n\tconst response = await fetch( api.url( endpoint ), {\n\t\tmethod: 'DELETE',\n\t\theaders: api.headers(),\n\t\tbody: JSON.stringify( body )\n\t} );\n\treturn response.json().then( json => {\n\t\tjson = api.check_response( json );\n\t\treturn json;\n\t} );\n};\n\napi.check_errors = ( json ) => {\n\tif ( json.code && json.message ) {\n\t\tnotifications.add( {\n\t\t\tid: json.code,\n\t\t\ttype: 'error',\n\t\t\tdismissible: true,\n\t\t\theading: get( strings ).api_error_notice_heading,\n\t\t\tmessage: json.message\n\t\t} );\n\n\t\t// Just in case resultant json is expanded into a store.\n\t\tdelete json.code;\n\t\tdelete json.message;\n\t}\n\n\treturn json;\n};\n\napi.check_notifications = ( json ) => {\n\tconst _notifications = json.hasOwnProperty( \"notifications\" ) ? json.notifications : [];\n\tif ( _notifications ) {\n\t\tfor ( const notification of _notifications ) {\n\t\t\tnotifications.add( notification );\n\t\t}\n\t}\n\tnotifications.cleanup( _notifications );\n\n\t// Just in case resultant json is expanded into a store.\n\tdelete json.notifications;\n\n\treturn json;\n};\n\napi.check_response = ( json ) => {\n\tjson = api.check_notifications( json );\n\tjson = api.check_errors( json );\n\n\treturn json;\n};\n","/**\n * @typedef {Object} WrappedComponent Object returned by the `wrap` method\n * @property {SvelteComponent} component - Component to load (this is always asynchronous)\n * @property {RoutePrecondition[]} [conditions] - Route pre-conditions to validate\n * @property {Object} [props] - Optional dictionary of static props\n * @property {Object} [userData] - Optional user data dictionary\n * @property {bool} _sveltesparouter - Internal flag; always set to true\n */\n\n/**\n * @callback AsyncSvelteComponent\n * @returns {Promise<SvelteComponent>} Returns a Promise that resolves with a Svelte component\n */\n\n/**\n * @callback RoutePrecondition\n * @param {RouteDetail} detail - Route detail object\n * @returns {boolean|Promise<boolean>} If the callback returns a false-y value, it's interpreted as the precondition failed, so it aborts loading the component (and won't process other pre-condition callbacks)\n */\n\n/**\n * @typedef {Object} WrapOptions Options object for the call to `wrap`\n * @property {SvelteComponent} [component] - Svelte component to load (this is incompatible with `asyncComponent`)\n * @property {AsyncSvelteComponent} [asyncComponent] - Function that returns a Promise that fulfills with a Svelte component (e.g. `{asyncComponent: () => import('Foo.svelte')}`)\n * @property {SvelteComponent} [loadingComponent] - Svelte component to be displayed while the async route is loading (as a placeholder); when unset or false-y, no component is shown while component\n * @property {object} [loadingParams] - Optional dictionary passed to the `loadingComponent` component as params (for an exported prop called `params`)\n * @property {object} [userData] - Optional object that will be passed to events such as `routeLoading`, `routeLoaded`, `conditionsFailed`\n * @property {object} [props] - Optional key-value dictionary of static props that will be passed to the component. The props are expanded with {...props}, so the key in the dictionary becomes the name of the prop.\n * @property {RoutePrecondition[]|RoutePrecondition} [conditions] - Route pre-conditions to add, which will be executed in order\n */\n\n/**\n * Wraps a component to enable multiple capabilities:\n * 1. Using dynamically-imported component, with (e.g. `{asyncComponent: () => import('Foo.svelte')}`), which also allows bundlers to do code-splitting.\n * 2. Adding route pre-conditions (e.g. `{conditions: [...]}`)\n * 3. Adding static props that are passed to the component\n * 4. Adding custom userData, which is passed to route events (e.g. route loaded events) or to route pre-conditions (e.g. `{userData: {foo: 'bar}}`)\n * \n * @param {WrapOptions} args - Arguments object\n * @returns {WrappedComponent} Wrapped component\n */\nexport function wrap(args) {\n if (!args) {\n throw Error('Parameter args is required')\n }\n\n // We need to have one and only one of component and asyncComponent\n // This does a \"XNOR\"\n if (!args.component == !args.asyncComponent) {\n throw Error('One and only one of component and asyncComponent is required')\n }\n\n // If the component is not async, wrap it into a function returning a Promise\n if (args.component) {\n args.asyncComponent = () => Promise.resolve(args.component)\n }\n\n // Parameter asyncComponent and each item of conditions must be functions\n if (typeof args.asyncComponent != 'function') {\n throw Error('Parameter asyncComponent must be a function')\n }\n if (args.conditions) {\n // Ensure it's an array\n if (!Array.isArray(args.conditions)) {\n args.conditions = [args.conditions]\n }\n for (let i = 0; i < args.conditions.length; i++) {\n if (!args.conditions[i] || typeof args.conditions[i] != 'function') {\n throw Error('Invalid parameter conditions[' + i + ']')\n }\n }\n }\n\n // Check if we have a placeholder component\n if (args.loadingComponent) {\n args.asyncComponent.loading = args.loadingComponent\n args.asyncComponent.loadingParams = args.loadingParams || undefined\n }\n\n // Returns an object that contains all the functions to execute too\n // The _sveltesparouter flag is to confirm the object was created by this router\n const obj = {\n component: args.asyncComponent,\n userData: args.userData,\n conditions: (args.conditions && args.conditions.length) ? args.conditions : undefined,\n props: (args.props && Object.keys(args.props).length) ? args.props : {},\n _sveltesparouter: true\n }\n\n return obj\n}\n\nexport default wrap\n","import {derived, writable, get} from \"svelte/store\";\nimport {wrap} from \"svelte-spa-router/wrap\";\n\n/**\n * Creates store of default pages.\n *\n * Having a title means inclusion in main tabs.\n *\n * @return {Object}\n */\nfunction createPages() {\n\t// NOTE: get() only resolves after initialization, hence arrow functions for getting titles.\n\tconst { subscribe, set, update } = writable( [] );\n\n\treturn {\n\t\tsubscribe,\n\t\tset,\n\t\tadd( page ) {\n\t\t\tupdate( $pages => {\n\t\t\t\treturn [...$pages, page]\n\t\t\t\t\t.sort( ( a, b ) => {\n\t\t\t\t\t\treturn a.position - b.position;\n\t\t\t\t\t} );\n\t\t\t} );\n\t\t},\n\t\twithPrefix( prefix = null ) {\n\t\t\treturn get( this ).filter( ( page ) => {\n\t\t\t\treturn (prefix && page.route.startsWith( prefix )) || !prefix;\n\t\t\t} );\n\t\t},\n\t\troutes( prefix = null ) {\n\t\t\tlet defaultComponent = null;\n\t\t\tlet defaultUserData = null;\n\t\t\tconst routes = new Map();\n\n\t\t\t// If a page can be enabled/disabled, check whether it is enabled before displaying.\n\t\t\tconst conditions = [\n\t\t\t\t( detail ) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\tdetail.hasOwnProperty( \"userData\" ) &&\n\t\t\t\t\t\tdetail.userData.hasOwnProperty( \"page\" ) &&\n\t\t\t\t\t\tdetail.userData.page.hasOwnProperty( \"enabled\" )\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn detail.userData.page.enabled();\n\t\t\t\t\t}\n\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t];\n\n\t\t\tfor ( const page of this.withPrefix( prefix ) ) {\n\t\t\t\tconst userData = { page: page };\n\n\t\t\t\tlet route = page.route;\n\n\t\t\t\tif ( prefix && route !== prefix + \"/*\" ) {\n\t\t\t\t\troute = route.replace( prefix, \"\" );\n\t\t\t\t}\n\n\t\t\t\troutes.set( route, wrap( {\n\t\t\t\t\tcomponent: page.component,\n\t\t\t\t\tuserData: userData,\n\t\t\t\t\tconditions: conditions\n\t\t\t\t} ) );\n\n\t\t\t\tif ( !defaultComponent && page.default ) {\n\t\t\t\t\tdefaultComponent = page.component;\n\t\t\t\t\tdefaultUserData = userData;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( defaultComponent ) {\n\t\t\t\troutes.set( \"*\", wrap( {\n\t\t\t\t\tcomponent: defaultComponent,\n\t\t\t\t\tuserData: defaultUserData,\n\t\t\t\t\tconditions: conditions\n\t\t\t\t} ) );\n\t\t\t}\n\n\t\t\treturn routes;\n\t\t},\n\t\thandleRouteEvent( detail ) {\n\t\t\tif ( detail.hasOwnProperty( \"event\" ) ) {\n\t\t\t\tif ( !detail.hasOwnProperty( \"data\" ) ) {\n\t\t\t\t\tdetail.data = {};\n\t\t\t\t}\n\n\t\t\t\t// Find the first page that wants to handle the event\n\t\t\t\t// , but also let other pages see the event\n\t\t\t\t// so they can set any initial state etc.\n\t\t\t\tlet route = false;\n\t\t\t\tfor ( const page of get( this ).values() ) {\n\t\t\t\t\tif ( page.events && page.events[ detail.event ] && page.events[ detail.event ]( detail.data ) && !route ) {\n\t\t\t\t\t\troute = page.route;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif ( route ) {\n\t\t\t\t\treturn route;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( detail.hasOwnProperty( \"default\" ) ) {\n\t\t\t\treturn detail.default;\n\t\t\t}\n\n\t\t\treturn false;\n\t\t}\n\t};\n}\n\nexport const pages = createPages();\n\n// Convenience readable store of all routes.\nexport const routes = derived( pages, () => {\n\treturn pages.routes();\n} );","export function parse(str, loose) {\n\tif (str instanceof RegExp) return { keys:false, pattern:str };\n\tvar c, o, tmp, ext, keys=[], pattern='', arr = str.split('/');\n\tarr[0] || arr.shift();\n\n\twhile (tmp = arr.shift()) {\n\t\tc = tmp[0];\n\t\tif (c === '*') {\n\t\t\tkeys.push('wild');\n\t\t\tpattern += '/(.*)';\n\t\t} else if (c === ':') {\n\t\t\to = tmp.indexOf('?', 1);\n\t\t\text = tmp.indexOf('.', 1);\n\t\t\tkeys.push( tmp.substring(1, !!~o ? o : !!~ext ? ext : tmp.length) );\n\t\t\tpattern += !!~o && !~ext ? '(?:/([^/]+?))?' : '/([^/]+?)';\n\t\t\tif (!!~ext) pattern += (!!~o ? '?' : '') + '\\\\' + tmp.substring(ext);\n\t\t} else {\n\t\t\tpattern += '/' + tmp;\n\t\t}\n\t}\n\n\treturn {\n\t\tkeys: keys,\n\t\tpattern: new RegExp('^' + pattern + (loose ? '(?=$|\\/)' : '\\/?$'), 'i')\n\t};\n}\n\nvar RGX = /*#__PURE__*/ /(\\/|^)([:*][^/]*?)(\\?)?(?=[/.]|$)/g;\n\n// error if key missing?\nexport function inject(route, values) {\n\treturn route.replace(RGX, (x, lead, key, optional) => {\n\t\tx = values[key=='*' ? 'wild' : key.substring(1)];\n\t\treturn x ? '/'+x : (optional || key=='*') ? '' : '/' + key;\n\t});\n}\n","<script context=\"module\">\nimport {readable, writable, derived} from 'svelte/store'\nimport {tick} from 'svelte'\nimport {wrap as _wrap} from './wrap'\n\n/**\n * Wraps a component to add route pre-conditions.\n * @deprecated Use `wrap` from `svelte-spa-router/wrap` instead. This function will be removed in a later version.\n * \n * @param {SvelteComponent} component - Svelte component for the route\n * @param {object} [userData] - Optional object that will be passed to each `conditionsFailed` event\n * @param {...function(RouteDetail): boolean} conditions - Route pre-conditions to add, which will be executed in order\n * @returns {WrappedComponent} Wrapped component\n */\nexport function wrap(component, userData, ...conditions) {\n // Use the new wrap method and show a deprecation warning\n // eslint-disable-next-line no-console\n console.warn('Method `wrap` from `svelte-spa-router` is deprecated and will be removed in a future version. Please use `svelte-spa-router/wrap` instead. See http://bit.ly/svelte-spa-router-upgrading')\n return _wrap({\n component,\n userData,\n conditions\n })\n}\n\n/**\n * @typedef {Object} Location\n * @property {string} location - Location (page/view), for example `/book`\n * @property {string} [querystring] - Querystring from the hash, as a string not parsed\n */\n/**\n * Returns the current location from the hash.\n *\n * @returns {Location} Location object\n * @private\n */\nfunction getLocation() {\n const hashPosition = window.location.href.indexOf('#/')\n let location = (hashPosition > -1) ? window.location.href.substr(hashPosition + 1) : '/'\n\n // Check if there's a querystring\n const qsPosition = location.indexOf('?')\n let querystring = ''\n if (qsPosition > -1) {\n querystring = location.substr(qsPosition + 1)\n location = location.substr(0, qsPosition)\n }\n\n return {location, querystring}\n}\n\n/**\n * Readable store that returns the current full location (incl. querystring)\n */\nexport const loc = readable(\n null,\n // eslint-disable-next-line prefer-arrow-callback\n function start(set) {\n set(getLocation())\n\n const update = () => {\n set(getLocation())\n }\n window.addEventListener('hashchange', update, false)\n\n return function stop() {\n window.removeEventListener('hashchange', update, false)\n }\n }\n)\n\n/**\n * Readable store that returns the current location\n */\nexport const location = derived(\n loc,\n ($loc) => $loc.location\n)\n\n/**\n * Readable store that returns the current querystring\n */\nexport const querystring = derived(\n loc,\n ($loc) => $loc.querystring\n)\n\n/**\n * Store that returns the currently-matched params.\n * Despite this being writable, consumers should not change the value of the store.\n * It is exported as a readable store only (in the typings file)\n */\nexport const params = writable(undefined)\n\n/**\n * Navigates to a new page programmatically.\n *\n * @param {string} location - Path to navigate to (must start with `/` or '#/')\n * @return {Promise<void>} Promise that resolves after the page navigation has completed\n */\nexport async function push(location) {\n if (!location || location.length < 1 || (location.charAt(0) != '/' && location.indexOf('#/') !== 0)) {\n throw Error('Invalid parameter location')\n }\n\n // Execute this code when the current call stack is complete\n await tick()\n\n // Note: this will include scroll state in history even when restoreScrollState is false\n history.replaceState({...history.state, __svelte_spa_router_scrollX: window.scrollX, __svelte_spa_router_scrollY: window.scrollY}, undefined) \n window.location.hash = (location.charAt(0) == '#' ? '' : '#') + location\n}\n\n/**\n * Navigates back in history (equivalent to pressing the browser's back button).\n * \n * @return {Promise<void>} Promise that resolves after the page navigation has completed\n */\nexport async function pop() {\n // Execute this code when the current call stack is complete\n await tick()\n\n window.history.back()\n}\n\n/**\n * Replaces the current page but without modifying the history stack.\n *\n * @param {string} location - Path to navigate to (must start with `/` or '#/')\n * @return {Promise<void>} Promise that resolves after the page navigation has completed\n */\nexport async function replace(location) {\n if (!location || location.length < 1 || (location.charAt(0) != '/' && location.indexOf('#/') !== 0)) {\n throw Error('Invalid parameter location')\n }\n\n // Execute this code when the current call stack is complete\n await tick()\n\n const dest = (location.charAt(0) == '#' ? '' : '#') + location\n try {\n const newState = {\n ...history.state\n }\n delete newState['__svelte_spa_router_scrollX']\n delete newState['__svelte_spa_router_scrollY']\n window.history.replaceState(newState, undefined, dest)\n }\n catch (e) {\n // eslint-disable-next-line no-console\n console.warn('Caught exception while replacing the current page. If you\\'re running this in the Svelte REPL, please note that the `replace` method might not work in this environment.')\n }\n\n // The method above doesn't trigger the hashchange event, so let's do that manually\n window.dispatchEvent(new Event('hashchange'))\n}\n\n/**\n * Dictionary with options for the link action.\n * @typedef {Object} LinkActionOpts\n * @property {string} href - A string to use in place of the link's href attribute. Using this allows for updating link's targets reactively.\n * @property {boolean} disabled - If true, link is disabled\n */\n\n/**\n * Svelte Action that enables a link element (`<a>`) to use our history management.\n *\n * For example:\n *\n * ````html\n * <a href=\"/books\" use:link>View books</a>\n * ````\n *\n * @param {HTMLElement} node - The target node (automatically set by Svelte). Must be an anchor tag (`<a>`) with a href attribute starting in `/`\n * @param {string|LinkActionOpts} opts - Options object. For legacy reasons, we support a string too which will be the value for opts.href\n */\nexport function link(node, opts) {\n opts = linkOpts(opts)\n\n // Only apply to <a> tags\n if (!node || !node.tagName || node.tagName.toLowerCase() != 'a') {\n throw Error('Action \"link\" can only be used with <a> tags')\n }\n\n updateLink(node, opts)\n\n return {\n update(updated) {\n updated = linkOpts(updated)\n updateLink(node, updated)\n }\n }\n}\n\n/**\n * Tries to restore the scroll state from the given history state.\n *\n * @param {{__svelte_spa_router_scrollX: number, __svelte_spa_router_scrollY: number}} [state] - The history state to restore from.\n */\nexport function restoreScroll(state) {\n // If this exists, then this is a back navigation: restore the scroll position\n if (state) {\n window.scrollTo(state.__svelte_spa_router_scrollX, state.__svelte_spa_router_scrollY)\n }\n else {\n // Otherwise this is a forward navigation: scroll to top\n window.scrollTo(0, 0)\n }\n}\n\n// Internal function used by the link function\nfunction updateLink(node, opts) {\n let href = opts.href || node.getAttribute('href')\n\n // Destination must start with '/' or '#/'\n if (href && href.charAt(0) == '/') {\n // Add # to the href attribute\n href = '#' + href\n }\n else if (!href || href.length < 2 || href.slice(0, 2) != '#/') {\n throw Error('Invalid value for \"href\" attribute: ' + href)\n }\n\n node.setAttribute('href', href)\n node.addEventListener('click', (event) => {\n // Prevent default anchor onclick behaviour\n event.preventDefault()\n if (!opts.disabled) {\n scrollstateHistoryHandler(event.currentTarget.getAttribute('href'))\n }\n })\n}\n\n// Internal function that ensures the argument of the link action is always an object\nfunction linkOpts(val) {\n if (val && typeof val == 'string') {\n return {\n href: val\n }\n }\n else {\n return val || {}\n }\n}\n\n/**\n * The handler attached to an anchor tag responsible for updating the\n * current history state with the current scroll state\n *\n * @param {string} href - Destination\n */\nfunction scrollstateHistoryHandler(href) {\n // Setting the url (3rd arg) to href will break clicking for reasons, so don't try to do that\n history.replaceState({...history.state, __svelte_spa_router_scrollX: window.scrollX, __svelte_spa_router_scrollY: window.scrollY}, undefined)\n // This will force an update as desired, but this time our scroll state will be attached\n window.location.hash = href\n}\n</script>\n\n{#if componentParams}\n <svelte:component\n this=\"{component}\"\n params=\"{componentParams}\"\n on:routeEvent\n {...props}\n />\n{:else}\n <svelte:component\n this=\"{component}\"\n on:routeEvent\n {...props}\n />\n{/if}\n\n<script>\nimport {onDestroy, createEventDispatcher, afterUpdate} from 'svelte'\nimport {parse} from 'regexparam'\n\n/**\n * Dictionary of all routes, in the format `'/path': component`.\n *\n * For example:\n * ````js\n * import HomeRoute from './routes/HomeRoute.svelte'\n * import BooksRoute from './routes/BooksRoute.svelte'\n * import NotFoundRoute from './routes/NotFoundRoute.svelte'\n * routes = {\n * '/': HomeRoute,\n * '/books': BooksRoute,\n * '*': NotFoundRoute\n * }\n * ````\n */\nexport let routes = {}\n\n/**\n * Optional prefix for the routes in this router. This is useful for example in the case of nested routers.\n */\nexport let prefix = ''\n\n/**\n * If set to true, the router will restore scroll positions on back navigation\n * and scroll to top on forward navigation.\n */\nexport let restoreScrollState = false\n\n/**\n * Container for a route: path, component\n */\nclass RouteItem {\n /**\n * Initializes the object and creates a regular expression from the path, using regexparam.\n *\n * @param {string} path - Path to the route (must start with '/' or '*')\n * @param {SvelteComponent|WrappedComponent} component - Svelte component for the route, optionally wrapped\n */\n constructor(path, component) {\n if (!component || (typeof component != 'function' && (typeof component != 'object' || component._sveltesparouter !== true))) {\n throw Error('Invalid component object')\n }\n\n // Path must be a regular or expression, or a string starting with '/' or '*'\n if (!path || \n (typeof path == 'string' && (path.length < 1 || (path.charAt(0) != '/' && path.charAt(0) != '*'))) ||\n (typeof path == 'object' && !(path instanceof RegExp))\n ) {\n throw Error('Invalid value for \"path\" argument - strings must start with / or *')\n }\n\n const {pattern, keys} = parse(path)\n\n this.path = path\n\n // Check if the component is wrapped and we have conditions\n if (typeof component == 'object' && component._sveltesparouter === true) {\n this.component = component.component\n this.conditions = component.conditions || []\n this.userData = component.userData\n this.props = component.props || {}\n }\n else {\n // Convert the component to a function that returns a Promise, to normalize it\n this.component = () => Promise.resolve(component)\n this.conditions = []\n this.props = {}\n }\n\n this._pattern = pattern\n this._keys = keys\n }\n\n /**\n * Checks if `path` matches the current route.\n * If there's a match, will return the list of parameters from the URL (if any).\n * In case of no match, the method will return `null`.\n *\n * @param {string} path - Path to test\n * @returns {null|Object.<string, string>} List of paramters from the URL if there's a match, or `null` otherwise.\n */\n match(path) {\n // If there's a prefix, check if it matches the start of the path.\n // If not, bail early, else remove it before we run the matching.\n if (prefix) {\n if (typeof prefix == 'string') {\n if (path.startsWith(prefix)) {\n path = path.substr(prefix.length) || '/'\n }\n else {\n return null\n }\n }\n else if (prefix instanceof RegExp) {\n const match = path.match(prefix)\n if (match && match[0]) {\n path = path.substr(match[0].length) || '/'\n }\n else {\n return null\n }\n }\n }\n\n // Check if the pattern matches\n const matches = this._pattern.exec(path)\n if (matches === null) {\n return null\n }\n\n // If the input was a regular expression, this._keys would be false, so return matches as is\n if (this._keys === false) {\n return matches\n }\n\n const out = {}\n let i = 0\n while (i < this._keys.length) {\n // In the match parameters, URL-decode all values\n try {\n out[this._keys[i]] = decodeURIComponent(matches[i + 1] || '') || null\n }\n catch (e) {\n out[this._keys[i]] = null\n }\n i++\n }\n return out\n }\n\n /**\n * Dictionary with route details passed to the pre-conditions functions, as well as the `routeLoading`, `routeLoaded` and `conditionsFailed` events\n * @typedef {Object} RouteDetail\n * @property {string|RegExp} route - Route matched as defined in the route definition (could be a string or a reguar expression object)\n * @property {string} location - Location path\n * @property {string} querystring - Querystring from the hash\n * @property {object} [userData] - Custom data passed by the user\n * @property {SvelteComponent} [component] - Svelte component (only in `routeLoaded` events)\n * @property {string} [name] - Name of the Svelte component (only in `routeLoaded` events)\n */\n\n /**\n * Executes all conditions (if any) to control whether the route can be shown. Conditions are executed in the order they are defined, and if a condition fails, the following ones aren't executed.\n * \n * @param {RouteDetail} detail - Route detail\n * @returns {boolean} Returns true if all the conditions succeeded\n */\n async checkConditions(detail) {\n for (let i = 0; i < this.conditions.length; i++) {\n if (!(await this.conditions[i](detail))) {\n return false\n }\n }\n\n return true\n }\n}\n\n// Set up all routes\nconst routesList = []\nif (routes instanceof Map) {\n // If it's a map, iterate on it right away\n routes.forEach((route, path) => {\n routesList.push(new RouteItem(path, route))\n })\n}\nelse {\n // We have an object, so iterate on its own properties\n Object.keys(routes).forEach((path) => {\n routesList.push(new RouteItem(path, routes[path]))\n })\n}\n\n// Props for the component to render\nlet component = null\nlet componentParams = null\nlet props = {}\n\n// Event dispatcher from Svelte\nconst dispatch = createEventDispatcher()\n\n// Just like dispatch, but executes on the next iteration of the event loop\nasync function dispatchNextTick(name, detail) {\n // Execute this code when the current call stack is complete\n await tick()\n dispatch(name, detail)\n}\n\n// If this is set, then that means we have popped into this var the state of our last scroll position\nlet previousScrollState = null\n\n// Update history.scrollRestoration depending on restoreScrollState\n$: history.scrollRestoration = restoreScrollState ? 'manual' : 'auto'\nlet popStateChanged = null\nif (restoreScrollState) {\n popStateChanged = (event) => {\n // If this event was from our history.replaceState, event.state will contain\n // our scroll history. Otherwise, event.state will be null (like on forward\n // navigation)\n if (event.state && (event.state.__svelte_spa_router_scrollY || event.state.__svelte_spa_router_scrollX)) {\n previousScrollState = event.state\n }\n else {\n previousScrollState = null\n }\n }\n // This is removed in the destroy() invocation below\n window.addEventListener('popstate', popStateChanged)\n\n afterUpdate(() => {\n restoreScroll(previousScrollState)\n })\n}\n\n// Always have the latest value of loc\nlet lastLoc = null\n\n// Current object of the component loaded\nlet componentObj = null\n\n// Handle hash change events\n// Listen to changes in the $loc store and update the page\n// Do not use the $: syntax because it gets triggered by too many things\nconst unsubscribeLoc = loc.subscribe(async (newLoc) => {\n lastLoc = newLoc\n\n // Find a route matching the location\n let i = 0\n while (i < routesList.length) {\n const match = routesList[i].match(newLoc.location)\n if (!match) {\n i++\n continue\n }\n\n const detail = {\n route: routesList[i].path,\n location: newLoc.location,\n querystring: newLoc.querystring,\n userData: routesList[i].userData,\n params: (match && typeof match == 'object' && Object.keys(match).length) ? match : null\n }\n\n // Check if the route can be loaded - if all conditions succeed\n if (!(await routesList[i].checkConditions(detail))) {\n // Don't display anything\n component = null\n componentObj = null\n // Trigger an event to notify the user, then exit\n dispatchNextTick('conditionsFailed', detail)\n return\n }\n\n // Trigger an event to alert that we're loading the route\n // We need to clone the object on every event invocation so we don't risk the object to be modified in the next tick\n dispatchNextTick('routeLoading', Object.assign({}, detail))\n\n // If there's a component to show while we're loading the route, display it\n const obj = routesList[i].component\n // Do not replace the component if we're loading the same one as before, to avoid the route being unmounted and re-mounted\n if (componentObj != obj) {\n if (obj.loading) {\n component = obj.loading\n componentObj = obj\n componentParams = obj.loadingParams\n props = {}\n\n // Trigger the routeLoaded event for the loading component\n // Create a copy of detail so we don't modify the object for the dynamic route (and the dynamic route doesn't modify our object too)\n dispatchNextTick('routeLoaded', Object.assign({}, detail, {\n component: component,\n name: component.name,\n params: componentParams\n }))\n }\n else {\n component = null\n componentObj = null\n }\n\n // Invoke the Promise\n const loaded = await obj()\n\n // Now that we're here, after the promise resolved, check if we still want this component, as the user might have navigated to another page in the meanwhile\n if (newLoc != lastLoc) {\n // Don't update the component, just exit\n return\n }\n\n // If there is a \"default\" property, which is used by async routes, then pick that\n component = (loaded && loaded.default) || loaded\n componentObj = obj\n }\n\n // Set componentParams only if we have a match, to avoid a warning similar to `<Component> was created with unknown prop 'params'`\n // Of course, this assumes that developers always add a \"params\" prop when they are expecting parameters\n if (match && typeof match == 'object' && Object.keys(match).length) {\n componentParams = match\n }\n else {\n componentParams = null\n }\n\n // Set static props, if any\n props = routesList[i].props\n\n // Dispatch the routeLoaded event then exit\n // We need to clone the object on every event invocation so we don't risk the object to be modified in the next tick\n dispatchNextTick('routeLoaded', Object.assign({}, detail, {\n component: component,\n name: component.name,\n params: componentParams\n })).then(() => {\n params.set(componentParams)\n })\n return\n }\n\n // If we're still here, there was no match, so show the empty component\n component = null\n componentObj = null\n params.set(undefined)\n})\n\nonDestroy(() => {\n unsubscribeLoc()\n popStateChanged && window.removeEventListener('popstate', popStateChanged)\n})\n</script>\n","<script>\n\timport {onMount, createEventDispatcher, setContext} from \"svelte\";\n\timport {location} from \"svelte-spa-router\";\n\timport {current_settings} from \"../js/stores\";\n\n\texport let name = \"\";\n\n\t// In some scenarios a Page should have some SubPage behaviours.\n\texport let subpage = false;\n\n\texport let initialSettings = $current_settings;\n\n\tconst dispatch = createEventDispatcher();\n\n\t// When a page is created, store a copy of the initial settings\n\t// so they can be compared with any changes later.\n\tsetContext( \"initialSettings\", initialSettings );\n\n\t// Tell the route event handlers about the initial settings too.\n\tonMount( () => {\n\t\tdispatch( \"routeEvent\", {\n\t\t\tevent: \"page.initial.settings\",\n\t\t\tdata: {\n\t\t\t\tsettings: initialSettings,\n\t\t\t\tlocation: $location\n\t\t\t}\n\t\t} );\n\t} );\n</script>\n\n<div class=\"page-wrapper {name}\" class:subpage>\n\t<slot/>\n</div>\n","export { identity as linear } from '../internal/index.mjs';\n\n/*\nAdapted from https://github.com/mattdesl\nDistributed under MIT License https://github.com/mattdesl/eases/blob/master/LICENSE.md\n*/\nfunction backInOut(t) {\n const s = 1.70158 * 1.525;\n if ((t *= 2) < 1)\n return 0.5 * (t * t * ((s + 1) * t - s));\n return 0.5 * ((t -= 2) * t * ((s + 1) * t + s) + 2);\n}\nfunction backIn(t) {\n const s = 1.70158;\n return t * t * ((s + 1) * t - s);\n}\nfunction backOut(t) {\n const s = 1.70158;\n return --t * t * ((s + 1) * t + s) + 1;\n}\nfunction bounceOut(t) {\n const a = 4.0 / 11.0;\n const b = 8.0 / 11.0;\n const c = 9.0 / 10.0;\n const ca = 4356.0 / 361.0;\n const cb = 35442.0 / 1805.0;\n const cc = 16061.0 / 1805.0;\n const t2 = t * t;\n return t < a\n ? 7.5625 * t2\n : t < b\n ? 9.075 * t2 - 9.9 * t + 3.4\n : t < c\n ? ca * t2 - cb * t + cc\n : 10.8 * t * t - 20.52 * t + 10.72;\n}\nfunction bounceInOut(t) {\n return t < 0.5\n ? 0.5 * (1.0 - bounceOut(1.0 - t * 2.0))\n : 0.5 * bounceOut(t * 2.0 - 1.0) + 0.5;\n}\nfunction bounceIn(t) {\n return 1.0 - bounceOut(1.0 - t);\n}\nfunction circInOut(t) {\n if ((t *= 2) < 1)\n return -0.5 * (Math.sqrt(1 - t * t) - 1);\n return 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);\n}\nfunction circIn(t) {\n return 1.0 - Math.sqrt(1.0 - t * t);\n}\nfunction circOut(t) {\n return Math.sqrt(1 - --t * t);\n}\nfunction cubicInOut(t) {\n return t < 0.5 ? 4.0 * t * t * t : 0.5 * Math.pow(2.0 * t - 2.0, 3.0) + 1.0;\n}\nfunction cubicIn(t) {\n return t * t * t;\n}\nfunction cubicOut(t) {\n const f = t - 1.0;\n return f * f * f + 1.0;\n}\nfunction elasticInOut(t) {\n return t < 0.5\n ? 0.5 *\n Math.sin(((+13.0 * Math.PI) / 2) * 2.0 * t) *\n Math.pow(2.0, 10.0 * (2.0 * t - 1.0))\n : 0.5 *\n Math.sin(((-13.0 * Math.PI) / 2) * (2.0 * t - 1.0 + 1.0)) *\n Math.pow(2.0, -10.0 * (2.0 * t - 1.0)) +\n 1.0;\n}\nfunction elasticIn(t) {\n return Math.sin((13.0 * t * Math.PI) / 2) * Math.pow(2.0, 10.0 * (t - 1.0));\n}\nfunction elasticOut(t) {\n return (Math.sin((-13.0 * (t + 1.0) * Math.PI) / 2) * Math.pow(2.0, -10.0 * t) + 1.0);\n}\nfunction expoInOut(t) {\n return t === 0.0 || t === 1.0\n ? t\n : t < 0.5\n ? +0.5 * Math.pow(2.0, 20.0 * t - 10.0)\n : -0.5 * Math.pow(2.0, 10.0 - t * 20.0) + 1.0;\n}\nfunction expoIn(t) {\n return t === 0.0 ? t : Math.pow(2.0, 10.0 * (t - 1.0));\n}\nfunction expoOut(t) {\n return t === 1.0 ? t : 1.0 - Math.pow(2.0, -10.0 * t);\n}\nfunction quadInOut(t) {\n t /= 0.5;\n if (t < 1)\n return 0.5 * t * t;\n t--;\n return -0.5 * (t * (t - 2) - 1);\n}\nfunction quadIn(t) {\n return t * t;\n}\nfunction quadOut(t) {\n return -t * (t - 2.0);\n}\nfunction quartInOut(t) {\n return t < 0.5\n ? +8.0 * Math.pow(t, 4.0)\n : -8.0 * Math.pow(t - 1.0, 4.0) + 1.0;\n}\nfunction quartIn(t) {\n return Math.pow(t, 4.0);\n}\nfunction quartOut(t) {\n return Math.pow(t - 1.0, 3.0) * (1.0 - t) + 1.0;\n}\nfunction quintInOut(t) {\n if ((t *= 2) < 1)\n return 0.5 * t * t * t * t * t;\n return 0.5 * ((t -= 2) * t * t * t * t + 2);\n}\nfunction quintIn(t) {\n return t * t * t * t * t;\n}\nfunction quintOut(t) {\n return --t * t * t * t * t + 1;\n}\nfunction sineInOut(t) {\n return -0.5 * (Math.cos(Math.PI * t) - 1);\n}\nfunction sineIn(t) {\n const v = Math.cos(t * Math.PI * 0.5);\n if (Math.abs(v) < 1e-14)\n return 1;\n else\n return 1 - v;\n}\nfunction sineOut(t) {\n return Math.sin((t * Math.PI) / 2);\n}\n\nexport { backIn, backInOut, backOut, bounceIn, bounceInOut, bounceOut, circIn, circInOut, circOut, cubicIn, cubicInOut, cubicOut, elasticIn, elasticInOut, elasticOut, expoIn, expoInOut, expoOut, quadIn, quadInOut, quadOut, quartIn, quartInOut, quartOut, quintIn, quintInOut, quintOut, sineIn, sineInOut, sineOut };\n","import { cubicInOut, linear, cubicOut } from '../easing/index.mjs';\nimport { is_function, assign } from '../internal/index.mjs';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\n\nfunction blur(node, { delay = 0, duration = 400, easing = cubicInOut, amount = 5, opacity = 0 } = {}) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const f = style.filter === 'none' ? '' : style.filter;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (_t, u) => `opacity: ${target_opacity - (od * u)}; filter: ${f} blur(${u * amount}px);`\n };\n}\nfunction fade(node, { delay = 0, duration = 400, easing = linear } = {}) {\n const o = +getComputedStyle(node).opacity;\n return {\n delay,\n duration,\n easing,\n css: t => `opacity: ${t * o}`\n };\n}\nfunction fly(node, { delay = 0, duration = 400, easing = cubicOut, x = 0, y = 0, opacity = 0 } = {}) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const transform = style.transform === 'none' ? '' : style.transform;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (t, u) => `\n\t\t\ttransform: ${transform} translate(${(1 - t) * x}px, ${(1 - t) * y}px);\n\t\t\topacity: ${target_opacity - (od * u)}`\n };\n}\nfunction slide(node, { delay = 0, duration = 400, easing = cubicOut } = {}) {\n const style = getComputedStyle(node);\n const opacity = +style.opacity;\n const height = parseFloat(style.height);\n const padding_top = parseFloat(style.paddingTop);\n const padding_bottom = parseFloat(style.paddingBottom);\n const margin_top = parseFloat(style.marginTop);\n const margin_bottom = parseFloat(style.marginBottom);\n const border_top_width = parseFloat(style.borderTopWidth);\n const border_bottom_width = parseFloat(style.borderBottomWidth);\n return {\n delay,\n duration,\n easing,\n css: t => 'overflow: hidden;' +\n `opacity: ${Math.min(t * 20, 1) * opacity};` +\n `height: ${t * height}px;` +\n `padding-top: ${t * padding_top}px;` +\n `padding-bottom: ${t * padding_bottom}px;` +\n `margin-top: ${t * margin_top}px;` +\n `margin-bottom: ${t * margin_bottom}px;` +\n `border-top-width: ${t * border_top_width}px;` +\n `border-bottom-width: ${t * border_bottom_width}px;`\n };\n}\nfunction scale(node, { delay = 0, duration = 400, easing = cubicOut, start = 0, opacity = 0 } = {}) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const transform = style.transform === 'none' ? '' : style.transform;\n const sd = 1 - start;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (_t, u) => `\n\t\t\ttransform: ${transform} scale(${1 - (sd * u)});\n\t\t\topacity: ${target_opacity - (od * u)}\n\t\t`\n };\n}\nfunction draw(node, { delay = 0, speed, duration, easing = cubicInOut } = {}) {\n let len = node.getTotalLength();\n const style = getComputedStyle(node);\n if (style.strokeLinecap !== 'butt') {\n len += parseInt(style.strokeWidth);\n }\n if (duration === undefined) {\n if (speed === undefined) {\n duration = 800;\n }\n else {\n duration = len / speed;\n }\n }\n else if (typeof duration === 'function') {\n duration = duration(len);\n }\n return {\n delay,\n duration,\n easing,\n css: (t, u) => `stroke-dasharray: ${t * len} ${u * len}`\n };\n}\nfunction crossfade(_a) {\n var { fallback } = _a, defaults = __rest(_a, [\"fallback\"]);\n const to_receive = new Map();\n const to_send = new Map();\n function crossfade(from, node, params) {\n const { delay = 0, duration = d => Math.sqrt(d) * 30, easing = cubicOut } = assign(assign({}, defaults), params);\n const to = node.getBoundingClientRect();\n const dx = from.left - to.left;\n const dy = from.top - to.top;\n const dw = from.width / to.width;\n const dh = from.height / to.height;\n const d = Math.sqrt(dx * dx + dy * dy);\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n const opacity = +style.opacity;\n return {\n delay,\n duration: is_function(duration) ? duration(d) : duration,\n easing,\n css: (t, u) => `\n\t\t\t\topacity: ${t * opacity};\n\t\t\t\ttransform-origin: top left;\n\t\t\t\ttransform: ${transform} translate(${u * dx}px,${u * dy}px) scale(${t + (1 - t) * dw}, ${t + (1 - t) * dh});\n\t\t\t`\n };\n }\n function transition(items, counterparts, intro) {\n return (node, params) => {\n items.set(params.key, {\n rect: node.getBoundingClientRect()\n });\n return () => {\n if (counterparts.has(params.key)) {\n const { rect } = counterparts.get(params.key);\n counterparts.delete(params.key);\n return crossfade(rect, node, params);\n }\n // if the node is disappearing altogether\n // (i.e. wasn't claimed by the other list)\n // then we need to supply an outro\n items.delete(params.key);\n return fallback && fallback(node, params, intro);\n };\n };\n }\n return [\n transition(to_send, to_receive, false),\n transition(to_receive, to_send, true)\n ];\n}\n\nexport { blur, crossfade, draw, fade, fly, scale, slide };\n","<script>\n\timport {slide} from \"svelte/transition\";\n\timport {notifications, strings, urls} from \"../js/stores\";\n\n\texport let notification = {};\n\n\texport let unique_id = notification.id ? notification.id : \"\";\n\n\texport let inline = notification.inline ? notification.inline : false;\n\texport let wordpress = notification.wordpress ? notification.wordpress : false;\n\n\texport let success = notification.type === \"success\";\n\texport let warning = notification.type === \"warning\";\n\texport let error = notification.type === \"error\";\n\tlet info = false;\n\n\t// It's possible to set type purely by component property,\n\t// but we need notification.type to be correct too.\n\tif ( success ) {\n\t\tnotification.type = \"success\";\n\t} else if ( warning ) {\n\t\tnotification.type = \"warning\";\n\t} else if ( error ) {\n\t\tnotification.type = \"error\";\n\t} else {\n\t\tinfo = true;\n\t\tnotification.type = \"info\";\n\t}\n\n\texport let heading = notification.hasOwnProperty( \"heading\" ) && notification.heading.trim().length ? notification.heading.trim() : \"\";\n\texport let dismissible = notification.dismissible ? notification.dismissible : false;\n\texport let icon = notification.icon ? notification.icon : false;\n\texport let plainHeading = notification.plainHeading ? notification.plainHeading : false;\n\texport let extra = notification.extra ? notification.extra : \"\";\n\texport let links = notification.links ? notification.links : [];\n\texport let expandable = false;\n\texport let expanded = false;\n\n\t/**\n\t * Returns the icon URL for the notification.\n\t *\n\t * @param {string|boolean} icon\n\t * @param {string} notificationType\n\t *\n\t * @return {string}\n\t */\n\tfunction getIconURL( icon, notificationType ) {\n\t\tif ( icon ) {\n\t\t\treturn $urls.assets + \"img/icon/\" + icon;\n\t\t}\n\n\t\treturn $urls.assets + \"img/icon/notification-\" + notificationType + \".svg\";\n\t}\n\n\t$: iconURL = getIconURL( icon, notification.type );\n\n\t// We need to change various properties and alignments if text is multiline.\n\tlet iconHeight = 0;\n\tlet bodyHeight = 0;\n\n\t$: multiline = (iconHeight && bodyHeight) && bodyHeight > iconHeight;\n\n\t/**\n\t * Builds a links row from an array of HTML links.\n\t *\n\t * @param {array} links\n\t *\n\t * @return {string}\n\t */\n\tfunction getLinksHTML( links ) {\n\t\tif ( links.length ) {\n\t\t\treturn links.join( \" \" );\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n\t$: linksHTML = getLinksHTML( links );\n</script>\n\n<div\n\tclass=\"notification\"\n\tclass:inline\n\tclass:wordpress\n\tclass:success\n\tclass:warning\n\tclass:error\n\tclass:info\n\tclass:multiline\n\tclass:expandable\n\tclass:expanded\n\ttransition:slide|local\n>\n\t<div class=\"content\">\n\t\t{#if iconURL}\n\t\t\t<div class=\"icon type\" bind:clientHeight={iconHeight}>\n\t\t\t\t<img class=\"icon type\" src={iconURL} alt=\"{notification.type} icon\"/>\n\t\t\t</div>\n\t\t{/if}\n\t\t<div class=\"body\" bind:clientHeight={bodyHeight}>\n\t\t\t{#if heading || dismissible || expandable}\n\t\t\t\t<div class=\"heading\">\n\t\t\t\t\t{#if heading}\n\t\t\t\t\t\t{#if plainHeading}\n\t\t\t\t\t\t\t<p>{@html heading}</p>\n\t\t\t\t\t\t{:else}\n\t\t\t\t\t\t\t<h3>{@html heading}</h3>\n\t\t\t\t\t\t{/if}\n\t\t\t\t\t{/if}\n\t\t\t\t\t{#if dismissible && expandable}\n\t\t\t\t\t\t<button class=\"dismiss\" on:click|preventDefault={notifications.dismiss(unique_id)}>{$strings.dismiss_all}</button>\n\t\t\t\t\t\t<button class=\"expandable\" class:expanded on:click|preventDefault={() => expanded = !expanded} title={expanded ? $strings.hide_details : $strings.show_details}></button>\n\t\t\t\t\t{:else if expandable}\n\t\t\t\t\t\t<button class=\"expandable\" class:expanded on:click|preventDefault={() => expanded = !expanded} title={expanded ? $strings.hide_details : $strings.show_details}></button>\n\t\t\t\t\t{:else if dismissible}\n\t\t\t\t\t\t<button class=\"icon close\" title={$strings[\"dismiss_notice\"]} on:click|preventDefault={() => notifications.dismiss(unique_id)}></button>\n\t\t\t\t\t{/if}\n\t\t\t\t</div>\n\t\t\t{/if}\n\t\t\t<slot/>\n\t\t\t{#if extra}\n\t\t\t\t<p>{@html extra}</p>\n\t\t\t{/if}\n\t\t\t{#if linksHTML}\n\t\t\t\t<p class=\"links\">{@html linksHTML}</p>\n\t\t\t{/if}\n\t\t</div>\n\t</div>\n\t<slot name=\"details\"/>\n</div>\n","<script>\n\timport {notifications} from \"../js/stores\";\n\timport Notification from \"./Notification.svelte\";\n\n\texport let component = Notification;\n\texport let tab = \"\";\n\texport let tabParent = \"\";\n</script>\n\n{#if $notifications.length}\n\t<div id=\"notifications\" class=\"notifications wrapper\">\n\t\t{#each $notifications as notification (notification.render_key)}\n\t\t\t{#if !notification.dismissed && (notification.only_show_on_tab === tab || notification.only_show_on_tab === tabParent || !notification.only_show_on_tab)}\n\t\t\t\t<svelte:component this={component} notification={notification}>\n\t\t\t\t\t{#if notification.message}\n\t\t\t\t\t\t<p>{@html notification.message}</p>\n\t\t\t\t\t{/if}\n\t\t\t\t</svelte:component>\n\t\t\t{/if}\n\t\t{/each}\n\t</div>\n{/if}\n","<script>\n\timport {bapa, storage_provider, delivery_provider} from \"../js/stores\";\n\timport Notification from \"./Notification.svelte\";\n</script>\n\n{#if $bapa && !$delivery_provider.block_public_access_supported}\n\t<Notification warning heading={$storage_provider.block_public_access_warning.heading}>\n\t\t<p>{@html $storage_provider.block_public_access_warning.message}</p>\n\t</Notification>\n{/if}\n","<script>\n\timport {ooe, storage_provider, delivery_provider} from \"../js/stores\";\n\timport Notification from \"./Notification.svelte\";\n</script>\n\n{#if $ooe && !$delivery_provider.object_ownership_supported}\n\t<Notification warning heading={$storage_provider.object_ownership_enforced_warning.heading}>\n\t\t<p>{@html $storage_provider.object_ownership_enforced_warning.message}</p>\n\t</Notification>\n{/if}\n","<script>\n\timport {link, location} from \"svelte-spa-router\";\n\n\texport let page;\n\n\tlet focus = false;\n\tlet hover = false;\n</script>\n\n<li class=\"subnav-item\" class:active={$location === page.route} class:focus class:hover>\n\t<a\n\t\thref={page.route}\n\t\ttitle={page.title()}\n\t\tuse:link\n\t\ton:focusin={() => focus = true}\n\t\ton:focusout={() => focus = false}\n\t\ton:mouseenter={() => hover = true}\n\t\ton:mouseleave={() => hover = false}\n\t>\n\t\t{page.title()}\n\t</a>\n</li>\n","<script>\n\timport {urls} from \"../js/stores\";\n\timport SubNavItem from \"./SubNavItem.svelte\";\n\n\texport let name = \"media\";\n\texport let items = [];\n\texport let subpage = false;\n\texport let progress = false;\n\n\t$: displayItems = items.filter( ( page ) => page.title && (!page.hasOwnProperty( \"enabled\" ) || page.enabled() === true) );\n</script>\n\n{#if displayItems}\n\t<ul class=\"subnav {name}\" class:subpage class:progress>\n\t\t{#each displayItems as page, index}\n\t\t\t<SubNavItem {page}/>\n\t\t\t<!-- Show a progress indicator after all but the last item. -->\n\t\t\t{#if progress && index < (displayItems.length - 1)}\n\t\t\t\t<li class=\"step-arrow\">\n\t\t\t\t\t<img src=\"{$urls.assets + 'img/icon/subnav-arrow.svg'}\" alt=\"\">\n\t\t\t\t</li>\n\t\t\t{/if}\n\t\t{/each}\n\t</ul>\n{/if}\n","<script>\n\timport Router from \"svelte-spa-router\";\n\n\texport let name = \"sub\";\n\texport let prefix = \"\";\n\texport let routes = {};\n</script>\n\n{#if routes}\n\t<div class=\"{name}-page wrapper\">\n\t\t<Router {routes} {prefix} on:routeEvent/>\n\t\t<slot>\n\t\t\t<!-- EXTRA CONTENT GOES HERE -->\n\t\t</slot>\n\t</div>\n{/if}","import {parse} from 'regexparam'\nimport {loc} from './Router.svelte'\n\n// List of nodes to update\nconst nodes = []\n\n// Current location\nlet location\n\n// Function that updates all nodes marking the active ones\nfunction checkActive(el) {\n const matchesLocation = el.pattern.test(location)\n toggleClasses(el, el.className, matchesLocation)\n toggleClasses(el, el.inactiveClassName, !matchesLocation)\n}\n\nfunction toggleClasses(el, className, shouldAdd) {\n (className || '').split(' ').forEach((cls) => {\n if (!cls) {\n return\n }\n // Remove the class firsts\n el.node.classList.remove(cls)\n\n // If the pattern doesn't match, then set the class\n if (shouldAdd) {\n el.node.classList.add(cls)\n }\n })\n}\n\n// Listen to changes in the location\nloc.subscribe((value) => {\n // Update the location\n location = value.location + (value.querystring ? '?' + value.querystring : '')\n\n // Update all nodes\n nodes.map(checkActive)\n})\n\n/**\n * @typedef {Object} ActiveOptions\n * @property {string|RegExp} [path] - Path expression that makes the link active when matched (must start with '/' or '*'); default is the link's href\n * @property {string} [className] - CSS class to apply to the element when active; default value is \"active\"\n */\n\n/**\n * Svelte Action for automatically adding the \"active\" class to elements (links, or any other DOM element) when the current location matches a certain path.\n * \n * @param {HTMLElement} node - The target node (automatically set by Svelte)\n * @param {ActiveOptions|string|RegExp} [opts] - Can be an object of type ActiveOptions, or a string (or regular expressions) representing ActiveOptions.path.\n * @returns {{destroy: function(): void}} Destroy function\n */\nexport default function active(node, opts) {\n // Check options\n if (opts && (typeof opts == 'string' || (typeof opts == 'object' && opts instanceof RegExp))) {\n // Interpret strings and regular expressions as opts.path\n opts = {\n path: opts\n }\n }\n else {\n // Ensure opts is a dictionary\n opts = opts || {}\n }\n\n // Path defaults to link target\n if (!opts.path && node.hasAttribute('href')) {\n opts.path = node.getAttribute('href')\n if (opts.path && opts.path.length > 1 && opts.path.charAt(0) == '#') {\n opts.path = opts.path.substring(1)\n }\n }\n\n // Default class name\n if (!opts.className) {\n opts.className = 'active'\n }\n\n // If path is a string, it must start with '/' or '*'\n if (!opts.path || \n typeof opts.path == 'string' && (opts.path.length < 1 || (opts.path.charAt(0) != '/' && opts.path.charAt(0) != '*'))\n ) {\n throw Error('Invalid value for \"path\" argument')\n }\n\n // If path is not a regular expression already, make it\n const {pattern} = typeof opts.path == 'string' ?\n parse(opts.path) :\n {pattern: opts.path}\n\n // Add the node to the list\n const el = {\n node,\n className: opts.className,\n inactiveClassName: opts.inactiveClassName,\n pattern\n }\n nodes.push(el)\n\n // Trigger the action right away\n checkActive(el)\n\n return {\n // When the element is destroyed, remove it from the list\n destroy() {\n nodes.splice(nodes.indexOf(el), 1)\n }\n }\n}\n","<script>\n\timport active from \"svelte-spa-router/active\";\n\n\texport let name = \"\";\n\texport let route = \"/\";\n</script>\n\n<div class=\"{name}\" use:active={route}>\n\t<slot/>\n</div>\n","<script>\n\tconst classes = $$props.class ? $$props.class : \"\";\n</script>\n\n<div class=\"panel-container {classes}\">\n\t<slot/>\n</div>\n","<script>\n\tconst classes = $$props.class ? $$props.class : \"\";\n\n\texport let header = false;\n\texport let footer = false;\n\texport let gradient = false;\n</script>\n\n<div class=\"panel-row {classes}\" class:header class:footer>\n\t{#if gradient}\n\t\t<div class=\"gradient\"></div>\n\t{/if}\n\t<slot/>\n</div>\n\n<style>\n\t.panel-row {\n\t\tposition: relative;\n\t}\n\n\t.header .gradient {\n\t\tposition: absolute;\n\t\twidth: 144px;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tbottom: 0;\n\t\ttransform: matrix(-1, 0, 0, 1, 0, 0);\n\t\tborder-top-right-radius: 5px;\n\t}\n</style>\n","<script>\n\timport {strings} from \"../js/stores\";\n\n\texport let defined = false;\n</script>\n\n{#if defined}\n\t<p class=\"wp-config\">{$strings.defined_in_wp_config}</p>\n{/if}","<script>\n\texport let name = \"\";\n\texport let checked = false;\n\texport let disabled = false;\n</script>\n\n<div class=\"toggle-switch\" class:locked={disabled}>\n\t<input\n\t\ttype=\"checkbox\"\n\t\tid={name}\n\t\tbind:checked={checked}\n\t\t{disabled}\n\t/>\n\t<label class=\"toggle-label\" for={name}>\n\t\t<slot/>\n\t</label>\n</div>","<script>\n\timport {strings, urls, docs} from \"../js/stores\";\n\n\texport let key = \"\";\n\texport let url = key && $docs.hasOwnProperty( key ) && $docs[ key ].hasOwnProperty( \"url\" ) ? $docs[ key ].url : \"\";\n\texport let desc = \"\";\n\n\t// If desc supplied, use it, otherwise try and get via docs store or fall back to default help description.\n\tlet alt = desc.length ? desc : (key && $docs.hasOwnProperty( key ) && $docs[ key ].hasOwnProperty( \"desc\" ) ? $docs[ key ].desc : $strings.help_desc);\n\tlet title = alt;\n</script>\n\n{#if url}\n\t<a href={url} {title} class=\"help\" target=\"_blank\" data-setting-key={key}>\n\t\t<img class=\"icon help\" src=\"{$urls.assets + 'img/icon/help.svg'}\" {alt}/>\n\t</a>\n{/if}\n","<script>\n\timport {getContext, hasContext} from \"svelte\";\n\timport {writable} from \"svelte/store\";\n\timport {link} from \"svelte-spa-router\";\n\timport {defined_settings, strings} from \"../js/stores\";\n\timport PanelContainer from \"./PanelContainer.svelte\";\n\timport PanelRow from \"./PanelRow.svelte\";\n\timport DefinedInWPConfig from \"./DefinedInWPConfig.svelte\";\n\timport ToggleSwitch from \"./ToggleSwitch.svelte\";\n\timport HelpButton from \"./HelpButton.svelte\";\n\n\tconst classes = $$props.class ? $$props.class : \"\";\n\n\texport let name = \"\";\n\texport let heading = \"\";\n\texport let defined = false;\n\texport let multi = false;\n\texport let toggleName = \"\";\n\texport let toggle = false;\n\texport let helpKey = \"\";\n\texport let helpURL = \"\";\n\texport let helpDesc = $strings.help_desc;\n\n\t// We can display storage provider info on the right-hand side of the panel's header.\n\t// In the future, if anything else needs to be displayed in the same position we\n\t// should create a named slot or assignable component. CSS changes would be required.\n\texport let storageProvider = null;\n\n\t// Parent page may want to be locked.\n\tlet settingsLocked = writable( false );\n\n\tif ( hasContext( \"settingsLocked\" ) ) {\n\t\tsettingsLocked = getContext( \"settingsLocked\" );\n\t}\n\n\t$: locked = $settingsLocked;\n\t$: toggleDisabled = $defined_settings.includes( toggleName ) || locked;\n\n\t/**\n\t * If appropriate, clicking the header toggles to toggle switch.\n\t */\n\tfunction headingClickHandler() {\n\t\tif ( toggleName && !toggleDisabled ) {\n\t\t\ttoggle = !toggle;\n\t\t}\n\t}\n</script>\n\n<div class=\"panel {name}\" class:multi class:locked>\n\t{#if !multi && heading}\n\t\t<div class=\"heading\">\n\t\t\t<h3>{heading}</h3>\n\t\t\t{#if helpURL}\n\t\t\t\t<HelpButton url={helpURL} desc={helpDesc}/>\n\t\t\t{:else if helpKey}\n\t\t\t\t<HelpButton key={helpKey} desc={helpDesc}/>\n\t\t\t{/if}\n\t\t\t<DefinedInWPConfig {defined}/>\n\t\t</div>\n\t{/if}\n\t<PanelContainer class={classes}>\n\t\t{#if multi && heading}\n\t\t\t<PanelRow header>\n\t\t\t\t{#if toggleName}\n\t\t\t\t\t<ToggleSwitch name={toggleName} bind:checked={toggle} disabled={toggleDisabled}>\n\t\t\t\t\t\t{heading}\n\t\t\t\t\t</ToggleSwitch>\n\t\t\t\t\t<h3 on:click={headingClickHandler} class=\"toggler\" class:toggleDisabled>{heading}</h3>\n\t\t\t\t{:else}\n\t\t\t\t\t<h3>{heading}</h3>\n\t\t\t\t{/if}\n\t\t\t\t<DefinedInWPConfig {defined}/>\n\t\t\t\t{#if storageProvider}\n\t\t\t\t\t<div class=\"provider\">\n\t\t\t\t\t\t<a href=\"/storage/provider\" use:link class=\"link\">\n\t\t\t\t\t\t\t<img src={storageProvider.link_icon} alt={storageProvider.icon_desc}>\n\t\t\t\t\t\t\t{storageProvider.provider_service_name}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t{/if}\n\t\t\t\t{#if helpURL}\n\t\t\t\t\t<HelpButton url={helpURL} desc={helpDesc}/>\n\t\t\t\t{:else if helpKey}\n\t\t\t\t\t<HelpButton key={helpKey} desc={helpDesc}/>\n\t\t\t\t{/if}\n\t\t\t</PanelRow>\n\t\t{/if}\n\n\t\t<slot/>\n\t</PanelContainer>\n</div>\n\n<style>\n\t.toggler:not(.toggleDisabled) {\n\t\tcursor: pointer;\n\t}\n</style>\n","<script>\n\tconst classes = $$props.class ? $$props.class : \"\";\n\n\t// Button sizes, medium is the default.\n\texport let extraSmall = false;\n\texport let small = false;\n\texport let large = false;\n\texport let medium = !extraSmall && !small && !large;\n\n\t// Button styles, outline is the default.\n\texport let primary = false;\n\texport let outline = !primary;\n\n\t// Is the button disabled? Defaults to false.\n\texport let disabled = false;\n\n\t// A button can have a title, most useful to give a reason when disabled.\n\texport let title = \"\";\n</script>\n\n<button\n\ton:click\n\tclass:btn-xs={extraSmall}\n\tclass:btn-sm={small}\n\tclass:btn-md={medium}\n\tclass:btn-lg={large}\n\tclass:btn-primary={primary}\n\tclass:btn-outline={outline}\n\tclass:btn-disabled={disabled}\n\tclass={classes}\n\t{title}\n\t{disabled}\n>\n\t<slot/>\n</button>\n","<script>\n\timport {getContext, hasContext} from \"svelte\";\n\timport {writable} from \"svelte/store\";\n\timport {push} from \"svelte-spa-router\";\n\timport {\n\t\tregion_name,\n\t\tsettings,\n\t\tstorage_provider,\n\t\tstrings,\n\t\turls\n\t} from \"../js/stores\";\n\timport PanelRow from \"./PanelRow.svelte\";\n\timport Button from \"./Button.svelte\";\n\n\t// Parent page may want to be locked.\n\tlet settingsLocked = writable( false );\n\n\tif ( hasContext( \"settingsLocked\" ) ) {\n\t\tsettingsLocked = getContext( \"settingsLocked\" );\n\t}\n</script>\n\n<PanelRow header gradient class=\"storage {$storage_provider.provider_key_name}\">\n\t<img src=\"{$storage_provider.icon}\" alt={$storage_provider.provider_service_name}/>\n\t<div class=\"provider-details\">\n\t\t<h4>{$storage_provider.provider_service_name}</h4>\n\t\t<p class=\"console-details\">\n\t\t\t<a href={$urls.storage_provider_console_url} class=\"console\" target=\"_blank\" title={$strings.view_provider_console}>{$settings.bucket}</a>\n\t\t\t<span class=\"region\" title={$settings.region}>{$region_name}</span>\n\t\t</p>\n\t</div>\n\t<Button outline on:click={() => push('/storage/provider')} title={$strings.edit_storage_provider} disabled={$settingsLocked}>{$strings.edit}</Button>\n</PanelRow>\n\n<style>\n\t:global(#as3cf-settings.wpome div.panel.settings .header) img {\n\t\twidth: var(--as3cf-settings-ctrl-width);\n\t\theight: var(--as3cf-settings-ctrl-width);\n\t}\n\n\t.provider-details {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tflex: auto;\n\t\tmargin-left: var(--as3cf-settings-option-indent);\n\t\tz-index: 1;\n\t}\n\n\t:global(#as3cf-settings.wpome div.panel) .provider-details h4 {\n\t\tmargin-left: 0;\n\t\tmargin-bottom: 0.5rem;\n\t}\n\n\t:global(#as3cf-settings.wpome div.panel) .console-details {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tfont-size: 0.75rem;\n\t}\n\n\t.console-details .console {\n\t\tflex: 0 1 min-content;\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t}\n\n\t:global(#as3cf-settings.wpome div.panel) .console-details a[target=\"_blank\"].console:after {\n\t\tmargin-right: 0;\n\t}\n\n\t:global(#as3cf-settings.wpome div.panel) .console-details .region {\n\t\tflex: 1 0 auto;\n\t\tcolor: var(--as3cf-color-gray-500);\n\t\tmargin: 0 0.5rem;\n\t}\n</style>\n","<script>\n\timport {settings_notifications} from \"../js/stores\";\n\timport Notification from \"./Notification.svelte\";\n\n\texport let settingKey;\n\n\t/**\n\t * Compares two notification objects to sort them into a preferred order.\n\t *\n\t * Order should be errors, then warnings and finally anything else alphabetically by type.\n\t * As these (inline) notifications are typically displayed under a setting,\n\t * this ensures the most important notifications are nearest the control.\n\t *\n\t * @param {Object} a\n\t * @param {Object} b\n\t *\n\t * @return {number}\n\t */\n\tfunction compareNotificationTypes( a, b ) {\n\t\t// Sort errors to the top.\n\t\tif ( a.type === \"error\" && b.type !== \"error\" ) {\n\t\t\treturn -1;\n\t\t}\n\t\tif ( b.type === \"error\" && a.type !== \"error\" ) {\n\t\t\treturn 1;\n\t\t}\n\n\t\t// Next sort warnings.\n\t\tif ( a.type === \"warning\" && b.type !== \"warning\" ) {\n\t\t\treturn -1;\n\t\t}\n\t\tif ( b.type === \"warning\" && a.type !== \"warning\" ) {\n\t\t\treturn 1;\n\t\t}\n\n\t\t// Anything else, just sort by type for stability.\n\t\tif ( a.type < b.type ) {\n\t\t\treturn -1;\n\t\t}\n\t\tif ( b.type < a.type ) {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn 0;\n\t}\n</script>\n\n{#if $settings_notifications.has( settingKey )}\n\t{#each [...$settings_notifications.get( settingKey ).values()].sort( compareNotificationTypes ) as notification (notification)}\n\t\t<Notification {notification}>\n\t\t\t<p>{@html notification.message}</p>\n\t\t</Notification>\n\t{/each}\n{/if}\n","<script>\n\timport {getContext, hasContext} from \"svelte\";\n\timport {writable} from \"svelte/store\";\n\timport {slide} from \"svelte/transition\";\n\timport {defined_settings, validationErrors} from \"../js/stores\";\n\timport PanelRow from \"./PanelRow.svelte\";\n\timport ToggleSwitch from \"./ToggleSwitch.svelte\";\n\timport DefinedInWPConfig from \"./DefinedInWPConfig.svelte\";\n\timport SettingNotifications from \"./SettingNotifications.svelte\";\n\n\texport let heading = \"\";\n\texport let description = \"\";\n\texport let placeholder = \"\";\n\texport let nested = false;\n\texport let first = false; // of nested items\n\n\t// Toggle and Text may both be used at same time.\n\texport let toggleName = \"\";\n\texport let toggle = false;\n\texport let textName = \"\";\n\texport let text = \"\";\n\texport let alwaysShowText = false;\n\n\texport let definedSettings = defined_settings;\n\n\t/**\n\t * Optional validator function.\n\t *\n\t * @param {string} textValue\n\t *\n\t * @return {string} Empty if no error\n\t */\n\texport let validator = ( textValue ) => \"\";\n\n\t// Parent page may want to be locked.\n\tlet settingsLocked = writable( false );\n\n\tif ( hasContext( \"settingsLocked\" ) ) {\n\t\tsettingsLocked = getContext( \"settingsLocked\" );\n\t}\n\n\t$: locked = $settingsLocked;\n\t$: toggleDisabled = $definedSettings.includes( toggleName ) || locked;\n\t$: textDisabled = $definedSettings.includes( textName ) || locked;\n\n\t$: input = ((toggleName && toggle) || !toggleName || alwaysShowText) && textName;\n\t$:headingName = input ? textName + \"-heading\" : toggleName;\n\n\t/**\n\t * Validate the text if validator function supplied.\n\t *\n\t * @param {string} text\n\t *\n\t * @return {string}\n\t */\n\tfunction validateText( text ) {\n\t\tlet message = \"\";\n\n\t\tif ( validator !== undefined ) {\n\t\t\tmessage = validator( text );\n\t\t}\n\n\t\tvalidationErrors.update( _validationErrors => {\n\t\t\tif ( _validationErrors.has( textName ) && message === \"\" ) {\n\t\t\t\t_validationErrors.delete( textName );\n\t\t\t} else if ( message !== \"\" ) {\n\t\t\t\t_validationErrors.set( textName, message );\n\t\t\t}\n\n\t\t\treturn _validationErrors;\n\t\t} );\n\n\t\treturn message;\n\t}\n\n\t$: validationError = validateText( text );\n\n\t/**\n\t * If appropriate, clicking the header toggles to toggle switch.\n\t */\n\tfunction headingClickHandler() {\n\t\tif ( toggleName && !toggleDisabled ) {\n\t\t\ttoggle = !toggle;\n\t\t}\n\t}\n</script>\n\n<div class=\"setting\" class:nested class:first>\n\t<PanelRow class=\"option\">\n\t\t{#if toggleName}\n\t\t\t<ToggleSwitch name={toggleName} bind:checked={toggle} disabled={toggleDisabled}>\n\t\t\t\t{heading}\n\t\t\t</ToggleSwitch>\n\t\t\t<h4 id={headingName} on:click={headingClickHandler} class=\"toggler\" class:toggleDisabled>{heading}</h4>\n\t\t{:else}\n\t\t\t<h4 id={headingName}>{heading}</h4>\n\t\t{/if}\n\t\t<DefinedInWPConfig defined={$definedSettings.includes( toggleName ) || (input && $definedSettings.includes( textName ))}/>\n\t</PanelRow>\n\t<PanelRow class=\"desc\">\n\t\t<p>{@html description}</p>\n\t</PanelRow>\n\t{#if input}\n\t\t<PanelRow class=\"input\">\n\t\t\t<input\n\t\t\t\ttype=\"text\"\n\t\t\t\tid={textName}\n\t\t\t\tname={textName}\n\t\t\t\tbind:value={text}\n\t\t\t\tminlength=\"1\"\n\t\t\t\tsize=\"10\"\n\t\t\t\t{placeholder}\n\t\t\t\tdisabled={textDisabled}\n\t\t\t\tclass:disabled={textDisabled}\n\t\t\t\taria-labelledby={headingName}\n\t\t\t>\n\t\t\t<label for={textName}>\n\t\t\t\t{heading}\n\t\t\t</label>\n\t\t</PanelRow>\n\t\t{#if validationError}\n\t\t\t<p class=\"input-error\" transition:slide|local>{validationError}</p>\n\t\t{/if}\n\t{/if}\n\n\t{#if toggleName}\n\t\t<SettingNotifications settingKey={toggleName}/>\n\t{/if}\n\n\t{#if textName}\n\t\t<SettingNotifications settingKey={textName}/>\n\t{/if}\n\n\t<slot/>\n</div>\n\n<style>\n\t.toggler:not(.toggleDisabled) {\n\t\tcursor: pointer;\n\t}\n</style>\n","<script>\n\timport {settings, strings} from \"../js/stores\";\n\timport Panel from \"./Panel.svelte\";\n\timport StorageSettingsHeadingRow from \"./StorageSettingsHeadingRow.svelte\";\n\timport SettingsPanelOption from \"./SettingsPanelOption.svelte\";\n</script>\n\n<Panel name=\"settings\" heading={$strings.storage_settings_title} helpKey=\"storage-provider\">\n\t<StorageSettingsHeadingRow/>\n\t<SettingsPanelOption\n\t\theading={$strings.copy_files_to_bucket}\n\t\tdescription={$strings.copy_files_to_bucket_desc}\n\t\ttoggleName=\"copy-to-s3\"\n\t\tbind:toggle={$settings[\"copy-to-s3\"]}\n\t/>\n\t<SettingsPanelOption\n\t\theading={$strings.remove_local_file}\n\t\tdescription={$strings.remove_local_file_desc}\n\t\ttoggleName=\"remove-local-file\"\n\t\tbind:toggle={$settings[\"remove-local-file\"]}\n\t>\n\t</SettingsPanelOption>\n\t<SettingsPanelOption\n\t\theading={$strings.path}\n\t\tdescription={$strings.path_desc}\n\t\ttoggleName=\"enable-object-prefix\"\n\t\tbind:toggle={$settings[\"enable-object-prefix\"]}\n\t\ttextName=\"object-prefix\"\n\t\tbind:text={$settings[\"object-prefix\"]}\n\t/>\n\t<SettingsPanelOption\n\t\theading={$strings.year_month}\n\t\tdescription={$strings.year_month_desc}\n\t\ttoggleName=\"use-yearmonth-folders\"\n\t\tbind:toggle={$settings[\"use-yearmonth-folders\"]}\n\t>\n\t</SettingsPanelOption>\n\t<SettingsPanelOption\n\t\theading={$strings.object_versioning}\n\t\tdescription={$strings.object_versioning_desc}\n\t\ttoggleName=\"object-versioning\"\n\t\tbind:toggle={$settings[\"object-versioning\"]}\n\t>\n\t</SettingsPanelOption>\n</Panel>\n","<script>\n\timport {hasContext, getContext} from \"svelte\";\n\timport {writable} from \"svelte/store\";\n\timport {push} from \"svelte-spa-router\";\n\timport {\n\t\tdelivery_provider,\n\t\tsettings,\n\t\tstorage_provider,\n\t\tstrings,\n\t\turls\n\t} from \"../js/stores\";\n\timport PanelRow from \"./PanelRow.svelte\";\n\timport Button from \"./Button.svelte\";\n\n\t// Parent page may want to be locked.\n\tlet settingsLocked = writable( false );\n\n\tif ( hasContext( \"settingsLocked\" ) ) {\n\t\tsettingsLocked = getContext( \"settingsLocked\" );\n\t}\n\n\t$: providerType = $settings[ 'delivery-provider' ] === 'storage' ? 'storage' : 'delivery';\n\t$: providerKey = providerType === 'storage' ? $storage_provider.provider_key_name : $delivery_provider.provider_key_name;\n</script>\n\n<PanelRow header gradient class=\"delivery {providerType} {providerKey}\">\n\t<img src=\"{$delivery_provider.icon}\" alt={$delivery_provider.provider_service_name}/>\n\t<div class=\"provider-details\">\n\t\t<h4>{$delivery_provider.provider_service_name}</h4>\n\t\t<p class=\"console-details\">\n\t\t\t<a href={$urls.delivery_provider_console_url} class=\"console\" target=\"_blank\" title={$strings.view_provider_console}>{$delivery_provider.console_title}</a>\n\t\t</p>\n\t</div>\n\t<Button outline on:click={() => push('/delivery/provider')} title={$strings.edit_delivery_provider} disabled={$settingsLocked}>{$strings.edit}</Button>\n</PanelRow>\n\n<style>\n\t:global(#as3cf-settings.wpome div.panel.settings .header) img {\n\t\twidth: var(--as3cf-settings-ctrl-width);\n\t\theight: var(--as3cf-settings-ctrl-width);\n\t}\n\n\t.provider-details {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tflex: auto;\n\t\tmargin-left: var(--as3cf-settings-option-indent);\n\t\tz-index: 1;\n\t}\n\n\t:global(#as3cf-settings.wpome div.panel) .provider-details h4 {\n\t\tmargin-left: 0;\n\t\tmargin-bottom: 0.5rem;\n\t}\n\n\t:global(#as3cf-settings.wpome div.panel) .console-details {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tfont-size: 0.75rem;\n\t}\n\n\t.console-details .console {\n\t\tflex: 0 1 min-content;\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t}\n\n\t:global(#as3cf-settings.wpome div.panel) .console-details a[target=\"_blank\"].console:after {\n\t\tmargin-right: 0;\n\t}\n</style>\n","<script>\n\timport {delivery_provider, settings, strings} from \"../js/stores\";\n\timport Panel from \"./Panel.svelte\";\n\timport DeliverySettingsHeadingRow\n\t\tfrom \"./DeliverySettingsHeadingRow.svelte\";\n\timport SettingsPanelOption from \"./SettingsPanelOption.svelte\";\n\n\t/**\n\t * Potentially returns a reason that the provided domain name is invalid.\n\t *\n\t * @param {string} domain\n\t *\n\t * @return {string}\n\t */\n\tfunction domainValidator( domain ) {\n\t\tconst domainPattern = /[^a-z0-9.-]/;\n\n\t\tlet message = \"\";\n\n\t\tif ( domain.trim().length === 0 ) {\n\t\t\tmessage = $strings.domain_blank;\n\t\t} else if ( true === domainPattern.test( domain ) ) {\n\t\t\tmessage = $strings.domain_invalid_content;\n\t\t} else if ( domain.length < 3 ) {\n\t\t\tmessage = $strings.domain_too_short;\n\t\t}\n\n\t\treturn message;\n\t}\n</script>\n\n<Panel name=\"settings\" heading={$strings.delivery_settings_title} helpKey=\"delivery-provider\">\n\t<DeliverySettingsHeadingRow/>\n\t<SettingsPanelOption\n\t\theading={$strings.rewrite_media_urls}\n\t\tdescription={$delivery_provider.rewrite_media_urls_desc}\n\t\ttoggleName=\"serve-from-s3\"\n\t\tbind:toggle={$settings[\"serve-from-s3\"]}\n\t/>\n\n\t{#if $delivery_provider.delivery_domain_allowed}\n\t\t<SettingsPanelOption\n\t\t\theading={$strings.delivery_domain}\n\t\t\tdescription={$delivery_provider.delivery_domain_desc}\n\t\t\ttoggleName=\"enable-delivery-domain\"\n\t\t\tbind:toggle={$settings[\"enable-delivery-domain\"]}\n\t\t\ttextName=\"delivery-domain\"\n\t\t\tbind:text={$settings[\"delivery-domain\"]}\n\t\t\tvalidator={domainValidator}\n\t\t/>\n\t\t{#if $delivery_provider.use_signed_urls_key_file_allowed && $settings[ \"enable-delivery-domain\" ]}\n\t\t\t<SettingsPanelOption\n\t\t\t\theading={$delivery_provider.signed_urls_option_name}\n\t\t\t\tdescription={$delivery_provider.signed_urls_option_description}\n\t\t\t\ttoggleName=\"enable-signed-urls\"\n\t\t\t\tbind:toggle={$settings[\"enable-signed-urls\"]}\n\t\t\t>\n\t\t\t\t<!-- Currently only CloudFront needs a key file for signing -->\n\t\t\t\t{#if $settings[ \"enable-signed-urls\" ]}\n\t\t\t\t\t<SettingsPanelOption\n\t\t\t\t\t\theading={$delivery_provider.signed_urls_key_id_name}\n\t\t\t\t\t\tdescription={$delivery_provider.signed_urls_key_id_description}\n\t\t\t\t\t\ttextName=\"signed-urls-key-id\"\n\t\t\t\t\t\tbind:text={$settings[\"signed-urls-key-id\"]}\n\t\t\t\t\t\tnested={true}\n\t\t\t\t\t\tfirst={true}\n\t\t\t\t\t/>\n\n\t\t\t\t\t<SettingsPanelOption\n\t\t\t\t\t\theading={$delivery_provider.signed_urls_key_file_path_name}\n\t\t\t\t\t\tdescription={$delivery_provider.signed_urls_key_file_path_description}\n\t\t\t\t\t\ttextName=\"signed-urls-key-file-path\"\n\t\t\t\t\t\tbind:text={$settings[\"signed-urls-key-file-path\"]}\n\t\t\t\t\t\tplaceholder={$delivery_provider.signed_urls_key_file_path_placeholder}\n\t\t\t\t\t\tnested={true}\n\t\t\t\t\t/>\n\n\t\t\t\t\t<SettingsPanelOption\n\t\t\t\t\t\theading={$delivery_provider.signed_urls_object_prefix_name}\n\t\t\t\t\t\tdescription={$delivery_provider.signed_urls_object_prefix_description}\n\t\t\t\t\t\ttextName=\"signed-urls-object-prefix\"\n\t\t\t\t\t\tbind:text={$settings[\"signed-urls-object-prefix\"]}\n\t\t\t\t\t\tplaceholder=\"private/\"\n\t\t\t\t\t\tnested={true}\n\t\t\t\t\t/>\n\t\t\t\t{/if}\n\t\t\t</SettingsPanelOption>\n\t\t{/if}\n\t{/if}\n\n\t<SettingsPanelOption\n\t\theading={$strings.force_https}\n\t\tdescription={$strings.force_https_desc}\n\t\ttoggleName=\"force-https\"\n\t\tbind:toggle={$settings[\"force-https\"]}\n\t/>\n</Panel>\n","<script>\n\timport StorageSettingsSubPage from \"./StorageSettingsSubPage.svelte\";\n\timport DeliverySettingsSubPage from \"./DeliverySettingsSubPage.svelte\";\n\n\texport let params = {}; // Required for regex routes.\n\tconst _params = params; // Stops compiler warning about unused params export;\n</script>\n\n<StorageSettingsSubPage/>\n<DeliverySettingsSubPage/>","<script>\n\timport {scale} from \"svelte/transition\";\n\timport {api, settings, settings_changed, strings, urls} from \"../js/stores\";\n\timport Panel from \"./Panel.svelte\";\n\timport PanelRow from \"./PanelRow.svelte\";\n\n\tlet parts = $urls.url_parts;\n\n\t/**\n\t * When settings have changed, show their preview URL, otherwise show saved settings version.\n\t *\n\t * Note: This function **assigns** to the `example` and `parts` variables to defeat the reactive demons!\n\t *\n\t * @param {Object} urls\n\t * @param {boolean} settingsChanged\n\t * @param {Object} settings\n\t *\n\t * @returns boolean\n\t */\n\tasync function temporaryUrl( urls, settingsChanged, settings ) {\n\t\tif ( settingsChanged ) {\n\t\t\tconst response = await api.post( \"url-preview\", {\n\t\t\t\t\"settings\": settings\n\t\t\t} );\n\n\t\t\t// Use temporary URLs if available.\n\t\t\tif ( response.hasOwnProperty( \"url_parts\" ) ) {\n\t\t\t\tparts = response.url_parts;\n\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\t// Reset back to saved URLs.\n\t\tparts = urls.url_parts;\n\n\t\treturn false;\n\t}\n\n\t$: isTemporaryUrl = temporaryUrl( $urls, $settings_changed, $settings );\n</script>\n\n{#if parts.length > 0}\n\t<Panel name=\"url-preview\" heading={$strings.url_preview_title}>\n\t\t<PanelRow class=\"desc\">\n\t\t\t<p>{$strings.url_preview_desc}</p>\n\t\t</PanelRow>\n\t\t<PanelRow class=\"body flex-row\">\n\t\t\t<dl>\n\t\t\t\t{#each parts as part (part.title)}\n\t\t\t\t\t<div data-key={part.key} transition:scale|local>\n\t\t\t\t\t\t<dt>{part.title}</dt>\n\t\t\t\t\t\t<dd>{part.example}</dd>\n\t\t\t\t\t</div>\n\t\t\t\t{/each}\n\t\t\t</dl>\n\t\t</PanelRow>\n\t</Panel>\n{/if}\n","/**\n * Scrolls the notifications into view.\n */\nexport function scrollNotificationsIntoView() {\n\tconst element = document.getElementById( \"notifications\" );\n\n\tif ( element ) {\n\t\telement.scrollIntoView( { behavior: \"smooth\", block: \"start\" } );\n\t}\n}\n","<script>\n\timport {createEventDispatcher, onDestroy} from \"svelte\";\n\timport {slide} from \"svelte/transition\";\n\timport {\n\t\tsettings_changed,\n\t\tsettings,\n\t\tstrings,\n\t\tstate,\n\t\tvalidationErrors\n\t} from \"../js/stores\";\n\timport {\n\t\tscrollNotificationsIntoView\n\t} from \"../js/scrollNotificationsIntoView\";\n\timport Button from \"./Button.svelte\";\n\n\tconst dispatch = createEventDispatcher();\n\n\texport let settingsStore = settings;\n\texport let settingsChangedStore = settings_changed;\n\n\tlet saving = false;\n\n\t$: disabled = saving || $validationErrors.size > 0;\n\n\t// On init, start with no validation errors.\n\tvalidationErrors.set( new Map() );\n\n\t/**\n\t * Handles a Cancel button click.\n\t */\n\tfunction handleCancel() {\n\t\tsettingsStore.reset();\n\t}\n\n\t/**\n\t * Handles a Save button click.\n\t *\n\t * @return {Promise<void>}\n\t */\n\tasync function handleSave() {\n\t\tsaving = true;\n\t\tstate.pausePeriodicFetch();\n\t\tconst result = await settingsStore.save();\n\t\tstate.resumePeriodicFetch();\n\n\t\t// The save happened, whether anything changed or not.\n\t\tif ( result.hasOwnProperty( \"saved\" ) && result.hasOwnProperty( \"changed_settings\" ) ) {\n\t\t\tdispatch( \"routeEvent\", { event: \"settings.save\", data: result } );\n\t\t}\n\n\t\t// After save make sure notifications are eyeballed.\n\t\tscrollNotificationsIntoView();\n\t\tsaving = false;\n\t}\n\n\t// On navigation away from a component showing the footer,\n\t// make sure settings are reset.\n\tonDestroy( () => handleCancel() );\n</script>\n\n{#if $settingsChangedStore}\n\t<div class=\"fixed-cta-block\" transition:slide|local>\n\t\t<div class=\"buttons\">\n\t\t\t<Button outline on:click={handleCancel}>{$strings.cancel_button}</Button>\n\t\t\t<Button primary on:click={handleSave} {disabled}>{$strings.save_changes}</Button>\n\t\t</div>\n\t</div>\n{/if}\n","<script>\n\timport {getContext, hasContext, setContext} from \"svelte\";\n\timport {settingsLocked, strings} from \"../js/stores\";\n\timport Page from \"./Page.svelte\";\n\timport Notifications from \"./Notifications.svelte\";\n\timport BlockPublicAccessWarning from \"./BlockPublicAccessWarning.svelte\";\n\timport ObjectOwnershipEnforcedWarning\n\t\tfrom \"./ObjectOwnershipEnforcedWarning.svelte\";\n\timport SubNav from \"./SubNav.svelte\";\n\timport SubPages from \"./SubPages.svelte\";\n\timport MediaSettings from \"./MediaSettings.svelte\";\n\timport UrlPreview from \"./UrlPreview.svelte\";\n\timport Footer from \"./Footer.svelte\";\n\n\texport let name = \"media\";\n\texport let params = {}; // Required for regex routes.\n\tconst _params = params; // Stops compiler warning for params;\n\n\tlet sidebar = null;\n\n\tif ( hasContext( 'sidebar' ) ) {\n\t\tsidebar = getContext( 'sidebar' );\n\t}\n\n\t// Let all child components know if settings are currently locked.\n\tsetContext( \"settingsLocked\", settingsLocked );\n\n\t// We have a weird subnav here as both routes could be shown at same time.\n\t// So they are grouped, and CSS decides which is shown when width stops both from being shown.\n\t// The active route will determine the SubPage that is given the active class.\n\tconst routes = {\n\t\t'*': MediaSettings,\n\t}\n\n\tconst items = [\n\t\t{ route: \"/\", title: () => $strings.storage_settings_title },\n\t\t{\n\t\t\troute: \"/media/delivery\",\n\t\t\ttitle: () => $strings.delivery_settings_title\n\t\t}\n\t];\n</script>\n\n<Page {name} on:routeEvent>\n\t<Notifications tab={name}/>\n\t<div id=\"provider-warning-notifications\" class=\"notifications wrapper\">\n\t\t<BlockPublicAccessWarning/>\n\t\t<ObjectOwnershipEnforcedWarning/>\n\t</div>\n\t<SubNav {name} {items} subpage/>\n\t<SubPages {name} {routes}/>\n\t<UrlPreview/>\n</Page>\n\n{#if sidebar}\n\t<svelte:component this={sidebar}/>\n{/if}\n\n<Footer on:routeEvent/>\n","<script>\n\timport {afterUpdate, setContext} from \"svelte\";\n\timport {location, push} from \"svelte-spa-router\";\n\timport {\n\t\tstrings,\n\t\tcurrent_settings,\n\t\tsettingsLocked,\n\t\tneeds_access_keys\n\t} from \"../js/stores\";\n\timport Page from \"./Page.svelte\";\n\timport Notifications from \"./Notifications.svelte\";\n\timport SubNav from \"./SubNav.svelte\";\n\timport SubPages from \"./SubPages.svelte\";\n\timport {pages} from \"../js/routes\";\n\n\texport let name = \"storage\";\n\texport let params = {}; // Required for regex routes.\n\tconst _params = params; // Stops compiler warning about unused params export;\n\n\t// During initial setup some storage sub pages behave differently.\n\t// Not having a bucket defined is akin to initial setup, but changing provider in sub page may also flip the switch.\n\tif ( $current_settings.bucket ) {\n\t\tsetContext( \"initialSetup\", false );\n\t} else {\n\t\tsetContext( \"initialSetup\", true );\n\t}\n\n\t// Let all child components know if settings are currently locked.\n\tsetContext( \"settingsLocked\", settingsLocked );\n\n\tconst prefix = \"/storage\";\n\n\tlet items = pages.withPrefix( prefix );\n\tlet routes = pages.routes( prefix );\n\n\tafterUpdate( () => {\n\t\titems = pages.withPrefix( prefix );\n\t\troutes = pages.routes( prefix );\n\n\t\t// Ensure only Storage Provider subpage can be visited if credentials not set.\n\t\tif ( $needs_access_keys && $location.startsWith( \"/storage/\" ) && $location !== \"/storage/provider\" ) {\n\t\t\tpush( \"/storage/provider\" );\n\t\t}\n\t} );\n</script>\n\n<Page {name} subpage on:routeEvent>\n\t<Notifications tab=\"media\" tabParent=\"media\"/>\n\t<h2 class=\"page-title\">{$strings.storage_title}</h2>\n\n\t<SubNav {name} {items} progress/>\n\n\t<SubPages {name} {prefix} {routes} on:routeEvent/>\n</Page>\n","import {objectsDiffer} from \"./objectsDiffer\";\n\n/**\n * Determines whether a page should be refreshed due to changes to settings.\n *\n * @param {boolean} saving\n * @param {object} previousSettings\n * @param {object} currentSettings\n * @param {object} previousDefines\n * @param {object} currentDefines\n *\n * @returns {boolean}\n */\nexport function needsRefresh( saving, previousSettings, currentSettings, previousDefines, currentDefines ) {\n\tif ( saving ) {\n\t\treturn false;\n\t}\n\n\tif ( objectsDiffer( [previousSettings, currentSettings] ) ) {\n\t\treturn true;\n\t}\n\n\tif ( objectsDiffer( [previousDefines, currentDefines] ) ) {\n\t\treturn true;\n\t}\n}\n","<script>\n\timport {strings, urls} from \"../js/stores\";\n\n\texport let active = false;\n\texport let disabled = false;\n\texport let icon = \"\";\n\texport let iconDesc = \"\";\n\texport let text = \"\"\n\texport let url = $urls.settings;\n</script>\n\n<a\n\thref={url}\n\tclass=\"button-tab\"\n\tclass:active\n\tclass:btn-disabled={disabled}\n\t{disabled}\n\ton:click|preventDefault\n>\n\t{#if icon}\n\t\t<img\n\t\t\tsrc={icon}\n\t\t\ttype=\"image/svg+xml\"\n\t\t\talt={iconDesc}\n\t\t>\n\t{/if}\n\t{#if text}\n\t\t<p>{text}</p>\n\t{/if}\n\t{#if active}\n\t\t<img\n\t\t\tclass=\"checkmark\"\n\t\t\tsrc=\"{$urls.assets + 'img/icon/licence-checked.svg'}\"\n\t\t\ttype=\"image/svg+xml\" alt={$strings.selected_desc}\n\t\t>\n\t{/if}\n</a>\n","<script>\n\texport let list = false;\n\texport let disabled = false;\n\texport let name = \"options\";\n\texport let value = \"\";\n\texport let selected = \"\";\n\texport let desc = \"\";\n</script>\n\n<div class=\"radio-btn\" class:list class:disabled>\n\t<label>\n\t\t<input type=\"radio\" {name} bind:group={selected} {value} {disabled}>\n\t\t<slot/>\n\t</label>\n</div>\n{#if selected === value && desc}\n\t<p class=\"radio-desc\">\n\t\t{@html desc}\n\t</p>\n{/if}","<script>\n\texport let provider;\n</script>\n\n<p>{@html provider.define_access_keys_desc}</p>\n\n<pre>{provider.define_access_keys_example}</pre>\n","<script>\n\timport {createEventDispatcher} from \"svelte\";\n\timport {strings} from \"../js/stores\";\n\timport Button from \"./Button.svelte\";\n\n\tconst dispatch = createEventDispatcher();\n\n\t// Back button is optional but shown by default.\n\texport let backText = $strings.back;\n\texport let backDisabled = false;\n\texport let backTitle = \"\";\n\texport let backVisible = false;\n\n\t// Skip button is optional, only shown if explicitly made visible.\n\texport let skipText = $strings.skip;\n\texport let skipDisabled = false;\n\texport let skipTitle = \"\";\n\texport let skipVisible = false;\n\n\t// Next button required.\n\texport let nextText = $strings.next;\n\texport let nextDisabled = false;\n\texport let nextTitle = \"\";\n</script>\n\n<div class=\"btn-row\">\n\t{#if backVisible}\n\t\t<Button\n\t\t\tlarge\n\t\t\ton:click=\"{() => dispatch('back')}\"\n\t\t\tdisabled={backDisabled}\n\t\t\ttitle={backTitle}\n\t\t>\n\t\t\t{backText}\n\t\t</Button>\n\t{/if}\n\t{#if skipVisible}\n\t\t<Button\n\t\t\tlarge\n\t\t\toutline\n\t\t\ton:click=\"{() => dispatch('skip')}\"\n\t\t\tdisabled={skipDisabled}\n\t\t\ttitle={skipTitle}\n\t\t>\n\t\t\t{skipText}\n\t\t</Button>\n\t{/if}\n\t<Button\n\t\tlarge\n\t\tprimary\n\t\ton:click=\"{() => dispatch('next')}\"\n\t\tdisabled={nextDisabled}\n\t\ttitle={nextTitle}\n\t>\n\t\t{nextText}\n\t</Button>\n</div>\n","<script>\n\texport let provider;\n</script>\n\n<p>{@html provider.define_key_file_desc}</p>\n\n<pre>{provider.define_key_file_example}</pre>\n","<script>\n\texport let provider;\n</script>\n\n<p>{@html provider.use_server_roles_desc}</p>\n\n<pre>{provider.use_server_roles_example}</pre>","<script>\n\timport {strings} from \"../js/stores\";\n\n\texport let provider;\n\texport let accessKeyId = \"\";\n\texport let secretAccessKey = \"\";\n\texport let disabled = false;\n\n\tlet accessKeyIdName = \"access-key-id\";\n\tlet accessKeyIdLabel = $strings.access_key_id;\n\n\tlet secretAccessKeyName = \"secret-access-key\";\n\tlet secretAccessKeyLabel = $strings.secret_access_key;\n</script>\n\n<p>{@html provider.enter_access_keys_desc}</p>\n\n<label class=\"input-label\" for={accessKeyIdName}>{accessKeyIdLabel}</label>\n<input\n\ttype=\"text\"\n\tid={accessKeyIdName}\n\tname={accessKeyIdName}\n\tbind:value={accessKeyId}\n\tminlength=\"20\"\n\tsize=\"20\"\n\t{disabled}\n\tclass:disabled\n>\n\n<label class=\"input-label\" for={secretAccessKeyName}>{secretAccessKeyLabel}</label>\n<input\n\ttype=\"text\"\n\tid={secretAccessKeyName}\n\tname={secretAccessKeyName}\n\tbind:value={secretAccessKey}\n\tautocomplete=\"off\"\n\tminlength=\"40\"\n\tsize=\"40\"\n\t{disabled}\n\tclass:disabled\n>\n","<script>\n\timport {strings} from \"../js/stores\";\n\n\texport let provider;\n\texport let value = \"\";\n\texport let disabled = false;\n\n\tlet name = \"key-file\";\n\tlet label = $strings.key_file;\n</script>\n\n<p>{@html provider.enter_key_file_desc}</p>\n\n<label class=\"input-label\" for={name}>{label}</label>\n<textarea id={name} name={name} bind:value {disabled} class:disabled rows=\"10\"></textarea>\n","<script>\n\timport {createEventDispatcher, getContext, hasContext} from \"svelte\";\n\timport {writable} from \"svelte/store\";\n\timport {replace} from \"svelte-spa-router\";\n\timport {\n\t\tsettings,\n\t\tdefined_settings,\n\t\tstrings,\n\t\tstorage_providers,\n\t\tstorage_provider,\n\t\tcounts,\n\t\tcurrent_settings,\n\t\tneeds_refresh,\n\t\tstate\n\t} from \"../js/stores\";\n\timport {\n\t\tscrollNotificationsIntoView\n\t} from \"../js/scrollNotificationsIntoView\";\n\timport {needsRefresh} from \"../js/needsRefresh\";\n\timport SubPage from \"./SubPage.svelte\";\n\timport Panel from \"./Panel.svelte\";\n\timport PanelRow from \"./PanelRow.svelte\";\n\timport TabButton from \"./TabButton.svelte\";\n\timport RadioButton from \"./RadioButton.svelte\";\n\timport AccessKeysDefine from \"./AccessKeysDefine.svelte\";\n\timport BackNextButtonsRow from \"./BackNextButtonsRow.svelte\";\n\timport KeyFileDefine from \"./KeyFileDefine.svelte\";\n\timport UseServerRolesDefine from \"./UseServerRolesDefine.svelte\";\n\timport AccessKeysEntry from \"./AccessKeysEntry.svelte\";\n\timport KeyFileEntry from \"./KeyFileEntry.svelte\";\n\timport Notification from \"./Notification.svelte\";\n\n\texport let params = {}; // Required for regex routes.\n\tconst _params = params; // Stops compiler warning about unused params export;\n\n\tconst dispatch = createEventDispatcher();\n\n\t// Parent page may want to be locked.\n\tlet settingsLocked = writable( false );\n\n\tif ( hasContext( \"settingsLocked\" ) ) {\n\t\tsettingsLocked = getContext( \"settingsLocked\" );\n\t}\n\n\t// Need to be careful about throwing unneeded warnings.\n\tlet initialSettings = $current_settings;\n\n\tif ( hasContext( \"initialSettings\" ) ) {\n\t\tinitialSettings = getContext( \"initialSettings\" );\n\t}\n\n\t// As this page does not directly alter the settings store until done,\n\t// we need to keep track of any changes made elsewhere and prompt\n\t// the user to refresh the page.\n\tlet saving = false;\n\tconst previousSettings = { ...$current_settings };\n\tconst previousDefines = { ...$defined_settings };\n\n\t$: {\n\t\t$needs_refresh = $needs_refresh || needsRefresh( saving, previousSettings, $current_settings, previousDefines, $defined_settings );\n\t}\n\n\t/*\n\t * 1. Select Storage Provider\n\t */\n\n\tlet storageProvider = { ...$storage_provider };\n\n\t$: defined = $defined_settings.includes( \"provider\" );\n\t$: disabled = defined || $needs_refresh || $settingsLocked;\n\n\t/**\n\t * Handles picking different storage provider.\n\t *\n\t * @param {Object} provider\n\t */\n\tfunction handleChooseProvider( provider ) {\n\t\tif ( disabled ) {\n\t\t\treturn;\n\t\t}\n\n\t\tstorageProvider = provider;\n\n\t\t// Now make sure authMethod is valid for chosen storage provider.\n\t\tauthMethod = getAuthMethod( storageProvider, authMethod );\n\t}\n\n\t$: changedWithOffloaded = initialSettings.provider !== storageProvider.provider_key_name && $counts.offloaded > 0;\n\n\t/*\n\t * 2. Select Authentication method\n\t */\n\n\tlet accessKeyId = $settings[ \"access-key-id\" ];\n\tlet secretAccessKey = $settings[ \"secret-access-key\" ];\n\tlet keyFile = $settings[ \"key-file\" ] ? JSON.stringify( $settings[ \"key-file\" ] ) : \"\";\n\n\t/**\n\t * For the given current storage provider, determine the authentication method or fallback to currently selected.\n\t * It's possible that the storage provider can be freely changed but the\n\t * authentication method is defined (fixed) differently for each, or freely changeable too.\n\t * The order of evaluation in this function is important and mirrors the server side evaluation order.\n\t *\n\t * @param {provider} provider\n\t * @param {string} current auth method, one of \"define\", \"server-role\" or \"database\" if set.\n\t *\n\t * @return {string}\n\t */\n\tfunction getAuthMethod( provider, current = \"\" ) {\n\t\tif ( provider.use_access_keys_allowed && provider.used_access_keys_constants.length ) {\n\t\t\treturn \"define\";\n\t\t}\n\n\t\tif ( provider.use_key_file_allowed && provider.used_key_file_path_constants.length ) {\n\t\t\treturn \"define\";\n\t\t}\n\n\t\tif ( provider.use_server_roles_allowed && provider.used_server_roles_constants.length ) {\n\t\t\treturn \"server-role\";\n\t\t}\n\n\t\tif ( current === \"server-role\" && !provider.use_server_roles_allowed ) {\n\t\t\treturn \"define\";\n\t\t}\n\n\t\tif ( current.length === 0 ) {\n\t\t\tif ( provider.use_access_keys_allowed && (accessKeyId || secretAccessKey) ) {\n\t\t\t\treturn \"database\";\n\t\t\t}\n\n\t\t\tif ( provider.use_key_file_allowed && keyFile ) {\n\t\t\t\treturn \"database\";\n\t\t\t}\n\n\t\t\tif ( provider.use_server_roles_allowed && $settings[ \"use-server-roles\" ] ) {\n\t\t\t\treturn \"server-role\";\n\t\t\t}\n\n\t\t\t// Default to most secure option.\n\t\t\treturn \"define\";\n\t\t}\n\n\t\treturn current;\n\t}\n\n\tlet authMethod = getAuthMethod( storageProvider );\n\n\t// If auth method is not allowed to be database, then either define or server-role is being forced, likely by a define.\n\t$: authDefined = \"database\" !== getAuthMethod( storageProvider, \"database\" );\n\t$: authDisabled = authDefined || $needs_refresh || $settingsLocked;\n\n\t/*\n\t * 3. Save Authentication Credentials\n\t */\n\n\t/**\n\t * Returns a title string to be used for the credentials panel as appropriate for the auth method.\n\t *\n\t * @param {string} method\n\t * @return {*}\n\t */\n\tfunction getCredentialsTitle( method ) {\n\t\treturn $strings.auth_method_title[ method ];\n\t}\n\n\t$: saveCredentialsTitle = getCredentialsTitle( authMethod );\n\n\t/*\n\t * Do Something!\n\t */\n\n\t/**\n\t * Handles a Next button click.\n\t *\n\t * @return {Promise<void>}\n\t */\n\tasync function handleNext() {\n\t\tsaving = true;\n\t\tstate.pausePeriodicFetch();\n\n\t\t$settings.provider = storageProvider.provider_key_name;\n\t\t$settings[ \"access-key-id\" ] = accessKeyId;\n\t\t$settings[ \"secret-access-key\" ] = secretAccessKey;\n\t\t$settings[ \"key-file\" ] = keyFile;\n\t\tconst result = await settings.save();\n\n\t\t// If something went wrong, don't move onto next step.\n\t\tif ( !result.hasOwnProperty( \"saved\" ) || !result.saved ) {\n\t\t\tsettings.reset();\n\t\t\tsaving = false;\n\t\t\tstate.resumePeriodicFetch();\n\n\t\t\tscrollNotificationsIntoView();\n\n\t\t\treturn;\n\t\t}\n\n\t\tstate.resumePeriodicFetch();\n\t\tdispatch( \"routeEvent\", { event: \"settings.save\", data: result } );\n\t}\n</script>\n\n<SubPage name=\"storage-provider-settings\" route=\"/storage/provider\">\n\t{#if changedWithOffloaded}\n\t\t<Notification inline warning heading={storageProvider.media_already_offloaded_warning.heading}>\n\t\t\t<p>{@html storageProvider.media_already_offloaded_warning.message}</p>\n\t\t</Notification>\n\t{/if}\n\n\t<Panel heading={$strings.select_storage_provider_title} defined={defined} multi>\n\t\t<PanelRow class=\"body flex-row tab-buttons\">\n\t\t\t{#each Object.values( $storage_providers ) as provider}\n\t\t\t\t<TabButton\n\t\t\t\t\tactive={provider.provider_key_name === storageProvider.provider_key_name}\n\t\t\t\t\t{disabled}\n\t\t\t\t\ticon={provider.icon}\n\t\t\t\t\ticonDesc={provider.icon_desc}\n\t\t\t\t\ttext={provider.provider_service_name}\n\t\t\t\t\ton:click={() => handleChooseProvider( provider )}\n\t\t\t\t/>\n\t\t\t{/each}\n\n\t\t\t<div class=\"notice notice-qsg\">\n\t\t\t\t<p>{@html storageProvider.get_access_keys_help}</p>\n\t\t\t</div>\n\t\t</PanelRow>\n\t</Panel>\n\n\t<Panel heading={$strings.select_auth_method_title} defined={authDefined} multi>\n\t\t<PanelRow class=\"body flex-column\">\n\t\t\t<!-- define -->\n\t\t\t{#if storageProvider.use_access_keys_allowed}\n\t\t\t\t<RadioButton bind:selected={authMethod} disabled={authDisabled} value=\"define\" desc={storageProvider.defined_auth_desc}>\n\t\t\t\t\t{$strings.define_access_keys}\n\t\t\t\t</RadioButton>\n\t\t\t{:else if storageProvider.use_key_file_allowed}\n\t\t\t\t<RadioButton bind:selected={authMethod} disabled={authDisabled} value=\"define\" desc={storageProvider.defined_auth_desc}>\n\t\t\t\t\t{$strings.define_key_file_path}\n\t\t\t\t</RadioButton>\n\t\t\t{/if}\n\n\t\t\t<!-- server-role -->\n\t\t\t{#if storageProvider.use_server_roles_allowed}\n\t\t\t\t<RadioButton bind:selected={authMethod} disabled={authDisabled} value=\"server-role\" desc={storageProvider.defined_auth_desc}>\n\t\t\t\t\t{storageProvider.use_server_roles_title}\n\t\t\t\t</RadioButton>\n\t\t\t{/if}\n\n\t\t\t<!-- database -->\n\t\t\t{#if storageProvider.use_access_keys_allowed}\n\t\t\t\t<RadioButton bind:selected={authMethod} disabled={authDisabled} value=\"database\">\n\t\t\t\t\t{$strings.store_access_keys_in_db}\n\t\t\t\t</RadioButton>\n\t\t\t{:else if storageProvider.use_key_file_allowed}\n\t\t\t\t<RadioButton bind:selected={authMethod} disabled={authDisabled} value=\"database\">\n\t\t\t\t\t{$strings.store_key_file_in_db}\n\t\t\t\t</RadioButton>\n\t\t\t{/if}\n\t\t</PanelRow>\n\t</Panel>\n\n\t{#if !authDefined}\n\t\t<Panel heading={saveCredentialsTitle} multi>\n\t\t\t<PanelRow class=\"body flex-column access-keys\">\n\t\t\t\t{#if authMethod === \"define\" && storageProvider.use_access_keys_allowed}\n\t\t\t\t\t<AccessKeysDefine provider={storageProvider}/>\n\t\t\t\t{:else if authMethod === \"define\" && storageProvider.use_key_file_allowed}\n\t\t\t\t\t<KeyFileDefine provider={storageProvider}/>\n\t\t\t\t{:else if authMethod === \"server-role\" && storageProvider.use_server_roles_allowed}\n\t\t\t\t\t<UseServerRolesDefine provider={storageProvider}/>\n\t\t\t\t{:else if authMethod === \"database\" && storageProvider.use_access_keys_allowed}\n\t\t\t\t\t<AccessKeysEntry\n\t\t\t\t\t\tprovider={storageProvider}\n\t\t\t\t\t\tbind:accessKeyId\n\t\t\t\t\t\tbind:secretAccessKey\n\t\t\t\t\t\tdisabled={authDisabled}\n\t\t\t\t\t/>\n\t\t\t\t{:else if authMethod === \"database\" && storageProvider.use_key_file_allowed}\n\t\t\t\t\t<KeyFileEntry provider={storageProvider} bind:value={keyFile}/>\n\t\t\t\t{/if}\n\t\t\t</PanelRow>\n\t\t</Panel>\n\t{/if}\n\n\t<BackNextButtonsRow on:next={handleNext} nextDisabled={$needs_refresh || $settingsLocked} nextText={$strings.save_and_continue}/>\n</SubPage>\n","/**\n * A simple action to scroll the element into view if active.\n *\n * @param {Object} node\n * @param {boolean} active\n */\nexport function scrollIntoView( node, active ) {\n\tif ( active ) {\n\t\tnode.scrollIntoView( { behavior: \"smooth\", block: \"center\", inline: \"nearest\" } );\n\t}\n}","<script>\n\timport {strings} from \"../js/stores\";\n</script>\n\n<p>{$strings.loading}</p>","<script>\n\timport {\n\t\tcreateEventDispatcher,\n\t\tgetContext,\n\t\thasContext,\n\t\tonMount\n\t} from \"svelte\";\n\timport {writable} from \"svelte/store\";\n\timport {slide} from \"svelte/transition\";\n\timport {pop} from \"svelte-spa-router\";\n\timport {\n\t\tapi,\n\t\tsettings,\n\t\tdefined_settings,\n\t\tstrings,\n\t\tstorage_provider,\n\t\turls,\n\t\tcurrent_settings,\n\t\tneeds_refresh,\n\t\tstate\n\t} from \"../js/stores\";\n\timport {scrollIntoView} from \"../js/scrollIntoView\";\n\timport {\n\t\tscrollNotificationsIntoView\n\t} from \"../js/scrollNotificationsIntoView\";\n\timport {needsRefresh} from \"../js/needsRefresh\";\n\timport SubPage from \"./SubPage.svelte\";\n\timport Panel from \"./Panel.svelte\";\n\timport PanelRow from \"./PanelRow.svelte\";\n\timport TabButton from \"./TabButton.svelte\";\n\timport BackNextButtonsRow from \"./BackNextButtonsRow.svelte\";\n\timport RadioButton from \"./RadioButton.svelte\";\n\timport Loading from \"./Loading.svelte\";\n\timport DefinedInWPConfig from \"./DefinedInWPConfig.svelte\";\n\n\tconst dispatch = createEventDispatcher();\n\n\t// Parent page may want to be locked.\n\tlet settingsLocked = writable( false );\n\n\tif ( hasContext( \"settingsLocked\" ) ) {\n\t\tsettingsLocked = getContext( \"settingsLocked\" );\n\t}\n\n\t// Keep track of where we were at prior to any changes made here.\n\tlet initialSettings = $current_settings;\n\n\tif ( hasContext( \"initialSettings\" ) ) {\n\t\tinitialSettings = getContext( \"initialSettings\" );\n\t}\n\n\t// As this page does not directly alter the settings store until done,\n\t// we need to keep track of any changes made elsewhere and prompt\n\t// the user to refresh the page.\n\tlet saving = false;\n\tconst previousSettings = { ...$current_settings };\n\tconst previousDefines = { ...$defined_settings };\n\n\t$: {\n\t\t$needs_refresh = $needs_refresh || needsRefresh( saving, previousSettings, $current_settings, previousDefines, $defined_settings );\n\t}\n\n\tlet bucketSource = \"existing\";\n\tlet enterOrSelectExisting = \"enter\";\n\n\t// If $defined_settings.bucket set, must use it, and disable change.\n\tlet newBucket = $settings.bucket;\n\t$: defined = $defined_settings.includes( \"bucket\" );\n\t$: disabled = defined || $needs_refresh || $settingsLocked;\n\n\t// If $defined_settings.region set, must use it, and disable change.\n\tlet newRegion = $settings.region;\n\t$: newRegionDefined = $defined_settings.includes( \"region\" );\n\t$: newRegionDisabled = newRegionDefined || $needs_refresh || $settingsLocked;\n\n\t/**\n\t * Handles clicking the Existing radio button.\n\t */\n\tfunction handleExisting() {\n\t\tif ( disabled ) {\n\t\t\treturn;\n\t\t}\n\n\t\tbucketSource = \"existing\";\n\t}\n\n\t/**\n\t * Handles clicking the New radio button.\n\t */\n\tfunction handleNew() {\n\t\tif ( disabled ) {\n\t\t\treturn;\n\t\t}\n\n\t\tbucketSource = \"new\";\n\t}\n\n\t/**\n\t * Calls the API to get a list of existing buckets for the currently selected storage provider and region (if applicable).\n\t *\n\t * @param {string} region\n\t *\n\t * @return {Promise<*[]>}\n\t */\n\tasync function getBuckets( region ) {\n\t\tlet params = {};\n\n\t\tif ( $storage_provider.region_required ) {\n\t\t\tparams = { region: region };\n\t\t}\n\n\t\tlet data = await api.get( \"buckets\", params );\n\n\t\tif ( data.hasOwnProperty( \"buckets\" ) ) {\n\t\t\tif ( data.buckets.filter( ( bucket ) => bucket.Name === newBucket ).length === 0 ) {\n\t\t\t\tnewBucket = \"\";\n\t\t\t}\n\n\t\t\treturn data.buckets;\n\t\t}\n\n\t\tnewBucket = \"\";\n\n\t\treturn [];\n\t}\n\n\t/**\n\t * Calls the API to create a new bucket with the currently entered name and selected region.\n\t *\n\t * @return {Promise<boolean>}\n\t */\n\tasync function createBucket() {\n\t\tlet data = await api.post( \"buckets\", {\n\t\t\tbucket: newBucket,\n\t\t\tregion: newRegion\n\t\t} )\n\n\t\tif ( data.hasOwnProperty( \"saved\" ) ) {\n\t\t\treturn data.saved;\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t * Potentially returns a reason that the provided bucket name is invalid.\n\t *\n\t * @param {string} bucket\n\t * @param {string} source Either \"existing\" or \"new\".\n\t * @param {string} existingType Either \"enter\" or \"select\".\n\t *\n\t * @return {string}\n\t */\n\tfunction getInvalidBucketNameMessage( bucket, source, existingType ) {\n\t\t// If there's an invalid region defined, don't even bother looking at bucket name.\n\t\tif ( newRegionDefined && (newRegion.length === 0 || !$storage_provider.regions.hasOwnProperty( newRegion )) ) {\n\t\t\treturn $strings.defined_region_invalid;\n\t\t}\n\n\t\tconst bucketNamePattern = /[^a-z0-9.-]/;\n\n\t\tlet message = \"\";\n\n\t\tif ( bucket.trim().length < 1 ) {\n\t\t\tif ( source === \"existing\" && existingType === \"select\" ) {\n\t\t\t\tmessage = $strings.no_bucket_selected;\n\t\t\t} else {\n\t\t\t\tmessage = $strings.create_bucket_name_missing;\n\n\t\t\t}\n\t\t} else if ( true === bucketNamePattern.test( bucket ) ) {\n\t\t\tmessage = $strings.create_bucket_invalid_chars;\n\t\t} else if ( bucket.length < 3 ) {\n\t\t\tmessage = $strings.create_bucket_name_short;\n\t\t} else if ( bucket.length > 63 ) {\n\t\t\tmessage = $strings.create_bucket_name_long;\n\t\t}\n\n\t\treturn message;\n\t}\n\n\t$: invalidBucketNameMessage = getInvalidBucketNameMessage( newBucket, bucketSource, enterOrSelectExisting );\n\n\t/**\n\t * Returns text to be used on Next button.\n\t *\n\t * @param {string} source Either \"existing\" or \"new\".\n\t * @param {string} existingType Either \"enter\" or \"select\".\n\t *\n\t * @return {string}\n\t */\n\tfunction getNextText( source, existingType ) {\n\t\tif ( source === \"existing\" && existingType === \"enter\" ) {\n\t\t\treturn $strings.save_enter_bucket;\n\t\t}\n\n\t\tif ( source === \"existing\" && existingType === \"select\" ) {\n\t\t\treturn $strings.save_select_bucket;\n\t\t}\n\n\t\tif ( source === \"new\" ) {\n\t\t\treturn $strings.save_new_bucket;\n\t\t}\n\n\t\treturn $strings.next;\n\t}\n\n\t$: nextText = getNextText( bucketSource, enterOrSelectExisting );\n\n\t/**\n\t * Handles a Next button click.\n\t *\n\t * @return {Promise<void>}\n\t */\n\tasync function handleNext() {\n\t\tif ( bucketSource === \"new\" && false === await createBucket() ) {\n\t\t\tscrollNotificationsIntoView();\n\t\t\treturn;\n\t\t}\n\n\t\tsaving = true;\n\t\tstate.pausePeriodicFetch();\n\n\t\t$settings.bucket = newBucket;\n\t\t$settings.region = newRegion;\n\t\tconst result = await settings.save();\n\n\t\t// If something went wrong, don't move onto next step.\n\t\tif ( result.hasOwnProperty( \"saved\" ) && !result.saved ) {\n\t\t\tsettings.reset();\n\t\t\tsaving = false;\n\t\t\tstate.resumePeriodicFetch();\n\n\t\t\tscrollNotificationsIntoView();\n\t\t\treturn;\n\t\t}\n\n\t\tstate.resumePeriodicFetch();\n\n\t\tresult.bucketSource = bucketSource;\n\t\tresult.initialSettings = initialSettings;\n\n\t\tdispatch( \"routeEvent\", {\n\t\t\tevent: \"settings.save\",\n\t\t\tdata: result,\n\t\t\tdefault: \"/\"\n\t\t} );\n\t}\n\n\tonMount( () => {\n\t\t// Default to first region in storage provider if not defined and not set or not valid.\n\t\tif ( !newRegionDefined && (newRegion.length === 0 || !$storage_provider.regions.hasOwnProperty( newRegion )) ) {\n\t\t\tnewRegion = Object.keys( $storage_provider.regions )[ 0 ];\n\t\t}\n\t} );\n</script>\n\n<SubPage name=\"bucket-settings\" route=\"/storage/bucket\">\n\t<Panel heading={$strings.bucket_source_title} multi {defined}>\n\t\t<PanelRow class=\"body flex-row tab-buttons\">\n\t\t\t<TabButton\n\t\t\t\tactive={bucketSource === \"existing\"}\n\t\t\t\t{disabled}\n\t\t\t\ttext={$strings.use_existing_bucket}\n\t\t\t\ton:click={handleExisting}\n\t\t\t/>\n\t\t\t<TabButton\n\t\t\t\tactive={bucketSource === \"new\"}\n\t\t\t\t{disabled}\n\t\t\t\ttext={$strings.create_new_bucket}\n\t\t\t\ton:click={handleNew}\n\t\t\t/>\n\t\t</PanelRow>\n\t</Panel>\n\n\t{#if bucketSource === \"existing\"}\n\t\t<Panel heading={$strings.existing_bucket_title} storageProvider={$storage_provider} multi {defined}>\n\t\t\t<PanelRow class=\"body flex-column\">\n\t\t\t\t<div class=\"flex-row align-center row radio-btns\">\n\t\t\t\t\t<RadioButton bind:selected={enterOrSelectExisting} value=\"enter\" list {disabled}>{$strings.enter_bucket}</RadioButton>\n\t\t\t\t\t<RadioButton bind:selected={enterOrSelectExisting} value=\"select\" list {disabled}>{$strings.select_bucket}</RadioButton>\n\t\t\t\t</div>\n\n\t\t\t\t{#if enterOrSelectExisting === \"enter\"}\n\t\t\t\t\t<div class=\"flex-row align-center row\">\n\t\t\t\t\t\t<div class=\"new-bucket-details flex-column\">\n\t\t\t\t\t\t\t<label class=\"input-label\" for=\"bucket-name\">{$strings.bucket_name}</label>\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t\tid=\"bucket-name\"\n\t\t\t\t\t\t\t\tclass=\"bucket-name\"\n\t\t\t\t\t\t\t\tname=\"bucket\"\n\t\t\t\t\t\t\t\tminlength=\"3\"\n\t\t\t\t\t\t\t\tplaceholder={$strings.enter_bucket_name_placeholder}\n\t\t\t\t\t\t\t\tbind:value={newBucket}\n\t\t\t\t\t\t\t\tclass:disabled\n\t\t\t\t\t\t\t\t{disabled}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{#if $storage_provider.region_required}\n\t\t\t\t\t\t\t<div class=\"region flex-column\">\n\t\t\t\t\t\t\t\t<label class=\"input-label\" for=\"region\">\n\t\t\t\t\t\t\t\t\t{$strings.region}&nbsp;<DefinedInWPConfig defined={newRegionDefined}/>\n\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t<select name=\"region\" id=\"region\" bind:value={newRegion} disabled={newRegionDisabled} class:disabled={newRegionDisabled}>\n\t\t\t\t\t\t\t\t\t{#each Object.entries( $storage_provider.regions ) as [regionKey, regionName], index}\n\t\t\t\t\t\t\t\t\t\t<option\n\t\t\t\t\t\t\t\t\t\t\tvalue={regionKey}\n\t\t\t\t\t\t\t\t\t\t\tselected={regionKey === newRegion}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t{regionName}\n\t\t\t\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{/if}\n\t\t\t\t\t</div>\n\t\t\t\t{/if}\n\n\t\t\t\t{#if enterOrSelectExisting === \"select\"}\n\t\t\t\t\t{#if $storage_provider.region_required}\n\t\t\t\t\t\t<label class=\"input-label\" for=\"list-region\">\n\t\t\t\t\t\t\t{$strings.region}&nbsp;<DefinedInWPConfig defined={newRegionDefined}/>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t\t<select name=\"region\" id=\"list-region\" bind:value={newRegion} disabled={newRegionDisabled} class:disabled={newRegionDisabled}>\n\t\t\t\t\t\t\t{#each Object.entries( $storage_provider.regions ) as [regionKey, regionName], index}\n\t\t\t\t\t\t\t\t<option\n\t\t\t\t\t\t\t\t\tvalue={regionKey}\n\t\t\t\t\t\t\t\t\tselected={regionKey === newRegion}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{regionName}\n\t\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t</select>\n\t\t\t\t\t{/if}\n\t\t\t\t\t{#await getBuckets( newRegion )}\n\t\t\t\t\t\t<Loading/>\n\t\t\t\t\t{:then buckets}\n\t\t\t\t\t\t<ul class=\"bucket-list\">\n\t\t\t\t\t\t\t{#if buckets.length}\n\t\t\t\t\t\t\t\t{#each buckets as bucket}\n\t\t\t\t\t\t\t\t\t<li\n\t\t\t\t\t\t\t\t\t\tclass=\"row\"\n\t\t\t\t\t\t\t\t\t\tclass:active={newBucket === bucket.Name}\n\t\t\t\t\t\t\t\t\t\ton:click={() => newBucket = bucket.Name}\n\t\t\t\t\t\t\t\t\t\tuse:scrollIntoView={newBucket === bucket.Name}\n\t\t\t\t\t\t\t\t\t\tdata-bucket-name={bucket.Name}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<img class=\"icon bucket\" src=\"{$urls.assets + 'img/icon/bucket.svg'}\" alt={$strings.bucket_icon}>\n\t\t\t\t\t\t\t\t\t\t<p>{bucket.Name}</p>\n\t\t\t\t\t\t\t\t\t\t{#if newBucket === bucket.Name}\n\t\t\t\t\t\t\t\t\t\t\t<img class=\"icon status\" src=\"{$urls.assets + 'img/icon/licence-checked.svg'}\" type=\"image/svg+xml\" alt={$strings.selected_desc}>\n\t\t\t\t\t\t\t\t\t\t{/if}\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t\t{:else}\n\t\t\t\t\t\t\t\t<li class=\"row nothing-found\">\n\t\t\t\t\t\t\t\t\t<p>{$strings.nothing_found}</p>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t{/if}\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t{/await}\n\t\t\t\t{/if}\n\t\t\t\t{#if invalidBucketNameMessage}\n\t\t\t\t\t<p class=\"input-error\" transition:slide|local>{invalidBucketNameMessage}</p>\n\t\t\t\t{/if}\n\t\t\t</PanelRow>\n\t\t</Panel>\n\t{/if}\n\n\t{#if bucketSource === \"new\"}\n\t\t<Panel heading={$strings.new_bucket_title} storageProvider={$storage_provider} multi {defined}>\n\t\t\t<PanelRow class=\"body flex-column\">\n\t\t\t\t<div class=\"flex-row align-center row\">\n\t\t\t\t\t<div class=\"new-bucket-details flex-column\">\n\t\t\t\t\t\t<label class=\"input-label\" for=\"new-bucket-name\">{$strings.bucket_name}</label>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\tid=\"new-bucket-name\"\n\t\t\t\t\t\t\tclass=\"bucket-name\"\n\t\t\t\t\t\t\tname=\"bucket\"\n\t\t\t\t\t\t\tminlength=\"3\"\n\t\t\t\t\t\t\tplaceholder={$strings.enter_bucket_name_placeholder}\n\t\t\t\t\t\t\tbind:value={newBucket}\n\t\t\t\t\t\t\tclass:disabled\n\t\t\t\t\t\t\t{disabled}\n\t\t\t\t\t\t>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"region flex-column\">\n\t\t\t\t\t\t<label class=\"input-label\" for=\"new-region\">\n\t\t\t\t\t\t\t{$strings.region}&nbsp;<DefinedInWPConfig defined={newRegionDefined}/>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t\t<select name=\"region\" id=\"new-region\" bind:value={newRegion} disabled={newRegionDisabled} class:disabled={newRegionDisabled}>\n\t\t\t\t\t\t\t{#each Object.entries( $storage_provider.regions ) as [regionKey, regionName], index}\n\t\t\t\t\t\t\t\t<option\n\t\t\t\t\t\t\t\t\tvalue={regionKey}\n\t\t\t\t\t\t\t\t\tselected={regionKey === newRegion}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{regionName}\n\t\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t{#if invalidBucketNameMessage}\n\t\t\t\t\t<p class=\"input-error\" transition:slide|local>{invalidBucketNameMessage}</p>\n\t\t\t\t{/if}\n\t\t\t</PanelRow>\n\t\t</Panel>\n\t{/if}\n\n\t<BackNextButtonsRow\n\t\ton:next={handleNext}\n\t\t{nextText}\n\t\tnextDisabled={invalidBucketNameMessage || $needs_refresh || $settingsLocked}\n\t\tnextTitle={invalidBucketNameMessage}\n\t/>\n</SubPage>\n","<script>\n\texport let name = \"\";\n\texport let checked = false;\n\texport let disabled = false;\n</script>\n\n<div class=\"checkbox\" class:locked={disabled} class:disabled>\n\t<label class=\"toggle-label\" for={name}>\n\t\t<input type=\"checkbox\" id={name} bind:checked={checked} {disabled}/>\n\t\t<slot/>\n\t</label>\n</div>","<script>\n\timport {createEventDispatcher, getContext, hasContext} from \"svelte\";\n\timport {writable} from \"svelte/store\";\n\timport {slide} from \"svelte/transition\";\n\timport {pop} from \"svelte-spa-router\";\n\timport {\n\t\tapi,\n\t\tsettings,\n\t\tstrings,\n\t\tcurrent_settings,\n\t\tstorage_provider,\n\t\tdelivery_provider,\n\t\tneeds_refresh,\n\t\tstate, defined_settings\n\t} from \"../js/stores\";\n\timport {\n\t\tscrollNotificationsIntoView\n\t} from \"../js/scrollNotificationsIntoView\";\n\timport {needsRefresh} from \"../js/needsRefresh\";\n\timport SubPage from \"./SubPage.svelte\";\n\timport Panel from \"./Panel.svelte\";\n\timport PanelRow from \"./PanelRow.svelte\";\n\timport BackNextButtonsRow from \"./BackNextButtonsRow.svelte\";\n\timport Checkbox from \"./Checkbox.svelte\";\n\n\tconst dispatch = createEventDispatcher();\n\n\t// Parent page may want to be locked.\n\tlet settingsLocked = writable( false );\n\n\tif ( hasContext( \"settingsLocked\" ) ) {\n\t\tsettingsLocked = getContext( \"settingsLocked\" );\n\t}\n\n\t// As this page does not directly alter the settings store until done,\n\t// we need to keep track of any changes made elsewhere and prompt\n\t// the user to refresh the page.\n\tlet saving = false;\n\tconst previousSettings = { ...$current_settings };\n\tconst previousDefines = { ...$defined_settings };\n\n\t$: {\n\t\t$needs_refresh = $needs_refresh || needsRefresh( saving, previousSettings, $current_settings, previousDefines, $defined_settings );\n\t}\n\n\tlet blockPublicAccess = $settings[ \"block-public-access\" ];\n\tlet bapaSetupConfirmed = false;\n\n\tlet objectOwnershipEnforced = $settings[ \"object-ownership-enforced\" ];\n\tlet ooeSetupConfirmed = false;\n\n\t// During initial setup we show a slightly different page\n\t// if ACLs disabled but unsupported by Delivery Provider.\n\tlet initialSetup = false;\n\n\tif ( hasContext( \"initialSetup\" ) ) {\n\t\tinitialSetup = getContext( \"initialSetup\" );\n\t}\n\n\t// If provider has changed, then still treat as initial setup.\n\tif (\n\t\t!initialSetup &&\n\t\thasContext( \"initialSettings\" ) &&\n\t\tgetContext( \"initialSettings\" ).provider !== $current_settings.provider\n\t) {\n\t\tinitialSetup = true;\n\t}\n\n\t/**\n\t * Calls API to update the properties of the current bucket.\n\t *\n\t * @return {Promise<boolean|*>}\n\t */\n\tasync function updateBucketProperties() {\n\t\tlet data = await api.put( \"buckets\", {\n\t\t\tbucket: $settings.bucket,\n\t\t\tblockPublicAccess: blockPublicAccess,\n\t\t\tobjectOwnershipEnforced: objectOwnershipEnforced\n\t\t} );\n\n\t\tif ( data.hasOwnProperty( \"saved\" ) ) {\n\t\t\treturn data.saved;\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t * Returns text to be displayed on Next button.\n\t *\n\t * @param {boolean} bapaCurrent\n\t * @param {boolean} bapaNew\n\t * @param {boolean} ooeCurrent\n\t * @param {boolean} ooeNew\n\t * @param {boolean} needsRefresh\n\t * @param {boolean} settingsLocked\n\t *\n\t * @return {string}\n\t */\n\tfunction getNextText( bapaCurrent, bapaNew, ooeCurrent, ooeNew, needsRefresh, settingsLocked ) {\n\t\tif ( needsRefresh || settingsLocked ) {\n\t\t\treturn $strings.settings_locked;\n\t\t}\n\n\t\tif ( bapaCurrent !== bapaNew || ooeCurrent !== ooeNew ) {\n\t\t\treturn $strings.update_bucket_security;\n\t\t}\n\n\t\treturn $strings.keep_bucket_security;\n\t}\n\n\t$: nextText = getNextText(\n\t\t$current_settings[ \"block-public-access\" ],\n\t\tblockPublicAccess,\n\t\t$current_settings[ \"object-ownership-enforced\" ],\n\t\tobjectOwnershipEnforced,\n\t\t$needs_refresh,\n\t\t$settingsLocked\n\t);\n\n\t/**\n\t * Determines whether the Next button should be disabled or not.\n\t *\n\t * If the delivery provider supports the security setting, then do not enable it until setup confirmed.\n\t *\n\t * All other scenarios result in safe results or warned against repercussions that are being explicitly ignored.\n\t *\n\t * @param {boolean} currentValue\n\t * @param {boolean} newValue\n\t * @param {boolean} supported\n\t * @param {boolean} setupConfirmed\n\t * @param {boolean} needsRefresh\n\t * @param {boolean} settingsLocked\n\t *\n\t * @returns {boolean}\n\t */\n\tfunction getNextDisabled( currentValue, newValue, supported, setupConfirmed, needsRefresh, settingsLocked ) {\n\t\treturn needsRefresh || settingsLocked || (!currentValue && newValue && supported && !setupConfirmed);\n\t}\n\n\t$: nextDisabled =\n\t\tgetNextDisabled(\n\t\t\t$current_settings[ \"block-public-access\" ],\n\t\t\tblockPublicAccess,\n\t\t\t$delivery_provider.block_public_access_supported,\n\t\t\tbapaSetupConfirmed,\n\t\t\t$needs_refresh,\n\t\t\t$settingsLocked\n\t\t) ||\n\t\tgetNextDisabled(\n\t\t\t$current_settings[ \"object-ownership-enforced\" ],\n\t\t\tobjectOwnershipEnforced,\n\t\t\t$delivery_provider.object_ownership_supported,\n\t\t\tooeSetupConfirmed,\n\t\t\t$needs_refresh,\n\t\t\t$settingsLocked\n\t\t);\n\n\t/**\n\t * Handles a Next button click.\n\t *\n\t * @return {Promise<void>}\n\t */\n\tasync function handleNext() {\n\t\tif (\n\t\t\tblockPublicAccess === $current_settings[ \"block-public-access\" ] &&\n\t\t\tobjectOwnershipEnforced === $current_settings[ \"object-ownership-enforced\" ]\n\t\t) {\n\t\t\tdispatch( \"routeEvent\", { event: \"next\", default: \"/\" } );\n\t\t\treturn;\n\t\t}\n\n\t\tsaving = true;\n\t\tstate.pausePeriodicFetch();\n\n\t\tconst result = await updateBucketProperties();\n\n\t\t// Regardless of whether update succeeded or not, make sure settings are up-to-date.\n\t\tawait settings.fetch();\n\n\t\tif ( false === result ) {\n\t\t\tsaving = false;\n\t\t\tstate.resumePeriodicFetch();\n\n\t\t\tscrollNotificationsIntoView();\n\t\t\treturn;\n\t\t}\n\n\t\tstate.resumePeriodicFetch();\n\n\t\t// Block All Public Access changed.\n\t\tdispatch( \"routeEvent\", {\n\t\t\tevent: \"bucket-security\",\n\t\t\tdata: {\n\t\t\t\tblockPublicAccess: $settings[ \"block-public-access\" ],\n\t\t\t\tobjectOwnershipEnforced: $settings[ \"object-ownership-enforced\" ]\n\t\t\t},\n\t\t\tdefault: \"/\"\n\t\t} );\n\t}\n</script>\n\n<SubPage name=\"bapa-settings\" route=\"/storage/security\">\n\t<Panel\n\t\tclass=\"toggle-header\"\n\t\theading={$strings.block_public_access_title}\n\t\ttoggleName=\"block-public-access\"\n\t\tbind:toggle={blockPublicAccess}\n\t\thelpKey=\"block-public-access\"\n\t\tmulti\n\t>\n\t\t<PanelRow class=\"body flex-column\">\n\t\t\t{#if initialSetup && $current_settings[ \"block-public-access\" ] && !$delivery_provider.block_public_access_supported}\n\t\t\t\t<p>{@html $strings.block_public_access_enabled_setup_sub}</p>\n\t\t\t\t<p>{@html $delivery_provider.block_public_access_enabled_unsupported_setup_desc} {@html $storage_provider.block_public_access_enabled_unsupported_setup_desc}</p>\n\t\t\t{:else if $current_settings[ \"block-public-access\" ] && $delivery_provider.block_public_access_supported}\n\t\t\t\t<p>{@html $strings.block_public_access_enabled_sub}</p>\n\t\t\t\t<p>{@html $delivery_provider.block_public_access_enabled_supported_desc} {@html $storage_provider.block_public_access_enabled_supported_desc}</p>\n\t\t\t{:else if $current_settings[ \"block-public-access\" ] && !$delivery_provider.block_public_access_supported}\n\t\t\t\t<p>{@html $strings.block_public_access_enabled_sub}</p>\n\t\t\t\t<p>{@html $delivery_provider.block_public_access_enabled_unsupported_desc} {@html $storage_provider.block_public_access_enabled_unsupported_desc}</p>\n\t\t\t{:else if !$current_settings[ \"block-public-access\" ] && $delivery_provider.block_public_access_supported}\n\t\t\t\t<p>{@html $strings.block_public_access_disabled_sub}</p>\n\t\t\t\t<p>{@html $delivery_provider.block_public_access_disabled_supported_desc} {@html $storage_provider.block_public_access_disabled_supported_desc}</p>\n\t\t\t{:else}\n\t\t\t\t<p>{@html $strings.block_public_access_disabled_sub}</p>\n\t\t\t\t<p>{@html $delivery_provider.block_public_access_disabled_unsupported_desc} {@html $storage_provider.block_public_access_disabled_unsupported_desc}</p>\n\t\t\t{/if}\n\t\t</PanelRow>\n\t\t{#if !$current_settings[ \"block-public-access\" ] && blockPublicAccess && $delivery_provider.block_public_access_supported}\n\t\t\t<div transition:slide|local>\n\t\t\t\t<PanelRow class=\"body flex-column toggle-reveal\" footer>\n\t\t\t\t\t<Checkbox name=\"confirm-setup\" bind:checked={bapaSetupConfirmed} disabled={$needs_refresh || $settingsLocked}>{@html $delivery_provider.block_public_access_confirm_setup_prompt}</Checkbox>\n\t\t\t\t</PanelRow>\n\t\t\t</div>\n\t\t{/if}\n\t</Panel>\n\n\t<Panel\n\t\tclass=\"toggle-header\"\n\t\theading={$strings.object_ownership_title}\n\t\ttoggleName=\"object-ownership-enforced\"\n\t\tbind:toggle={objectOwnershipEnforced}\n\t\thelpKey=\"object-ownership-enforced\"\n\t\tmulti\n\t>\n\t\t<PanelRow class=\"body flex-column\">\n\t\t\t{#if initialSetup && $current_settings[ \"object-ownership-enforced\" ] && !$delivery_provider.object_ownership_supported}\n\t\t\t\t<p>{@html $strings.object_ownership_enforced_setup_sub}</p>\n\t\t\t\t<p>{@html $delivery_provider.object_ownership_enforced_unsupported_setup_desc} {@html $storage_provider.object_ownership_enforced_unsupported_setup_desc}</p>\n\t\t\t{:else if $current_settings[ \"object-ownership-enforced\" ] && $delivery_provider.object_ownership_supported}\n\t\t\t\t<p>{@html $strings.object_ownership_enforced_sub}</p>\n\t\t\t\t<p>{@html $delivery_provider.object_ownership_enforced_supported_desc} {@html $storage_provider.object_ownership_enforced_supported_desc}</p>\n\t\t\t{:else if $current_settings[ \"object-ownership-enforced\" ] && !$delivery_provider.object_ownership_supported}\n\t\t\t\t<p>{@html $strings.object_ownership_enforced_sub}</p>\n\t\t\t\t<p>{@html $delivery_provider.object_ownership_enforced_unsupported_desc} {@html $storage_provider.object_ownership_enforced_unsupported_desc}</p>\n\t\t\t{:else if !$current_settings[ \"object-ownership-enforced\" ] && $delivery_provider.object_ownership_supported}\n\t\t\t\t<p>{@html $strings.object_ownership_not_enforced_sub}</p>\n\t\t\t\t<p>{@html $delivery_provider.object_ownership_not_enforced_supported_desc} {@html $storage_provider.object_ownership_not_enforced_supported_desc}</p>\n\t\t\t{:else}\n\t\t\t\t<p>{@html $strings.object_ownership_not_enforced_sub}</p>\n\t\t\t\t<p>{@html $delivery_provider.object_ownership_not_enforced_unsupported_desc} {@html $storage_provider.object_ownership_not_enforced_unsupported_desc}</p>\n\t\t\t{/if}\n\t\t</PanelRow>\n\t\t{#if !$current_settings[ \"object-ownership-enforced\" ] && objectOwnershipEnforced && $delivery_provider.object_ownership_supported}\n\t\t\t<div transition:slide|local>\n\t\t\t\t<PanelRow class=\"body flex-column toggle-reveal\">\n\t\t\t\t\t<Checkbox name=\"confirm-setup\" bind:checked={ooeSetupConfirmed} disabled={$needs_refresh || $settingsLocked}>{@html $delivery_provider.object_ownership_confirm_setup_prompt}</Checkbox>\n\t\t\t\t</PanelRow>\n\t\t\t</div>\n\t\t{/if}\n\t</Panel>\n\n\t<BackNextButtonsRow on:next={handleNext} {nextText} {nextDisabled}/>\n</SubPage>\n","<script>\n\timport {createEventDispatcher, setContext} from \"svelte\";\n\timport {replace} from \"svelte-spa-router\";\n\timport {\n\t\tstrings,\n\t\tsettings,\n\t\tstorage_provider,\n\t\tdelivery_providers,\n\t\tdelivery_provider,\n\t\tdefined_settings,\n\t\tsettingsLocked,\n\t\tcurrent_settings,\n\t\tneeds_refresh,\n\t\tstate\n\t} from \"../js/stores\";\n\timport {\n\t\tscrollNotificationsIntoView\n\t} from \"../js/scrollNotificationsIntoView\";\n\timport {needsRefresh} from \"../js/needsRefresh\";\n\timport Page from \"./Page.svelte\";\n\timport Notifications from \"./Notifications.svelte\";\n\timport Panel from \"./Panel.svelte\";\n\timport PanelRow from \"./PanelRow.svelte\";\n\timport TabButton from \"./TabButton.svelte\";\n\timport BackNextButtonsRow from \"./BackNextButtonsRow.svelte\";\n\timport HelpButton from \"./HelpButton.svelte\";\n\n\tconst dispatch = createEventDispatcher();\n\n\texport let name = \"delivery-provider\";\n\texport let params = {}; // Required for regex routes.\n\tconst _params = params; // Stops compiler warning about unused params export;\n\n\t// Let all child components know if settings are currently locked.\n\tsetContext( \"settingsLocked\", settingsLocked );\n\n\t// As this page does not directly alter the settings store until done,\n\t// we need to keep track of any changes made elsewhere and prompt\n\t// the user to refresh the page.\n\tlet saving = false;\n\tconst previousSettings = { ...$current_settings };\n\tconst previousDefines = { ...$defined_settings };\n\n\t$: {\n\t\t$needs_refresh = $needs_refresh || needsRefresh( saving, previousSettings, $current_settings, previousDefines, $defined_settings );\n\t}\n\n\t// Start with a copy of the current delivery provider.\n\tlet deliveryProvider = { ...$delivery_provider };\n\n\t$: defined = $defined_settings.includes( \"delivery-provider\" );\n\t$: disabled = defined || $settingsLocked;\n\n\tlet serviceName = $settings[ \"delivery-provider-service-name\" ];\n\n\t$: serviceNameDefined = $defined_settings.includes( \"delivery-provider-service-name\" );\n\t$: serviceNameDisabled = serviceNameDefined || $settingsLocked;\n\n\t/**\n\t * Returns an array of delivery providers that can be used with the currently configured storage provider.\n\t *\n\t * @return {array}\n\t */\n\tfunction supportedDeliveryProviders() {\n\t\treturn Object.values( $delivery_providers ).filter(\n\t\t\t( provider ) => provider.supported_storage_providers.length === 0 || provider.supported_storage_providers.includes( $storage_provider.provider_key_name )\n\t\t);\n\t}\n\n\t/**\n\t * Determines whether the Next button should be disabled or not and returns a suitable reason.\n\t *\n\t * @param {Object} provider\n\t * @param {string} providerName\n\t * @param {boolean} settingsLocked\n\t * @param {boolean} needsRefresh\n\t *\n\t * @return {string}\n\t */\n\tfunction getNextDisabledMessage( provider, providerName, settingsLocked, needsRefresh ) {\n\t\tlet message = \"\";\n\n\t\tif ( settingsLocked || needsRefresh ) {\n\t\t\tmessage = $strings.settings_locked;\n\t\t} else if ( provider.provider_service_name_override_allowed && providerName.trim().length < 1 ) {\n\t\t\tmessage = $strings.no_delivery_provider_name;\n\t\t} else if ( provider.provider_service_name_override_allowed && providerName.trim().length < 4 ) {\n\t\t\tmessage = $strings.delivery_provider_name_short;\n\t\t} else if ( deliveryProvider.provider_key_name === $delivery_provider.provider_key_name && providerName === $settings[ \"delivery-provider-service-name\" ] ) {\n\t\t\tmessage = $strings.nothing_to_save;\n\t\t}\n\n\t\treturn message;\n\t}\n\n\t$: nextDisabledMessage = getNextDisabledMessage( deliveryProvider, serviceName, $settingsLocked, $needs_refresh );\n\n\t/**\n\t * Handles choosing a different delivery provider.\n\t *\n\t * @param {Object} provider\n\t */\n\tfunction handleChooseProvider( provider ) {\n\t\tif ( disabled ) {\n\t\t\treturn;\n\t\t}\n\n\t\tdeliveryProvider = provider;\n\t}\n\n\t/**\n\t * Handles a Next button click.\n\t *\n\t * @return {Promise<void>}\n\t */\n\tasync function handleNext() {\n\t\tsaving = true;\n\t\tstate.pausePeriodicFetch();\n\n\t\t$settings[ \"delivery-provider\" ] = deliveryProvider.provider_key_name;\n\t\t$settings[ \"delivery-provider-service-name\" ] = serviceName;\n\t\tconst result = await settings.save();\n\n\t\t// If something went wrong, don't move onto next step.\n\t\tif ( result.hasOwnProperty( \"saved\" ) && !result.saved ) {\n\t\t\tsettings.reset();\n\t\t\tsaving = false;\n\t\t\tstate.resumePeriodicFetch();\n\n\t\t\tscrollNotificationsIntoView();\n\n\t\t\treturn;\n\t\t}\n\n\t\tstate.resumePeriodicFetch();\n\n\t\tdispatch( \"routeEvent\", {\n\t\t\tevent: \"settings.save\",\n\t\t\tdata: result,\n\t\t\tdefault: \"/media/delivery\"\n\t\t} );\n\t}\n</script>\n\n<Page {name} subpage on:routeEvent>\n\t<Notifications tab={name} tabParent=\"media\"/>\n\t<h2 class=\"page-title\">{$strings.delivery_title}</h2>\n\n\t<div class=\"delivery-provider-settings-page wrapper\">\n\t\t<Panel heading={$strings.select_delivery_provider_title} defined={defined} multi>\n\t\t\t<PanelRow class=\"body flex-column delivery-provider-buttons\">\n\t\t\t\t{#each supportedDeliveryProviders() as provider}\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<TabButton\n\t\t\t\t\t\t\tactive={provider.provider_key_name === deliveryProvider.provider_key_name}\n\t\t\t\t\t\t\t{disabled}\n\t\t\t\t\t\t\ticon={provider.icon}\n\t\t\t\t\t\t\ttext={provider.default_provider_service_name}\n\t\t\t\t\t\t\ton:click={() => handleChooseProvider( provider )}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<p class=\"speed\">{@html provider.edge_server_support_desc}</p>\n\t\t\t\t\t\t<p class=\"private-media\">{@html provider.signed_urls_support_desc}</p>\n\t\t\t\t\t\t<HelpButton url={provider.provider_service_quick_start_url} desc={$strings.view_quick_start_guide}/>\n\t\t\t\t\t</div>\n\t\t\t\t{/each}\n\t\t\t</PanelRow>\n\t\t</Panel>\n\n\t\t{#if deliveryProvider.provider_service_name_override_allowed}\n\t\t\t<Panel heading={$strings.enter_other_cdn_name_title} defined={serviceNameDefined} multi>\n\t\t\t\t<PanelRow class=\"body flex-column\">\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tclass=\"cdn-name\"\n\t\t\t\t\t\tid=\"cdn-name\"\n\t\t\t\t\t\tname=\"cdn-name\"\n\t\t\t\t\t\tminlength=\"4\"\n\t\t\t\t\t\tplaceholder={$strings.enter_other_cdn_name_placeholder}\n\t\t\t\t\t\tbind:value={serviceName}\n\t\t\t\t\t\tdisabled={serviceNameDisabled}\n\t\t\t\t\t>\n\t\t\t\t</PanelRow>\n\t\t\t</Panel>\n\t\t{/if}\n\n\t\t<BackNextButtonsRow\n\t\t\ton:next={handleNext}\n\t\t\tnextText={$strings.save_delivery_provider}\n\t\t\tnextDisabled={nextDisabledMessage}\n\t\t\tnextTitle={nextDisabledMessage}\n\t\t/>\n\t</div>\n</Page>\n","import {get} from \"svelte/store\";\nimport {location} from \"svelte-spa-router\";\nimport {\n\tstrings,\n\tstorage_provider,\n\tis_plugin_setup_with_credentials,\n\tis_plugin_setup,\n\tneeds_access_keys\n} from \"./stores\";\n\n// Components used for default pages.\nimport MediaPage from \"../components/MediaPage.svelte\";\nimport StoragePage from \"../components/StoragePage.svelte\";\nimport StorageProviderSubPage\n\tfrom \"../components/StorageProviderSubPage.svelte\";\nimport BucketSettingsSubPage from \"../components/BucketSettingsSubPage.svelte\";\nimport SecuritySubPage from \"../components/SecuritySubPage.svelte\";\nimport DeliveryPage from \"../components/DeliveryPage.svelte\";\n\n// Default pages, having a title means inclusion in main tabs.\n// NOTE: get() only resolves after initialization, hence arrow functions for getting titles.\nexport const defaultPages = [\n\t{\n\t\tposition: 0,\n\t\tname: \"media-library\",\n\t\ttitle: () => get( strings ).media_tab_title,\n\t\tnav: true,\n\t\troute: \"/\",\n\t\trouteMatcher: /^\\/(media\\/.*)*$/,\n\t\tcomponent: MediaPage,\n\t\tdefault: true\n\t},\n\t{\n\t\tposition: 200,\n\t\tname: \"storage\",\n\t\troute: \"/storage/*\",\n\t\tcomponent: StoragePage\n\t},\n\t{\n\t\tposition: 210,\n\t\tname: \"storage-provider\",\n\t\ttitle: () => get( strings ).storage_provider_tab_title,\n\t\tsubNav: true,\n\t\troute: \"/storage/provider\",\n\t\tcomponent: StorageProviderSubPage,\n\t\tdefault: true,\n\t\tevents: {\n\t\t\t\"page.initial.settings\": ( data ) => {\n\t\t\t\t// We need Storage Provider credentials for some pages to be useful.\n\t\t\t\tif ( data.hasOwnProperty( \"location\" ) && get( needs_access_keys ) && !get( is_plugin_setup ) ) {\n\t\t\t\t\tfor ( const prefix of [\"/storage\", \"/media\", \"/delivery\"] ) {\n\t\t\t\t\t\tif ( data.location.startsWith( prefix ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn data.location === \"/\";\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tposition: 220,\n\t\tname: \"bucket\",\n\t\ttitle: () => get( strings ).bucket_tab_title,\n\t\tsubNav: true,\n\t\troute: \"/storage/bucket\",\n\t\tcomponent: BucketSettingsSubPage,\n\t\tenabled: () => {\n\t\t\treturn !get( needs_access_keys );\n\t\t},\n\t\tevents: {\n\t\t\t\"page.initial.settings\": ( data ) => {\n\t\t\t\t// We need a bucket and region to have been verified before some pages are useful.\n\t\t\t\tif ( data.hasOwnProperty( \"location\" ) && !get( needs_access_keys ) && !get( is_plugin_setup ) ) {\n\t\t\t\t\tfor ( const prefix of [\"/storage\", \"/media\", \"/delivery\"] ) {\n\t\t\t\t\t\tif ( data.location.startsWith( prefix ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn data.location === \"/\";\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\t\"settings.save\": ( data ) => {\n\t\t\t\t// If currently in /storage/provider route, bucket is always next, assuming storage provider set up correctly.\n\t\t\t\treturn get( location ) === \"/storage/provider\" && !get( needs_access_keys );\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tposition: 230,\n\t\tname: \"security\",\n\t\ttitle: () => get( strings ).security_tab_title,\n\t\tsubNav: true,\n\t\troute: \"/storage/security\",\n\t\tcomponent: SecuritySubPage,\n\t\tenabled: () => {\n\t\t\treturn get( is_plugin_setup_with_credentials ) && !get( storage_provider ).requires_acls;\n\t\t},\n\t\tevents: {\n\t\t\t\"settings.save\": ( data ) => {\n\t\t\t\t// If currently in /storage/bucket route,\n\t\t\t\t// and storage provider does not require ACLs,\n\t\t\t\t// and bucket wasn't just created during initial set up,\n\t\t\t\t// then security is next.\n\t\t\t\tif (\n\t\t\t\t\tget( location ) === \"/storage/bucket\" &&\n\t\t\t\t\tget( is_plugin_setup_with_credentials ) &&\n\t\t\t\t\t!get( storage_provider ).requires_acls &&\n\t\t\t\t\t(\n\t\t\t\t\t\t!data.hasOwnProperty( \"bucketSource\" ) ||\n\t\t\t\t\t\tdata.bucketSource !== \"new\" ||\n\t\t\t\t\t\t!data.hasOwnProperty( \"initialSettings\" ) ||\n\t\t\t\t\t\t!data.initialSettings.hasOwnProperty( \"bucket\" ) ||\n\t\t\t\t\t\tdata.initialSettings.bucket.length > 0\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tposition: 300,\n\t\tname: \"delivery\",\n\t\troute: \"/delivery/*\",\n\t\tcomponent: DeliveryPage\n\t},\n];\n","<script>\n\timport Panel from \"../components/Panel.svelte\";\n\n\texport let benefits;\n</script>\n\n<Panel name=\"upsell\" class=\"upsell-panel\">\n\t<div class=\"branding\"></div>\n\t<div class=\"content\">\n\t\t<div class=\"heading\">\n\t\t\t<slot name=\"heading\"></slot>\n\t\t</div>\n\n\t\t<div class=\"description\">\n\t\t\t<slot name=\"description\"></slot>\n\t\t</div>\n\n\t\t<div class=\"benefits\">\n\t\t\t{#each benefits as benefit}\n\t\t\t\t<li>\n\t\t\t\t\t<img src=\"{benefit.icon}\" alt=\"{benefit.alt}\">\n\t\t\t\t\t<span>{benefit.text}</span>\n\t\t\t\t</li>\n\t\t\t{/each}\n\t\t</div>\n\n\t\t<div class=\"call-to-action\">\n\t\t\t<slot name=\"call-to-action\"></slot>\n\t\t\t<div class=\"note\">\n\t\t\t\t<slot name=\"call-to-action-note\"></slot>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</Panel>\n\n<style>\n\t.content {\n\t\tpadding: 1.875rem 2.25rem 1.5rem 2.25rem;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t}\n\n\t.heading {\n\t\tmargin-top: 1rem;\n\t\tfont-weight: 700;\n\t\tfont-size: 1.125rem;\n\t\tline-height: 140%;\n\t}\n\n\t.description {\n\t\tmargin-top: 1rem;\n\t\tcolor: rgba(56, 54, 55, 0.7);\n\t}\n\n\t.benefits {\n\t\tmargin-top: 1.7rem;\n\t\tcolor: rgba(56, 54, 55, 0.7);\n\t}\n\n\t.benefits li {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.benefits img {\n\t\theight: 40px;\n\t\tmargin-left: -5px;\n\t\tmargin-right: 10px;\n\t}\n\n\t.call-to-action {\n\t\tmargin-top: 0.7rem;\n\t}\n\n\t.call-to-action .note {\n\t\ttext-align: center;\n\t}\n</style>\n","<script>\n\timport {strings, urls} from \"../js/stores\";\n\timport Upsell from \"./Upsell.svelte\";\n\n\tlet benefits = [\n\t\t{\n\t\t\ticon: $urls.assets + 'img/icon/fonts.svg',\n\t\t\talt: 'js icon',\n\t\t\ttext: $strings.assets_uppsell_benefits.js,\n\t\t},\n\t\t{\n\t\t\ticon: $urls.assets + 'img/icon/css.svg',\n\t\t\talt: 'css icon',\n\t\t\ttext: $strings.assets_uppsell_benefits.css,\n\t\t},\n\t\t{\n\t\t\ticon: $urls.assets + 'img/icon/fonts.svg',\n\t\t\talt: 'fonts icon',\n\t\t\ttext: $strings.assets_uppsell_benefits.fonts,\n\t\t},\n\t];\n</script>\n\n<Upsell benefits={benefits}>\n\t<div slot=\"heading\">{$strings.assets_upsell_heading}</div>\n\n\t<div slot=\"description\">{@html $strings.assets_upsell_description}</div>\n\n\t<a slot=\"call-to-action\" href={$urls.upsell_discount_assets} class=\"button btn-lg btn-primary\">\n\t\t<img src={$urls.assets + \"img/icon/stars.svg\"} alt=\"stars icon\" style=\"margin-right: 5px;\">\n\t\t{$strings.assets_upsell_cta}\n\t</a>\n</Upsell>\n","<script>\n\timport {strings} from \"../js/stores\";\n\timport Page from \"./Page.svelte\";\n\timport AssetsUpgrade from \"./AssetsUpgrade.svelte\";\n\n\texport let name = \"assets\";\n</script>\n\n<Page {name} on:routeEvent>\n\t<h2 class=\"page-title\">{$strings.assets_title}</h2>\n\t<AssetsUpgrade/>\n</Page>\n","<script>\n\timport {strings, urls} from \"../js/stores\";\n\timport Upsell from \"./Upsell.svelte\";\n\n\tlet benefits = [\n\t\t{\n\t\t\ticon: $urls.assets + 'img/icon/offload-remaining.svg',\n\t\t\talt: 'offload icon',\n\t\t\ttext: $strings.tools_uppsell_benefits.offload,\n\t\t},\n\t\t{\n\t\t\ticon: $urls.assets + 'img/icon/download.svg',\n\t\t\talt: 'download icon',\n\t\t\ttext: $strings.tools_uppsell_benefits.download,\n\t\t},\n\t\t{\n\t\t\ticon: $urls.assets + 'img/icon/remove-from-bucket.svg',\n\t\t\talt: 'remove from bucket icon',\n\t\t\ttext: $strings.tools_uppsell_benefits.remove_bucket,\n\t\t},\n\t\t{\n\t\t\ticon: $urls.assets + 'img/icon/remove-from-server.svg',\n\t\t\talt: 'remove from server icon',\n\t\t\ttext: $strings.tools_uppsell_benefits.remove_server,\n\t\t},\n\t];\n</script>\n\n<Upsell benefits={benefits}>\n\t<div slot=\"heading\">{$strings.tools_upsell_heading}</div>\n\n\t<div slot=\"description\">{@html $strings.tools_upsell_description}</div>\n\n\t<a slot=\"call-to-action\" href={$urls.upsell_discount_tools} class=\"button btn-lg btn-primary\">\n\t\t<img src={$urls.assets + \"img/icon/stars.svg\"} alt=\"stars icon\" style=\"margin-right: 5px;\">\n\t\t{$strings.tools_upsell_cta}\n\t</a>\n</Upsell>\n","<script>\n\timport {strings} from \"../js/stores\";\n\timport Page from \"./Page.svelte\";\n\timport Notifications from \"./Notifications.svelte\";\n\timport ToolsUpgrade from \"./ToolsUpgrade.svelte\";\n\n\texport let name = \"tools\";\n</script>\n\n<Page {name} on:routeEvent>\n\t<Notifications tab={name}/>\n\t<h2 class=\"page-title\">{$strings.tools_title}</h2>\n\t<ToolsUpgrade/>\n</Page>\n","<script>\n\timport {onMount} from \"svelte\";\n\timport {api, config, diagnostics, strings, urls} from \"../js/stores\";\n\timport Page from \"./Page.svelte\";\n\timport Notifications from \"./Notifications.svelte\";\n\n\texport let name = \"support\";\n\texport let title = $strings.support_tab_title;\n\n\tonMount( async () => {\n\t\tconst json = await api.get( \"diagnostics\", {} );\n\n\t\tif ( json.hasOwnProperty( \"diagnostics\" ) ) {\n\t\t\t$config.diagnostics = json.diagnostics;\n\t\t}\n\t} );\n</script>\n\n<Page {name} on:routeEvent>\n\t<Notifications tab={name}/>\n\t{#if title}\n\t\t<h2 class=\"page-title\">{title}</h2>\n\t{/if}\n\t<div class=\"support-page wrapper\">\n\n\t\t<slot name=\"header\"/>\n\n\t\t<div class=\"columns\">\n\t\t\t<div class=\"support-form\">\n\t\t\t\t<slot name=\"content\">\n\t\t\t\t\t<div class=\"lite-support\">\n\t\t\t\t\t\t<p>{@html $strings.no_support}</p>\n\t\t\t\t\t\t<p>{@html $strings.community_support}</p>\n\t\t\t\t\t\t<p>{@html $strings.upgrade_for_support}</p>\n\t\t\t\t\t\t<p>{@html $strings.report_a_bug}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</slot>\n\n\t\t\t\t<div class=\"diagnostic-info\">\n\t\t\t\t\t<hr>\n\t\t\t\t\t<h2 class=\"page-title\">{$strings.diagnostic_info_title}</h2>\n\t\t\t\t\t<pre>{$diagnostics}</pre>\n\t\t\t\t\t<a href={$urls.download_diagnostics} class=\"button btn-md btn-outline\">{$strings.download_diagnostics}</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<slot name=\"footer\"/>\n\t\t</div>\n\t</div>\n</Page>","import {get} from \"svelte/store\";\nimport {strings} from \"../js/stores\";\nimport {pages} from \"../js/routes\";\nimport AssetsPage from \"../components/AssetsPage.svelte\";\nimport ToolsPage from \"../components/ToolsPage.svelte\";\nimport SupportPage from \"../components/SupportPage.svelte\";\n\n/**\n * Adds Lite specific pages.\n */\nexport function addPages() {\n\tpages.add(\n\t\t{\n\t\t\tposition: 10,\n\t\t\tname: \"assets\",\n\t\t\ttitle: () => get( strings ).assets_tab_title,\n\t\t\tnav: true,\n\t\t\troute: \"/assets\",\n\t\t\tcomponent: AssetsPage\n\t\t}\n\t);\n\tpages.add(\n\t\t{\n\t\t\tposition: 20,\n\t\t\tname: \"tools\",\n\t\t\ttitle: () => get( strings ).tools_tab_title,\n\t\t\tnav: true,\n\t\t\troute: \"/tools\",\n\t\t\tcomponent: ToolsPage\n\t\t}\n\t);\n\tpages.add(\n\t\t{\n\t\t\tposition: 100,\n\t\t\tname: \"support\",\n\t\t\ttitle: () => get( strings ).support_tab_title,\n\t\t\tnav: true,\n\t\t\troute: \"/support\",\n\t\t\tcomponent: SupportPage\n\t\t}\n\t);\n}","export const settingsNotifications = {\n\t/**\n\t * Process local and server settings to return a new Map of inline notifications.\n\t *\n\t * @param {Map} notifications\n\t * @param {Object} settings\n\t * @param {Object} current_settings\n\t * @param {Object} strings\n\t *\n\t * @return {Map<string, Map<string, Object>>} keyed by setting name, containing map of notification objects keyed by id.\n\t */\n\tprocess: ( notifications, settings, current_settings, strings ) => {\n\t\t// remove-local-file\n\t\tif ( settings.hasOwnProperty( \"remove-local-file\" ) && settings[ \"remove-local-file\" ] ) {\n\t\t\tlet entries = notifications.has( \"remove-local-file\" ) ? notifications.get( \"remove-local-file\" ) : new Map();\n\n\t\t\tif ( settings.hasOwnProperty( \"serve-from-s3\" ) && !settings[ \"serve-from-s3\" ] ) {\n\t\t\t\tif ( !entries.has( \"lost-files-notice\" ) ) {\n\t\t\t\t\tentries.set( \"lost-files-notice\", {\n\t\t\t\t\t\tinline: true,\n\t\t\t\t\t\ttype: \"error\",\n\t\t\t\t\t\theading: strings.lost_files_notice_heading,\n\t\t\t\t\t\tmessage: strings.lost_files_notice_message\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tentries.delete( \"lost-files-notice\" );\n\t\t\t}\n\n\t\t\t// Show inline warning about potential compatibility issues\n\t\t\t// when turning on setting for the first time.\n\t\t\tif (\n\t\t\t\t!entries.has( \"remove-local-file-notice\" ) &&\n\t\t\t\tcurrent_settings.hasOwnProperty( \"remove-local-file\" ) &&\n\t\t\t\t!current_settings[ \"remove-local-file\" ]\n\t\t\t) {\n\t\t\t\tentries.set( \"remove-local-file-notice\", {\n\t\t\t\t\tinline: true,\n\t\t\t\t\ttype: \"warning\",\n\t\t\t\t\tmessage: strings.remove_local_file_message\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\tnotifications.set( \"remove-local-file\", entries );\n\t\t} else {\n\t\t\tnotifications.delete( \"remove-local-file\" );\n\t\t}\n\n\t\treturn notifications;\n\t}\n};\n","<script>\n\timport {config, urls} from \"../js/stores\";\n\n\t$: header_img_url = $urls.assets + \"img/brand/ome-medallion.svg\";\n</script>\n\n<div class=\"header\">\n\t<div class=\"header-wrapper\">\n\t\t<img class=\"medallion\" src={header_img_url} alt=\"{$config.title} logo\">\n\t\t<h1>{$config.title}</h1>\n\t\t<div class=\"licence\">\n\t\t\t<slot/>\n\t\t</div>\n\t</div>\n</div>","<script>\n\timport {onMount} from \"svelte\";\n\timport {config, notifications, settings, state} from \"../js/stores\";\n\timport Header from \"./Header.svelte\";\n\n\t// These components can be overridden.\n\texport let header = Header;\n\texport let footer = null;\n\n\t// We need a disassociated copy of the initial settings to work with.\n\tsettings.set( { ...$config.settings } );\n\n\t// We might have some initial notifications to display too.\n\tif ( $config.notifications.length ) {\n\t\tfor ( const notification of $config.notifications ) {\n\t\t\tnotifications.add( notification );\n\t\t}\n\t}\n\n\tonMount( () => {\n\t\t// Periodically check the state.\n\t\tstate.startPeriodicFetch();\n\n\t\t// Be a good citizen and clean up the timer when exiting our settings.\n\t\treturn () => state.stopPeriodicFetch();\n\t} );\n</script>\n\n{#if header}\n\t<svelte:component this={header}/>\n{/if}\n<slot>\n\t<!-- CONTENT GOES HERE -->\n</slot>\n{#if footer}\n\t<svelte:component this={footer}/>\n{/if}","<script>\n\timport {strings, urls} from \"../js/stores\";\n\timport Header from \"../components/Header.svelte\";\n</script>\n\n<Header>\n\t<a href={$urls.header_discount} class=\"button btn-lg btn-primary\">{$strings.get_licence_discount_text}</a>\n</Header>","<script>\n\timport {link} from \"svelte-spa-router\";\n\timport active from \"svelte-spa-router/active\";\n\n\texport let tab;\n\n\tlet focus = false;\n\tlet hover = false;\n</script>\n\n<li class=\"nav-item\" use:active={tab.routeMatcher ? tab.routeMatcher : tab.route} class:focus class:hover>\n\t<a\n\t\thref={tab.route}\n\t\ttitle={tab.title()}\n\t\tuse:link\n\t\ton:focusin={() => focus = true}\n\t\ton:focusout={() => focus = false}\n\t\ton:mouseenter={() => hover = true}\n\t\ton:mouseleave={() => hover = false}\n\t>\n\t\t{tab.title()}\n\t</a>\n</li>\n","<script>\n\timport {pages} from \"../js/routes\";\n\timport NavItem from \"./NavItem.svelte\";\n</script>\n\n<div class=\"nav\">\n\t<div class=\"items\">\n\t\t<ul class=\"nav\">\n\t\t\t{#each $pages as tab (tab.position)}\n\t\t\t\t{#if tab.nav && tab.title}\n\t\t\t\t\t<NavItem {tab}/>\n\t\t\t\t{/if}\n\t\t\t{/each}\n\t\t</ul>\n\t\t<slot/>\n\t</div>\n</div>\n","<script>\n\timport Router from \"svelte-spa-router\";\n\timport {push} from \"svelte-spa-router\";\n\timport {pages, routes} from \"../js/routes\";\n\timport Nav from \"./Nav.svelte\";\n\n\t// These components can be overridden.\n\texport let nav = Nav;\n\n\tconst classes = $$props.class ? $$props.class : \"\";\n\n\t/**\n\t * Handles events published by the router.\n\t *\n\t * This handler gives pages a chance to put their hand up and\n\t * provide a new route to be navigated to in response\n\t * to some event.\n\t * e.g. settings saved resulting in a question being asked.\n\t *\n\t * @param {Object} event\n\t */\n\tfunction handleRouteEvent( event ) {\n\t\tconst route = pages.handleRouteEvent( event.detail );\n\n\t\tif ( route ) {\n\t\t\tpush( route );\n\t\t}\n\t}\n</script>\n\n<svelte:component this={nav}/>\n\n<div class=\"wpome-wrapper {classes}\">\n\t<Router routes={$routes} on:routeEvent={handleRouteEvent}/>\n\t<slot>\n\t\t<!-- EXTRA CONTENT GOES HERE -->\n\t</slot>\n</div>\n","<script>\n\timport {urls} from \"../js/stores\";\n</script>\n\n<div class=\"as3cf-sidebar lite\">\n\t<a class=\"as3cf-banner\" href={$urls.sidebar_plugin}>\n\t</a>\n\t<div class=\"as3cf-upgrade-details\">\n\t\t<h1>Upgrade</h1>\n\t\t<h2>Gain access to more features when you upgrade to WP Offload Media</h2>\n\t\t<ul>\n\t\t\t<li>Email support</li>\n\t\t\t<li>Offload existing media items</li>\n\t\t\t<li>Manage offloaded files in WordPress</li>\n\t\t\t<li>Serve assets like JS, CSS, and fonts from CloudFront or another CDN</li>\n\t\t\t<li>Deliver private media via CloudFront</li>\n\t\t\t<li>Offload media from popular plugins like WooCommerce, Easy Digital Downloads, BuddyBoss, and more</li>\n\t\t</ul>\n\t</div>\n\t<div class=\"subscribe\">\n\t\t<h2>Get up to 40% off your first year of WP Offload Media!</h2>\n\t\t<a href={$urls.sidebar_discount} class=\"button btn-lg btn-primary\">Get the discount</a>\n\t\t<p class=\"discount-applied\">* Discount applied automatically.</p>\n\t</div>\n\t<div class=\"credits\">\n\t\t<h4>Created and maintained by</h4>\n\t\t<ul>\n\t\t\t<li>\n\t\t\t\t<a href={$urls.sidebar_dbi}>\n\t\t\t\t\t<img src={$urls.assets + \"img/sidebar/logo-dbi.svg\"} alt=\"Delicious Brains Inc. Logo\">\n\t\t\t\t\t<span>Delicious Brains</span>\n\t\t\t\t</a>\n\t\t\t</li>\n\t\t</ul>\n\t</div>\n</div>","<script>\n\timport {onMount, setContext} from \"svelte\";\n\timport {\n\t\tconfig,\n\t\tcurrent_settings,\n\t\tneeds_access_keys,\n\t\tneeds_refresh,\n\t\tnotifications,\n\t\tpostStateUpdateCallbacks,\n\t\tsettings,\n\t\tsettings_changed,\n\t\tsettings_notifications,\n\t\tsettingsLocked,\n\t\tstrings\n\t} from \"../js/stores\";\n\timport {pages} from \"../js/routes\";\n\timport {defaultPages} from \"../js/defaultPages\";\n\timport {addPages} from \"./pages\";\n\timport {settingsNotifications} from \"../js/settingsNotifications\";\n\timport Settings from \"../components/Settings.svelte\";\n\timport Header from \"./Header.svelte\";\n\timport Pages from \"../components/Pages.svelte\";\n\timport Sidebar from \"./Sidebar.svelte\";\n\n\texport let init = {};\n\n\t// During initialization set config store to passed in values to avoid undefined values in components during mount.\n\t// This saves having to do a lot of checking of values before use.\n\tconfig.set( init );\n\tpages.set( defaultPages );\n\n\t// Add Lite specific pages.\n\taddPages();\n\n\tsetContext( 'sidebar', Sidebar );\n\n\t/**\n\t * Handles state update event's changes to config.\n\t *\n\t * @param {Object} config\n\t *\n\t * @return {Promise<void>}\n\t */\n\tasync function handleStateUpdate( config ) {\n\t\tif ( config.upgrades.is_upgrading ) {\n\t\t\t$settingsLocked = true;\n\n\t\t\tconst notification = {\n\t\t\t\tid: \"as3cf-media-settings-locked\",\n\t\t\t\ttype: \"warning\",\n\t\t\t\tdismissible: false,\n\t\t\t\tonly_show_on_tab: \"media\",\n\t\t\t\theading: config.upgrades.locked_notifications[ config.upgrades.running_upgrade ],\n\t\t\t\ticon: \"notification-locked.svg\",\n\t\t\t\tplainHeading: true\n\t\t\t};\n\t\t\tnotifications.add( notification );\n\n\t\t\tif ( $settings_changed ) {\n\t\t\t\tsettings.reset();\n\t\t\t}\n\t\t} else if ( $needs_refresh ) {\n\t\t\t$settingsLocked = true;\n\n\t\t\tconst notification = {\n\t\t\t\tid: \"as3cf-media-settings-locked\",\n\t\t\t\ttype: \"warning\",\n\t\t\t\tdismissible: false,\n\t\t\t\tonly_show_on_tab: \"media\",\n\t\t\t\theading: $strings.needs_refresh,\n\t\t\t\ticon: \"notification-locked.svg\",\n\t\t\t\tplainHeading: true\n\t\t\t};\n\t\t\tnotifications.add( notification );\n\t\t} else {\n\t\t\t$settingsLocked = false;\n\n\t\t\tnotifications.delete( \"as3cf-media-settings-locked\" );\n\t\t}\n\n\t\t// Show a persistent error notice if bucket can't be accessed.\n\t\tif ( $needs_access_keys ) {\n\t\t\tconst notification = {\n\t\t\t\tid: \"as3cf-needs-access-keys\",\n\t\t\t\ttype: \"error\",\n\t\t\t\tdismissible: false,\n\t\t\t\tonly_show_on_tab: \"media\",\n\t\t\t\theading: $strings.needs_access_keys,\n\t\t\t\tplainHeading: true\n\t\t\t};\n\t\t\tnotifications.add( notification );\n\t\t} else {\n\t\t\tnotifications.delete( \"as3cf-needs-access-keys\" );\n\t\t}\n\t}\n\n\t// Catch changes to needing access credentials as soon as possible.\n\t$: if ( $needs_access_keys ) {\n\t\thandleStateUpdate( $config );\n\t}\n\n\tonMount( () => {\n\t\t// Make sure state dependent data is up-to-date.\n\t\thandleStateUpdate( $config );\n\n\t\t// When state info is fetched we need some extra processing of the data.\n\t\tpostStateUpdateCallbacks.update( _callables => {\n\t\t\treturn [..._callables, handleStateUpdate];\n\t\t} );\n\t} );\n\n\t// Make sure all inline notifications are in place.\n\t$: settings_notifications.update( ( notices ) => settingsNotifications.process( notices, $settings, $current_settings, $strings ) );\n</script>\n\n<Settings header={Header}>\n\t<Pages class=\"lite-wrapper\"/>\n</Settings>\n"],"names":["active","get","wrap","_wrap","location","create_if_block_6","create_if_block_3","create_if_block_4","create_if_block_5","create_if_block_7","create_if_block_8","create_if_block_2","create_if_block_1","create_if_block","create_if_block_9","Header"],"mappings":";;;;;;IAAA,SAAS,IAAI,GAAG,GAAG;IACnB,MAAM,QAAQ,GAAG,CAAC,IAAI,CAAC,CAAC;IACxB,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE;IAC1B;IACA,IAAI,KAAK,MAAM,CAAC,IAAI,GAAG;IACvB,QAAQ,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC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;;;;;;;;;;;;;;;;;IAV1C,OAAQ,kBAAkB,EAAA;IACzB,IAAA,iBAAiB,CAAE,OAAO,CAAA,CAAA;;;;;;IAc3B,GAAG,sBAAsB,CAAC,MAAM,CAAI,OAAO,IAAM,qBAAqB,CAAC,OAAO,CAAE,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,QAAQ,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"settings.js","sources":["../../../../node_modules/svelte/internal/index.mjs","../../../../node_modules/svelte/store/index.mjs","../js/objectsDiffer.js","../js/stores.js","../../../../node_modules/svelte-spa-router/wrap.js","../js/routes.js","../../../../node_modules/regexparam/dist/index.mjs","../../../../node_modules/svelte-spa-router/Router.svelte","../components/Page.svelte","../../../../node_modules/svelte/easing/index.mjs","../../../../node_modules/svelte/transition/index.mjs","../components/Notification.svelte","../components/Notifications.svelte","../components/BlockPublicAccessWarning.svelte","../components/ObjectOwnershipEnforcedWarning.svelte","../components/SubNavItem.svelte","../components/SubNav.svelte","../components/SubPages.svelte","../../../../node_modules/svelte-spa-router/active.js","../components/SubPage.svelte","../components/PanelContainer.svelte","../components/PanelRow.svelte","../components/DefinedInWPConfig.svelte","../components/ToggleSwitch.svelte","../components/HelpButton.svelte","../components/Panel.svelte","../components/Button.svelte","../components/StorageSettingsHeadingRow.svelte","../components/SettingNotifications.svelte","../components/SettingsPanelOption.svelte","../components/StorageSettingsPanel.svelte","../components/DeliverySettingsHeadingRow.svelte","../components/DeliverySettingsPanel.svelte","../components/MediaSettings.svelte","../components/UrlPreview.svelte","../js/scrollNotificationsIntoView.js","../components/Footer.svelte","../components/MediaPage.svelte","../components/StoragePage.svelte","../js/needsRefresh.js","../components/TabButton.svelte","../components/RadioButton.svelte","../components/AccessKeysDefine.svelte","../components/BackNextButtonsRow.svelte","../components/KeyFileDefine.svelte","../components/UseServerRolesDefine.svelte","../components/AccessKeysEntry.svelte","../components/KeyFileEntry.svelte","../components/StorageProviderSubPage.svelte","../js/scrollIntoView.js","../components/Loading.svelte","../components/BucketSettingsSubPage.svelte","../components/Checkbox.svelte","../components/SecuritySubPage.svelte","../components/DeliveryPage.svelte","../js/defaultPages.js","../components/Upsell.svelte","../components/AssetsUpgrade.svelte","../components/AssetsPage.svelte","../components/ToolsUpgrade.svelte","../components/ToolsPage.svelte","../components/SupportPage.svelte","../lite/pages.js","../js/settingsNotifications.js","../components/Header.svelte","../components/Settings.svelte","../lite/Header.svelte","../components/NavItem.svelte","../components/Nav.svelte","../components/Pages.svelte","../lite/Sidebar.svelte","../lite/Settings.svelte"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nlet src_url_equal_anchor;\nfunction src_url_equal(element_src, url) {\n if (!src_url_equal_anchor) {\n src_url_equal_anchor = document.createElement('a');\n }\n src_url_equal_anchor.href = url;\n return element_src === src_url_equal_anchor.href;\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn) {\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn);\n}\nfunction get_all_dirty_from_scope($$scope) {\n if ($$scope.ctx.length > 32) {\n const dirty = [];\n const length = $$scope.ctx.length / 32;\n for (let i = 0; i < length; i++) {\n dirty[i] = -1;\n }\n return dirty;\n }\n return -1;\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\n// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM\n// at the end of hydration without touching the remaining nodes.\nlet is_hydrating = false;\nfunction start_hydrating() {\n is_hydrating = true;\n}\nfunction end_hydrating() {\n is_hydrating = false;\n}\nfunction upper_bound(low, high, key, value) {\n // Return first index of value larger than input value in the range [low, high)\n while (low < high) {\n const mid = low + ((high - low) >> 1);\n if (key(mid) <= value) {\n low = mid + 1;\n }\n else {\n high = mid;\n }\n }\n return low;\n}\nfunction init_hydrate(target) {\n if (target.hydrate_init)\n return;\n target.hydrate_init = true;\n // We know that all children have claim_order values since the unclaimed have been detached if target is not <head>\n let children = target.childNodes;\n // If target is <head>, there may be children without claim_order\n if (target.nodeName === 'HEAD') {\n const myChildren = [];\n for (let i = 0; i < children.length; i++) {\n const node = children[i];\n if (node.claim_order !== undefined) {\n myChildren.push(node);\n }\n }\n children = myChildren;\n }\n /*\n * Reorder claimed children optimally.\n * We can reorder claimed children optimally by finding the longest subsequence of\n * nodes that are already claimed in order and only moving the rest. The longest\n * subsequence subsequence of nodes that are claimed in order can be found by\n * computing the longest increasing subsequence of .claim_order values.\n *\n * This algorithm is optimal in generating the least amount of reorder operations\n * possible.\n *\n * Proof:\n * We know that, given a set of reordering operations, the nodes that do not move\n * always form an increasing subsequence, since they do not move among each other\n * meaning that they must be already ordered among each other. Thus, the maximal\n * set of nodes that do not move form a longest increasing subsequence.\n */\n // Compute longest increasing subsequence\n // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j\n const m = new Int32Array(children.length + 1);\n // Predecessor indices + 1\n const p = new Int32Array(children.length);\n m[0] = -1;\n let longest = 0;\n for (let i = 0; i < children.length; i++) {\n const current = children[i].claim_order;\n // Find the largest subsequence length such that it ends in a value less than our current value\n // upper_bound returns first greater value, so we subtract one\n // with fast path for when we are on the current longest subsequence\n const seqLen = ((longest > 0 && children[m[longest]].claim_order <= current) ? longest + 1 : upper_bound(1, longest, idx => children[m[idx]].claim_order, current)) - 1;\n p[i] = m[seqLen] + 1;\n const newLen = seqLen + 1;\n // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.\n m[newLen] = i;\n longest = Math.max(newLen, longest);\n }\n // The longest increasing subsequence of nodes (initially reversed)\n const lis = [];\n // The rest of the nodes, nodes that will be moved\n const toMove = [];\n let last = children.length - 1;\n for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {\n lis.push(children[cur - 1]);\n for (; last >= cur; last--) {\n toMove.push(children[last]);\n }\n last--;\n }\n for (; last >= 0; last--) {\n toMove.push(children[last]);\n }\n lis.reverse();\n // We sort the nodes being moved to guarantee that their insertion order matches the claim order\n toMove.sort((a, b) => a.claim_order - b.claim_order);\n // Finally, we move the nodes\n for (let i = 0, j = 0; i < toMove.length; i++) {\n while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) {\n j++;\n }\n const anchor = j < lis.length ? lis[j] : null;\n target.insertBefore(toMove[i], anchor);\n }\n}\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction append_styles(target, style_sheet_id, styles) {\n const append_styles_to = get_root_for_style(target);\n if (!append_styles_to.getElementById(style_sheet_id)) {\n const style = element('style');\n style.id = style_sheet_id;\n style.textContent = styles;\n append_stylesheet(append_styles_to, style);\n }\n}\nfunction get_root_for_style(node) {\n if (!node)\n return document;\n const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;\n if (root && root.host) {\n return root;\n }\n return node.ownerDocument;\n}\nfunction append_empty_stylesheet(node) {\n const style_element = element('style');\n append_stylesheet(get_root_for_style(node), style_element);\n return style_element.sheet;\n}\nfunction append_stylesheet(node, style) {\n append(node.head || node, style);\n}\nfunction append_hydration(target, node) {\n if (is_hydrating) {\n init_hydrate(target);\n if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentElement !== target))) {\n target.actual_end_child = target.firstChild;\n }\n // Skip nodes of undefined ordering\n while ((target.actual_end_child !== null) && (target.actual_end_child.claim_order === undefined)) {\n target.actual_end_child = target.actual_end_child.nextSibling;\n }\n if (node !== target.actual_end_child) {\n // We only insert if the ordering of this node should be modified or the parent node is not target\n if (node.claim_order !== undefined || node.parentNode !== target) {\n target.insertBefore(node, target.actual_end_child);\n }\n }\n else {\n target.actual_end_child = node.nextSibling;\n }\n }\n else if (node.parentNode !== target || node.nextSibling !== null) {\n target.appendChild(node);\n }\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction insert_hydration(target, node, anchor) {\n if (is_hydrating && !anchor) {\n append_hydration(target, node);\n }\n else if (node.parentNode !== target || node.nextSibling != anchor) {\n target.insertBefore(node, anchor || null);\n }\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction trusted(fn) {\n return function (event) {\n // @ts-ignore\n if (event.isTrusted)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction init_claim_info(nodes) {\n if (nodes.claim_info === undefined) {\n nodes.claim_info = { last_index: 0, total_claimed: 0 };\n }\n}\nfunction claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) {\n // Try to find nodes in an order such that we lengthen the longest increasing subsequence\n init_claim_info(nodes);\n const resultNode = (() => {\n // We first try to find an element after the previous one\n for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n return node;\n }\n }\n // Otherwise, we try to find one before\n // We iterate in reverse so that we don't go too far back\n for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n else if (replacement === undefined) {\n // Since we spliced before the last_index, we decrease it\n nodes.claim_info.last_index--;\n }\n return node;\n }\n }\n // If we can't find any matching node, we create a new one\n return createNode();\n })();\n resultNode.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n return resultNode;\n}\nfunction claim_element_base(nodes, name, attributes, create_element) {\n return claim_node(nodes, (node) => node.nodeName === name, (node) => {\n const remove = [];\n for (let j = 0; j < node.attributes.length; j++) {\n const attribute = node.attributes[j];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n remove.forEach(v => node.removeAttribute(v));\n return undefined;\n }, () => create_element(name));\n}\nfunction claim_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, element);\n}\nfunction claim_svg_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, svg_element);\n}\nfunction claim_text(nodes, data) {\n return claim_node(nodes, (node) => node.nodeType === 3, (node) => {\n const dataStr = '' + data;\n if (node.data.startsWith(dataStr)) {\n if (node.data.length !== dataStr.length) {\n return node.splitText(dataStr.length);\n }\n }\n else {\n node.data = dataStr;\n }\n }, () => text(data), true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements\n );\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction find_comment(nodes, text, start) {\n for (let i = start; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 8 /* comment node */ && node.textContent.trim() === text) {\n return i;\n }\n }\n return nodes.length;\n}\nfunction claim_html_tag(nodes, is_svg) {\n // find html opening tag\n const start_index = find_comment(nodes, 'HTML_TAG_START', 0);\n const end_index = find_comment(nodes, 'HTML_TAG_END', start_index);\n if (start_index === end_index) {\n return new HtmlTagHydration(undefined, is_svg);\n }\n init_claim_info(nodes);\n const html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1);\n detach(html_tag_nodes[0]);\n detach(html_tag_nodes[html_tag_nodes.length - 1]);\n const claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1);\n for (const n of claimed_nodes) {\n n.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n }\n return new HtmlTagHydration(claimed_nodes, is_svg);\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n if (value === null) {\n node.style.removeProperty(key);\n }\n else {\n node.style.setProperty(key, value, important ? 'important' : '');\n }\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n select.selectedIndex = -1; // no option should be selected\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}</script>\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, bubbles, cancelable, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(is_svg = false) {\n this.is_svg = false;\n this.is_svg = is_svg;\n this.e = this.n = null;\n }\n c(html) {\n this.h(html);\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n if (this.is_svg)\n this.e = svg_element(target.nodeName);\n else\n this.e = element(target.nodeName);\n this.t = target;\n this.c(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nclass HtmlTagHydration extends HtmlTag {\n constructor(claimed_nodes, is_svg = false) {\n super(is_svg);\n this.e = this.n = null;\n this.l = claimed_nodes;\n }\n c(html) {\n if (this.l) {\n this.n = this.l;\n }\n else {\n super.c(html);\n }\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert_hydration(this.t, this.n[i], anchor);\n }\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\n// we need to store the information for multiple documents because a Svelte application could also contain iframes\n// https://github.com/sveltejs/svelte/issues/3624\nconst managed_styles = new Map();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_style_information(doc, node) {\n const info = { stylesheet: append_empty_stylesheet(node), rules: {} };\n managed_styles.set(doc, info);\n return info;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = get_root_for_style(node);\n const { stylesheet, rules } = managed_styles.get(doc) || create_style_information(doc, node);\n if (!rules[name]) {\n rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n managed_styles.forEach(info => {\n const { stylesheet } = info;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n info.rules = {};\n });\n managed_styles.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail, { cancelable = false } = {}) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail, { cancelable });\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n return !event.defaultPrevented;\n }\n return true;\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n return context;\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction getAllContexts() {\n return get_current_component().$$.context;\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n // @ts-ignore\n callbacks.slice().forEach(fn => fn.call(this, event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\n// flush() calls callbacks in this order:\n// 1. All beforeUpdate callbacks, in order: parents before children\n// 2. All bind:this callbacks, in reverse order: children before parents.\n// 3. All afterUpdate callbacks, in order: parents before children. EXCEPT\n// for afterUpdates called during the initial onMount, which are called in\n// reverse order: children before parents.\n// Since callbacks might update component values, which could trigger another\n// call to flush(), the following steps guard against this:\n// 1. During beforeUpdate, any updated components will be added to the\n// dirty_components array and will cause a reentrant call to flush(). Because\n// the flush index is kept outside the function, the reentrant call will pick\n// up where the earlier call left off and go through all dirty components. The\n// current_component value is saved and restored so that the reentrant call will\n// not interfere with the \"parent\" flush() call.\n// 2. bind:this callbacks cannot trigger new flush() calls.\n// 3. During afterUpdate, any updated components will NOT have their afterUpdate\n// callback called a second time; the seen_callbacks set, outside the flush()\n// function, guarantees this behavior.\nconst seen_callbacks = new Set();\nlet flushidx = 0; // Do *not* move this inside the flush() function\nfunction flush() {\n const saved_component = current_component;\n do {\n // first, call beforeUpdate functions\n // and update components\n while (flushidx < dirty_components.length) {\n const component = dirty_components[flushidx];\n flushidx++;\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n flushidx = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n seen_callbacks.clear();\n set_current_component(saved_component);\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n else if (callback) {\n callback();\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n started = true;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = (program.b - t);\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\nfunction update_await_block_branch(info, ctx, dirty) {\n const child_ctx = ctx.slice();\n const { resolved } = info;\n if (info.current === info.then) {\n child_ctx[info.value] = resolved;\n }\n if (info.current === info.catch) {\n child_ctx[info.error] = resolved;\n }\n info.block.p(child_ctx, dirty);\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst void_element_names = /^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;\nfunction is_void(name) {\n return void_element_names.test(name) || name.toLowerCase() === '!doctype';\n}\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, attrs_to_add) {\n const attributes = Object.assign({}, ...args);\n if (attrs_to_add) {\n const classes_to_add = attrs_to_add.classes;\n const styles_to_add = attrs_to_add.styles;\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n if (styles_to_add) {\n if (attributes.style == null) {\n attributes.style = style_object_to_string(styles_to_add);\n }\n else {\n attributes.style = style_object_to_string(merge_ssr_styles(attributes.style, styles_to_add));\n }\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${value}\"`;\n }\n });\n return str;\n}\nfunction merge_ssr_styles(style_attribute, style_directive) {\n const style_object = {};\n for (const individual_style of style_attribute.split(';')) {\n const colon_index = individual_style.indexOf(':');\n const name = individual_style.slice(0, colon_index).trim();\n const value = individual_style.slice(colon_index + 1).trim();\n if (!name)\n continue;\n style_object[name] = value;\n }\n for (const name in style_directive) {\n const value = style_directive[name];\n if (value) {\n style_object[name] = value;\n }\n else {\n delete style_object[name];\n }\n }\n return style_object;\n}\nconst ATTR_REGEX = /[&\"]/g;\nconst CONTENT_REGEX = /[&<]/g;\n/**\n * Note: this method is performance sensitive and has been optimized\n * https://github.com/sveltejs/svelte/pull/5701\n */\nfunction escape(value, is_attr = false) {\n const str = String(value);\n const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;\n pattern.lastIndex = 0;\n let escaped = '';\n let last = 0;\n while (pattern.test(str)) {\n const i = pattern.lastIndex - 1;\n const ch = str[i];\n escaped += str.substring(last, i) + (ch === '&' ? '&amp;' : (ch === '\"' ? '&quot;' : '&lt;'));\n last = i + 1;\n }\n return escaped + str.substring(last);\n}\nfunction escape_attribute_value(value) {\n // keep booleans, null, and undefined for the sake of `spread`\n const should_escape = typeof value === 'string' || (value && typeof value === 'object');\n return should_escape ? escape(value, true) : value;\n}\nfunction escape_object(obj) {\n const result = {};\n for (const key in obj) {\n result[key] = escape_attribute_value(obj[key]);\n }\n return result;\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots, context) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(context || (parent_component ? parent_component.$$.context : [])),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, $$slots, context);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n const assignment = (boolean && value === true) ? '' : `=\"${escape(value, true)}\"`;\n return ` ${name}${assignment}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\nfunction style_object_to_string(style_object) {\n return Object.keys(style_object)\n .filter(key => style_object[key])\n .map(key => `${key}: ${style_object[key]};`)\n .join(' ');\n}\nfunction add_styles(style_object) {\n const styles = style_object_to_string(style_object);\n return styles ? ` style=\"${styles}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, append_styles, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false,\n root: options.target || parent_component.$$.root\n };\n append_styles && append_styles($$.root);\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n start_hydrating();\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n end_hydrating();\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.49.0' }, detail), { bubbles: true }));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction append_hydration_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append_hydration(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction insert_hydration_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert_hydration(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\nfunction validate_dynamic_element(tag) {\n const is_string = typeof tag === 'string';\n if (tag && !is_string) {\n throw new Error('<svelte:element> expects \"this\" attribute to be a string.');\n }\n}\nfunction validate_void_dynamic_element(tag) {\n if (tag && is_void(tag)) {\n throw new Error(`<svelte:element this=\"${tag}\"> is self-closing and cannot have content.`);\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * <script lang=\"ts\">\n * \timport { MyComponent } from \"component-library\";\n * </script>\n * <MyComponent foo={'bar'} />\n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to separate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, HtmlTagHydration, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_styles, add_transform, afterUpdate, append, append_dev, append_empty_stylesheet, append_hydration, append_hydration_dev, append_styles, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_html_tag, claim_space, claim_svg_element, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, end_hydrating, escape, escape_attribute_value, escape_object, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getAllContexts, getContext, get_all_dirty_from_scope, get_binding_group_value, get_current_component, get_custom_elements_slots, get_root_for_style, get_slot_changes, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, insert_hydration, insert_hydration_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, is_void, listen, listen_dev, loop, loop_guard, merge_ssr_styles, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, src_url_equal, start_hydrating, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, trusted, update_await_block_branch, update_keyed_each, update_slot, update_slot_base, validate_component, validate_dynamic_element, validate_each_argument, validate_each_keys, validate_slots, validate_store, validate_void_dynamic_element, xlink_attr };\n","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal/index.mjs';\nexport { get_store_value as get } from '../internal/index.mjs';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = new Set();\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (const subscriber of subscribers) {\n subscriber[1]();\n subscriber_queue.push(subscriber, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.add(subscriber);\n if (subscribers.size === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n subscribers.delete(subscriber);\n if (subscribers.size === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","/**\n * Does the current object have different keys or values compared to the previous version?\n *\n * @param {object} previous\n * @param {object} current\n *\n * @returns {boolean}\n */\nexport function objectsDiffer( [previous, current] ) {\n\tif ( !previous || !current ) {\n\t\treturn false;\n\t}\n\n\t// Any difference in keys?\n\tconst prevKeys = Object.keys( previous );\n\tconst currKeys = Object.keys( current );\n\n\tif ( prevKeys.length !== currKeys.length ) {\n\t\treturn true;\n\t}\n\n\t// Symmetrical diff to find extra keys in either object.\n\tif (\n\t\tprevKeys.filter( x => !currKeys.includes( x ) )\n\t\t\t.concat(\n\t\t\t\tcurrKeys.filter( x => !prevKeys.includes( x ) )\n\t\t\t)\n\t\t\t.length > 0\n\t) {\n\t\treturn true;\n\t}\n\n\t// Any difference in values?\n\tfor ( const key in previous ) {\n\t\tif ( JSON.stringify( current[ key ] ) !== JSON.stringify( previous[ key ] ) ) {\n\t\t\treturn true;\n\t\t}\n\t}\n\n\treturn false;\n}\n","import {derived, writable, get, readable} from \"svelte/store\";\nimport {objectsDiffer} from \"./objectsDiffer\";\n\n// Initial config store.\nexport const config = writable( {} );\n\n// Whether settings are locked due to background activity such as upgrade.\nexport const settingsLocked = writable( false );\n\n// Convenience readable store of server's settings, derived from config.\nexport const current_settings = derived( config, $config => $config.settings );\n\n// Convenience readable store of defined settings keys, derived from config.\nexport const defined_settings = derived( config, $config => $config.defined_settings );\n\n// Convenience readable store of translated strings, derived from config.\nexport const strings = derived( config, $config => $config.strings );\n\n// Convenience readable store for nonce, derived from config.\nexport const nonce = derived( config, $config => $config.nonce );\n\n// Convenience readable store of urls, derived from config.\nexport const urls = derived( config, $config => $config.urls );\n\n// Convenience readable store of docs, derived from config.\nexport const docs = derived( config, $config => $config.docs );\n\n// Convenience readable store of api endpoints, derived from config.\nexport const endpoints = derived( config, $config => $config.endpoints );\n\n// Convenience readable store of diagnostics, derived from config.\nexport const diagnostics = derived( config, $config => $config.diagnostics );\n\n// Convenience readable store of counts, derived from config.\nexport const counts = derived( config, $config => $config.counts );\n\n// Convenience readable store of upgrades, derived from config.\nexport const upgrades = derived( config, $config => $config.upgrades );\n\n// Convenience readable store of whether plugin is set up, derived from config.\nexport const is_plugin_setup = derived( config, $config => $config.is_plugin_setup );\n\n// Convenience readable store of whether plugin is set up, including with credentials, derived from config.\nexport const is_plugin_setup_with_credentials = derived( config, $config => $config.is_plugin_setup_with_credentials );\n\n// Convenience readable store of whether storage provider needs access credentials, derived from config.\nexport const needs_access_keys = derived( config, $config => $config.needs_access_keys );\n\n// Convenience readable store of whether bucket is writable, derived from config.\nexport const bucket_writable = derived( config, $config => $config.bucket_writable );\n\n// Store of inline errors and warnings to be shown next to settings.\n// Format is a map using settings key for keys, values are an array of objects that can be used to instantiate a notification.\nexport const settings_notifications = writable( new Map() );\n\n// Store of validation errors for settings.\n// Format is a map using settings key for keys, values are strings containing validation error.\nexport const validationErrors = writable( new Map() );\n\n// Does the app need a page refresh to resolve conflicts?\nexport const needs_refresh = writable( false );\n\n// Various stores may call the API, and the api object uses some stores.\n// To avoid cyclic dependencies, we therefore co-locate the api object with the stores.\n// We also need to add its functions much later so that JSHint does not complain about using the stores too early.\nexport const api = {};\n\n/**\n * Creates store of settings.\n *\n * @return {Object}\n */\nfunction createSettings() {\n\tconst { subscribe, set, update } = writable( [] );\n\n\treturn {\n\t\tsubscribe,\n\t\tset,\n\t\tasync save() {\n\t\t\tconst json = await api.put( \"settings\", get( this ) );\n\n\t\t\tif ( json.hasOwnProperty( \"saved\" ) && true === json.saved ) {\n\t\t\t\t// Sync settings with what the server has.\n\t\t\t\tthis.updateSettings( json );\n\n\t\t\t\treturn json;\n\t\t\t}\n\n\t\t\treturn {};\n\t\t},\n\t\treset() {\n\t\t\tset( { ...get( current_settings ) } );\n\t\t},\n\t\tasync fetch() {\n\t\t\tconst json = await api.get( \"settings\", {} );\n\t\t\tthis.updateSettings( json );\n\t\t},\n\t\tupdateSettings( json ) {\n\t\t\tif (\n\t\t\t\tjson.hasOwnProperty( \"defined_settings\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"settings\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"storage_providers\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"delivery_providers\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"is_plugin_setup\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"is_plugin_setup_with_credentials\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"needs_access_keys\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"bucket_writable\" ) &&\n\t\t\t\tjson.hasOwnProperty( \"urls\" )\n\t\t\t) {\n\t\t\t\t// Update our understanding of what the server's settings are.\n\t\t\t\tconfig.update( $config => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\t...$config,\n\t\t\t\t\t\tdefined_settings: json.defined_settings,\n\t\t\t\t\t\tsettings: json.settings,\n\t\t\t\t\t\tstorage_providers: json.storage_providers,\n\t\t\t\t\t\tdelivery_providers: json.delivery_providers,\n\t\t\t\t\t\tis_plugin_setup: json.is_plugin_setup,\n\t\t\t\t\t\tis_plugin_setup_with_credentials: json.is_plugin_setup_with_credentials,\n\t\t\t\t\t\tneeds_access_keys: json.needs_access_keys,\n\t\t\t\t\t\tbucket_writable: json.bucket_writable,\n\t\t\t\t\t\turls: json.urls\n\t\t\t\t\t};\n\t\t\t\t} );\n\t\t\t\t// Update our local working copy of the settings.\n\t\t\t\tupdate( $settings => {\n\t\t\t\t\treturn { ...json.settings };\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\t};\n}\n\nexport const settings = createSettings();\n\n// Have the settings been changed from current server side settings?\nexport const settings_changed = derived( [settings, current_settings], objectsDiffer );\n\n// Convenience readable store of available storage providers.\nexport const storage_providers = derived( [config, urls], ( [$config, $urls] ) => {\n\tfor ( const key in $config.storage_providers ) {\n\t\t$config.storage_providers[ key ].icon = $urls.assets + \"img/icon/provider/storage/\" + $config.storage_providers[ key ].provider_key_name + \".svg\";\n\t\t$config.storage_providers[ key ].link_icon = $urls.assets + \"img/icon/provider/storage/\" + $config.storage_providers[ key ].provider_key_name + \"-link.svg\";\n\t\t$config.storage_providers[ key ].round_icon = $urls.assets + \"img/icon/provider/storage/\" + $config.storage_providers[ key ].provider_key_name + \"-round.svg\";\n\t}\n\n\treturn $config.storage_providers;\n} );\n\n// Convenience readable store of storage provider's details.\nexport const storage_provider = derived( [settings, storage_providers], ( [$settings, $storage_providers] ) => {\n\tif ( $settings.hasOwnProperty( \"provider\" ) && $storage_providers.hasOwnProperty( $settings.provider ) ) {\n\t\treturn $storage_providers[ $settings.provider ];\n\t} else {\n\t\treturn [];\n\t}\n} );\n\n// Convenience readable store of available delivery providers.\nexport const delivery_providers = derived( [config, urls, storage_provider], ( [$config, $urls, $storage_provider] ) => {\n\tfor ( const key in $config.delivery_providers ) {\n\t\tif ( \"storage\" === key ) {\n\t\t\t$config.delivery_providers[ key ].icon = $storage_provider.icon;\n\t\t\t$config.delivery_providers[ key ].round_icon = $storage_provider.round_icon;\n\t\t\t$config.delivery_providers[ key ].provider_service_quick_start_url = $storage_provider.provider_service_quick_start_url;\n\t\t} else {\n\t\t\t$config.delivery_providers[ key ].icon = $urls.assets + \"img/icon/provider/delivery/\" + $config.delivery_providers[ key ].provider_key_name + \".svg\";\n\t\t\t$config.delivery_providers[ key ].round_icon = $urls.assets + \"img/icon/provider/delivery/\" + $config.delivery_providers[ key ].provider_key_name + \"-round.svg\";\n\t\t}\n\t}\n\n\treturn $config.delivery_providers;\n} );\n\n// Convenience readable store of delivery provider's details.\nexport const delivery_provider = derived( [settings, delivery_providers, urls], ( [$settings, $delivery_providers, $urls] ) => {\n\tif ( $settings.hasOwnProperty( \"delivery-provider\" ) && $delivery_providers.hasOwnProperty( $settings[ \"delivery-provider\" ] ) ) {\n\t\treturn $delivery_providers[ $settings[ \"delivery-provider\" ] ];\n\t} else {\n\t\treturn [];\n\t}\n} );\n\n// Full name for current region.\nexport const region_name = derived( [settings, storage_provider, strings], ( [$settings, $storage_provider, $strings] ) => {\n\tif ( $settings.region && $storage_provider.regions && $storage_provider.regions.hasOwnProperty( $settings.region ) ) {\n\t\treturn $storage_provider.regions[ $settings.region ];\n\t} else if ( $settings.region && $storage_provider.regions ) {\n\t\t// Region set but not available in list of regions.\n\t\treturn $strings.unknown;\n\t} else if ( $storage_provider.default_region && $storage_provider.regions && $storage_provider.regions.hasOwnProperty( $storage_provider.default_region ) ) {\n\t\t// Region not set but default available.\n\t\treturn $storage_provider.regions[ $storage_provider.default_region ];\n\t} else {\n\t\t// Possibly no default region or regions available.\n\t\treturn $strings.unknown;\n\t}\n} );\n\n// Convenience readable store of whether Block All Public Access is enabled.\nexport const bapa = derived( [settings, storage_provider], ( [$settings, $storage_provider] ) => {\n\treturn $storage_provider.block_public_access_supported && $settings.hasOwnProperty( \"block-public-access\" ) && $settings[ \"block-public-access\" ];\n} );\n\n// Convenience readable store of whether Object Ownership is enforced.\nexport const ooe = derived( [settings, storage_provider], ( [$settings, $storage_provider] ) => {\n\treturn $storage_provider.object_ownership_supported && $settings.hasOwnProperty( \"object-ownership-enforced\" ) && $settings[ \"object-ownership-enforced\" ];\n} );\n\n/**\n * Creates a store of notifications.\n *\n * Example object in the array:\n * {\n * \tid: \"error-message\",\n * \ttype: \"error\", // error | warning | success | primary (default)\n * \tdismissible: true,\n * \tflash: true, // Optional, means notification is context specific and will not persist on server, defaults to true.\n * \tinline: false, // Optional, unlikely to be true, included here for completeness.\n * \tonly_show_on_tab: \"media-library\", // Optional, blank/missing means on all tabs.\n * \theading: \"Global Error: Something has gone terribly pear shaped.\", // Optional.\n * \tmessage: \"We're so sorry, but unfortunately we're going to have to delete the year 2020.\", // Optional.\n * \ticon: \"notification-error.svg\", // Optional icon file name to be shown in front of heading.\n * \tplainHeading: false, // Optional boolean as to whether a <p> tag should be used instead of <h3> for heading content.\n * \textra: \"\", // Optional extra content to be shown in paragraph below message.\n * \tlinks: [], // Optional list of links to be shown at bottom of notice.\n * },\n *\n * @return {Object}\n */\nfunction createNotifications() {\n\tconst { subscribe, set, update } = writable( [] );\n\n\treturn {\n\t\tset,\n\t\tsubscribe,\n\t\tadd( notification ) {\n\t\t\t// There's a slight difference between our notification's formatting and what WP uses.\n\t\t\tif ( notification.hasOwnProperty( \"type\" ) && notification.type === \"updated\" ) {\n\t\t\t\tnotification.type = \"success\";\n\t\t\t}\n\t\t\tif ( notification.hasOwnProperty( \"type\" ) && notification.type === \"notice-warning\" ) {\n\t\t\t\tnotification.type = \"warning\";\n\t\t\t}\n\t\t\tif ( notification.hasOwnProperty( \"type\" ) && notification.type === \"notice-info\" ) {\n\t\t\t\tnotification.type = \"info\";\n\t\t\t}\n\t\t\tif (\n\t\t\t\tnotification.hasOwnProperty( \"message\" ) &&\n\t\t\t\t(!notification.hasOwnProperty( \"heading\" ) || notification.heading.trim().length === 0)\n\t\t\t) {\n\t\t\t\tnotification.heading = notification.message;\n\t\t\t\tnotification.plainHeading = true;\n\t\t\t\tdelete notification.message;\n\t\t\t}\n\t\t\tif ( !notification.hasOwnProperty( \"flash\" ) ) {\n\t\t\t\tnotification.flash = true;\n\t\t\t}\n\n\t\t\t// We need some sort of id for indexing and to ensure rendering is efficient.\n\t\t\tif ( !notification.hasOwnProperty( \"id\" ) ) {\n\t\t\t\t// Notifications are useless without at least a heading or message, so we can be sure at least one exists.\n\t\t\t\tconst idHeading = notification.hasOwnProperty( \"heading\" ) ? notification.heading.trim() : \"dynamic-heading\";\n\t\t\t\tconst idMessage = notification.hasOwnProperty( \"message\" ) ? notification.message.trim() : \"dynamic-message\";\n\n\t\t\t\tnotification.id = btoa( idHeading + idMessage );\n\t\t\t}\n\n\t\t\t// So that rendering is efficient, but updates displayed notifications that re-use keys,\n\t\t\t// we create a render_key based on id and created_at as created_at is churned on re-use.\n\t\t\tconst createdAt = notification.hasOwnProperty( \"created_at\" ) ? notification.created_at : 0;\n\t\t\tnotification.render_key = notification.id + \"-\" + createdAt;\n\n\t\t\tupdate( $notifications => {\n\t\t\t\t// Maybe update a notification if id already exists.\n\t\t\t\tlet index = -1;\n\t\t\t\tif ( notification.hasOwnProperty( \"id\" ) ) {\n\t\t\t\t\tindex = $notifications.findIndex( _notification => _notification.id === notification.id );\n\t\t\t\t}\n\n\t\t\t\tif ( index >= 0 ) {\n\t\t\t\t\t// If the id exists but has been dismissed, add the replacement notification to the end of the array\n\t\t\t\t\t// if given notification is newer, otherwise skip it entirely.\n\t\t\t\t\tif ( $notifications[ index ].hasOwnProperty( \"dismissed\" ) ) {\n\t\t\t\t\t\tif ( $notifications[ index ].dismissed < notification.created_at ) {\n\t\t\t\t\t\t\t$notifications.push( notification );\n\t\t\t\t\t\t\t$notifications.splice( index, 1 );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Update existing.\n\t\t\t\t\t\t$notifications.splice( index, 1, notification );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// Add new.\n\t\t\t\t\t$notifications.push( notification );\n\t\t\t\t}\n\n\t\t\t\treturn $notifications.sort( this.sortCompare );\n\t\t\t} );\n\t\t},\n\t\tsortCompare( a, b ) {\n\t\t\t// Sort by created_at in case an existing notification was updated.\n\t\t\tif ( a.created_at < b.created_at ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\tif ( a.created_at > b.created_at ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\treturn 0;\n\t\t},\n\t\tasync dismiss( id ) {\n\t\t\tupdate( $notifications => {\n\t\t\t\tconst index = $notifications.findIndex( notification => notification.id === id );\n\n\t\t\t\t// If the notification still exists, set a \"dismissed\" tombstone with the created_at value.\n\t\t\t\t// The cleanup will delete any notifications that have been dismissed and no longer exist\n\t\t\t\t// in the list of notifications retrieved from the server.\n\t\t\t\t// The created_at value ensures that if a notification is retrieved from the server that\n\t\t\t\t// has the same id but later created_at, then it can be added, otherwise it is skipped.\n\t\t\t\tif ( index >= 0 ) {\n\t\t\t\t\tif ( $notifications[ index ].hasOwnProperty( \"created_at\" ) ) {\n\t\t\t\t\t\t$notifications[ index ].dismissed = $notifications[ index ].created_at;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Notification likely did not come from server, maybe a local \"flash\" notification.\n\t\t\t\t\t\t$notifications.splice( index, 1 );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn $notifications;\n\t\t\t} );\n\n\t\t\t// Tell server to dismiss notification, still ok to try if flash notification, makes sure it is definitely removed.\n\t\t\tawait api.delete( \"notifications\", { id: id, all_tabs: true } );\n\t\t},\n\t\t/**\n\t\t * Delete removes a notification from the UI without telling the server.\n\t\t */\n\t\tdelete( id ) {\n\t\t\tupdate( $notifications => {\n\t\t\t\tconst index = $notifications.findIndex( notification => notification.id === id );\n\n\t\t\t\tif ( index >= 0 ) {\n\t\t\t\t\t$notifications.splice( index, 1 );\n\t\t\t\t}\n\n\t\t\t\treturn $notifications;\n\t\t\t} );\n\t\t},\n\t\tcleanup( latest ) {\n\t\t\tupdate( $notifications => {\n\t\t\t\tfor ( const [index, notification] of $notifications.entries() ) {\n\t\t\t\t\t// Only clean up dismissed or server created notices that no longer exist.\n\t\t\t\t\tif ( notification.hasOwnProperty( \"dismissed\" ) || notification.hasOwnProperty( \"created_at\" ) ) {\n\t\t\t\t\t\tconst latestIndex = latest.findIndex( _notification => _notification.id === notification.id );\n\n\t\t\t\t\t\t// If server doesn't know about the notification anymore, remove it.\n\t\t\t\t\t\tif ( latestIndex < 0 ) {\n\t\t\t\t\t\t\t$notifications.splice( index, 1 );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn $notifications;\n\t\t\t} );\n\t\t}\n\t};\n}\n\nexport const notifications = createNotifications();\n\n// Controller for periodic fetch of state info.\nlet stateFetchInterval;\nlet stateFetchIntervalStarted = false;\nlet stateFetchIntervalPaused = false;\n\n// Store of functions to call before an update of state processes the result into config.\nexport const preStateUpdateCallbacks = writable( [] );\n\n// Store of functions to call after an update of state processes the result into config.\nexport const postStateUpdateCallbacks = writable( [] );\n\n/**\n * Store of functions to call when state info is updated, and actual API access methods.\n *\n * Functions are called after the returned state info has been used to update the config store.\n * Therefore, functions should only be added to the store if extra processing is required.\n * The functions should be asynchronous as they are part of the reactive chain and called with await.\n *\n * @return {Object}\n */\nfunction createState() {\n\tconst { subscribe, set, update } = writable( [] );\n\n\treturn {\n\t\tsubscribe,\n\t\tset,\n\t\tupdate,\n\t\tasync fetch() {\n\t\t\tconst json = await api.get( \"state\", {} );\n\n\t\t\t// Abort controller is still a bit hit or miss, so we'll go old skool.\n\t\t\tif ( stateFetchIntervalStarted && !stateFetchIntervalPaused ) {\n\t\t\t\tthis.updateState( json );\n\t\t\t}\n\t\t},\n\t\tupdateState( json ) {\n\t\t\tfor ( const callable of get( preStateUpdateCallbacks ) ) {\n\t\t\t\tcallable( json );\n\t\t\t}\n\n\t\t\tconst dirty = get( settings_changed );\n\t\t\tconst previous_settings = { ...get( current_settings ) }; // cloned\n\n\t\t\tconfig.update( $config => {\n\t\t\t\treturn { ...$config, ...json };\n\t\t\t} );\n\n\t\t\t// If the settings weren't changed before, they shouldn't be now.\n\t\t\tif ( !dirty && get( settings_changed ) ) {\n\t\t\t\tsettings.reset();\n\t\t\t}\n\n\t\t\t// If settings are in middle of being changed when changes come in\n\t\t\t// from server, reset to server version.\n\t\t\tif ( dirty && objectsDiffer( [previous_settings, get( current_settings )] ) ) {\n\t\t\t\tneeds_refresh.update( $needs_refresh => true );\n\t\t\t\tsettings.reset();\n\t\t\t}\n\n\t\t\tfor ( const callable of get( postStateUpdateCallbacks ) ) {\n\t\t\t\tcallable( json );\n\t\t\t}\n\t\t},\n\t\tstartPeriodicFetch() {\n\t\t\tstateFetchIntervalStarted = true;\n\t\t\tstateFetchIntervalPaused = false;\n\n\t\t\tstateFetchInterval = setInterval( async () => {\n\t\t\t\tawait this.fetch();\n\t\t\t}, 5000 );\n\t\t},\n\t\tstopPeriodicFetch() {\n\t\t\tstateFetchIntervalStarted = false;\n\t\t\tstateFetchIntervalPaused = false;\n\n\t\t\tclearInterval( stateFetchInterval );\n\t\t},\n\t\tpausePeriodicFetch() {\n\t\t\tif ( stateFetchIntervalStarted ) {\n\t\t\t\tstateFetchIntervalPaused = true;\n\t\t\t\tclearInterval( stateFetchInterval );\n\t\t\t}\n\t\t},\n\t\tresumePeriodicFetch() {\n\t\t\tstateFetchIntervalPaused = false;\n\n\t\t\tif ( stateFetchIntervalStarted ) {\n\t\t\t\tthis.startPeriodicFetch();\n\t\t\t}\n\t\t}\n\t};\n}\n\nexport const state = createState();\n\n// API functions added here to avoid JSHint errors.\napi.headers = () => {\n\treturn {\n\t\t'Accept': 'application/json',\n\t\t'Content-Type': 'application/json',\n\t\t'X-WP-Nonce': get( nonce )\n\t};\n};\n\napi.url = ( endpoint ) => {\n\treturn get( urls ).api + get( endpoints )[ endpoint ];\n};\n\napi.get = async ( endpoint, params ) => {\n\tlet url = new URL( api.url( endpoint ) );\n\n\tconst searchParams = new URLSearchParams( params );\n\n\tsearchParams.forEach( function( value, name ) {\n\t\turl.searchParams.set( name, value );\n\t} );\n\n\tconst response = await fetch( url.toString(), {\n\t\tmethod: 'GET',\n\t\theaders: api.headers()\n\t} );\n\treturn response.json().then( json => {\n\t\tjson = api.check_response( json );\n\t\treturn json;\n\t} );\n};\n\napi.post = async ( endpoint, body ) => {\n\tconst response = await fetch( api.url( endpoint ), {\n\t\tmethod: 'POST',\n\t\theaders: api.headers(),\n\t\tbody: JSON.stringify( body )\n\t} );\n\treturn response.json().then( json => {\n\t\tjson = api.check_response( json );\n\t\treturn json;\n\t} );\n};\n\napi.put = async ( endpoint, body ) => {\n\tconst response = await fetch( api.url( endpoint ), {\n\t\tmethod: 'PUT',\n\t\theaders: api.headers(),\n\t\tbody: JSON.stringify( body )\n\t} );\n\treturn response.json().then( json => {\n\t\tjson = api.check_response( json );\n\t\treturn json;\n\t} );\n};\n\napi.delete = async ( endpoint, body ) => {\n\tconst response = await fetch( api.url( endpoint ), {\n\t\tmethod: 'DELETE',\n\t\theaders: api.headers(),\n\t\tbody: JSON.stringify( body )\n\t} );\n\treturn response.json().then( json => {\n\t\tjson = api.check_response( json );\n\t\treturn json;\n\t} );\n};\n\napi.check_errors = ( json ) => {\n\tif ( json.code && json.message ) {\n\t\tnotifications.add( {\n\t\t\tid: json.code,\n\t\t\ttype: 'error',\n\t\t\tdismissible: true,\n\t\t\theading: get( strings ).api_error_notice_heading,\n\t\t\tmessage: json.message\n\t\t} );\n\n\t\t// Just in case resultant json is expanded into a store.\n\t\tdelete json.code;\n\t\tdelete json.message;\n\t}\n\n\treturn json;\n};\n\napi.check_notifications = ( json ) => {\n\tconst _notifications = json.hasOwnProperty( \"notifications\" ) ? json.notifications : [];\n\tif ( _notifications ) {\n\t\tfor ( const notification of _notifications ) {\n\t\t\tnotifications.add( notification );\n\t\t}\n\t}\n\tnotifications.cleanup( _notifications );\n\n\t// Just in case resultant json is expanded into a store.\n\tdelete json.notifications;\n\n\treturn json;\n};\n\napi.check_response = ( json ) => {\n\tjson = api.check_notifications( json );\n\tjson = api.check_errors( json );\n\n\treturn json;\n};\n","/**\n * @typedef {Object} WrappedComponent Object returned by the `wrap` method\n * @property {SvelteComponent} component - Component to load (this is always asynchronous)\n * @property {RoutePrecondition[]} [conditions] - Route pre-conditions to validate\n * @property {Object} [props] - Optional dictionary of static props\n * @property {Object} [userData] - Optional user data dictionary\n * @property {bool} _sveltesparouter - Internal flag; always set to true\n */\n\n/**\n * @callback AsyncSvelteComponent\n * @returns {Promise<SvelteComponent>} Returns a Promise that resolves with a Svelte component\n */\n\n/**\n * @callback RoutePrecondition\n * @param {RouteDetail} detail - Route detail object\n * @returns {boolean|Promise<boolean>} If the callback returns a false-y value, it's interpreted as the precondition failed, so it aborts loading the component (and won't process other pre-condition callbacks)\n */\n\n/**\n * @typedef {Object} WrapOptions Options object for the call to `wrap`\n * @property {SvelteComponent} [component] - Svelte component to load (this is incompatible with `asyncComponent`)\n * @property {AsyncSvelteComponent} [asyncComponent] - Function that returns a Promise that fulfills with a Svelte component (e.g. `{asyncComponent: () => import('Foo.svelte')}`)\n * @property {SvelteComponent} [loadingComponent] - Svelte component to be displayed while the async route is loading (as a placeholder); when unset or false-y, no component is shown while component\n * @property {object} [loadingParams] - Optional dictionary passed to the `loadingComponent` component as params (for an exported prop called `params`)\n * @property {object} [userData] - Optional object that will be passed to events such as `routeLoading`, `routeLoaded`, `conditionsFailed`\n * @property {object} [props] - Optional key-value dictionary of static props that will be passed to the component. The props are expanded with {...props}, so the key in the dictionary becomes the name of the prop.\n * @property {RoutePrecondition[]|RoutePrecondition} [conditions] - Route pre-conditions to add, which will be executed in order\n */\n\n/**\n * Wraps a component to enable multiple capabilities:\n * 1. Using dynamically-imported component, with (e.g. `{asyncComponent: () => import('Foo.svelte')}`), which also allows bundlers to do code-splitting.\n * 2. Adding route pre-conditions (e.g. `{conditions: [...]}`)\n * 3. Adding static props that are passed to the component\n * 4. Adding custom userData, which is passed to route events (e.g. route loaded events) or to route pre-conditions (e.g. `{userData: {foo: 'bar}}`)\n * \n * @param {WrapOptions} args - Arguments object\n * @returns {WrappedComponent} Wrapped component\n */\nexport function wrap(args) {\n if (!args) {\n throw Error('Parameter args is required')\n }\n\n // We need to have one and only one of component and asyncComponent\n // This does a \"XNOR\"\n if (!args.component == !args.asyncComponent) {\n throw Error('One and only one of component and asyncComponent is required')\n }\n\n // If the component is not async, wrap it into a function returning a Promise\n if (args.component) {\n args.asyncComponent = () => Promise.resolve(args.component)\n }\n\n // Parameter asyncComponent and each item of conditions must be functions\n if (typeof args.asyncComponent != 'function') {\n throw Error('Parameter asyncComponent must be a function')\n }\n if (args.conditions) {\n // Ensure it's an array\n if (!Array.isArray(args.conditions)) {\n args.conditions = [args.conditions]\n }\n for (let i = 0; i < args.conditions.length; i++) {\n if (!args.conditions[i] || typeof args.conditions[i] != 'function') {\n throw Error('Invalid parameter conditions[' + i + ']')\n }\n }\n }\n\n // Check if we have a placeholder component\n if (args.loadingComponent) {\n args.asyncComponent.loading = args.loadingComponent\n args.asyncComponent.loadingParams = args.loadingParams || undefined\n }\n\n // Returns an object that contains all the functions to execute too\n // The _sveltesparouter flag is to confirm the object was created by this router\n const obj = {\n component: args.asyncComponent,\n userData: args.userData,\n conditions: (args.conditions && args.conditions.length) ? args.conditions : undefined,\n props: (args.props && Object.keys(args.props).length) ? args.props : {},\n _sveltesp