@salla.sa/twilight-components 1.6.12 → 1.6.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/cjs/css-shim-c9fa4209.js +9 -0
  2. package/dist/cjs/dom-92c2a073.js +78 -0
  3. package/dist/cjs/{index-0d0167d5.js → index-cac2fd59.js} +65 -4
  4. package/dist/cjs/loader.cjs.js +16 -2
  5. package/dist/cjs/salla-add-product-button.cjs.entry.js +1 -1
  6. package/dist/cjs/salla-button_27.cjs.entry.js +31 -13
  7. package/dist/cjs/salla-conditional-fields.cjs.entry.js +1 -1
  8. package/dist/cjs/salla-installment.cjs.entry.js +3 -2
  9. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  10. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  11. package/dist/cjs/salla-select.cjs.entry.js +2 -2
  12. package/dist/cjs/twilight.cjs.js +79 -0
  13. package/dist/collection/Helpers/Helper.js +2 -2
  14. package/dist/collection/collection-manifest.json +2 -1
  15. package/dist/collection/components/salla-installment/salla-installment.js +1 -0
  16. package/dist/collection/components/salla-login-modal/salla-login-modal.js +35 -3
  17. package/dist/collection/components/salla-verify/salla-verify.js +23 -1
  18. package/dist/collection/global/app-dev.js +35 -0
  19. package/dist/collection/global/app.js +5 -31
  20. package/dist/components/Helper.js +2 -2
  21. package/dist/components/index.d.ts +1 -1
  22. package/dist/components/salla-file-upload2.js +1 -1
  23. package/dist/components/salla-gifting.js +1 -1
  24. package/dist/components/salla-installment.js +2 -1
  25. package/dist/components/salla-loading2.js +1 -1
  26. package/dist/components/salla-localization-modal.js +1 -1
  27. package/dist/components/salla-login-modal.js +18 -3
  28. package/dist/components/salla-loyalty-prize-item.js +1 -1
  29. package/dist/components/salla-scopes.js +1 -1
  30. package/dist/components/salla-select.js +1 -1
  31. package/dist/components/salla-swiper2.js +1 -1
  32. package/dist/components/salla-tel-input2.js +1 -1
  33. package/dist/components/salla-verify2.js +6 -1
  34. package/dist/esm/css-shim-0e7604db.js +7 -0
  35. package/dist/esm/dom-a1a72c67.js +76 -0
  36. package/dist/esm/{index-4e30ffd0.js → index-0ce70ad2.js} +61 -5
  37. package/dist/esm/loader.js +16 -2
  38. package/dist/esm/salla-add-product-button.entry.js +1 -1
  39. package/dist/esm/salla-button_27.entry.js +31 -13
  40. package/dist/esm/salla-conditional-fields.entry.js +1 -1
  41. package/dist/esm/salla-installment.entry.js +3 -2
  42. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  43. package/dist/esm/salla-scopes.entry.js +2 -2
  44. package/dist/esm/salla-select.entry.js +2 -2
  45. package/dist/esm/twilight.js +77 -0
  46. package/dist/esm-es5/css-shim-0e7604db.js +4 -0
  47. package/dist/esm-es5/dom-a1a72c67.js +24 -0
  48. package/dist/esm-es5/index-0ce70ad2.js +4 -0
  49. package/dist/{twilight-components/index.esm.js → esm-es5/index.js} +0 -0
  50. package/dist/esm-es5/loader.js +4 -0
  51. package/dist/esm-es5/salla-add-product-button.entry.js +4 -0
  52. package/dist/esm-es5/salla-button_27.entry.js +34 -0
  53. package/dist/esm-es5/salla-conditional-fields.entry.js +4 -0
  54. package/dist/esm-es5/salla-installment.entry.js +4 -0
  55. package/dist/esm-es5/salla-loyalty-prize-item.entry.js +4 -0
  56. package/dist/esm-es5/salla-scopes.entry.js +4 -0
  57. package/dist/esm-es5/salla-select.entry.js +4 -0
  58. package/dist/esm-es5/search-19ea3313.js +4 -0
  59. package/dist/esm-es5/twilight.js +4 -0
  60. package/dist/index.js +1 -1
  61. package/dist/twilight/index.esm.js +3 -0
  62. package/dist/twilight/p-0db2b810.entry.js +4 -0
  63. package/dist/{twilight-components/p-49125b6a.entry.js → twilight/p-10ac9c79.entry.js} +1 -1
  64. package/dist/{twilight-components/p-76cb2574.entry.js → twilight/p-13129ac9.entry.js} +1 -1
  65. package/dist/twilight/p-1914490f.system.entry.js +4 -0
  66. package/dist/twilight/p-26a23097.system.entry.js +4 -0
  67. package/dist/twilight/p-3d828bb4.js +4 -0
  68. package/dist/{twilight-components → twilight}/p-475ef754.js +0 -0
  69. package/dist/twilight/p-4d681263.entry.js +22 -0
  70. package/dist/{twilight-components/p-019bb315.entry.js → twilight/p-521b6fde.entry.js} +1 -1
  71. package/dist/twilight/p-5db948f2.js +22 -0
  72. package/dist/twilight/p-89f1c6be.system.js +24 -0
  73. package/dist/{twilight-components/p-df1eb1e5.entry.js → twilight/p-97daba27.entry.js} +1 -1
  74. package/dist/twilight/p-a7caaba3.system.entry.js +4 -0
  75. package/dist/twilight/p-ad42e3b6.system.js +4 -0
  76. package/dist/twilight/p-b7610000.system.js +4 -0
  77. package/dist/twilight/p-b97d2809.system.entry.js +34 -0
  78. package/dist/{twilight-components/p-46e23628.entry.js → twilight/p-bbc94b9b.entry.js} +1 -1
  79. package/dist/twilight/p-ca68752d.js +5 -0
  80. package/dist/twilight/p-ce3e3fa2.system.entry.js +4 -0
  81. package/dist/twilight/p-db0ba553.system.js +5 -0
  82. package/dist/twilight/p-dd429f1b.system.js +4 -0
  83. package/dist/twilight/p-dd9b3c90.system.entry.js +4 -0
  84. package/dist/twilight/p-f610b6bf.system.entry.js +4 -0
  85. package/dist/twilight/p-fd444b25.system.js +4 -0
  86. package/dist/twilight/twilight.esm.js +4 -0
  87. package/dist/twilight/twilight.js +133 -0
  88. package/dist/types/components/salla-login-modal/salla-login-modal.d.ts +4 -0
  89. package/dist/types/components/salla-verify/salla-verify.d.ts +4 -0
  90. package/dist/types/components.d.ts +16 -0
  91. package/dist/types/global/app-dev.d.ts +2 -0
  92. package/dist/types/global/app.d.ts +4 -1
  93. package/loader/index.js +1 -1
  94. package/loader/package.json +1 -1
  95. package/package.json +9 -6
  96. package/dist/cjs/twilight-components.cjs.js +0 -22
  97. package/dist/esm/twilight-components.js +0 -20
  98. package/dist/twilight-components/p-1503d976.js +0 -5
  99. package/dist/twilight-components/p-889b7d19.entry.js +0 -4
  100. package/dist/twilight-components/p-bebedfdf.entry.js +0 -22
  101. package/dist/twilight-components/twilight-components.esm.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as s,h as e,H as t}from"./p-1503d976.js";import{S as l}from"./p-475ef754.js";var i;!function(s){s.DEFAULT="default",s.AVAILABILITY="availability"}(i||(i={}));const a=class{constructor(e){s(this,e),this.translationLoaded=!1,this.mode=i.DEFAULT,this.scopes=[],this.originalScopesList=[],this.isOpenedBefore=salla.storage.get("branch-choosed-before"),this.hasError=!1,this.selection="optional",this.searchDisplayLimit=6,this.getFormTitle=()=>{var s;return(null===(s=this.originalScopesList)||void 0===s?void 0:s.length)<2?"":this.mode===i.DEFAULT?salla.lang.get("blocks.scope.shopping_from_another_branch"):salla.lang.get("blocks.scope.search_for_availability_in_other_branches")},salla.event.on("scopes::open",(({mode:s=null,product_id:e=null})=>{this.open(s,e)})),salla.lang.onLoaded((()=>{this.translationLoaded=!0}))}async close(){var s;return await(null===(s=this.modal)||void 0===s?void 0:s.close())}async open(s=i.DEFAULT,e=null){return this.setScopeValues([]),this.mode=void 0!==s&&[i.AVAILABILITY,i.DEFAULT].includes(s)?s:i.DEFAULT,this.modal.open(),await salla.api.withoutNotifier((()=>s==i.AVAILABILITY?salla.scope.getProductAvailability(e):salla.scope.get())).then((e=>{if(s==i.AVAILABILITY)return this.setScopeValues(e.data);this.setScopeValues(e.data.scopes)})).catch((s=>{console.log(s),this.hasError=!0})).finally((()=>this.modal.stopLoading()))}async handleSubmit(){let s={id:this.current_scope.id};return this.changeBtn.load(),await salla.scope.change(s).then((()=>{salla.storage.set("branch-choosed-before",!0),salla.storage.set("scope",{type:this.current_scope.type,id:this.current_scope.id});var s=new URL(window.location.href);s.searchParams.set("scope",this.current_scope.id),window.location.href=s.toString(),window.location.replace(s.toString())})).catch((s=>console.log(s))).finally((()=>{this.changeBtn.stop()}))}setScopeValues(s){this.scopes=s,this.originalScopesList=s,1==s.length?(this.current_scope=s[0],this.selected_scope=s[0]):(this.current_scope=s.find((s=>s.selected)),this.selected_scope=s.find((s=>s.selected)))}handleSearchFieldTyping(s){let e=s.target.value.toLocaleLowerCase();this.scopes=e?this.originalScopesList.filter((s=>s.name.toLowerCase().includes(e))):this.originalScopesList}handleScopeSelection(s){this.current_scope=this.scopes.find((e=>e.id==s.target.value))}placeholderContent(){return e("salla-placeholder",{alignment:"center",class:"s-scopes-placeholder"},e("span",{slot:"title"},salla.lang.get("blocks.scope.branch_looking_for_not_found")),e("span",{slot:"description"},salla.lang.get("blocks.scope.our_services_not_available_in_this_branch")))}defaultContent(){return[e("div",{class:"s-scopes-container s-scrollbar"},this.scopes.map((s=>e("div",{class:"s-scopes-input-wrap","data-selection":this.selection},e("input",{id:`${this.selection} + '_scope_' + ${s.id}`,name:"lang",type:"radio",value:s.id,onChange:s=>this.handleScopeSelection(s),class:"s-scopes-input",checked:!!this.current_scope&&this.current_scope.id==s.id}),e("label",{htmlFor:`${this.selection} + '_scope_' + ${s.id}`,class:"s-scopes-label s-scopes-clickable"},e("span",null,s.name)))))),this.footerContent()]}availabilityContent(){return e("div",{class:"s-scopes-container"},this.scopes.map((s=>{var t,l,a,o,h,c;return e("div",{class:"s-scopes-input-wrap","data-selection":this.selection},e("h2",{class:{"s-scopes-label":!0,"s-scopes-clickable":this.mode===i.DEFAULT}},e("span",null,s.name)),e("h2",{style:{color:null===(l=null===(t=s)||void 0===t?void 0:t.availability)||void 0===l?void 0:l.color},class:`s-scopes-${null===(o=null===(a=s)||void 0===a?void 0:a.availability)||void 0===o?void 0:o.key}`},null===(c=null===(h=s)||void 0===h?void 0:h.availability)||void 0===c?void 0:c.label))})))}footerContent(){return e("div",{class:"s-scopes-footer"},e("slot",{name:"footer"},e("salla-button",{ref:s=>this.changeBtn=s,disabled:!this.current_scope,onClick:()=>this.handleSubmit(),class:"s-scopes-submit","loader-position":"center",width:"wide"},salla.lang.get("common.elements.confirm"))))}render(){return e(t,null,e("salla-modal",{ref:s=>this.modal=s,isClosable:!(!this.isOpenedBefore&&"optional"!=this.selection),class:"s-scopes-modal",isLoading:!0,"has-skeleton":!0},e("div",{slot:"loading"},e("div",{class:"s-scopes-skeleton"},e("salla-list-tile",{class:"s-scopes-header"},e("div",{slot:"icon",class:"s-scopes-header-icon"},e("salla-skeleton",{type:"circle"})),e("div",{slot:"title",class:"s-scopes-header-title mb-5"},e("salla-skeleton",{height:"15px",width:"50%"})),e("div",{slot:"subtitle",class:"s-scopes-header-subtitle"},e("salla-skeleton",{height:"10px"}),e("salla-skeleton",{height:"10px",width:"75%"}))),e("div",{class:"s-scopes-skeleton-search"},e("salla-skeleton",{height:"10px",width:"50%"}),e("salla-skeleton",{height:"30px",width:"100%"})),e("div",{class:"s-scopes-skeleton-scopes"},e("salla-skeleton",{height:"10px",width:"30%"}),e("salla-skeleton",{height:"10px",width:"25%"}),e("salla-skeleton",{height:"10px",width:"30%"}),e("salla-skeleton",{height:"10px",width:"25%"}),e("salla-skeleton",{height:"10px",width:"30%"}),e("salla-skeleton",{height:"10px",width:"25%"}),e("salla-skeleton",{height:"10px",width:"30%"}),e("salla-skeleton",{height:"10px",width:"25%"})),e("div",{class:"s-scopes-skeleton-btn"},e("salla-skeleton",{height:"40px",width:"100%"})))),e("salla-list-tile",{class:this.originalScopesList.length?"s-scopes-header block":"s-hidden"},e("div",{slot:"icon",class:"s-scopes-header-icon",innerHTML:'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>store-alt</title>\n<path d="M6.667 24h5.333c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333zM31.86 10.071l-4-8c-0.227-0.452-0.688-0.737-1.193-0.737h-21.333c-0.505 0-0.967 0.285-1.193 0.737l-4 8c-0.092 0.184-0.14 0.389-0.14 0.596v18.667c0 0.737 0.597 1.333 1.333 1.333h29.333c0.736 0 1.333-0.596 1.333-1.333v-18.667c0-0.207-0.048-0.412-0.14-0.596zM6.157 4h19.685l3.333 6.667h-26.352zM24 28h-5.333v-9.333h5.333zM29.333 28h-2.667v-10.667c0-0.737-0.597-1.333-1.333-1.333h-8c-0.736 0-1.333 0.596-1.333 1.333v10.667h-13.333v-14.667h26.667zM6.667 18.667h5.333c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333z"></path>\n</svg>\n'}),e("div",{slot:"title",class:"s-scopes-header-title"},salla.lang.get("blocks.scope.you_are_browse_store_from")),e("div",{slot:"subtitle",class:"s-scopes-header-subtitle"},this.selected_scope?this.selected_scope.name:"")),e("div",{class:"s-scopes-wrap"},!!this.originalScopesList.length&&e("h4",{class:"s-scopes-title"},this.getFormTitle()),this.originalScopesList.length>this.searchDisplayLimit?e("div",{class:"s-scopes-search-wrapper"},e("div",{class:"s-scopes-search-icon",innerHTML:l}),e("input",{type:"text",class:"s-scopes-search-input",onInput:s=>this.handleSearchFieldTyping(s),enterkeyhint:"search",placeholder:salla.lang.get("blocks.scope.searching_for_a_branch")})):"",this.hasError||this.scopes.length<2?this.placeholderContent():this.mode===i.DEFAULT?this.defaultContent():this.availabilityContent())))}componentDidLoad(){this.isOpenedBefore||"mandatory"!=this.selection||this.open()}};a.style=".s-scopes-availability-content{display:flex;justify-content:center;align-items:center}.s-scopes-placeholder{flex:0 0 85%}";export{a as salla_scopes}
