@clickview/library-editor 1.37.0 → 1.37.2

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 (25) hide show
  1. package/dist/bundles.json +1 -1
  2. package/dist/css/{1086-library-editor-16433e84cc.chunk.css → 1086-library-editor-076ef8e022.chunk.css} +1 -1
  3. package/dist/css/{2692-library-editor-16433e84cc.chunk.css → 2692-library-editor-076ef8e022.chunk.css} +1 -1
  4. package/dist/css/{5424-library-editor-4b2c3956d3.chunk.css → 5424-library-editor-cbb9c55dc8.chunk.css} +1 -1
  5. package/dist/css/{6732-library-editor-ff2e50018b.chunk.css → 6732-library-editor-6233ce01e9.chunk.css} +1 -1
  6. package/dist/css/{8906-library-editor-16433e84cc.chunk.css → 8762-library-editor-076ef8e022.chunk.css} +1 -1
  7. package/dist/css/{8762-library-editor-16433e84cc.chunk.css → 8906-library-editor-076ef8e022.chunk.css} +1 -1
  8. package/dist/css/{9383-library-editor-59825bfab3.chunk.css → 9383-library-editor-454e5b7acb.chunk.css} +1 -1
  9. package/dist/scripts/{1269-1ce9a7902d.chunk.js → 1269-9ae6f52d3d.chunk.js} +1 -1
  10. package/dist/scripts/5418-d828f63db4.chunk.js +1 -0
  11. package/dist/scripts/{61-1307b131d1.chunk.js → 61-2dc4cd6085.chunk.js} +2 -2
  12. package/dist/scripts/8906-29da3dd261.chunk.js +1 -0
  13. package/dist/scripts/{9383-e62f4e2bde.chunk.js → 9383-38a30cdc5a.chunk.js} +1 -1
  14. package/dist/scripts/bundle-6eaaf653bf.min.js +2 -0
  15. package/package.json +1 -1
  16. package/dist/scripts/5418-57159c045d.chunk.js +0 -1
  17. package/dist/scripts/8906-350dcfffce.chunk.js +0 -1
  18. package/dist/scripts/bundle-f050b9f79b.min.js +0 -2
  19. /package/dist/scripts/{1086-de1bfc7424.chunk.js → 1086-f474fdd295.chunk.js} +0 -0
  20. /package/dist/scripts/{2692-69a5735ead.chunk.js → 2692-8a53aba52d.chunk.js} +0 -0
  21. /package/dist/scripts/{5424-c86993f63e.chunk.js → 5424-1433cc8161.chunk.js} +0 -0
  22. /package/dist/scripts/{61-1307b131d1.chunk.js.LICENSE.txt → 61-2dc4cd6085.chunk.js.LICENSE.txt} +0 -0
  23. /package/dist/scripts/{6732-ecbdd44059.chunk.js → 6732-8ffe8f9b56.chunk.js} +0 -0
  24. /package/dist/scripts/{8762-b6f18526e7.chunk.js → 8762-c12f4bc9a0.chunk.js} +0 -0
  25. /package/dist/scripts/{bundle-f050b9f79b.min.js.LICENSE.txt → bundle-6eaaf653bf.min.js.LICENSE.txt} +0 -0
package/dist/bundles.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "appBundle": "bundle-f050b9f79b.min.js",
2
+ "appBundle": "bundle-6eaaf653bf.min.js",
3
3
  "cssBundle": "library-editor-app-bed81f7dd3.css",
4
4
  "polyfillBundle": "polyfills-04eb088291.min.js"
5
5
  }
@@ -1,4 +1,4 @@
1
1
  .GYPuI{background-color:#fff;font-weight:bold;z-index:60;width:18rem;display:inline-block;border-radius:.375rem;line-height:1.5rem;box-shadow:.1875rem .125rem 10px rgba(51,51,51,.3)}.olYDa{vertical-align:middle;display:inline-block;width:1.5rem;height:1.5rem}.O53FV{vertical-align:middle;display:inline-block}
2
2
  .uMzLG{background-color:#eaeaea}.C8gyn{opacity:.5}
3
3
  .JTT7V .ekgGD{padding-left:1.25rem}.JTT7V .tFpUT{left:1rem;right:auto}.JTT7V .JTT7V .ekgGD{padding-left:2.5rem}.JTT7V .JTT7V .tFpUT{left:2.25rem;right:auto}.JTT7V .JTT7V .JTT7V .ekgGD{padding-left:3.75rem}.JTT7V .JTT7V .JTT7V .tFpUT{left:3.5rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:5rem}.JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:4.75rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:6.25rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:6rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:7.5rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:7.25rem;right:auto}.VmDO7{cursor:pointer}.VmDO7:hover{background-color:#eef8ff}.gxCnr .VmDO7:hover{background-color:#f8f8f8}.tFpUT{color:#000;width:1.5rem;height:1.5rem;top:50%;margin-top:-0.75rem;right:100%;transform:rotate(270deg);left:0}.ekgGD{display:block;padding:.3125rem 0;overflow-wrap:break-word;padding-right:.625rem}.VmDO7 .tFpUT{left:.375rem}.UotqF>.tFpUT,.WHPA5>.tFpUT,.S2QPI>.tFpUT{transform:rotate(0deg)}.tntwp a .ekgGD,.tntwp a .tFpUT{color:#979797}.UotqF>div>a>.tFpUT,.WHPA5>div>a>.tFpUT,.S2QPI>div>a>.tFpUT{transform:rotate(0deg)}.UotqF.Po9s7>div>a>.tFpUT,.S2QPI.Po9s7>div>a>.tFpUT{transform:rotate(270deg)}.VmDO7>a{font-weight:500;padding:.125rem .625rem;display:block}.VmDO7>a .ekgGD{padding-left:1.25rem;position:relative}.Sf28U svg{display:none}.Sf28U:hover{background-color:rgba(0,0,0,.4)}.Sf28U:hover svg{opacity:1;color:#fff}.VmDO7>.Sf28U svg{display:inline-block}.VmDO7 .Sf28U{right:0}.JTT7V{list-style:none}.JTT7V .vm17w{max-width:100%;display:block;box-sizing:border-box;padding:.125rem 1.25rem}.JTT7V .vm17w:hover{text-decoration:none}.JTT7V div .show svg{display:block}.VmDO7:hover>.Sf28U svg{display:block}.JTT7V div:hover .Sf28U svg{display:block}._xoJs ul{padding-left:0}._xoJs li{padding-left:0}._xoJs ul,._xoJs li{list-style:none;margin:0}.aMuxi:hover{background-color:#eef8ff}.gxCnr .aMuxi:hover{background-color:#f8f8f8}.UotqF>.aMuxi{background-color:#f8f8f8}
4
- .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;max-height:50vh;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
4
+ .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.jp36d{max-height:50vh}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
@@ -1,4 +1,4 @@
1
1
  .GYPuI{background-color:#fff;font-weight:bold;z-index:60;width:18rem;display:inline-block;border-radius:.375rem;line-height:1.5rem;box-shadow:.1875rem .125rem 10px rgba(51,51,51,.3)}.olYDa{vertical-align:middle;display:inline-block;width:1.5rem;height:1.5rem}.O53FV{vertical-align:middle;display:inline-block}
2
2
  .uMzLG{background-color:#eaeaea}.C8gyn{opacity:.5}
3
3
  .JTT7V .ekgGD{padding-left:1.25rem}.JTT7V .tFpUT{left:1rem;right:auto}.JTT7V .JTT7V .ekgGD{padding-left:2.5rem}.JTT7V .JTT7V .tFpUT{left:2.25rem;right:auto}.JTT7V .JTT7V .JTT7V .ekgGD{padding-left:3.75rem}.JTT7V .JTT7V .JTT7V .tFpUT{left:3.5rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:5rem}.JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:4.75rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:6.25rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:6rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:7.5rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:7.25rem;right:auto}.VmDO7{cursor:pointer}.VmDO7:hover{background-color:#eef8ff}.gxCnr .VmDO7:hover{background-color:#f8f8f8}.tFpUT{color:#000;width:1.5rem;height:1.5rem;top:50%;margin-top:-0.75rem;right:100%;transform:rotate(270deg);left:0}.ekgGD{display:block;padding:.3125rem 0;overflow-wrap:break-word;padding-right:.625rem}.VmDO7 .tFpUT{left:.375rem}.UotqF>.tFpUT,.WHPA5>.tFpUT,.S2QPI>.tFpUT{transform:rotate(0deg)}.tntwp a .ekgGD,.tntwp a .tFpUT{color:#979797}.UotqF>div>a>.tFpUT,.WHPA5>div>a>.tFpUT,.S2QPI>div>a>.tFpUT{transform:rotate(0deg)}.UotqF.Po9s7>div>a>.tFpUT,.S2QPI.Po9s7>div>a>.tFpUT{transform:rotate(270deg)}.VmDO7>a{font-weight:500;padding:.125rem .625rem;display:block}.VmDO7>a .ekgGD{padding-left:1.25rem;position:relative}.Sf28U svg{display:none}.Sf28U:hover{background-color:rgba(0,0,0,.4)}.Sf28U:hover svg{opacity:1;color:#fff}.VmDO7>.Sf28U svg{display:inline-block}.VmDO7 .Sf28U{right:0}.JTT7V{list-style:none}.JTT7V .vm17w{max-width:100%;display:block;box-sizing:border-box;padding:.125rem 1.25rem}.JTT7V .vm17w:hover{text-decoration:none}.JTT7V div .show svg{display:block}.VmDO7:hover>.Sf28U svg{display:block}.JTT7V div:hover .Sf28U svg{display:block}._xoJs ul{padding-left:0}._xoJs li{padding-left:0}._xoJs ul,._xoJs li{list-style:none;margin:0}.aMuxi:hover{background-color:#eef8ff}.gxCnr .aMuxi:hover{background-color:#f8f8f8}.UotqF>.aMuxi{background-color:#f8f8f8}
4
- .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;max-height:50vh;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
4
+ .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.jp36d{max-height:50vh}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
@@ -1,5 +1,5 @@
1
1
  .GYPuI{background-color:#fff;font-weight:bold;z-index:60;width:18rem;display:inline-block;border-radius:.375rem;line-height:1.5rem;box-shadow:.1875rem .125rem 10px rgba(51,51,51,.3)}.olYDa{vertical-align:middle;display:inline-block;width:1.5rem;height:1.5rem}.O53FV{vertical-align:middle;display:inline-block}
2
2
  .uMzLG{background-color:#eaeaea}.C8gyn{opacity:.5}
3
3
  .JTT7V .ekgGD{padding-left:1.25rem}.JTT7V .tFpUT{left:1rem;right:auto}.JTT7V .JTT7V .ekgGD{padding-left:2.5rem}.JTT7V .JTT7V .tFpUT{left:2.25rem;right:auto}.JTT7V .JTT7V .JTT7V .ekgGD{padding-left:3.75rem}.JTT7V .JTT7V .JTT7V .tFpUT{left:3.5rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:5rem}.JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:4.75rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:6.25rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:6rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:7.5rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:7.25rem;right:auto}.VmDO7{cursor:pointer}.VmDO7:hover{background-color:#eef8ff}.gxCnr .VmDO7:hover{background-color:#f8f8f8}.tFpUT{color:#000;width:1.5rem;height:1.5rem;top:50%;margin-top:-0.75rem;right:100%;transform:rotate(270deg);left:0}.ekgGD{display:block;padding:.3125rem 0;overflow-wrap:break-word;padding-right:.625rem}.VmDO7 .tFpUT{left:.375rem}.UotqF>.tFpUT,.WHPA5>.tFpUT,.S2QPI>.tFpUT{transform:rotate(0deg)}.tntwp a .ekgGD,.tntwp a .tFpUT{color:#979797}.UotqF>div>a>.tFpUT,.WHPA5>div>a>.tFpUT,.S2QPI>div>a>.tFpUT{transform:rotate(0deg)}.UotqF.Po9s7>div>a>.tFpUT,.S2QPI.Po9s7>div>a>.tFpUT{transform:rotate(270deg)}.VmDO7>a{font-weight:500;padding:.125rem .625rem;display:block}.VmDO7>a .ekgGD{padding-left:1.25rem;position:relative}.Sf28U svg{display:none}.Sf28U:hover{background-color:rgba(0,0,0,.4)}.Sf28U:hover svg{opacity:1;color:#fff}.VmDO7>.Sf28U svg{display:inline-block}.VmDO7 .Sf28U{right:0}.JTT7V{list-style:none}.JTT7V .vm17w{max-width:100%;display:block;box-sizing:border-box;padding:.125rem 1.25rem}.JTT7V .vm17w:hover{text-decoration:none}.JTT7V div .show svg{display:block}.VmDO7:hover>.Sf28U svg{display:block}.JTT7V div:hover .Sf28U svg{display:block}._xoJs ul{padding-left:0}._xoJs li{padding-left:0}._xoJs ul,._xoJs li{list-style:none;margin:0}.aMuxi:hover{background-color:#eef8ff}.gxCnr .aMuxi:hover{background-color:#f8f8f8}.UotqF>.aMuxi{background-color:#f8f8f8}
4
- .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;max-height:50vh;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
4
+ .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.jp36d{max-height:50vh}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
5
5
  .oKdKI{max-width:100%;max-height:50vh;overflow-y:scroll}.fTeoW{padding-right:2rem;overflow-y:hidden;cursor:pointer}.fTeoW::after{position:absolute;right:.75rem;top:50%;margin-top:-0.15em}.gZbQ4{color:#b5b5b5;cursor:default}.gZbQ4 .fTeoW::after{color:#b5b5b5}
@@ -1,6 +1,6 @@
1
1
  .GYPuI{background-color:#fff;font-weight:bold;z-index:60;width:18rem;display:inline-block;border-radius:.375rem;line-height:1.5rem;box-shadow:.1875rem .125rem 10px rgba(51,51,51,.3)}.olYDa{vertical-align:middle;display:inline-block;width:1.5rem;height:1.5rem}.O53FV{vertical-align:middle;display:inline-block}
2
2
  .uMzLG{background-color:#eaeaea}.C8gyn{opacity:.5}
3
3
  .JTT7V .ekgGD{padding-left:1.25rem}.JTT7V .tFpUT{left:1rem;right:auto}.JTT7V .JTT7V .ekgGD{padding-left:2.5rem}.JTT7V .JTT7V .tFpUT{left:2.25rem;right:auto}.JTT7V .JTT7V .JTT7V .ekgGD{padding-left:3.75rem}.JTT7V .JTT7V .JTT7V .tFpUT{left:3.5rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:5rem}.JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:4.75rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:6.25rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:6rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:7.5rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:7.25rem;right:auto}.VmDO7{cursor:pointer}.VmDO7:hover{background-color:#eef8ff}.gxCnr .VmDO7:hover{background-color:#f8f8f8}.tFpUT{color:#000;width:1.5rem;height:1.5rem;top:50%;margin-top:-0.75rem;right:100%;transform:rotate(270deg);left:0}.ekgGD{display:block;padding:.3125rem 0;overflow-wrap:break-word;padding-right:.625rem}.VmDO7 .tFpUT{left:.375rem}.UotqF>.tFpUT,.WHPA5>.tFpUT,.S2QPI>.tFpUT{transform:rotate(0deg)}.tntwp a .ekgGD,.tntwp a .tFpUT{color:#979797}.UotqF>div>a>.tFpUT,.WHPA5>div>a>.tFpUT,.S2QPI>div>a>.tFpUT{transform:rotate(0deg)}.UotqF.Po9s7>div>a>.tFpUT,.S2QPI.Po9s7>div>a>.tFpUT{transform:rotate(270deg)}.VmDO7>a{font-weight:500;padding:.125rem .625rem;display:block}.VmDO7>a .ekgGD{padding-left:1.25rem;position:relative}.Sf28U svg{display:none}.Sf28U:hover{background-color:rgba(0,0,0,.4)}.Sf28U:hover svg{opacity:1;color:#fff}.VmDO7>.Sf28U svg{display:inline-block}.VmDO7 .Sf28U{right:0}.JTT7V{list-style:none}.JTT7V .vm17w{max-width:100%;display:block;box-sizing:border-box;padding:.125rem 1.25rem}.JTT7V .vm17w:hover{text-decoration:none}.JTT7V div .show svg{display:block}.VmDO7:hover>.Sf28U svg{display:block}.JTT7V div:hover .Sf28U svg{display:block}._xoJs ul{padding-left:0}._xoJs li{padding-left:0}._xoJs ul,._xoJs li{list-style:none;margin:0}.aMuxi:hover{background-color:#eef8ff}.gxCnr .aMuxi:hover{background-color:#f8f8f8}.UotqF>.aMuxi{background-color:#f8f8f8}
4
- .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;max-height:50vh;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
4
+ .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.jp36d{max-height:50vh}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
5
5
  .oKdKI{max-width:100%;max-height:50vh;overflow-y:scroll}.fTeoW{padding-right:2rem;overflow-y:hidden;cursor:pointer}.fTeoW::after{position:absolute;right:.75rem;top:50%;margin-top:-0.15em}.gZbQ4{color:#b5b5b5;cursor:default}.gZbQ4 .fTeoW::after{color:#b5b5b5}
6
6
  .S7CRE{font-weight:600}
@@ -1,4 +1,4 @@
1
1
  .GYPuI{background-color:#fff;font-weight:bold;z-index:60;width:18rem;display:inline-block;border-radius:.375rem;line-height:1.5rem;box-shadow:.1875rem .125rem 10px rgba(51,51,51,.3)}.olYDa{vertical-align:middle;display:inline-block;width:1.5rem;height:1.5rem}.O53FV{vertical-align:middle;display:inline-block}
2
2
  .uMzLG{background-color:#eaeaea}.C8gyn{opacity:.5}
3
3
  .JTT7V .ekgGD{padding-left:1.25rem}.JTT7V .tFpUT{left:1rem;right:auto}.JTT7V .JTT7V .ekgGD{padding-left:2.5rem}.JTT7V .JTT7V .tFpUT{left:2.25rem;right:auto}.JTT7V .JTT7V .JTT7V .ekgGD{padding-left:3.75rem}.JTT7V .JTT7V .JTT7V .tFpUT{left:3.5rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:5rem}.JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:4.75rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:6.25rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:6rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:7.5rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:7.25rem;right:auto}.VmDO7{cursor:pointer}.VmDO7:hover{background-color:#eef8ff}.gxCnr .VmDO7:hover{background-color:#f8f8f8}.tFpUT{color:#000;width:1.5rem;height:1.5rem;top:50%;margin-top:-0.75rem;right:100%;transform:rotate(270deg);left:0}.ekgGD{display:block;padding:.3125rem 0;overflow-wrap:break-word;padding-right:.625rem}.VmDO7 .tFpUT{left:.375rem}.UotqF>.tFpUT,.WHPA5>.tFpUT,.S2QPI>.tFpUT{transform:rotate(0deg)}.tntwp a .ekgGD,.tntwp a .tFpUT{color:#979797}.UotqF>div>a>.tFpUT,.WHPA5>div>a>.tFpUT,.S2QPI>div>a>.tFpUT{transform:rotate(0deg)}.UotqF.Po9s7>div>a>.tFpUT,.S2QPI.Po9s7>div>a>.tFpUT{transform:rotate(270deg)}.VmDO7>a{font-weight:500;padding:.125rem .625rem;display:block}.VmDO7>a .ekgGD{padding-left:1.25rem;position:relative}.Sf28U svg{display:none}.Sf28U:hover{background-color:rgba(0,0,0,.4)}.Sf28U:hover svg{opacity:1;color:#fff}.VmDO7>.Sf28U svg{display:inline-block}.VmDO7 .Sf28U{right:0}.JTT7V{list-style:none}.JTT7V .vm17w{max-width:100%;display:block;box-sizing:border-box;padding:.125rem 1.25rem}.JTT7V .vm17w:hover{text-decoration:none}.JTT7V div .show svg{display:block}.VmDO7:hover>.Sf28U svg{display:block}.JTT7V div:hover .Sf28U svg{display:block}._xoJs ul{padding-left:0}._xoJs li{padding-left:0}._xoJs ul,._xoJs li{list-style:none;margin:0}.aMuxi:hover{background-color:#eef8ff}.gxCnr .aMuxi:hover{background-color:#f8f8f8}.UotqF>.aMuxi{background-color:#f8f8f8}
4
- .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;max-height:50vh;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
4
+ .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.jp36d{max-height:50vh}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
@@ -1,4 +1,4 @@
1
1
  .GYPuI{background-color:#fff;font-weight:bold;z-index:60;width:18rem;display:inline-block;border-radius:.375rem;line-height:1.5rem;box-shadow:.1875rem .125rem 10px rgba(51,51,51,.3)}.olYDa{vertical-align:middle;display:inline-block;width:1.5rem;height:1.5rem}.O53FV{vertical-align:middle;display:inline-block}
2
2
  .uMzLG{background-color:#eaeaea}.C8gyn{opacity:.5}
3
3
  .JTT7V .ekgGD{padding-left:1.25rem}.JTT7V .tFpUT{left:1rem;right:auto}.JTT7V .JTT7V .ekgGD{padding-left:2.5rem}.JTT7V .JTT7V .tFpUT{left:2.25rem;right:auto}.JTT7V .JTT7V .JTT7V .ekgGD{padding-left:3.75rem}.JTT7V .JTT7V .JTT7V .tFpUT{left:3.5rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:5rem}.JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:4.75rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:6.25rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:6rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:7.5rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:7.25rem;right:auto}.VmDO7{cursor:pointer}.VmDO7:hover{background-color:#eef8ff}.gxCnr .VmDO7:hover{background-color:#f8f8f8}.tFpUT{color:#000;width:1.5rem;height:1.5rem;top:50%;margin-top:-0.75rem;right:100%;transform:rotate(270deg);left:0}.ekgGD{display:block;padding:.3125rem 0;overflow-wrap:break-word;padding-right:.625rem}.VmDO7 .tFpUT{left:.375rem}.UotqF>.tFpUT,.WHPA5>.tFpUT,.S2QPI>.tFpUT{transform:rotate(0deg)}.tntwp a .ekgGD,.tntwp a .tFpUT{color:#979797}.UotqF>div>a>.tFpUT,.WHPA5>div>a>.tFpUT,.S2QPI>div>a>.tFpUT{transform:rotate(0deg)}.UotqF.Po9s7>div>a>.tFpUT,.S2QPI.Po9s7>div>a>.tFpUT{transform:rotate(270deg)}.VmDO7>a{font-weight:500;padding:.125rem .625rem;display:block}.VmDO7>a .ekgGD{padding-left:1.25rem;position:relative}.Sf28U svg{display:none}.Sf28U:hover{background-color:rgba(0,0,0,.4)}.Sf28U:hover svg{opacity:1;color:#fff}.VmDO7>.Sf28U svg{display:inline-block}.VmDO7 .Sf28U{right:0}.JTT7V{list-style:none}.JTT7V .vm17w{max-width:100%;display:block;box-sizing:border-box;padding:.125rem 1.25rem}.JTT7V .vm17w:hover{text-decoration:none}.JTT7V div .show svg{display:block}.VmDO7:hover>.Sf28U svg{display:block}.JTT7V div:hover .Sf28U svg{display:block}._xoJs ul{padding-left:0}._xoJs li{padding-left:0}._xoJs ul,._xoJs li{list-style:none;margin:0}.aMuxi:hover{background-color:#eef8ff}.gxCnr .aMuxi:hover{background-color:#f8f8f8}.UotqF>.aMuxi{background-color:#f8f8f8}
4
- .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;max-height:50vh;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
4
+ .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.jp36d{max-height:50vh}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
@@ -10,7 +10,7 @@
10
10
  .GYPuI{background-color:#fff;font-weight:bold;z-index:60;width:18rem;display:inline-block;border-radius:.375rem;line-height:1.5rem;box-shadow:.1875rem .125rem 10px rgba(51,51,51,.3)}.olYDa{vertical-align:middle;display:inline-block;width:1.5rem;height:1.5rem}.O53FV{vertical-align:middle;display:inline-block}
11
11
  .uMzLG{background-color:#eaeaea}.C8gyn{opacity:.5}
12
12
  .JTT7V .ekgGD{padding-left:1.25rem}.JTT7V .tFpUT{left:1rem;right:auto}.JTT7V .JTT7V .ekgGD{padding-left:2.5rem}.JTT7V .JTT7V .tFpUT{left:2.25rem;right:auto}.JTT7V .JTT7V .JTT7V .ekgGD{padding-left:3.75rem}.JTT7V .JTT7V .JTT7V .tFpUT{left:3.5rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:5rem}.JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:4.75rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:6.25rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:6rem;right:auto}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .ekgGD{padding-left:7.5rem}.JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .JTT7V .tFpUT{left:7.25rem;right:auto}.VmDO7{cursor:pointer}.VmDO7:hover{background-color:#eef8ff}.gxCnr .VmDO7:hover{background-color:#f8f8f8}.tFpUT{color:#000;width:1.5rem;height:1.5rem;top:50%;margin-top:-0.75rem;right:100%;transform:rotate(270deg);left:0}.ekgGD{display:block;padding:.3125rem 0;overflow-wrap:break-word;padding-right:.625rem}.VmDO7 .tFpUT{left:.375rem}.UotqF>.tFpUT,.WHPA5>.tFpUT,.S2QPI>.tFpUT{transform:rotate(0deg)}.tntwp a .ekgGD,.tntwp a .tFpUT{color:#979797}.UotqF>div>a>.tFpUT,.WHPA5>div>a>.tFpUT,.S2QPI>div>a>.tFpUT{transform:rotate(0deg)}.UotqF.Po9s7>div>a>.tFpUT,.S2QPI.Po9s7>div>a>.tFpUT{transform:rotate(270deg)}.VmDO7>a{font-weight:500;padding:.125rem .625rem;display:block}.VmDO7>a .ekgGD{padding-left:1.25rem;position:relative}.Sf28U svg{display:none}.Sf28U:hover{background-color:rgba(0,0,0,.4)}.Sf28U:hover svg{opacity:1;color:#fff}.VmDO7>.Sf28U svg{display:inline-block}.VmDO7 .Sf28U{right:0}.JTT7V{list-style:none}.JTT7V .vm17w{max-width:100%;display:block;box-sizing:border-box;padding:.125rem 1.25rem}.JTT7V .vm17w:hover{text-decoration:none}.JTT7V div .show svg{display:block}.VmDO7:hover>.Sf28U svg{display:block}.JTT7V div:hover .Sf28U svg{display:block}._xoJs ul{padding-left:0}._xoJs li{padding-left:0}._xoJs ul,._xoJs li{list-style:none;margin:0}.aMuxi:hover{background-color:#eef8ff}.gxCnr .aMuxi:hover{background-color:#f8f8f8}.UotqF>.aMuxi{background-color:#f8f8f8}
13
- .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;max-height:50vh;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
13
+ .tZUtI{text-align:left}.MxlSt{padding-left:0;margin-bottom:0;cursor:pointer}.qHvbU{cursor:pointer;max-height:24.75rem;overflow-y:scroll;width:100%}.jp36d{max-height:50vh}.aJzJB{background-color:#fff}.aJzJB:hover{background-color:#eef8ff}
14
14
  .oKdKI{max-width:100%;max-height:50vh;overflow-y:scroll}.fTeoW{padding-right:2rem;overflow-y:hidden;cursor:pointer}.fTeoW::after{position:absolute;right:.75rem;top:50%;margin-top:-0.15em}.gZbQ4{color:#b5b5b5;cursor:default}.gZbQ4 .fTeoW::after{color:#b5b5b5}
15
15
  .BykcP{color:red}
16
16
  .melld{overflow-wrap:break-word}
@@ -1 +1 @@
1
- (self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[1269],{79665:function(e,t,n){"use strict";n.d(t,{A:function(){return w}});var o=n(48088),r=n(39479),i=n(57857),l=n(31647),c=n(52076),u=n(26357),s=n(93569),a=n(58315),f=n.n(a);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,y(o.key),o)}}function y(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=p(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p(t)?t:String(t)}function h(e,t,n){return t=m(t),function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,b()?Reflect.construct(t,n||[],m(e).constructor):t.apply(e,n))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}var w=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(this,t,[e])}var n,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(t,e),n=t,(l=[{key:"initialize",value:function(){this.bindListeners(),s.yV.deselectAll(this.collection),s.yV.setSelected(this.options.currentLibraryId,this.collection)}},{key:"name",get:function(){return"LibrarySelectComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.librarySelect"}},{key:"template",get:function(){return f()}},{key:"regions",value:function(){return{dropdown:{el:".dropdown-menu-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,"select:option:selected",(function(t){o.Radio.channel(e.options.channelName).trigger("library:selected",t)}))}},{key:"getIsOptionDisabledFn",value:function(){var e=this.options.disabledLibraryIds;return function(t){var n=t||this.model;if(r.contains(e,n.get("id")+""))return!0}}},{key:"onRender",value:function(){this.showChildView("dropdown",new u.H({collection:this.collection,channelName:this.channelName,childOptions:{titleProperty:"name",eventName:"select:option:click",isDisabled:this.getIsOptionDisabledFn()},placeholderText:this.options.placeholderText||i.T.getPhrase(this.lang,"placeholder"),noOptionsText:i.T.getPhrase(this.lang,"noLibraries"),inputName:this.options.inputName,disabled:0===this.collection.length||this.options.disabled,analyticsHelper:c.k}))}}])&&d(n.prototype,l),Object.defineProperty(n,"prototype",{writable:!1}),t}(l.Q.wA)},71641:function(e,t,n){"use strict";n.d(t,{w:function(){return d}});var o=n(39479),r=n(31647),i=n(55142);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,u(o.key),o)}}function u(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:String(t)}function s(e,t,n){return t=f(t),function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,n||[],f(e).constructor):t.apply(e,n))}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var d=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,t,[e])}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),n=t,r=[{key:"name",get:function(){return"DropdownCollectionComponent"}},{key:"className",get:function(){return"dropdown-menu items-viewpart ".concat(this.getExtraClasses(this.options.displayOptions))}},{key:"attributes",get:function(){return{"aria-labelledby":"dropdownSelector"}}},{key:"initialize",value:function(){this.listenTo(this.options.channelName,"center:dropdown",this.centerSelectedItem)}},{key:"childView",get:function(){return i.N}},{key:"childViewOptions",get:function(){var e={channelName:this.options.channelName,analyticsHelper:this.options.analyticsHelper};return o.extend(e,this.options.childOptions)}},{key:"getExtraClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?"left":t,o=e.extraClasses,r="dropdown-menu-".concat(n);return o&&(r="".concat(r," ").concat(o)),r}},{key:"centerSelectedItem",value:function(){var e=this.$el.find(".active");if(e.length){var t=this.$el.scrollTop()+e.position().top,n=.5*this.$el.height()+.5*e.height();this.$el.scrollTop(t-n)}}}],r&&c(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.Q.$W)},26357:function(e,t,n){"use strict";n.d(t,{H:function(){return v}});var o=n(48088),r=n(39479),i=n(31647),l=n(71641),c=n(93569),u=n(46635),s=n.n(u),a={dropdownMenu:"oKdKI",selectButton:"fTeoW",disabled:"gZbQ4"};function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,d(o.key),o)}}function d(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=f(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:String(t)}function y(e,t,n){return t=b(t),function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,n||[],b(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var v=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=y(this,t,[e])).selectSearch="",n.sameCharIndex=1,n.optionStep=1,n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(t,e),n=t,i=[{key:"initialize",value:function(){this.setModel(),this.bindListeners()}},{key:"name",get:function(){return"SelectComponent"}},{key:"template",get:function(){return s()}},{key:"regions",value:function(){return{dropdown:{el:".dropdown-region",replaceElement:!0}}}},{key:"events",value:function(){return{keydown:"onKeydown","shown.bs.dropdown":"onShowDropdown"}}},{key:"defaults",get:function(){return{displayProperty:"name"}}},{key:"elements",get:function(){return{dropdownToggle:".dropdown-toggle"}}},{key:"bindListeners",value:function(){this.listenTo(this.options.channelName,this.options.childOptions.eventName,this.onSelect)}},{key:"onShowDropdown",value:function(){o.Radio.channel(this.options.channelName).trigger("center:dropdown")}},{key:"onKeydown",value:function(e){38===e.keyCode||40===e.keyCode?this.onArrowKeyDown(e):13===e.keyCode?this.render():this.onType(e),o.Radio.channel(this.options.channelName).trigger("center:dropdown")}},{key:"onArrowKeyDown",value:function(e){c.yV.getSelected(this.collection)?this.optionStep=1:this.optionStep=0;var t=this.getNextModel(e.keyCode);for(t||(c.yV.deselectAll(this.collection),t=this.getNextModel(e.keyCode));this.isDisabled(t);)this.optionStep++,t=this.getNextModel(e.keyCode);this.onSelect(t)}},{key:"onType",value:function(e){if(1===e.key.toString().length){var t=this.getModelMatch(e);t&&this.onSelect(t),this.runTimer()}}},{key:"onSelect",value:function(e){this.isDisabled(e)||(c.yV.setSelected(e.get("id"),this.collection),this.setModel(),this.getUI("dropdownToggle").text(this.getButtonText()),o.Radio.channel(this.options.channelName).trigger("select:option:selected",e))}},{key:"setModel",value:function(){this.model=c.yV.getSelected(this.collection)}},{key:"getNextModel",value:function(e){var t,n=c.yV.getSelected(this.collection)||this.collection.first(),o=this.collection.indexOf(n);return(t=38===e?this.collection.at(o-this.optionStep):this.collection.at(o+this.optionStep))||(c.yV.deselectAll(this.collection),t=this.collection.first(),this.optionStep=0),t}},{key:"getModelMatch",value:function(e){var t,n=this;return 1===this.selectSearch.length&&this.selectSearch===e.key?t=this.handleSameCharIndex(e.key):(this.selectSearch+=e.key,this.sameCharIndex=1),t||(t=r.find(this.collection.models,(function(e){return e.get(n.options.displayProperty).toLowerCase().slice(0,n.selectSearch.length).includes(n.selectSearch.toLowerCase())}))),t}},{key:"handleSameCharIndex",value:function(e){var t=this,n=r.filter(this.collection.models,(function(n){return n.get(t.options.displayProperty).toLowerCase().slice(0,1)===e}));if(n.length>1){var o=n[this.sameCharIndex];return o||(o=r.first(n),this.sameCharIndex=0),this.sameCharIndex++,o}return r.first(n)}},{key:"runTimer",value:function(){var e=this;this.scopedTimerIndex&&clearTimeout(this.scopedTimerIndex),this.scopedTimerIndex=window.setTimeout((function(){e.selectSearch=""}),500)}},{key:"isDisabled",value:function(e){var t;if(e.get("divider"))return!0;if(!r.isFunction(this.options.childOptions.isDisabled))return!1;for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return(t=this.options.childOptions.isDisabled).call.apply(t,[this,e].concat(o))}},{key:"getButtonText",value:function(){if(this.options.disabled)return this.options.noOptionsText;var e=c.yV.getSelected(this.collection);return e&&e.get(this.options.displayProperty)||this.options.placeholderText}},{key:"viewOptions",value:function(){return{styles:a,inputName:this.options.inputName,disabled:this.options.disabled,placeholderText:this.getButtonText()}}},{key:"onRender",value:function(){this.showChildView("dropdown",new l.w({collection:this.collection,channelName:this.options.channelName,childOptions:r.extend(this.options.childOptions),displayOptions:{extraClasses:"w-100 ".concat(a.dropdownMenu)},analyticsHelper:this.options.analyticsHelper}))}}],i&&p(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(i.Q.wA)},20072:function(e,t,n){"use strict";n.d(t,{Y:function(){return v}});var o=n(48088),r=n(57857),i=n(31647),l=n(50299),c=n(93569),u=n(68979),s=n.n(u),a={selectBtn:"tZUtI",list:"MxlSt",selector:"qHvbU",customItem:"aJzJB"};function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,d(o.key),o)}}function d(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=f(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:String(t)}function y(e,t,n){return t=b(t),function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,n||[],b(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var v=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),y(this,t,[e])}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(t,e),n=t,(i=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"folder:selected new:folder:selected",this.setButtonText),this.listenTo(this.options.channelName,"re:render:selector",this.renderSelector),this.disabledIds=this.options.disabledIds&&this.options.disabledIds.reduce((function(e,t){return Object.assign(Object.assign({},e),function(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:true,enumerable:!0,configurable:!0,writable:!0}):e[t]=true,e}({},t))}),{})}},{key:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return s()}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".button-text"}}},{key:"onClickCreateNew",value:function(e){e.preventDefault(),o.Radio.channel(this.options.channelName).trigger("create:folder:clicked")}},{key:"setButtonText",value:function(e,t){if(e&&!t){var n=e.get("name");this.getUI("button").text(n)}else{var o=c.PU.getSelected(this.options.folderTreeKey,this.collection),i=o?o.get("name"):r.T.getPhrase(this.lang,"button");this.getUI("button").text(i)}}},{key:"renderSelector",value:function(){this.showChildView("selector",new l.J({styles:a,collection:this.collection,channelName:this.options.channelName,childrenProperty:"children",folderTreeId:this.options.folderTreeKey,extraClass:a.list,isSelector:!0,disabledIds:this.disabledIds||{}}))}},{key:"viewOptions",value:function(){return{styles:a,name:this.options.name||this.options.channelName,buttonText:this.buttonText,canCreateNew:this.options.canCreateNew,dropdown:this.options.dropdown}}},{key:"onRender",value:function(){this.setButtonText(),this.renderSelector()}}])&&p(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(i.Q.wA)},67670:function(e,t,n){"use strict";n.d(t,{v:function(){return d}});var o=n(31647),r=n(88172);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function l(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,u(o.key),o)}}function u(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:String(t)}function s(e,t,n){return t=f(t),function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,n||[],f(e).constructor):t.apply(e,n))}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,t,arguments)}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),n=t,(o=[{key:"defaults",value:function(){return l(l({},r.ZV.Disabled,!0),r.ZV.Hidden,!1)}}])&&c(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),t}(o.Q.Hn)},58315:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){return'<div class="dropdown-menu-region"></div>\n<div class="form-feedback"></div>'},useData:!0})},46635:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.disabled:i,t))},3:function(e,t,n,o,r){return" disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,c=e.escapeExpression,u=null!=t?t:e.nullContext||{};return'<button \n class="dropdown-toggle form-control text-start position-relative '+c(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectButton:i,t))+" "+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" \n type="button" \n id="dropdownMenuButton" \n data-bs-toggle="dropdown" \n aria-haspopup="true" \n aria-expanded="false"\n '+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+' \n name="'+c(l(null!=(i=null!=t?t.options:t)?i.inputName:i,t))+'"\n >\n '+c(l(null!=(i=null!=t?t.options:t)?i.placeholderText:i,t))+'\n</button>\n<div class="dropdown-region"></div>\n<div class="form-feedback"></div>'},useData:!0})},68979:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,c=e.escapeExpression;return' <button\n class="'+c(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectBtn:i,t))+' form-select form-control"\n data-bs-toggle="dropdown"\n aria-haspopup="true"\n aria-expanded="false"\n name='+c(l(null!=(i=null!=t?t.options:t)?i.name:i,t))+'\n >\n <span class="d-block text-truncate button-text">\n '+c(l(null!=(i=null!=t?t.options:t)?i.buttonText:i,t))+'\n </span>\n </button>\n<div class="dropdown-menu '+c(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selector:i,t))+'">\n'},3:function(e,t,n,o,r){return"border rounded-3"},5:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="create-new btn fw-bold rounded-0 rounded-bottom-lg w-100 text-start '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.customItem:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"createNew",{name:"lang",hash:{},data:r}))+"</button>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.dropdown:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'<div class="'+(null!=(i=n.unless.call(l,null!=(i=null!=t?t.options:t)?i.dropdown:i,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+' overflow-auto" name='+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.name:i,t))+'>\n <div class="selector-region"></div>\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.canCreateNew:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\n<div class="form-feedback"></div>'},useData:!0})}}]);
1
+ (self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[1269],{79665:function(e,t,n){"use strict";n.d(t,{A:function(){return w}});var o=n(48088),r=n(39479),i=n(57857),l=n(31647),c=n(52076),u=n(26357),s=n(93569),a=n(58315),p=n.n(a);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,y(o.key),o)}}function y(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=f(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:String(t)}function h(e,t,n){return t=m(t),function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,b()?Reflect.construct(t,n||[],m(e).constructor):t.apply(e,n))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}var w=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(this,t,[e])}var n,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(t,e),n=t,(l=[{key:"initialize",value:function(){this.bindListeners(),s.yV.deselectAll(this.collection),s.yV.setSelected(this.options.currentLibraryId,this.collection)}},{key:"name",get:function(){return"LibrarySelectComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.librarySelect"}},{key:"template",get:function(){return p()}},{key:"regions",value:function(){return{dropdown:{el:".dropdown-menu-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,"select:option:selected",(function(t){o.Radio.channel(e.options.channelName).trigger("library:selected",t)}))}},{key:"getIsOptionDisabledFn",value:function(){var e=this.options.disabledLibraryIds;return function(t){var n=t||this.model;if(r.contains(e,n.get("id")+""))return!0}}},{key:"onRender",value:function(){this.showChildView("dropdown",new u.H({collection:this.collection,channelName:this.channelName,childOptions:{titleProperty:"name",eventName:"select:option:click",isDisabled:this.getIsOptionDisabledFn()},placeholderText:this.options.placeholderText||i.T.getPhrase(this.lang,"placeholder"),noOptionsText:i.T.getPhrase(this.lang,"noLibraries"),inputName:this.options.inputName,disabled:0===this.collection.length||this.options.disabled,analyticsHelper:c.k}))}}])&&d(n.prototype,l),Object.defineProperty(n,"prototype",{writable:!1}),t}(l.Q.wA)},71641:function(e,t,n){"use strict";n.d(t,{w:function(){return d}});var o=n(39479),r=n(31647),i=n(55142);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,u(o.key),o)}}function u(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:String(t)}function s(e,t,n){return t=p(t),function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,n||[],p(e).constructor):t.apply(e,n))}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}var d=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,t,[e])}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(t,e),n=t,r=[{key:"name",get:function(){return"DropdownCollectionComponent"}},{key:"className",get:function(){return"dropdown-menu items-viewpart ".concat(this.getExtraClasses(this.options.displayOptions))}},{key:"attributes",get:function(){return{"aria-labelledby":"dropdownSelector"}}},{key:"initialize",value:function(){this.listenTo(this.options.channelName,"center:dropdown",this.centerSelectedItem)}},{key:"childView",get:function(){return i.N}},{key:"childViewOptions",get:function(){var e={channelName:this.options.channelName,analyticsHelper:this.options.analyticsHelper};return o.extend(e,this.options.childOptions)}},{key:"getExtraClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?"left":t,o=e.extraClasses,r="dropdown-menu-".concat(n);return o&&(r="".concat(r," ").concat(o)),r}},{key:"centerSelectedItem",value:function(){var e=this.$el.find(".active");if(e.length){var t=this.$el.scrollTop()+e.position().top,n=.5*this.$el.height()+.5*e.height();this.$el.scrollTop(t-n)}}}],r&&c(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.Q.$W)},26357:function(e,t,n){"use strict";n.d(t,{H:function(){return v}});var o=n(48088),r=n(39479),i=n(31647),l=n(71641),c=n(93569),u=n(46635),s=n.n(u),a={dropdownMenu:"oKdKI",selectButton:"fTeoW",disabled:"gZbQ4"};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,d(o.key),o)}}function d(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=p(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p(t)?t:String(t)}function y(e,t,n){return t=b(t),function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,n||[],b(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var v=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=y(this,t,[e])).selectSearch="",n.sameCharIndex=1,n.optionStep=1,n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(t,e),n=t,i=[{key:"initialize",value:function(){this.setModel(),this.bindListeners()}},{key:"name",get:function(){return"SelectComponent"}},{key:"template",get:function(){return s()}},{key:"regions",value:function(){return{dropdown:{el:".dropdown-region",replaceElement:!0}}}},{key:"events",value:function(){return{keydown:"onKeydown","shown.bs.dropdown":"onShowDropdown"}}},{key:"defaults",get:function(){return{displayProperty:"name"}}},{key:"elements",get:function(){return{dropdownToggle:".dropdown-toggle"}}},{key:"bindListeners",value:function(){this.listenTo(this.options.channelName,this.options.childOptions.eventName,this.onSelect)}},{key:"onShowDropdown",value:function(){o.Radio.channel(this.options.channelName).trigger("center:dropdown")}},{key:"onKeydown",value:function(e){38===e.keyCode||40===e.keyCode?this.onArrowKeyDown(e):13===e.keyCode?this.render():this.onType(e),o.Radio.channel(this.options.channelName).trigger("center:dropdown")}},{key:"onArrowKeyDown",value:function(e){c.yV.getSelected(this.collection)?this.optionStep=1:this.optionStep=0;var t=this.getNextModel(e.keyCode);for(t||(c.yV.deselectAll(this.collection),t=this.getNextModel(e.keyCode));this.isDisabled(t);)this.optionStep++,t=this.getNextModel(e.keyCode);this.onSelect(t)}},{key:"onType",value:function(e){if(1===e.key.toString().length){var t=this.getModelMatch(e);t&&this.onSelect(t),this.runTimer()}}},{key:"onSelect",value:function(e){this.isDisabled(e)||(c.yV.setSelected(e.get("id"),this.collection),this.setModel(),this.getUI("dropdownToggle").text(this.getButtonText()),o.Radio.channel(this.options.channelName).trigger("select:option:selected",e))}},{key:"setModel",value:function(){this.model=c.yV.getSelected(this.collection)}},{key:"getNextModel",value:function(e){var t,n=c.yV.getSelected(this.collection)||this.collection.first(),o=this.collection.indexOf(n);return(t=38===e?this.collection.at(o-this.optionStep):this.collection.at(o+this.optionStep))||(c.yV.deselectAll(this.collection),t=this.collection.first(),this.optionStep=0),t}},{key:"getModelMatch",value:function(e){var t,n=this;return 1===this.selectSearch.length&&this.selectSearch===e.key?t=this.handleSameCharIndex(e.key):(this.selectSearch+=e.key,this.sameCharIndex=1),t||(t=r.find(this.collection.models,(function(e){return e.get(n.options.displayProperty).toLowerCase().slice(0,n.selectSearch.length).includes(n.selectSearch.toLowerCase())}))),t}},{key:"handleSameCharIndex",value:function(e){var t=this,n=r.filter(this.collection.models,(function(n){return n.get(t.options.displayProperty).toLowerCase().slice(0,1)===e}));if(n.length>1){var o=n[this.sameCharIndex];return o||(o=r.first(n),this.sameCharIndex=0),this.sameCharIndex++,o}return r.first(n)}},{key:"runTimer",value:function(){var e=this;this.scopedTimerIndex&&clearTimeout(this.scopedTimerIndex),this.scopedTimerIndex=window.setTimeout((function(){e.selectSearch=""}),500)}},{key:"isDisabled",value:function(e){var t;if(e.get("divider"))return!0;if(!r.isFunction(this.options.childOptions.isDisabled))return!1;for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return(t=this.options.childOptions.isDisabled).call.apply(t,[this,e].concat(o))}},{key:"getButtonText",value:function(){if(this.options.disabled)return this.options.noOptionsText;var e=c.yV.getSelected(this.collection);return e&&e.get(this.options.displayProperty)||this.options.placeholderText}},{key:"viewOptions",value:function(){return{styles:a,inputName:this.options.inputName,disabled:this.options.disabled,placeholderText:this.getButtonText()}}},{key:"onRender",value:function(){this.showChildView("dropdown",new l.w({collection:this.collection,channelName:this.options.channelName,childOptions:r.extend(this.options.childOptions),displayOptions:{extraClasses:"w-100 ".concat(a.dropdownMenu)},analyticsHelper:this.options.analyticsHelper}))}}],i&&f(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(i.Q.wA)},20072:function(e,t,n){"use strict";n.d(t,{Y:function(){return v}});var o=n(48088),r=n(57857),i=n(31647),l=n(50299),c=n(93569),u=n(68979),s=n.n(u),a={selectBtn:"tZUtI",list:"MxlSt",selector:"qHvbU",maxHeight:"jp36d",customItem:"aJzJB"};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,d(o.key),o)}}function d(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=p(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p(t)?t:String(t)}function y(e,t,n){return t=b(t),function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,n||[],b(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var v=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),y(this,t,[e])}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(t,e),n=t,(i=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"folder:selected new:folder:selected",this.setButtonText),this.listenTo(this.options.channelName,"re:render:selector",this.renderSelector),this.disabledIds=this.options.disabledIds&&this.options.disabledIds.reduce((function(e,t){return Object.assign(Object.assign({},e),function(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:true,enumerable:!0,configurable:!0,writable:!0}):e[t]=true,e}({},t))}),{})}},{key:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return s()}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".button-text"}}},{key:"onClickCreateNew",value:function(e){e.preventDefault(),o.Radio.channel(this.options.channelName).trigger("create:folder:clicked")}},{key:"setButtonText",value:function(e,t){if(e&&!t){var n=e.get("name");this.getUI("button").text(n)}else{var o=c.PU.getSelected(this.options.folderTreeKey,this.collection),i=o?o.get("name"):r.T.getPhrase(this.lang,"button");this.getUI("button").text(i)}}},{key:"renderSelector",value:function(){this.showChildView("selector",new l.J({styles:a,collection:this.collection,channelName:this.options.channelName,childrenProperty:"children",folderTreeId:this.options.folderTreeKey,extraClass:a.list,isSelector:!0,disabledIds:this.disabledIds||{}}))}},{key:"viewOptions",value:function(){return{styles:a,name:this.options.name||this.options.channelName,buttonText:this.buttonText,canCreateNew:this.options.canCreateNew,dropdown:this.options.dropdown}}},{key:"onRender",value:function(){this.setButtonText(),this.renderSelector()}}])&&f(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(i.Q.wA)},67670:function(e,t,n){"use strict";n.d(t,{v:function(){return d}});var o=n(31647),r=n(88172);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function l(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,u(o.key),o)}}function u(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:String(t)}function s(e,t,n){return t=p(t),function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,n||[],p(e).constructor):t.apply(e,n))}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,t,arguments)}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(t,e),n=t,(o=[{key:"defaults",value:function(){return l(l({},r.ZV.Disabled,!0),r.ZV.Hidden,!1)}}])&&c(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),t}(o.Q.Hn)},58315:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){return'<div class="dropdown-menu-region"></div>\n<div class="form-feedback"></div>'},useData:!0})},46635:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.disabled:i,t))},3:function(e,t,n,o,r){return" disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,c=e.escapeExpression,u=null!=t?t:e.nullContext||{};return'<button \n class="dropdown-toggle form-control text-start position-relative '+c(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectButton:i,t))+" "+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" \n type="button" \n id="dropdownMenuButton" \n data-bs-toggle="dropdown" \n aria-haspopup="true" \n aria-expanded="false"\n '+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+' \n name="'+c(l(null!=(i=null!=t?t.options:t)?i.inputName:i,t))+'"\n >\n '+c(l(null!=(i=null!=t?t.options:t)?i.placeholderText:i,t))+'\n</button>\n<div class="dropdown-region"></div>\n<div class="form-feedback"></div>'},useData:!0})},68979:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,c=e.escapeExpression;return' <button\n class="'+c(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectBtn:i,t))+' form-select form-control"\n data-bs-toggle="dropdown"\n aria-haspopup="true"\n aria-expanded="false"\n name='+c(l(null!=(i=null!=t?t.options:t)?i.name:i,t))+'\n >\n <span class="d-block text-truncate button-text">\n '+c(l(null!=(i=null!=t?t.options:t)?i.buttonText:i,t))+'\n </span>\n </button>\n<div class="dropdown-menu '+c(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selector:i,t))+'">\n'},3:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,"border rounded-3 "+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.maxHeight:i,t))},5:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="create-new btn fw-bold rounded-0 rounded-bottom-lg w-100 text-start '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.customItem:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"createNew",{name:"lang",hash:{},data:r}))+"</button>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.dropdown:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'<div class="'+(null!=(i=n.unless.call(l,null!=(i=null!=t?t.options:t)?i.dropdown:i,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+' overflow-auto" name='+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.name:i,t))+'>\n <div class="selector-region"></div>\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.canCreateNew:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\n<div class="form-feedback"></div>'},useData:!0})}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5418],{77739:function(e,t,n){"use strict";n.d(t,{r:function(){return h}});var r=n(31647),o=n(10101),i=n(20072),l=n(93569),a=n(11653),u=n(14538),c=n.n(u);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}function p(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:String(t)}function d(e,t,n){return t=y(t),function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,b()?Reflect.construct(t,n||[],y(e).constructor):t.apply(e,n))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var h=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),d(this,t,[e])}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(t,e),n=t,(r=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.listenTo(this.options.channelName,"folder:selected",this.onFolderSelected)}},{key:"name",get:function(){return"FolderDetailsComponent"}},{key:"template",get:function(){return c()}},{key:"lang",get:function(){return"libraryEditor.folderDetails"}},{key:"folderTreeKey",get:function(){return this.options.folderTreeKey||"folderselect:".concat(this.cid)}},{key:"regions",value:function(){return{parentFolder:".parent-folder-region"}}},{key:"behaviors",get:function(){return[{behaviorClass:o.fS,modelValidation:(0,a.h)({validateName:this.options.editName,validateParent:this.options.editParent,folder:this.options.model,collection:this.options.collection})},{behaviorClass:o.Bp}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}},{key:"onFolderSelected",value:function(e,t){e&&(l.PU.setSelected(this.folderTreeKey,e,this.collection,t),t||this.model.set("parentId",e.get("id"),{validate:!0}))}},{key:"renderSubFolders",value:function(){this.options.editParent&&this.showChildView("parentFolder",new i.Y({collection:this.collection,channelName:this.options.channelName,folderTreeKey:this.folderTreeKey,disabledIds:this.options.disabledParentFolderIds}))}},{key:"viewOptions",value:function(){return{editName:this.options.editName,editParent:this.options.editParent}}},{key:"onRender",value:function(){this.renderSubFolders()}}])&&f(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.Q.wA)},11653:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var r=n(39479),o=n(57857),i=n(54008),l=n(22557),a="libraryEditor.utils",u={name:[{required:!0,msg:function(){return o.T.getPhrase(a,"folderNameRequired")}},{maxLength:255,msg:function(){return o.T.getPhrase(a,"folderNameExceeds")}}]},c=function(e,t){return{parentId:function(n){return n?l.P.calculateDestinationFolderDepth(e,n,t)>i.p.MAX_FOLDER_DEPTH?o.T.getPhrase(a,"maxFolderDepth",{maxDepth:i.p.MAX_FOLDER_DEPTH}):"":o.T.getPhrase(a,"selectParentFolder")}}},s=function(e){var t=e.validateName,n=e.validateParent,o=e.folder,i=e.collection;return t&&n?r.extend({},u,c(o,i)):t?u:n?c(o,i):void 0}},20072:function(e,t,n){"use strict";n.d(t,{Y:function(){return v}});var r=n(48088),o=n(57857),i=n(31647),l=n(50299),a=n(93569),u=n(68979),c=n.n(u),s={selectBtn:"tZUtI",list:"MxlSt",selector:"qHvbU",maxHeight:"jp36d",customItem:"aJzJB"};function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,d(r.key),r)}}function d(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:String(t)}function b(e,t,n){return t=m(t),function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,y()?Reflect.construct(t,n||[],m(e).constructor):t.apply(e,n))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var v=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),b(this,t,[e])}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(t,e),n=t,(i=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"folder:selected new:folder:selected",this.setButtonText),this.listenTo(this.options.channelName,"re:render:selector",this.renderSelector),this.disabledIds=this.options.disabledIds&&this.options.disabledIds.reduce((function(e,t){return Object.assign(Object.assign({},e),function(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:true,enumerable:!0,configurable:!0,writable:!0}):e[t]=true,e}({},t))}),{})}},{key:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return c()}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".button-text"}}},{key:"onClickCreateNew",value:function(e){e.preventDefault(),r.Radio.channel(this.options.channelName).trigger("create:folder:clicked")}},{key:"setButtonText",value:function(e,t){if(e&&!t){var n=e.get("name");this.getUI("button").text(n)}else{var r=a.PU.getSelected(this.options.folderTreeKey,this.collection),i=r?r.get("name"):o.T.getPhrase(this.lang,"button");this.getUI("button").text(i)}}},{key:"renderSelector",value:function(){this.showChildView("selector",new l.J({styles:s,collection:this.collection,channelName:this.options.channelName,childrenProperty:"children",folderTreeId:this.options.folderTreeKey,extraClass:s.list,isSelector:!0,disabledIds:this.disabledIds||{}}))}},{key:"viewOptions",value:function(){return{styles:s,name:this.options.name||this.options.channelName,buttonText:this.buttonText,canCreateNew:this.options.canCreateNew,dropdown:this.options.dropdown}}},{key:"onRender",value:function(){this.setButtonText(),this.renderSelector()}}])&&p(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(i.Q.wA)},67670:function(e,t,n){"use strict";n.d(t,{v:function(){return d}});var r=n(31647),o=n(88172);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function l(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function u(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:String(t)}function c(e,t,n){return t=f(t),function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,s()?Reflect.construct(t,n||[],f(e).constructor):t.apply(e,n))}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,t,arguments)}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),n=t,(r=[{key:"defaults",value:function(){return l(l({},o.ZV.Disabled,!0),o.ZV.Hidden,!1)}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.Q.Hn)},14538:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,a=e.escapeExpression;return' <div class="form-group">\n <label for="name" class="control-label">'+a((n.lang||t&&t.lang||l).call(i,"name",{name:"lang",hash:{},data:o}))+'</label>\n <input name="name" id="name" type="text" class="form-control" placeholder="'+a((n.lang||t&&t.lang||l).call(i,"namePlaceholder",{name:"lang",hash:{},data:o}))+'" autocomplete="off" autofocus/>\n <div class="form-feedback"></div>\n </div>\n'},3:function(e,t,n,r,o){return e.propertyIsEnumerable,' <div class="form-group pt-2">\n <label for="parentId" class="control-label">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"parent",{name:"lang",hash:{},data:o}))+'</label>\n <div class="parent-folder-region"></div>\n </div>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return"<form>\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.editName:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.editParent:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+"</form>"},useData:!0})},68979:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return' <button\n class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectBtn:i,t))+' form-select form-control"\n data-bs-toggle="dropdown"\n aria-haspopup="true"\n aria-expanded="false"\n name='+a(l(null!=(i=null!=t?t.options:t)?i.name:i,t))+'\n >\n <span class="d-block text-truncate button-text">\n '+a(l(null!=(i=null!=t?t.options:t)?i.buttonText:i,t))+'\n </span>\n </button>\n<div class="dropdown-menu '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selector:i,t))+'">\n'},3:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,"border rounded-3 "+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.maxHeight:i,t))},5:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="create-new btn fw-bold rounded-0 rounded-bottom-lg w-100 text-start '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.customItem:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"createNew",{name:"lang",hash:{},data:o}))+"</button>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.dropdown:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'<div class="'+(null!=(i=n.unless.call(l,null!=(i=null!=t?t.options:t)?i.dropdown:i,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+' overflow-auto" name='+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.name:i,t))+'>\n <div class="selector-region"></div>\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.canCreateNew:i,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\n<div class="form-feedback"></div>'},useData:!0})}}]);