4
+ import{r as s,h as e,H as l}from"./p-ca68752d.js";import{S as t}from"./p-475ef754.js";var i;!function(s){s.DEFAULT="default",s.AVAILABILITY="availability"}(i||(i={}));const a=class{constructor(e){s(this,e),this.translationLoaded=!1,this.mode=i.DEFAULT,this.scopes=[],this.originalScopesList=[],this.isOpenedBefore=salla.storage.get("branch-choosed-before"),this.hasError=!1,this.selection="optional",this.searchDisplayLimit=6,this.getFormTitle=()=>{var s;return(null===(s=this.originalScopesList)||void 0===s?void 0:s.length)<2?"":this.mode===i.DEFAULT?salla.lang.get("blocks.scope.shopping_from_another_branch"):salla.lang.get("blocks.scope.search_for_availability_in_other_branches")},salla.event.on("scopes::open",(({mode:s=null,product_id:e=null})=>{this.open(s,e)})),salla.lang.onLoaded((()=>{this.translationLoaded=!0}))}async close(){var s;return await(null===(s=this.modal)||void 0===s?void 0:s.close())}async open(s=i.DEFAULT,e=null){return this.setScopeValues([]),this.mode=void 0!==s&&[i.AVAILABILITY,i.DEFAULT].includes(s)?s:i.DEFAULT,this.modal.open(),await salla.api.withoutNotifier((()=>s==i.AVAILABILITY?salla.scope.getProductAvailability(e):salla.scope.get())).then((e=>{if(s==i.AVAILABILITY)return this.setScopeValues(e.data);this.setScopeValues(e.data.scopes)})).catch((s=>{console.log(s),this.hasError=!0})).finally((()=>this.modal.stopLoading()))}async handleSubmit(){let s={id:this.current_scope.id};return this.changeBtn.load(),await salla.scope.change(s).then((()=>{salla.storage.set("branch-choosed-before",!0),salla.storage.set("scope",{type:this.current_scope.type,id:this.current_scope.id});var s=new URL(window.location.href);s.searchParams.set("scope",this.current_scope.id),window.location.href=s.toString(),window.location.replace(s.toString())})).catch((s=>console.log(s))).finally((()=>{this.changeBtn.stop()}))}setScopeValues(s){this.scopes=s,this.originalScopesList=s,1==s.length?(this.current_scope=s[0],this.selected_scope=s[0]):(this.current_scope=s.find((s=>s.selected)),this.selected_scope=s.find((s=>s.selected)))}handleSearchFieldTyping(s){let e=s.target.value.toLocaleLowerCase();this.scopes=e?this.originalScopesList.filter((s=>s.name.toLowerCase().includes(e))):this.originalScopesList}handleScopeSelection(s){this.current_scope=this.scopes.find((e=>e.id==s.target.value))}placeholderContent(){return e("salla-placeholder",{alignment:"center",class:"s-scopes-placeholder"},e("span",{slot:"title"},salla.lang.get("blocks.scope.branch_looking_for_not_found")),e("span",{slot:"description"},salla.lang.get("blocks.scope.our_services_not_available_in_this_branch")))}defaultContent(){return[e("div",{class:"s-scopes-container s-scrollbar"},this.scopes.map((s=>e("div",{class:"s-scopes-input-wrap","data-selection":this.selection},e("input",{id:`${this.selection} + '_scope_' + ${s.id}`,name:"lang",type:"radio",value:s.id,onChange:s=>this.handleScopeSelection(s),class:"s-scopes-input",checked:!!this.current_scope&&this.current_scope.id==s.id}),e("label",{htmlFor:`${this.selection} + '_scope_' + ${s.id}`,class:"s-scopes-label s-scopes-clickable"},e("span",null,s.name)))))),this.footerContent()]}availabilityContent(){return e("div",{class:"s-scopes-container"},this.scopes.map((s=>{var l,t,a,o,h,c;return e("div",{class:"s-scopes-input-wrap","data-selection":this.selection},e("h2",{class:{"s-scopes-label":!0,"s-scopes-clickable":this.mode===i.DEFAULT}},e("span",null,s.name)),e("h2",{style:{color:null===(t=null===(l=s)||void 0===l?void 0:l.availability)||void 0===t?void 0:t.color},class:`s-scopes-${null===(o=null===(a=s)||void 0===a?void 0:a.availability)||void 0===o?void 0:o.key}`},null===(c=null===(h=s)||void 0===h?void 0:h.availability)||void 0===c?void 0:c.label))})))}footerContent(){return e("div",{class:"s-scopes-footer"},e("slot",{name:"footer"},e("salla-button",{ref:s=>this.changeBtn=s,disabled:!this.current_scope,onClick:()=>this.handleSubmit(),class:"s-scopes-submit","loader-position":"center",width:"wide"},salla.lang.get("common.elements.confirm"))))}render(){return e(l,null,e("salla-modal",{ref:s=>this.modal=s,isClosable:!(!this.isOpenedBefore&&"optional"!=this.selection),class:"s-scopes-modal",isLoading:!0,"has-skeleton":!0},e("div",{slot:"loading"},e("div",{class:"s-scopes-skeleton"},e("salla-list-tile",{class:"s-scopes-header"},e("div",{slot:"icon",class:"s-scopes-header-icon"},e("salla-skeleton",{type:"circle"})),e("div",{slot:"title",class:"s-scopes-header-title mb-5"},e("salla-skeleton",{height:"15px",width:"50%"})),e("div",{slot:"subtitle",class:"s-scopes-header-subtitle"},e("salla-skeleton",{height:"10px"}),e("salla-skeleton",{height:"10px",width:"75%"}))),e("div",{class:"s-scopes-skeleton-search"},e("salla-skeleton",{height:"10px",width:"50%"}),e("salla-skeleton",{height:"30px",width:"100%"})),e("div",{class:"s-scopes-skeleton-scopes"},e("salla-skeleton",{height:"10px",width:"30%"}),e("salla-skeleton",{height:"10px",width:"25%"}),e("salla-skeleton",{height:"10px",width:"30%"}),e("salla-skeleton",{height:"10px",width:"25%"}),e("salla-skeleton",{height:"10px",width:"30%"}),e("salla-skeleton",{height:"10px",width:"25%"}),e("salla-skeleton",{height:"10px",width:"30%"}),e("salla-skeleton",{height:"10px",width:"25%"})),e("div",{class:"s-scopes-skeleton-btn"},e("salla-skeleton",{height:"40px",width:"100%"})))),e("salla-list-tile",{class:this.originalScopesList.length?"s-scopes-header block":"s-hidden"},e("div",{slot:"icon",class:"s-scopes-header-icon",innerHTML:'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>store-alt</title>\n<path d="M6.667 24h5.333c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333zM31.86 10.071l-4-8c-0.227-0.452-0.688-0.737-1.193-0.737h-21.333c-0.505 0-0.967 0.285-1.193 0.737l-4 8c-0.092 0.184-0.14 0.389-0.14 0.596v18.667c0 0.737 0.597 1.333 1.333 1.333h29.333c0.736 0 1.333-0.596 1.333-1.333v-18.667c0-0.207-0.048-0.412-0.14-0.596zM6.157 4h19.685l3.333 6.667h-26.352zM24 28h-5.333v-9.333h5.333zM29.333 28h-2.667v-10.667c0-0.737-0.597-1.333-1.333-1.333h-8c-0.736 0-1.333 0.596-1.333 1.333v10.667h-13.333v-14.667h26.667zM6.667 18.667h5.333c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333z"></path>\n</svg>\n'}),e("div",{slot:"title",class:"s-scopes-header-title"},salla.lang.get("blocks.scope.you_are_browse_store_from")),e("div",{slot:"subtitle",class:"s-scopes-header-subtitle"},this.selected_scope?this.selected_scope.name:"")),e("div",{class:"s-scopes-wrap"},!!this.originalScopesList.length&&e("h4",{class:"s-scopes-title"},this.getFormTitle()),this.originalScopesList.length>this.searchDisplayLimit?e("div",{class:"s-scopes-search-wrapper"},e("div",{class:"s-scopes-search-icon",innerHTML:t}),e("input",{type:"text",class:"s-scopes-search-input",onInput:s=>this.handleSearchFieldTyping(s),enterkeyhint:"search",placeholder:salla.lang.get("blocks.scope.searching_for_a_branch")})):"",this.hasError||this.scopes.length<2?this.placeholderContent():this.mode===i.DEFAULT?this.defaultContent():this.availabilityContent())))}componentDidLoad(){this.isOpenedBefore||"mandatory"!=this.selection||this.open()}};a.style=".s-scopes-availability-content{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.s-scopes-placeholder{-ms-flex:0 0 85%;flex:0 0 85%}";export{a as salla_scopes}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ const e="twilight";let t,l,n=!1,s=!1,o=!1,i=!1,r=!1;const c="undefined"!=typeof window?window:{},f=c.CSS,a=c.document||{head:{}},u={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,n)=>e.addEventListener(t,l,n),rel:(e,t,l,n)=>e.removeEventListener(t,l,n),ce:(e,t)=>new CustomEvent(e,t)},$=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),h=(e,t,l)=>{l&&l.map((([l,n,s])=>{const o=m(e,l),i=y(t,s),r=p(l);u.ael(o,n,i,r),(t.o=t.o||[]).push((()=>u.rel(o,n,i,r)))}))},y=(e,t)=>l=>{try{256&e.t?e.i[t](l):(e.u=e.u||[]).push([t,l])}catch(e){de(e)}},m=(e,t)=>8&t?c:e,p=e=>0!=(2&e),w="http://www.w3.org/1999/xlink",b=new WeakMap,g=e=>"sc-"+e.$,k={},v=e=>"object"==(e=typeof e)||"function"===e,j=(e,t,...l)=>{let n=null,s=null,o=null,i=!1,r=!1;const c=[],f=t=>{for(let l=0;l<t.length;l++)n=t[l],Array.isArray(n)?f(n):null!=n&&"boolean"!=typeof n&&((i="function"!=typeof e&&!v(n))&&(n+=""),i&&r?c[c.length-1].h+=n:c.push(i?S(null,n):n),r=i)};if(f(l),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=S(e,null);return a.m=t,c.length>0&&(a.p=c),a.g=s,a.k=o,a},S=(e,t)=>({t:0,v:e,h:t,j:null,p:null,m:null,g:null,k:null}),x={},O=(e,t,l,n,s,o)=>{if(l!==n){let i=$e(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,s=C(l),o=C(n);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in l)n&&null!=n[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in n)l&&n[t]===l[t]||(t.includes("-")?e.style.setProperty(t,n[t]):e.style[t]=n[t])}else if("key"===t);else if("ref"===t)n&&n(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=v(n);if((i||c&&null!==n)&&!s)try{if(e.tagName.includes("-"))e[t]=n;else{const s=null==n?"":n;"list"===t?i=!1:null!=l&&e[t]==s||(e[t]=s)}}catch(e){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==n||!1===n?!1===n&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(w,t):e.removeAttribute(t)):(!i||4&o||s)&&!c&&(n=!0===n?"":n,f?e.setAttributeNS(w,t,n):e.setAttribute(t,n))}else t="-"===t[2]?t.slice(3):$e(c,r)?r.slice(2):r[2]+t.slice(3),l&&u.rel(e,t,l,!1),n&&u.ael(e,t,n,!1)}},M=/\s/,C=e=>e?e.split(M):[],R=(e,t,l,n)=>{const s=11===t.j.nodeType&&t.j.host?t.j.host:t.j,o=e&&e.m||k,i=t.m||k;for(n in o)n in i||O(s,n,o[n],void 0,l,t.t);for(n in i)O(s,n,o[n],i[n],l,t.t)},N=(e,s,r)=>{const c=s.p[r];let f,u,$,d=0;if(n||(o=!0,"slot"===c.v&&(c.t|=c.p?2:1)),null!==c.h)f=c.j=a.createTextNode(c.h);else if(1&c.t)f=c.j=a.createTextNode("");else{if(i||(i="svg"===c.v),f=c.j=a.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&c.t?"slot-fb":c.v),i&&"foreignObject"===c.v&&(i=!1),R(null,c,i),c.p)for(d=0;d<c.p.length;++d)u=N(e,c,d),u&&f.appendChild(u);"svg"===c.v?i=!1:"foreignObject"===f.tagName&&(i=!0)}return f["s-hn"]=l,3&c.t&&(f["s-sr"]=!0,f["s-cr"]=t,f["s-sn"]=c.k||"",$=e&&e.p&&e.p[r],$&&$.v===c.v&&e.j&&P(e.j,!1)),f},P=(e,t)=>{u.t|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const s=n[e];s["s-hn"]!==l&&s["s-ol"]&&(E(s).insertBefore(s,L(s)),s["s-ol"].remove(),s["s-ol"]=void 0,o=!0),t&&P(s,t)}u.t&=-2},T=(e,t,l,n,s,o)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(;s<=o;++s)n[s]&&(i=N(null,l,s),i&&(n[s].j=i,r.insertBefore(i,L(t))))},_=(e,t,l,n,o)=>{for(;t<=l;++t)(n=e[t])&&(o=n.j,U(n),s=!0,o["s-ol"]?o["s-ol"].remove():P(o,!0),o.remove())},I=(e,t)=>e.v===t.v&&("slot"===e.v?e.k===t.k:e.g===t.g),L=e=>e&&e["s-ol"]||e,E=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,W=(e,t)=>{const l=t.j=e.j,n=e.p,s=t.p,o=t.v,r=t.h;let c;null===r?(i="svg"===o||"foreignObject"!==o&&i,"slot"===o||R(e,t,i),null!==n&&null!==s?((e,t,l,n)=>{let s,o,i=0,r=0,c=0,f=0,a=t.length-1,u=t[0],$=t[a],d=n.length-1,h=n[0],y=n[d];for(;i<=a&&r<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--a];else if(null==h)h=n[++r];else if(null==y)y=n[--d];else if(I(u,h))W(u,h),u=t[++i],h=n[++r];else if(I($,y))W($,y),$=t[--a],y=n[--d];else if(I(u,y))"slot"!==u.v&&"slot"!==y.v||P(u.j.parentNode,!1),W(u,y),e.insertBefore(u.j,$.j.nextSibling),u=t[++i],y=n[--d];else if(I($,h))"slot"!==u.v&&"slot"!==y.v||P($.j.parentNode,!1),W($,h),e.insertBefore($.j,u.j),$=t[--a],h=n[++r];else{for(c=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].g&&t[f].g===h.g){c=f;break}c>=0?(o=t[c],o.v!==h.v?s=N(t&&t[r],l,c):(W(o,h),t[c]=void 0,s=o.j),h=n[++r]):(s=N(t&&t[r],l,r),h=n[++r]),s&&E(u.j).insertBefore(s,L(u.j))}i>a?T(e,null==n[d+1]?null:n[d+1].j,l,n,r,d):r>d&&_(t,i,a)})(l,n,t,s):null!==s?(null!==e.h&&(l.textContent=""),T(l,null,t,s,0,s.length-1)):null!==n&&_(n,0,n.length-1),i&&"svg"===o&&(i=!1)):(c=l["s-cr"])?c.parentNode.textContent=r:e.h!==r&&(l.data=r)},A=e=>{const t=e.childNodes;let l,n,s,o,i,r;for(n=0,s=t.length;n<s;n++)if(l=t[n],1===l.nodeType){if(l["s-sr"])for(i=l["s-sn"],l.hidden=!1,o=0;o<s;o++)if(r=t[o].nodeType,t[o]["s-hn"]!==l["s-hn"]||""!==i){if(1===r&&i===t[o].getAttribute("slot")){l.hidden=!0;break}}else if(1===r||3===r&&""!==t[o].textContent.trim()){l.hidden=!0;break}A(l)}},D=[],F=e=>{let t,l,n,o,i,r,c=0;const f=e.childNodes,a=f.length;for(;c<a;c++){if(t=f[c],t["s-sr"]&&(l=t["s-cr"])&&l.parentNode)for(n=l.parentNode.childNodes,o=t["s-sn"],r=n.length-1;r>=0;r--)l=n[r],l["s-cn"]||l["s-nr"]||l["s-hn"]===t["s-hn"]||(H(l,o)?(i=D.find((e=>e.S===l)),s=!0,l["s-sn"]=l["s-sn"]||o,i?i.O=t:D.push({O:t,S:l}),l["s-sr"]&&D.map((e=>{H(e.S,l["s-sn"])&&(i=D.find((e=>e.S===l)),i&&!e.O&&(e.O=i.O))}))):D.some((e=>e.S===l))||D.push({S:l}));1===t.nodeType&&F(t)}},H=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,U=e=>{e.m&&e.m.ref&&e.m.ref(null),e.p&&e.p.map(U)},q=e=>fe(e).M,V=(e,t,l)=>{const n=q(e);return{emit:e=>z(n,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},z=(e,t,l)=>{const n=u.ce(t,l);return e.dispatchEvent(n),n},B=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},G=(e,t)=>{if(e.t|=16,!(4&e.t))return B(e,e.R),je((()=>J(e,t)));e.t|=512},J=(e,t)=>{const l=e.i;let n;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>Z(l,e,t))),e.u=null),n=Z(l,"componentWillLoad")),ee(n,(()=>K(e,l,t)))},K=async(e,t,l)=>{const n=e.M,s=n["s-rc"];l&&(e=>{const t=e.N;((e,t)=>{let l=g(t);const n=me.get(l);if(e=11===e.nodeType?e:a,n)if("string"==typeof n){let t,s=b.get(e=e.head||e);s||b.set(e,s=new Set),s.has(l)||(e.host&&(t=e.querySelector(`[sty-id="${l}"]`))?t.innerHTML=n:(t=a.createElement("style"),t.innerHTML=n,e.insertBefore(t,e.querySelector("link"))),s&&s.add(l))}else e.adoptedStyleSheets.includes(n)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,n])})(e.M.getRootNode(),t)})(e);Q(e,t),s&&(s.map((e=>e())),n["s-rc"]=void 0);{const t=n["s-p"],l=()=>X(e);0===t.length?l():(Promise.all(t).then(l),e.t|=4,t.length=0)}},Q=(e,i)=>{try{i=i.render(),e.t&=-17,e.t|=2,((e,i)=>{const r=e.M,c=e.N,f=e.P||S(null,null),$=(e=>e&&e.v===x)(i)?i:j(null,null,i);if(l=r.tagName,c.T&&($.m=$.m||{},c.T.map((([e,t])=>$.m[t]=r[e]))),$.v=null,$.t|=4,e.P=$,$.j=f.j=r,t=r["s-cr"],n=0!=(1&c.t),s=!1,W(f,$),u.t|=1,o){let e,t,l,n,s,o;F($.j);let i=0;for(;i<D.length;i++)e=D[i],t=e.S,t["s-ol"]||(l=a.createTextNode(""),l["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=l,t));for(i=0;i<D.length;i++)if(e=D[i],t=e.S,e.O){for(n=e.O.parentNode,s=e.O.nextSibling,l=t["s-ol"];l=l.previousSibling;)if(o=l["s-nr"],o&&o["s-sn"]===t["s-sn"]&&n===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&n!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),n.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}s&&A($.j),u.t&=-2,D.length=0})(e,i)}catch(t){de(t,e.M)}return null},X=e=>{const t=e.M,l=e.i,n=e.R;Z(l,"componentDidRender"),64&e.t||(e.t|=64,te(t),Z(l,"componentDidLoad"),e._(t),n||Y()),e.I(t),e.C&&(e.C(),e.C=void 0),512&e.t&&ve((()=>G(e,!1))),e.t&=-517},Y=()=>{te(a.documentElement),ve((()=>z(c,"appload",{detail:{namespace:"twilight"}})))},Z=(e,t,l)=>{if(e&&e[t])try{return e[t](l)}catch(e){de(e)}},ee=(e,t)=>e&&e.then?e.then(t):t(),te=e=>e.classList.add("hydrated"),le=(e,t,l,n,s,o,i)=>{let r,c,f,a;if(1===o.nodeType){for(r=o.getAttribute("c-id"),r&&(c=r.split("."),c[0]!==i&&"0"!==c[0]||(f={t:0,L:c[0],W:c[1],A:c[2],D:c[3],v:o.tagName.toLowerCase(),j:o,m:null,p:null,g:null,k:null,h:null},t.push(f),o.removeAttribute("c-id"),e.p||(e.p=[]),e.p[f.D]=f,e=f,n&&"0"===f.A&&(n[f.D]=f.j))),a=o.childNodes.length-1;a>=0;a--)le(e,t,l,n,s,o.childNodes[a],i);if(o.shadowRoot)for(a=o.shadowRoot.childNodes.length-1;a>=0;a--)le(e,t,l,n,s,o.shadowRoot.childNodes[a],i)}else if(8===o.nodeType)c=o.nodeValue.split("."),c[1]!==i&&"0"!==c[1]||(r=c[0],f={t:0,L:c[1],W:c[2],A:c[3],D:c[4],j:o,m:null,p:null,g:null,k:null,v:null,h:null},"t"===r?(f.j=o.nextSibling,f.j&&3===f.j.nodeType&&(f.h=f.j.textContent,t.push(f),o.remove(),e.p||(e.p=[]),e.p[f.D]=f,n&&"0"===f.A&&(n[f.D]=f.j))):f.L===i&&("s"===r?(f.v="slot",o["s-sn"]=c[5]?f.k=c[5]:"",o["s-sr"]=!0,l.push(f),e.p||(e.p=[]),e.p[f.D]=f):"r"===r&&(s["s-cr"]=o,o["s-cn"]=!0)));else if(e&&"style"===e.v){const t=S(null,o.textContent);t.j=o,t.D="0",e.p=[t]}},ne=(e,t)=>{if(1===e.nodeType){let l=0;for(;l<e.childNodes.length;l++)ne(e.childNodes[l],t);if(e.shadowRoot)for(l=0;l<e.shadowRoot.childNodes.length;l++)ne(e.shadowRoot.childNodes[l],t)}else if(8===e.nodeType){const l=e.nodeValue.split(".");"o"===l[0]&&(t.set(l[1]+"."+l[2],e),e.nodeValue="",e["s-en"]=l[3])}},se=(e,t,l)=>{if(t.F){e.watchers&&(t.H=e.watchers);const n=Object.entries(t.F),s=e.prototype;if(n.map((([e,[n]])=>{31&n||2&l&&32&n?Object.defineProperty(s,e,{get(){return((e,t)=>fe(this).U.get(t))(0,e)},set(l){((e,t,l,n)=>{const s=fe(e),o=s.M,i=s.U.get(t),r=s.t,c=s.i;if(l=((e,t)=>null==e||v(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,n.F[t][0]),(!(8&r)||void 0===i)&&l!==i&&(!Number.isNaN(i)||!Number.isNaN(l))&&(s.U.set(t,l),c)){if(n.H&&128&r){const e=n.H[t];e&&e.map((e=>{try{c[e](l,i,t)}catch(e){de(e,o)}}))}2==(18&r)&&G(s,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&n&&Object.defineProperty(s,e,{value(...t){const l=fe(this);return l.q.then((()=>l.i[e](...t)))}})})),1&l){const l=new Map;s.attributeChangedCallback=function(e,t,n){u.jmp((()=>{const t=l.get(e);if(this.hasOwnProperty(t))n=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==n)return;this[t]=(null!==n||"boolean"!=typeof this[t])&&n}))},e.observedAttributes=n.filter((([e,t])=>15&t[0])).map((([e,n])=>{const s=n[1]||e;return l.set(s,e),512&n[0]&&t.T.push([e,s]),s}))}}return e},oe=e=>{if(0==(1&u.t)){const t=fe(e),l=t.N,n=()=>{};if(1&t.t)h(e,t,l.V);else{let n;t.t|=1,n=e.getAttribute("s-id"),n&&((e,t,l,n)=>{const s=e.shadowRoot,o=[],i=n.P=S(t,null);u.B||ne(a.body,u.B=new Map),e["s-id"]=l,e.removeAttribute("s-id"),le(i,o,[],null,e,e,l),o.map((e=>{const l=e.L+"."+e.W,n=u.B.get(l),o=e.j;n&&""===n["s-en"]&&n.parentNode.insertBefore(o,n.nextSibling),s||(o["s-hn"]=t,n&&(o["s-ol"]=n,o["s-ol"]["s-nr"]=o)),u.B.delete(l)}))})(e,l.$,n,t),n||12&l.t&&ie(e);{let l=e;for(;l=l.parentNode||l.host;)if(1===l.nodeType&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){B(t,t.R=l);break}}l.F&&Object.entries(l.F).map((([t,[l]])=>{if(31&l&&e.hasOwnProperty(t)){const l=e[t];delete e[t],e[t]=l}})),(async(e,t,l,n,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=ye(l)).then){const e=()=>{};s=await s,e()}s.isProxied||(l.H=s.watchers,se(s,l,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){de(e)}t.t&=-9,t.t|=128,e()}if(s.style){let e=s.style;const t=g(l);if(!me.has(t)){const n=()=>{};((e,t,l)=>{let n=me.get(e);d&&l?(n=n||new CSSStyleSheet,"string"==typeof n?n=t:n.replaceSync(t)):n=t,me.set(e,n)})(t,e,!!(1&l.t)),n()}}}const o=t.R,i=()=>G(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,l)}n()}},ie=e=>{const t=e["s-cr"]=a.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},re=(e,t={})=>{const l=[],n=t.exclude||[],s=c.customElements,o=a.head,i=o.querySelector("meta[charset]"),r=a.createElement("style"),f=[];let $,d=!0;Object.assign(u,t),u.l=new URL(t.resourcesUrl||"./",a.baseURI).href,u.t|=2,e.map((e=>{e[1].map((t=>{const o={t:t[0],$:t[1],F:t[2],V:t[3]};o.F=t[2],o.V=t[3],o.T=[],o.H={};const i=o.$,r=class extends HTMLElement{constructor(e){super(e),ue(e=this,o)}connectedCallback(){$&&(clearTimeout($),$=null),d?f.push(this):u.jmp((()=>oe(this)))}disconnectedCallback(){u.jmp((()=>(()=>{if(0==(1&u.t)){const e=fe(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return fe(this).G}};o.J=e[0],n.includes(i)||s.get(i)||(l.push(i),s.define(i,se(r,o,1)))}))})),r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),o.insertBefore(r,i?i.nextSibling:o.firstChild),d=!1,f.length?f.map((e=>e.connectedCallback())):u.jmp((()=>$=setTimeout(Y,30)))},ce=new WeakMap,fe=e=>ce.get(e),ae=(e,t)=>ce.set(t.i=e,t),ue=(e,t)=>{const l={t:0,M:e,N:t,U:new Map};return l.q=new Promise((e=>l.I=e)),l.G=new Promise((e=>l._=e)),e["s-p"]=[],e["s-rc"]=[],h(e,l,t.V),ce.set(e,l)},$e=(e,t)=>t in e,de=(e,t)=>(0,console.error)(e,t),he=new Map,ye=e=>{const t=e.$.replace(/-/g,"_"),l=e.J,n=he.get(l);return n?n[t]:__sc_import_twilight(`./${l}.entry.js`).then((e=>(he.set(l,e),e[t])),de)
5
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},me=new Map,pe=[],we=[],be=(e,t)=>l=>{e.push(l),r||(r=!0,t&&4&u.t?ve(ke):u.raf(ke))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){de(e)}e.length=0},ke=()=>{ge(pe),ge(we),(r=pe.length>0)&&u.raf(ke)},ve=e=>$().then(e),je=be(we,!0);export{f as C,x as H,e as N,$ as a,re as b,V as c,a as d,q as g,j as h,u as p,ae as r,c as w}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ System.register(["./p-db0ba553.system.js"],(function(t){"use strict";var r,o,e;return{setters:[function(t){r=t.r;o=t.h;e=t.H}],execute:function(){var a="#tabbyPromoWrapper{background:white;border-radius:0.375rem;-webkit-transition:-webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{-webkit-box-shadow:0 0 #0000, 0 0 #0000, 5px 10px 30px #2B2D340D;box-shadow:0 0 #0000, 0 0 #0000, 5px 10px 30px #2B2D340D}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;-webkit-box-shadow:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--color-text);font-size:var(--font-sm);line-height:1.25;padding:18px 20px 18px 100px !important;background:white;border-radius:0.375rem;-webkit-transition:-webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{-webkit-box-shadow:0 0 #0000, 0 0 #0000, 5px 10px 30px #2B2D340D;box-shadow:0 0 #0000, 0 0 #0000, 5px 10px 30px #2B2D340D}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px;top:18px;margin:0 !important}.ltr .tamara-product-widget .tamara-logo{right:20px;left:auto}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}";var i=t("salla_installment",function(){function t(t){var o=this;r(this,t);this.tabbyBorderRemoved=false;this.tabbyRemoveBorderTries=0;this.readyToRender=false;this.language=salla.config.get("user.language_code");this.currency=salla.config.get("user.currency_code");this.tamaraIsActive=false;this.tabbyIsActive=false;this.spotiiIsActive=false;salla.lang.onLoaded((function(){var t=salla.config.get("store.settings.installments");if(t){o.tamaraIsActive=t.includes("tamara_installment");o.tabbyIsActive=t.includes("tabby_installment");o.spotiiIsActive=t.includes("spotii_pay")}o.readyToRender=true}))}t.prototype.render=function(){return o(e,null,this.tamaraIsActive?o("div",{class:"tamara-product-widget","data-price":this.price,"data-currency":this.currency,"data-lang":this.language,"data-payment-type":"installment"}):"",this.tabbyIsActive?o("div",{id:"tabbyPromoWrapper"},o("div",{id:"tabbyPromo"})):"",this.spotiiIsActive?o("div",{class:"spotii-wrapper"},o("div",{class:"spotii-promo"})):"")};t.prototype.componentDidRender=function(){var t=this;if(!this.readyToRender){return}if(this.tamaraIsActive){var r=document.createElement("script");r.setAttribute("src","https://cdn.tamara.co/widget/product-widget.min.js");document.head.appendChild(r);r.onload=function(){window.TamaraProductWidget.init({lang:t.language});setTimeout((function(){window.TamaraProductWidget.render()}),300)}}if(this.tabbyIsActive){var r=document.createElement("script");r.setAttribute("src","https://checkout.tabby.ai/tabby-promo.js");document.head.appendChild(r);r.onload=function(){var r=window.TabbyPromo;new r({selector:"#tabbyPromo",currency:t.currency,price:t.price,lang:t.language});document.querySelectorAll(".tabby-promo-snippet__logo").forEach((function(t){t.setAttribute("aria-label","Tabby Logo")}))};this.removeTabbyBorder()}if(this.spotiiIsActive){var o=salla.money((Number(this.price)/4).toFixed(2));var e=salla.config.get("theme.is_rtl",true);window.spotiiConfig={targetXPath:[".spotii-wrapper"],renderToPath:[".spotii-promo"],numberOfPayment:4,currency:this.currency,templateLine:"${textOne} ${number} ${textTwo} "+o+"${logo} ${info}",textOne:e?"جزء الدفع على":"Split it into",textTwo:e?"أقساط متساوية بدون تكاليف اضافية بقيمة":"payments of",textThree:"مع",price:this.price};var r=document.createElement("script");r.setAttribute("src",salla.url.cdn("js/price-widget-ar-salla.js"));document.head.appendChild(r)}};t.prototype.removeTabbyBorder=function(){var t=this;if(this.tabbyBorderRemoved||this.tabbyRemoveBorderTries>5){return}this.tabbyRemoveBorderTries++;setTimeout((function(){var r=document.querySelector("#tabbyPromo>div>div");r=r?r.shadowRoot.querySelector('div[class^="styles__tabby-promo-snippet--"]'):null;if(r){r.style="border: none; margin: 15px 0!important;";t.tabbyBorderRemoved=true}else{t.removeTabbyBorder()}}),this.tabbyRemoveBorderTries*500)};return t}());i.style=a}}}));
@@ -0,0 +1,5 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{$(n.next(e))}catch(e){i(e)}}function s(e){try{$(n["throw"](e))}catch(e){i(e)}}function $(e){e.done?r(e.value):a(e.value).then(l,s)}$((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return $([e,t])}}function $(l){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};
2
+ /*!
3
+ * Crafted with ❤ by Salla
4
+ */System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n=e("N","twilight");var a;var i;var l=false;var s=false;var $=false;var o=false;var f=false;var u=e("w",typeof window!=="undefined"?window:{});var c=e("C",u.CSS);var v=e("d",u.document||{head:{}});var d=e("p",{$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}});var h=true;var p=e("a",(function(e){return Promise.resolve(e)}));var m=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var g=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=b(e,n);var s=y(t,i);var $=w(n);d.ael(l,a,s,$);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return d.rel(l,a,s,$)}))}))}};var y=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){He(e)}}};var b=function(e,t){if(t&8)return u;return e};var w=function(e){return(e&2)!==0};var N="r";var S="o";var R="s";var x="t";var _="s-id";var T="sty-id";var k="c-id";var C="{visibility:hidden}.hydrated{visibility:inherit}";var L="http://www.w3.org/1999/xlink";var A=function(e,t){if(t===void 0){t=""}{return function(){return}}};var j=function(e,t){{return function(){return}}};var I=new WeakMap;var P=function(e,t,r){var n=We.get(e);if(m&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}We.set(e,n)};var E=function(e,t,r,n){var a=O(t);var i=We.get(a);e=e.nodeType===11?e:v;if(i){if(typeof i==="string"){e=e.head||e;var l=I.get(e);var s=void 0;if(!l){I.set(e,l=new Set)}if(!l.has(a)){if(e.host&&(s=e.querySelector("[".concat(T,'="').concat(a,'"]')))){s.innerHTML=i}else{if(d.$cssShim$){s=d.$cssShim$.createHostStyle(n,a,i,!!(t.$flags$&10));var $=s["s-sc"];if($){a=$;l=null}}else{s=v.createElement("style");s.innerHTML=i}e.insertBefore(s,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var M=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=A("attachStyles",t.$tagName$);E(r.getRootNode(),t,e.$modeName$,r);n()};var O=function(e,t){return"sc-"+e.$tagName$};var B={};var q="http://www.w3.org/2000/svg";var z="http://www.w3.org/1999/xhtml";var H=function(e){e=typeof e;return e==="object"||e==="function"};var U=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=null;var s=false;var $=false;var o=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(s=typeof e!=="function"&&!H(a)){a=String(a)}if(s&&$){o[o.length-1].$text$+=a}else{o.push(s?V(null,a):a)}$=s}}};f(r);if(t){if(t.key){i=t.key}if(t.name){l=t.name}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var c=V(e,null);c.$attrs$=t;if(o.length>0){c.$children$=o}{c.$key$=i}{c.$name$=l}return c}));var V=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}{r.$name$=null}return r};var W=e("H",{});var D=function(e){return e&&e.$tag$===W};var F=function(e,t,r,n,a,i){if(r!==n){var l=ze(e,t);var s=t.toLowerCase();if(t==="class"){var $=e.classList;var o=J(r);var f=J(n);$.remove.apply($,o.filter((function(e){return e&&!f.includes(e)})));$.add.apply($,f.filter((function(e){return e&&!o.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(ze(u,s)){t=s.slice(2)}else{t=s[2]+t.slice(3)}if(r){d.rel(e,t,r,false)}if(n){d.ael(e,t,n,false)}}else{var v=H(n);if((l||v&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var h=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=h){e[t]=h}}else{e[t]=n}}catch(e){}}var p=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){t=s;p=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(L,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!v){n=n===true?"":n;if(p){e.setAttributeNS(L,t,n)}else{e.setAttribute(t,n)}}}}};var G=/\s/;var J=function(e){return!e?[]:e.split(G)};var K=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||B;var l=t.$attrs$||B;{for(n in i){if(!(n in l)){F(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){F(a,n,i[n],l[n],r,t.$flags$)}};var Q=function(e,t,r,n){var s=t.$children$[r];var f=0;var u;var c;var d;if(!l){$=true;if(s.$tag$==="slot"){s.$flags$|=s.$children$?2:1}}if(s.$text$!==null){u=s.$elm$=v.createTextNode(s.$text$)}else if(s.$flags$&1){u=s.$elm$=v.createTextNode("")}else{if(!o){o=s.$tag$==="svg"}u=s.$elm$=v.createElementNS(o?q:z,s.$flags$&2?"slot-fb":s.$tag$);if(o&&s.$tag$==="foreignObject"){o=false}{K(null,s,o)}if(s.$children$){for(f=0;f<s.$children$.length;++f){c=Q(e,s,f);if(c){u.appendChild(c)}}}{if(s.$tag$==="svg"){o=false}else if(u.tagName==="foreignObject"){o=true}}}{u["s-hn"]=i;if(s.$flags$&(2|1)){u["s-sr"]=true;u["s-cr"]=a;u["s-sn"]=s.$name$||"";d=e&&e.$children$&&e.$children$[r];if(d&&d.$tag$===s.$tag$&&e.$elm$){X(e.$elm$,false)}}}return u};var X=function(e,t){d.$flags$|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==i&&a["s-ol"]){ne(a).insertBefore(a,re(a));a["s-ol"].remove();a["s-ol"]=undefined;$=true}if(t){X(a,t)}}d.$flags$&=~1};var Y=function(e,t,r,n,a,i){var l=e["s-cr"]&&e["s-cr"].parentNode||e;var s;for(;a<=i;++a){if(n[a]){s=Q(null,r,a);if(s){n[a].$elm$=s;l.insertBefore(s,re(t))}}}};var Z=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;oe(n);{s=true;if(a["s-ol"]){a["s-ol"].remove()}else{X(a,true)}}a.remove()}}};var ee=function(e,t,r,n){var a=0;var i=0;var l=0;var s=0;var $=t.length-1;var o=t[0];var f=t[$];var u=n.length-1;var c=n[0];var v=n[u];var d;var h;while(a<=$&&i<=u){if(o==null){o=t[++a]}else if(f==null){f=t[--$]}else if(c==null){c=n[++i]}else if(v==null){v=n[--u]}else if(te(o,c)){ae(o,c);o=t[++a];c=n[++i]}else if(te(f,v)){ae(f,v);f=t[--$];v=n[--u]}else if(te(o,v)){if(o.$tag$==="slot"||v.$tag$==="slot"){X(o.$elm$.parentNode,false)}ae(o,v);e.insertBefore(o.$elm$,f.$elm$.nextSibling);o=t[++a];v=n[--u]}else if(te(f,c)){if(o.$tag$==="slot"||v.$tag$==="slot"){X(f.$elm$.parentNode,false)}ae(f,c);e.insertBefore(f.$elm$,o.$elm$);f=t[--$];c=n[++i]}else{l=-1;{for(s=a;s<=$;++s){if(t[s]&&t[s].$key$!==null&&t[s].$key$===c.$key$){l=s;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=Q(t&&t[i],r,l)}else{ae(h,c);t[l]=undefined;d=h.$elm$}c=n[++i]}else{d=Q(t&&t[i],r,i);c=n[++i]}if(d){{ne(o.$elm$).insertBefore(d,re(o.$elm$))}}}}if(a>$){Y(e,n[u+1]==null?null:n[u+1].$elm$,r,n,i,u)}else if(i>u){Z(t,a,$)}};var te=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var re=function(e){return e&&e["s-ol"]||e};var ne=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var ae=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var l=t.$text$;var s;if(l===null){{o=i==="svg"?true:i==="foreignObject"?false:o}{if(i==="slot");else{K(e,t,o)}}if(n!==null&&a!==null){ee(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}Y(r,null,t,a,0,a.length-1)}else if(n!==null){Z(n,0,n.length-1)}if(o&&i==="svg"){o=false}}else if(s=r["s-cr"]){s.parentNode.textContent=l}else if(e.$text$!==l){r.data=l}};var ie=function(e){var t=e.childNodes;var r;var n;var a;var i;var l;var s;for(n=0,a=t.length;n<a;n++){r=t[n];if(r.nodeType===1){if(r["s-sr"]){l=r["s-sn"];r.hidden=false;for(i=0;i<a;i++){s=t[i].nodeType;if(t[i]["s-hn"]!==r["s-hn"]||l!==""){if(s===1&&l===t[i].getAttribute("slot")){r.hidden=true;break}}else{if(s===1||s===3&&t[i].textContent.trim()!==""){r.hidden=true;break}}}}ie(r)}}};var le=[];var se=function(e){var t;var r;var n;var a;var i;var l;var $=0;var o=e.childNodes;var f=o.length;for(;$<f;$++){t=o[$];if(t["s-sr"]&&(r=t["s-cr"])&&r.parentNode){n=r.parentNode.childNodes;a=t["s-sn"];for(l=n.length-1;l>=0;l--){r=n[l];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==t["s-hn"]){if($e(r,a)){i=le.find((function(e){return e.$nodeToRelocate$===r}));s=true;r["s-sn"]=r["s-sn"]||a;if(i){i.$slotRefNode$=t}else{le.push({$slotRefNode$:t,$nodeToRelocate$:r})}if(r["s-sr"]){le.map((function(e){if($e(e.$nodeToRelocate$,r["s-sn"])){i=le.find((function(e){return e.$nodeToRelocate$===r}));if(i&&!e.$slotRefNode$){e.$slotRefNode$=i.$slotRefNode$}}}))}}else if(!le.some((function(e){return e.$nodeToRelocate$===r}))){le.push({$nodeToRelocate$:r})}}}}if(t.nodeType===1){se(t)}}};var $e=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var oe=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(oe)}};var fe=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var o=e.$vnode$||V(null,null);var f=D(t)?t:U(null,null,t);i=r.tagName;if(n.$attrsToReflect$){f.$attrs$=f.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return f.$attrs$[n]=r[t]}))}f.$tag$=null;f.$flags$|=4;e.$vnode$=f;f.$elm$=o.$elm$=r;{a=r["s-cr"];l=(n.$flags$&1)!==0;s=false}ae(o,f);{d.$flags$|=1;if($){se(f.$elm$);var u=void 0;var c=void 0;var h=void 0;var p=void 0;var m=void 0;var g=void 0;var y=0;for(;y<le.length;y++){u=le[y];c=u.$nodeToRelocate$;if(!c["s-ol"]){h=v.createTextNode("");h["s-nr"]=c;c.parentNode.insertBefore(c["s-ol"]=h,c)}}for(y=0;y<le.length;y++){u=le[y];c=u.$nodeToRelocate$;if(u.$slotRefNode$){p=u.$slotRefNode$.parentNode;m=u.$slotRefNode$.nextSibling;h=c["s-ol"];while(h=h.previousSibling){g=h["s-nr"];if(g&&g["s-sn"]===c["s-sn"]&&p===g.parentNode){g=g.nextSibling;if(!g||!g["s-nr"]){m=g;break}}}if(!m&&p!==c.parentNode||c.nextSibling!==m){if(c!==m){if(!c["s-hn"]&&c["s-ol"]){c["s-hn"]=c["s-ol"].parentNode.nodeName}p.insertBefore(c,m)}}}else{if(c.nodeType===1){c.hidden=true}}}}if(s){ie(f.$elm$)}d.$flags$&=~1;le.length=0}};var ue=e("g",(function(e){return Oe(e).$hostElement$}));var ce=e("c",(function(e,t,r){var n=ue(e);return{emit:function(e){return ve(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var ve=function(e,t,r){var n=d.ce(t,r);e.dispatchEvent(n);return n};var de=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var he=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}de(e,e.$ancestorComponent$);var r=function(){return pe(e,t)};return Xe(r)};var pe=function(e,t){var r=A("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return we(n,t,r)}));e.$queuedListeners$=null}}{a=we(n,"componentWillLoad")}}r();return Ne(a,(function(){return me(e,n,t)}))};var me=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,s,$;return __generator(this,(function(o){r=e.$hostElement$;a=A("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){M(e)}l=A("render",e.$cmpMeta$.$tagName$);{ge(e,t)}if(d.$cssShim$){d.$cssShim$.updateHost(r)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{s=r["s-p"];$=function(){return ye(e)};if(s.length===0){$()}else{Promise.all(s).then($);e.$flags$|=4;s.length=0}}return[2]}))}))};var ge=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{fe(e,t)}}}}catch(t){He(t,e.$hostElement$)}return null};var ye=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=A("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{we(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{Se(r)}{we(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){be()}}}else{n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Qe((function(){return he(e,false)}))}e.$flags$&=~(4|512)}};var be=function(e){{Se(v.documentElement)}Qe((function(){return ve(u,"appload",{detail:{namespace:n}})}))};var we=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){He(e)}}return undefined};var Ne=function(e,t){return e&&e.then?e.then(t):t()};var Se=function(e){return e.classList.add("hydrated")};var Re=function(e,t,r,n){var a=A("hydrateClient",t);var i=e.shadowRoot;var l=[];var s=[];var $=null;var o=n.$vnode$=V(t,null);if(!d.$orgLocNodes$){_e(v.body,d.$orgLocNodes$=new Map)}e[_]=r;e.removeAttribute(_);xe(o,l,s,$,e,e,r);l.map((function(e){var r=e.$hostId$+"."+e.$nodeId$;var n=d.$orgLocNodes$.get(r);var a=e.$elm$;if(n&&h&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}d.$orgLocNodes$.delete(r)}));a()};var xe=function(e,t,r,n,a,i,l){var s;var $;var o;var f;if(i.nodeType===1){s=i.getAttribute(k);if(s){$=s.split(".");if($[0]===l||$[0]==="0"){o={$flags$:0,$hostId$:$[0],$nodeId$:$[1],$depth$:$[2],$index$:$[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(o);i.removeAttribute(k);if(!e.$children$){e.$children$=[]}e.$children$[o.$index$]=o;e=o;if(n&&o.$depth$==="0"){n[o.$index$]=o.$elm$}}}for(f=i.childNodes.length-1;f>=0;f--){xe(e,t,r,n,a,i.childNodes[f],l)}if(i.shadowRoot){for(f=i.shadowRoot.childNodes.length-1;f>=0;f--){xe(e,t,r,n,a,i.shadowRoot.childNodes[f],l)}}}else if(i.nodeType===8){$=i.nodeValue.split(".");if($[1]===l||$[1]==="0"){s=$[0];o={$flags$:0,$hostId$:$[1],$nodeId$:$[2],$depth$:$[3],$index$:$[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(s===x){o.$elm$=i.nextSibling;if(o.$elm$&&o.$elm$.nodeType===3){o.$text$=o.$elm$.textContent;t.push(o);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[o.$index$]=o;if(n&&o.$depth$==="0"){n[o.$index$]=o.$elm$}}}else if(o.$hostId$===l){if(s===R){o.$tag$="slot";if($[5]){i["s-sn"]=o.$name$=$[5]}else{i["s-sn"]=""}i["s-sr"]=true;r.push(o);if(!e.$children$){e.$children$=[]}e.$children$[o.$index$]=o}else if(s===N){{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var u=V(null,i.textContent);u.$elm$=i;u.$index$="0";e.$children$=[u]}};var _e=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){_e(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){_e(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===S){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var Te=function(e,t){if(e!=null&&!H(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var ke=function(e,t){return Oe(e).$instanceValues$.get(t)};var Ce=function(e,t,r,n){var a=Oe(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var s=a.$flags$;var $=a.$lazyInstance$;r=Te(r,n.$members$[t][0]);var o=Number.isNaN(l)&&Number.isNaN(r);var f=r!==l&&!o;if((!(s&8)||l===undefined)&&f){a.$instanceValues$.set(t,r);if($){if(n.$watchers$&&s&128){var u=n.$watchers$[t];if(u){u.map((function(e){try{$[e](r,l,t)}catch(e){He(e,i)}}))}}if((s&(2|16))===2){he(a,false)}}}};var Le=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return ke(this,n)},set:function(e){Ce(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=Oe(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;d.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var Ae=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,s,$,o;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=Ve(n);if(!i.then)return[3,2];e=j();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}Le(i,n,2);i.isProxied=true}r=A("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){He(e)}{t.$flags$&=~8}{t.$flags$|=128}r();if(i.style){a=i.style;l=O(n);if(!We.has(l)){s=A("registerStyles",n.$tagName$);P(l,a,!!(n.$flags$&1));s()}}f.label=3;case 3:$=t.$ancestorComponent$;o=function(){return he(t,true)};if($&&$["s-rc"]){$["s-rc"].push(o)}else{o()}return[2]}}))}))};var je=function(e){if((d.$flags$&1)===0){var t=Oe(e);var r=t.$cmpMeta$;var n=A("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(_);if(a){Re(e,r.$tagName$,a,t)}}if(!a){if(r.$flags$&(4|8)){Ie(e)}}{var i=e;while(i=i.parentNode||i.host){if(i.nodeType===1&&i.hasAttribute("s-id")&&i["s-p"]||i["s-p"]){de(t,t.$ancestorComponent$=i);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{Ae(e,t,r)}}else{g(e,t,r.$listeners$)}n()}};var Ie=function(e){var t=e["s-cr"]=v.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var Pe=function(e){if((d.$flags$&1)===0){var t=Oe(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}if(d.$cssShim$){d.$cssShim$.removeHost(e)}}};var Ee=e("b",(function(e,t){if(t===void 0){t={}}var r=A();var n=[];var a=t.exclude||[];var i=u.customElements;var l=v.head;var s=l.querySelector("meta[charset]");var $=v.createElement("style");var o=[];var f;var c=true;Object.assign(d,t);d.$resourcesUrl$=new URL(t.resourcesUrl||"./",v.baseURI).href;{d.$flags$|=2}e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var l=r.$tagName$;var s=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;qe(t,r);return n}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(c){o.push(this)}else{d.jmp((function(){return je(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;d.jmp((function(){return Pe(e)}))};t.prototype.componentOnReady=function(){return Oe(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Le(s,r,1))}}))}));{$.innerHTML=n+C;$.setAttribute("data-styles","");l.insertBefore($,s?s.nextSibling:l.firstChild)}c=false;if(o.length){o.map((function(e){return e.connectedCallback()}))}else{{d.jmp((function(){return f=setTimeout(be,30)}))}}r()}));var Me=new WeakMap;var Oe=function(e){return Me.get(e)};var Be=e("r",(function(e,t){return Me.set(t.$lazyInstance$=e,t)}));var qe=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}g(e,r,t.$listeners$);return Me.set(e,r)};var ze=function(e,t){return t in e};var He=function(e,t){return(0,console.error)(e,t)};var Ue=new Map;var Ve=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Ue.get(i);if(l){return l[a]}
5
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{Ue.set(i,e)}return e[a]}),He)};var We=new Map;var De=[];var Fe=[];var Ge=function(e,t){return function(r){e.push(r);if(!f){f=true;if(t&&d.$flags$&4){Qe(Ke)}else{d.raf(Ke)}}}};var Je=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){He(e)}}e.length=0};var Ke=function(){Je(De);{Je(Fe);if(f=De.length>0){d.raf(Ke)}}};var Qe=function(e){return p().then(e)};var Xe=Ge(Fe,true)}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ System.register(["./p-db0ba553.system.js"],(function(e,a){"use strict";var l,t,o,r,i,s;return{setters:[function(e){l=e.p;t=e.w;o=e.d;r=e.N;i=e.a;s=e.b}],execute:function(){var e=function(e){return"__sc_import_".concat(e.replace(/\s|-/g,"_"))};var n=function(){{l.$cssShim$=t.__cssshim}var e=Array.from(o.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(r,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===r}));var s=a.meta.url;var n={};if(s!==""){n.resourcesUrl=new URL(".",s).href}else{n.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,t.location.href)).href;{d(n.resourcesUrl,e)}if(!t.customElements){return a.import("./p-89f1c6be.system.js").then((function(){return n}))}}return i(n)};var d=function(a,l){var i=e(r);try{t[i]=new Function("w","return import(w);//".concat(Math.random()))}catch(e){var s=new Map;t[i]=function(e){var r=new URL(e,a).href;var n=s.get(r);if(!n){var d=o.createElement("script");d.type="module";d.crossOrigin=l.crossOrigin;d.src=URL.createObjectURL(new Blob(["import * as m from '".concat(r,"'; window.").concat(i,".m = m;")],{type:"application/javascript"}));n=new Promise((function(e){d.onload=function(){e(t[i].m);d.remove()}}));s.set(r,n);o.head.appendChild(d)}return n}}};n().then((function(e){return s(JSON.parse('[["p-b97d2809.system",[[4,"salla-gifting",{"productId":[2,"product-id"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"step1Elems":[32],"step2Elems":[32],"stepsWrapper":[32],"textArea":[32],"imageCover":[32],"textSelect":[32],"customTextArea":[32],"calendarFormGroup":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"open":[64],"close":[64],"goToStep2":[64]}],[4,"salla-loyalty",{"prizePoints":[8,"prize-points"],"customerPoints":[2,"customer-points"],"prizeTitle":[1,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1,"guest-message"],"loyaltyProgram":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]}],[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}],[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"translationLoaded":[32],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}],[4,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"currentTabName":[32],"regType":[32],"translationLoaded":[32],"title":[32],"emailErrorMsg":[32],"firstNameErrorMsg":[32],"lastNameErrorMsg":[32],"open":[64]},[[8,"verified","onVerified"]]],[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"showOffer":[64]}],[0,"salla-rating-modal",{"orderId":[2,"order-id"],"order":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64]}],[0,"salla-search",{"inline":[4],"oval":[4],"height":[2],"translationLoaded":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]},[[0,"keydown","handleKeyDown"]]],[4,"salla-social-share",{"url":[513],"urlName":[513,"url-name"],"platforms":[16],"opened":[32],"allPlatforms":[32],"platformIcons":[32],"open":[64]}],[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}],[4,"salla-quantity-input",{"quantity":[32],"decrease":[64],"increase":[64],"setValue":[64]}],[0,"salla-product-availability",{"channels":[1],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32],"isVisitorSubscribed":[32]}],[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}],[0,"salla-datetime-picker",{"value":[1025],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"onChange":[16],"onClose":[16],"onDayCreate":[16],"onDestroy":[16],"onKeyDown":[16],"onMonthChange":[16],"onOpen":[16],"onParseConfig":[16],"onReady":[16],"onValueUpdate":[16],"onYearChange":[16],"dateParser":[16],"position":[1],"positionElement":[16],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4]}],[0,"salla-file-upload",{"required":[4],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16],"serverConfig":[1,"server-config"],"instantUpload":[4,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1,"label-idle"],"labelInvalidField":[1,"label-invalid-field"],"labelFileWaitingForSize":[1,"label-file-waiting-for-size"],"labelFileSizeNotAvailable":[1,"label-file-size-not-available"],"labelFileLoading":[1,"label-file-loading"],"labelFileLoadError":[1,"label-file-load-error"],"labelFileProcessing":[1,"label-file-processing"],"labelFileProcessingComplete":[1,"label-file-processing-complete"],"labelFileProcessingAborted":[1,"label-file-processing-aborted"],"labelFileProcessingError":[1,"label-file-processing-error"],"labelFileProcessingRevertError":[1,"label-file-processing-revert-error"],"labelFileRemoveError":[1,"label-file-remove-error"],"labelTapToCancel":[1,"label-tap-to-cancel"],"labelTapToRetry":[1,"label-tap-to-retry"],"labelTapToUndo":[1,"label-tap-to-undo"],"labelButtonRemoveItem":[1,"label-button-remove-item"],"labelButtonAbortItemLoad":[1,"label-button-abort-item-load"],"labelButtonRetryItemLoad":[1,"label-button-retry-item-load"],"labelButtonAbortItemProcessing":[1,"label-button-abort-item-processing"],"labelButtonUndoItemProcessing":[1,"label-button-undo-item-processing"],"labelButtonRetryItemProcessing":[1,"label-button-retry-item-processing"],"labelButtonProcessItem":[1,"label-button-process-item"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"pond":[32],"files":[32],"appendFile":[64]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2]}],[4,"salla-swiper",{"loop":[4],"speed":[2],"itemPerView":[8,"item-per-view"],"spaceBetweenItems":[2,"space-between-items"],"currentIndex":[32],"isLastSlideItem":[32],"isFirstSlideItem":[32]}],[4,"salla-tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}],[4,"salla-tab-header",{"name":[1],"activeClass":[1,"active-class"],"height":[8],"centered":[4],"isSelected":[32],"getChild":[64]}],[4,"salla-tabs",{"backgroundColor":[1,"background-color"],"vertical":[4]},[[0,"tabSelected","onSelectedTab"]]],[4,"salla-list-tile",{"href":[1],"target":[1]}],[0,"salla-tel-input",{"phone":[1025],"name":[1],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}],[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}],[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}],[4,"salla-modal",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"modalTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]}],[4,"salla-button",{"shape":[513],"color":[513],"fill":[513],"size":[513],"width":[513],"loading":[516],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}]]],["p-1914490f.system",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["p-a7caaba3.system",[[4,"salla-add-product-button",{"channels":[513],"quantity":[514],"donatingAmount":[514,"donating-amount"],"productId":[520,"product-id"],"productStatus":[513,"product-status"],"productType":[513,"product-type"]}]]],["p-dd9b3c90.system",[[4,"salla-conditional-fields",null,[[0,"change","changeHandler"]]]]],["p-ce3e3fa2.system",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"tamaraIsActive":[32],"tabbyIsActive":[32],"spotiiIsActive":[32]}]]],["p-26a23097.system",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-f610b6bf.system",[[0,"salla-select",{"label":[1],"items":[16],"itemText":[1,"item-text"],"itemValue":[1,"item-value"],"itemDisabled":[1,"item-disabled"],"size":[1],"value":[1032],"autofocus":[4],"clearable":[4],"clearIcon":[1,"clear-icon"],"color":[1],"flat":[4],"disabled":[4],"loading":[4],"loadingColor":[1,"loading-color"],"hint":[1],"persistHint":[4,"persist-hint"],"placeholder":[1],"multiple":[4],"autocomplete":[4],"required":[4],"chips":[4],"shape":[1],"returnObject":[4,"return-object"],"hideDetail":[4,"hide-detail"]}]]]]'),e)}))}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ System.register(["./p-db0ba553.system.js"],(function(e){"use strict";var t,r,n,a;return{setters:[function(e){t=e.r;r=e.h;n=e.H;a=e.g}],execute:function(){var i=e("salla_conditional_fields",function(){function e(e){t(this,e)}e.prototype.changeHandler=function(e){var t=this;var r;salla.log("Received the change event: ",e);if(!e.target||!["SELECT"].includes(e.target.tagName)&&!["checkbox"].includes(e.target.getAttribute("type"))){salla.log("Ignore the change because is not support input: "+(((r=e===null||e===void 0?void 0:e.target)===null||r===void 0?void 0:r.tagName)||"N/A"));return}var n=e.target.name.replace("[]","");var a=e.target.getAttribute("type")==="checkbox";salla.log("Trying to find all the element with condition:",'[data-show-when^="'.concat(n,'"]'));this.host.querySelectorAll('[data-show-when^="'.concat(n,'"]')).forEach((function(r){var n=!(r===null||r===void 0?void 0:r.dataset.showWhen.includes("!="));var i=r===null||r===void 0?void 0:r.dataset.showWhen.replace(/(.*)(=|!=)(.*)/gm,"$3").trim();var o;if(a){var l=Array.from(t.host.querySelectorAll('input[name="'.concat(e.target.name,'"]:checked')),(function(e){return e===null||e===void 0?void 0:e.value}));o=l.includes(i.toString())}else{o=i===e.target.value}salla.log("The input is ",a?"Multiple":"Single"," value:",o);var c=n&&o||!n&&!o;if(c){r.classList.remove("hidden");r.querySelectorAll("[name]").forEach((function(e){e.removeAttribute("disabled");if(!["checkbox"].includes(e.getAttribute("type"))&&r.getElementsByClassName("required").length){e.setAttribute("required","")}}))}else{r.classList.add("hidden");r.querySelectorAll("[name]").forEach((function(e){e.setAttribute("disabled","");e.removeAttribute("required");if(["checkbox"].includes(e.getAttribute("type"))&&e.hasOwnProperty("checked")){e.checked=false}}))}}))};e.prototype.componentDidRender=function(){var e=this;this.host.querySelectorAll("[data-show-when]").forEach((function(t){var r;var n=(r=t===null||t===void 0?void 0:t.dataset)===null||r===void 0?void 0:r.showWhen.replace(/(.*)(=|!=)(.*)/gm,"$1").trim();if(!n){return}e.changeHandler({target:e.host.querySelector('[name^="'+n+'"]')})}))};e.prototype.render=function(){return r(n,null,r("slot",null))};Object.defineProperty(e.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});return e}())}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ System.register(["./p-db0ba553.system.js"],(function(e){"use strict";var t,i,s;return{setters:[function(e){t=e.r;i=e.h;s=e.H}],execute:function(){var l=".s-select-label{display:block;margin-bottom:0.5rem;color:#111827;font-size:0.875rem;line-height:1.25rem;font-weight:500}.s-select-underline{display:block;padding-left:0;padding-right:0;padding-top:0.625rem;padding-bottom:0.625rem;background-color:transparent;color:#6B7280;font-size:0.875rem;line-height:1.25rem;width:100%;border-width:0;border-bottom-width:2px;border-color:#E5E7EB;-webkit-appearance:none;-moz-appearance:none;appearance:none}.s-select-outlined{display:block;padding:0.625rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;background-color:#F9FAFB;color:#111827;font-size:0.875rem;line-height:1.25rem;width:100%;border-radius:0.5rem;border-width:1px;border-color:#D1D5DB}.s-select-x-large{height:5rem}.s-select-large{height:4rem}.s-select-normal{height:3rem}.s-select-small{height:3rem}.s-select-x-small{height:2.5rem}.s-select-field{padding-top:0.25rem;padding-bottom:0.25rem;padding-right:0.5rem;padding-left:0.5rem;margin:0;font-size:1.125rem;line-height:1.75rem;font-weight:400;line-height:1.75rem;width:100%;border-radius:0.375rem;border-color:#9CA3AF;-webkit-box-shadow:none;box-shadow:none}.s-select-hint{margin-top:0.25rem;color:#374151;font-size:0.875rem;line-height:1.25rem;line-height:1.25rem}";var r=e("salla_select",function(){function e(e){t(this,e);this.label=undefined;this.items=[];this.itemText="text";this.itemValue="value";this.itemDisabled="disabled";this.size="normal";this.value=undefined;this.autofocus=false;this.clearable=false;this.clearIcon="sicon-cancel";this.color="primary";this.flat=undefined;this.disabled=false;this.loading=false;this.loadingColor="primary";this.hint=undefined;this.persistHint=false;this.placeholder=undefined;this.multiple=false;this.autocomplete=false;this.required=false;this.chips=false;this.shape="outlined";this.returnObject=false;this.hideDetail=false}e.prototype.selectClass=function(){return"s-select-field s-select-".concat(this.shape," ").concat(this.color," ").concat(this.size)};e.prototype.onSelectedItemChange=function(e){var t=e.target.selectedIndex;if(t<0){this.value=undefined;return}var i=this.items[!!this.placeholder?t-1:t];this.value=this.returnObject?i:i[this.itemValue];console.log("🚀 ~ file: salla-select.tsx ~ line 153 ~ SallaSelect ~ onSelectedItemChange ~ this.value",this.value)};e.prototype.generateHint=function(){if(!this.persistHint&&!this.value){return""}return i("div",{class:"s-select-hint"},this.hint)};e.prototype.checkForSelected=function(e){if(this.returnObject&&!!this.value){return e[this.itemValue]=this.value[this.itemValue]}return e[this.itemValue]==this.value};e.prototype.render=function(){var e=this;return i(s,null,!!this.label?i("label",{htmlFor:"s-select",class:"s-select-label"},this.label):"",i("select",{multiple:this.multiple,autocomplete:this.autocomplete?"on":"off",disabled:this.disabled,autoFocus:this.autofocus,id:"s-select",class:this.selectClass(),onChange:this.onSelectedItemChange.bind(this)},!!this.placeholder?i("option",{selected:!this.value},this.placeholder):"",this.items.map((function(t){return i("option",{label:t[e.itemText],value:t[e.itemValue],selected:e.checkForSelected(t),disabled:t[e.itemDisabled]})}))),i("div",{class:{"s-hidden":this.hideDetail}},this.generateHint()))};return e}());r.style=l}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ System.register([],(function(t){"use strict";return{execute:function(){var e=t("S",'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>search</title>\n<path d="M30.276 28.391l-7.576-7.576c1.644-2.053 2.633-4.652 2.633-7.481 0-6.616-5.384-12-12-12s-12 5.384-12 12 5.384 12 12 12c2.829 0 5.428-0.989 7.481-2.633l7.576 7.576c0.26 0.26 0.601 0.391 0.943 0.391s0.683-0.131 0.943-0.391c0.521-0.521 0.521-1.364 0-1.885zM13.333 22.667c-5.147 0-9.333-4.187-9.333-9.333s4.187-9.333 9.333-9.333 9.333 4.187 9.333 9.333-4.187 9.333-9.333 9.333z"></path>\n</svg>\n')}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import{p as e,w as a,d as l,N as t,a as o,b as i}from"./p-ca68752d.js";(()=>{e.l=a.__cssshim;const i=Array.from(l.querySelectorAll("script")).find((e=>new RegExp(`/${t}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===t)),r={};return r.resourcesUrl=new URL(".",new URL(i.getAttribute("data-resources-url")||i.src,a.location.href)).href,((e,o)=>{const i=`__sc_import_${t.replace(/\s|-/g,"_")}`;try{a[i]=new Function("w",`return import(w);//${Math.random()}`)}catch(t){const r=new Map;a[i]=t=>{const s=new URL(t,e).href;let n=r.get(s);if(!n){const e=l.createElement("script");e.type="module",e.crossOrigin=o.crossOrigin,e.src=URL.createObjectURL(new Blob([`import * as m from '${s}'; window.${i}.m = m;`],{type:"application/javascript"})),n=new Promise((l=>{e.onload=()=>{l(a[i].m),e.remove()}})),r.set(s,n),l.head.appendChild(e)}return n}}})(r.resourcesUrl,i),a.customElements?o(r):__sc_import_twilight("./p-5db948f2.js").then((()=>r))})().then((e=>i(JSON.parse('[["p-4d681263",[[4,"salla-gifting",{"productId":[2,"product-id"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"step1Elems":[32],"step2Elems":[32],"stepsWrapper":[32],"textArea":[32],"imageCover":[32],"textSelect":[32],"customTextArea":[32],"calendarFormGroup":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"open":[64],"close":[64],"goToStep2":[64]}],[4,"salla-loyalty",{"prizePoints":[8,"prize-points"],"customerPoints":[2,"customer-points"],"prizeTitle":[1,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1,"guest-message"],"loyaltyProgram":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]}],[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}],[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"translationLoaded":[32],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}],[4,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"currentTabName":[32],"regType":[32],"translationLoaded":[32],"title":[32],"emailErrorMsg":[32],"firstNameErrorMsg":[32],"lastNameErrorMsg":[32],"open":[64]},[[8,"verified","onVerified"]]],[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"showOffer":[64]}],[0,"salla-rating-modal",{"orderId":[2,"order-id"],"order":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64]}],[0,"salla-search",{"inline":[4],"oval":[4],"height":[2],"translationLoaded":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]},[[0,"keydown","handleKeyDown"]]],[4,"salla-social-share",{"url":[513],"urlName":[513,"url-name"],"platforms":[16],"opened":[32],"allPlatforms":[32],"platformIcons":[32],"open":[64]}],[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}],[4,"salla-quantity-input",{"quantity":[32],"decrease":[64],"increase":[64],"setValue":[64]}],[0,"salla-product-availability",{"channels":[1],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32],"isVisitorSubscribed":[32]}],[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}],[0,"salla-datetime-picker",{"value":[1025],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"onChange":[16],"onClose":[16],"onDayCreate":[16],"onDestroy":[16],"onKeyDown":[16],"onMonthChange":[16],"onOpen":[16],"onParseConfig":[16],"onReady":[16],"onValueUpdate":[16],"onYearChange":[16],"dateParser":[16],"position":[1],"positionElement":[16],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4]}],[0,"salla-file-upload",{"required":[4],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16],"serverConfig":[1,"server-config"],"instantUpload":[4,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1,"label-idle"],"labelInvalidField":[1,"label-invalid-field"],"labelFileWaitingForSize":[1,"label-file-waiting-for-size"],"labelFileSizeNotAvailable":[1,"label-file-size-not-available"],"labelFileLoading":[1,"label-file-loading"],"labelFileLoadError":[1,"label-file-load-error"],"labelFileProcessing":[1,"label-file-processing"],"labelFileProcessingComplete":[1,"label-file-processing-complete"],"labelFileProcessingAborted":[1,"label-file-processing-aborted"],"labelFileProcessingError":[1,"label-file-processing-error"],"labelFileProcessingRevertError":[1,"label-file-processing-revert-error"],"labelFileRemoveError":[1,"label-file-remove-error"],"labelTapToCancel":[1,"label-tap-to-cancel"],"labelTapToRetry":[1,"label-tap-to-retry"],"labelTapToUndo":[1,"label-tap-to-undo"],"labelButtonRemoveItem":[1,"label-button-remove-item"],"labelButtonAbortItemLoad":[1,"label-button-abort-item-load"],"labelButtonRetryItemLoad":[1,"label-button-retry-item-load"],"labelButtonAbortItemProcessing":[1,"label-button-abort-item-processing"],"labelButtonUndoItemProcessing":[1,"label-button-undo-item-processing"],"labelButtonRetryItemProcessing":[1,"label-button-retry-item-processing"],"labelButtonProcessItem":[1,"label-button-process-item"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"pond":[32],"files":[32],"appendFile":[64]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2]}],[4,"salla-swiper",{"loop":[4],"speed":[2],"itemPerView":[8,"item-per-view"],"spaceBetweenItems":[2,"space-between-items"],"currentIndex":[32],"isLastSlideItem":[32],"isFirstSlideItem":[32]}],[4,"salla-tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}],[4,"salla-tab-header",{"name":[1],"activeClass":[1,"active-class"],"height":[8],"centered":[4],"isSelected":[32],"getChild":[64]}],[4,"salla-tabs",{"backgroundColor":[1,"background-color"],"vertical":[4]},[[0,"tabSelected","onSelectedTab"]]],[4,"salla-list-tile",{"href":[1],"target":[1]}],[0,"salla-tel-input",{"phone":[1025],"name":[1],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}],[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}],[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}],[4,"salla-modal",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"modalTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]}],[4,"salla-button",{"shape":[513],"color":[513],"fill":[513],"size":[513],"width":[513],"loading":[516],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}]]],["p-bbc94b9b",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["p-13129ac9",[[4,"salla-add-product-button",{"channels":[513],"quantity":[514],"donatingAmount":[514,"donating-amount"],"productId":[520,"product-id"],"productStatus":[513,"product-status"],"productType":[513,"product-type"]}]]],["p-521b6fde",[[4,"salla-conditional-fields",null,[[0,"change","changeHandler"]]]]],["p-0db2b810",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"tamaraIsActive":[32],"tabbyIsActive":[32],"spotiiIsActive":[32]}]]],["p-10ac9c79",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-97daba27",[[0,"salla-select",{"label":[1],"items":[16],"itemText":[1,"item-text"],"itemValue":[1,"item-value"],"itemDisabled":[1,"item-disabled"],"size":[1],"value":[1032],"autofocus":[4],"clearable":[4],"clearIcon":[1,"clear-icon"],"color":[1],"flat":[4],"disabled":[4],"loading":[4],"loadingColor":[1,"loading-color"],"hint":[1],"persistHint":[4,"persist-hint"],"placeholder":[1],"multiple":[4],"autocomplete":[4],"required":[4],"chips":[4],"shape":[1],"returnObject":[4,"return-object"],"hideDetail":[4,"hide-detail"]}]]]]'),e)));