/*! For license information please see index.js.LICENSE.txt */
(()=>{var e={9487:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});const a={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function r(e){return a[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:(e,t,n)=>{"use strict";n.d(t,{LR:()=>o});var a=n(9487),r=n(2003);function o(e,t,n={}){const o=(0,a.X)(t);if(!o||isNaN(e))return null;const{decimal:i,grouping:s,precision:c,symbol:l}={...o,...n},d=e<0?"-":"",u=Math.abs(e),p=Math.floor(u);return{sign:d,symbol:l,integer:(0,r.Z)(u,c,i,s).split(i)[0],fraction:c>0?(0,r.Z)(u-p,c,i,s).slice(1):""}}},2003:(e,t,n)=>{"use strict";function a(e,t=0,n=".",a=","){const r=(e+"").replace(/[^0-9+\-Ee.]/g,""),o=isFinite(+r)?+r:0,i=isFinite(+t)?Math.abs(t):0,s=(i?function(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(o,i):""+Math.round(o)).split(".");return s[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(s[1]||"").length<i&&(s[1]=s[1]||"",s[1]+=new Array(i-s[1].length+1).join("0")),s.join(n)}n.d(t,{Z:()=>a})},1074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(9307);const r=(0,a.forwardRef)((function({icon:e,size:t=24,...n},r){return(0,a.cloneElement)(e,{width:t,height:t,...n,ref:r})}))},3259:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"}))},7511:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"}))},6627:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fillRule:"evenodd",d:"M11.25 5h1.5v15h-1.5V5zM6 10h1.5v10H6V10zm12 4h-1.5v6H18v-6z",clipRule:"evenodd"}))},9201:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},2229:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},2800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}))},6990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"}))},2457:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}))},7489:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(r.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}))},6163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}))},9517:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))},7267:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-4v-2.4L14 14l1-1-3-3-3 3 1 1 1.2-1.2v2.4H7.7c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4H9l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8 0 1-.8 1.8-1.7 1.8z"}))},598:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-9c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4h1.3l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8-.1 1-.9 1.8-1.8 1.8z"}))},5899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"}))},1063:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=n(7840).Z},5381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}))},7182:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))},3618:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"}))},6376:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"}))},5022:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(r.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}))},496:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}))},843:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,a.createElement)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"}))},3482:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}))},7840:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"}))},1562:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"}))},2859:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(r.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}))},797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,a.createElement)(r.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"}))},5235:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)a.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},951:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let a=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(r=a))})),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1741)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:(e,t,n)=>{e.exports=function(e){function t(e){let n,r,o,i=null;function s(...e){if(!s.enabled)return;const a=s,r=Number(new Date),o=r-(n||r);a.diff=o,a.prev=n,a.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,r)=>{if("%%"===n)return"%";i++;const o=t.formatters[r];if("function"==typeof o){const t=e[i];n=o.call(a,t),e.splice(i,1),i--}return n})),t.formatArgs.call(a,e);(a.log||t.log).apply(a,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=a,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(r!==t.namespaces&&(r=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function a(e,n){const a=t(this.namespace+(void 0===n?":":n)+e);return a.log=this.log,a}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").split(/[\s,]+/),r=a.length;for(n=0;n<r;n++)a[n]&&("-"===(e=a[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,a;for(n=0,a=t.skips.length;n<a;n++)if(t.skips[n].test(e))return!1;for(n=0,a=t.names.length;n<a;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(3171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},861:function(e){e.exports=function(){"use strict";var e=/^(b|B)$/,t={iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},n={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]},a={floor:Math.floor,ceil:Math.ceil};function r(r){var o,i,s,c,l,d,u,p,m,h,g,f,v,y,w,b,E,k,C,R,Z,P=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_=[],S=0;if(isNaN(r))throw new TypeError("Invalid number");if(s=!0===P.bits,w=!0===P.unix,f=!0===P.pad,i=P.base||10,v=void 0!==P.round?P.round:w?1:2,u=void 0!==P.locale?P.locale:"",p=P.localeOptions||{},b=void 0!==P.separator?P.separator:"",E=void 0!==P.spacer?P.spacer:w?"":" ",C=P.symbols||{},k=2===i?P.standard||"iec":"jedec",g=P.output||"string",l=!0===P.fullform,d=P.fullforms instanceof Array?P.fullforms:[],o=void 0!==P.exponent?P.exponent:-1,R=a[P.roundingMethod]||Math.round,m=(h=Number(r))<0,c=i>2?1e3:1024,Z=!1===isNaN(P.precision)?parseInt(P.precision,10):0,m&&(h=-h),(-1===o||isNaN(o))&&(o=Math.floor(Math.log(h)/Math.log(c)))<0&&(o=0),o>8&&(Z>0&&(Z+=8-o),o=8),"exponent"===g)return o;if(0===h)_[0]=0,y=_[1]=w?"":t[k][s?"bits":"bytes"][o];else{S=h/(2===i?Math.pow(2,10*o):Math.pow(1e3,o)),s&&(S*=8)>=c&&o<8&&(S/=c,o++);var x=Math.pow(10,o>0?v:0);_[0]=R(S*x)/x,_[0]===c&&o<8&&void 0===P.exponent&&(_[0]=1,o++),y=_[1]=10===i&&1===o?s?"kbit":"kB":t[k][s?"bits":"bytes"][o],w&&(_[1]=_[1].charAt(0),e.test(_[1])&&(_[0]=Math.floor(_[0]),_[1]=""))}if(m&&(_[0]=-_[0]),Z>0&&(_[0]=_[0].toPrecision(Z)),_[1]=C[_[1]]||_[1],!0===u?_[0]=_[0].toLocaleString():u.length>0?_[0]=_[0].toLocaleString(u,p):b.length>0&&(_[0]=_[0].toString().replace(".",b)),f&&!1===Number.isInteger(_[0])&&v>0){var N=b||".",j=_[0].toString().split(N),V=j[1]||"",z=V.length,T=v-z;_[0]="".concat(j[0]).concat(N).concat(V.padEnd(z+T,"0"))}return l&&(_[1]=d[o]?d[o]:n[k][o]+(s?"bit":"byte")+(1===_[0]?"":"s")),"array"===g?_:"object"===g?{value:_[0],symbol:_[1],exponent:o,unit:y}:_.join(E)}return r.partial=function(e){return function(t){return r(t,e)}},r}()},2511:(e,t,n)=>{"use strict";n.d(t,{Ep:()=>d,PP:()=>P,lX:()=>y,ob:()=>u,q_:()=>R});var a=n(255),r=n(4456),o=n(4262);function i(e){return"/"===e.charAt(0)?e:"/"+e}function s(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function l(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,a=e.hash,r=t||"/";return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),a&&"#"!==a&&(r+="#"===a.charAt(0)?a:"#"+a),r}function u(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",a="",r=t.indexOf("#");-1!==r&&(a=t.substr(r),t=t.substr(0,r));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===a?"":a}}(e),i.state=t):(void 0===(i=(0,a.Z)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=(0,r.Z)(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function p(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,a,r){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof a?a(o,r):r(!0):r(!1!==o)}else r(!0)},appendListener:function(e){var n=!0;function a(){n&&e.apply(void 0,arguments)}return t.push(a),function(){n=!1,t=t.filter((function(e){return e!==a}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];t.forEach((function(e){return e.apply(void 0,n)}))}}}var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function h(e,t){t(window.confirm(e))}var g="popstate",f="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function y(e){void 0===e&&(e={}),m||(0,o.Z)(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,s=!(-1===window.navigator.userAgent.indexOf("Trident")),y=e,w=y.forceRefresh,b=void 0!==w&&w,E=y.getUserConfirmation,k=void 0===E?h:E,C=y.keyLength,R=void 0===C?6:C,Z=e.basename?l(i(e.basename)):"";function P(e){var t=e||{},n=t.key,a=t.state,r=window.location,o=r.pathname+r.search+r.hash;return Z&&(o=c(o,Z)),u(o,a,n)}function _(){return Math.random().toString(36).substr(2,R)}var S=p();function x(e){(0,a.Z)(L,e),L.length=n.length,S.notifyListeners(L.location,L.action)}function N(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||z(P(e.state))}function j(){z(P(v()))}var V=!1;function z(e){if(V)V=!1,x();else{S.confirmTransitionTo(e,"POP",k,(function(t){t?x({action:"POP",location:e}):function(e){var t=L.location,n=U.indexOf(t.key);-1===n&&(n=0);var a=U.indexOf(e.key);-1===a&&(a=0);var r=n-a;r&&(V=!0,F(r))}(e)}))}}var T=P(v()),U=[T.key];function O(e){return Z+d(e)}function F(e){n.go(e)}var M=0;function I(e){1===(M+=e)&&1===e?(window.addEventListener(g,N),s&&window.addEventListener(f,j)):0===M&&(window.removeEventListener(g,N),s&&window.removeEventListener(f,j))}var A=!1;var L={length:n.length,action:"POP",location:T,createHref:O,push:function(e,t){var a="PUSH",o=u(e,t,_(),L.location);S.confirmTransitionTo(o,a,k,(function(e){if(e){var t=O(o),i=o.key,s=o.state;if(r)if(n.pushState({key:i,state:s},null,t),b)window.location.href=t;else{var c=U.indexOf(L.location.key),l=U.slice(0,c+1);l.push(o.key),U=l,x({action:a,location:o})}else window.location.href=t}}))},replace:function(e,t){var a="REPLACE",o=u(e,t,_(),L.location);S.confirmTransitionTo(o,a,k,(function(e){if(e){var t=O(o),i=o.key,s=o.state;if(r)if(n.replaceState({key:i,state:s},null,t),b)window.location.replace(t);else{var c=U.indexOf(L.location.key);-1!==c&&(U[c]=o.key),x({action:a,location:o})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=S.setPrompt(e);return A||(I(1),A=!0),function(){return A&&(A=!1,I(-1)),t()}},listen:function(e){var t=S.appendListener(e);return I(1),function(){I(-1),t()}}};return L}var w="hashchange",b={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+s(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:s,decodePath:i},slash:{encodePath:i,decodePath:i}};function E(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function k(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(E(window.location.href)+"#"+e)}function R(e){void 0===e&&(e={}),m||(0,o.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,s=void 0===r?h:r,g=n.hashType,f=void 0===g?"slash":g,v=e.basename?l(i(e.basename)):"",y=b[f],R=y.encodePath,Z=y.decodePath;function P(){var e=Z(k());return v&&(e=c(e,v)),u(e)}var _=p();function S(e){(0,a.Z)(A,e),A.length=t.length,_.notifyListeners(A.location,A.action)}var x=!1,N=null;function j(){var e,t,n=k(),a=R(n);if(n!==a)C(a);else{var r=P(),o=A.location;if(!x&&(t=r,(e=o).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(N===d(r))return;N=null,function(e){if(x)x=!1,S();else{var t="POP";_.confirmTransitionTo(e,t,s,(function(n){n?S({action:t,location:e}):function(e){var t=A.location,n=U.lastIndexOf(d(t));-1===n&&(n=0);var a=U.lastIndexOf(d(e));-1===a&&(a=0);var r=n-a;r&&(x=!0,O(r))}(e)}))}}(r)}}var V=k(),z=R(V);V!==z&&C(z);var T=P(),U=[d(T)];function O(e){t.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?window.addEventListener(w,j):0===F&&window.removeEventListener(w,j)}var I=!1;var A={length:t.length,action:"POP",location:T,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=E(window.location.href)),n+"#"+R(v+d(e))},push:function(e,t){var n="PUSH",a=u(e,void 0,void 0,A.location);_.confirmTransitionTo(a,n,s,(function(e){if(e){var t=d(a),r=R(v+t);if(k()!==r){N=t,function(e){window.location.hash=e}(r);var o=U.lastIndexOf(d(A.location)),i=U.slice(0,o+1);i.push(t),U=i,S({action:n,location:a})}else S()}}))},replace:function(e,t){var n="REPLACE",a=u(e,void 0,void 0,A.location);_.confirmTransitionTo(a,n,s,(function(e){if(e){var t=d(a),r=R(v+t);k()!==r&&(N=t,C(r));var o=U.indexOf(d(A.location));-1!==o&&(U[o]=t),S({action:n,location:a})}}))},go:O,goBack:function(){O(-1)},goForward:function(){O(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return I||(M(1),I=!0),function(){return I&&(I=!1,M(-1)),t()}},listen:function(e){var t=_.appendListener(e);return M(1),function(){M(-1),t()}}};return A}function Z(e,t,n){return Math.min(Math.max(e,t),n)}function P(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,o=void 0===r?["/"]:r,i=t.initialIndex,s=void 0===i?0:i,c=t.keyLength,l=void 0===c?6:c,m=p();function h(e){(0,a.Z)(b,e),b.length=b.entries.length,m.notifyListeners(b.location,b.action)}function g(){return Math.random().toString(36).substr(2,l)}var f=Z(s,0,o.length-1),v=o.map((function(e){return u(e,void 0,"string"==typeof e?g():e.key||g())})),y=d;function w(e){var t=Z(b.index+e,0,b.entries.length-1),a=b.entries[t];m.confirmTransitionTo(a,"POP",n,(function(e){e?h({action:"POP",location:a,index:t}):h()}))}var b={length:v.length,action:"POP",location:v[f],index:f,entries:v,createHref:y,push:function(e,t){var a="PUSH",r=u(e,t,g(),b.location);m.confirmTransitionTo(r,a,n,(function(e){if(e){var t=b.index+1,n=b.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),h({action:a,location:r,index:t,entries:n})}}))},replace:function(e,t){var a="REPLACE",r=u(e,t,g(),b.location);m.confirmTransitionTo(r,a,n,(function(e){e&&(b.entries[b.index]=r,h({action:a,location:r}))}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},canGo:function(e){var t=b.index+e;return t>=0&&t<b.entries.length},block:function(e){return void 0===e&&(e=!1),m.setPrompt(e)},listen:function(e){return m.appendListener(e)}};return b}},7692:(e,t,n)=>{"use strict";var a=n(3801),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return a.isMemo(e)?i:s[e.$$typeof]||r}s[a.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[a.Memo]=i;var l=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,a){if("string"!=typeof n){if(h){var r=m(n);r&&r!==h&&e(t,r,a)}var i=d(n);u&&(i=i.concat(u(n)));for(var s=c(t),g=c(n),f=0;f<i.length;++f){var v=i[f];if(!(o[v]||a&&a[v]||g&&g[v]||s&&s[v])){var y=p(n,v);try{l(t,v,y)}catch(e){}}}}return t}},7676:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},4097:function(e,t){var n,a;a="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:this,e.exports=function(a){"use strict";var r,o=(a=a||{}).Base64,i="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(e){for(var t={},n=0,a=e.length;n<a;n++)t[e.charAt(n)]=n;return t}(s),l=String.fromCharCode,d=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?l(192|t>>>6)+l(128|63&t):l(224|t>>>12&15)+l(128|t>>>6&63)+l(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return l(240|t>>>18&7)+l(128|t>>>12&63)+l(128|t>>>6&63)+l(128|63&t)},u=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,p=function(e){return e.replace(u,d)},m=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)].join("")},h=a.btoa&&"function"==typeof a.btoa?function(e){return a.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,m)},g=function(e){return h(p(String(e)))},f=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},v=function(e,t){return t?f(g(e)):g(e)},y=function(e){return v(e,!0)};a.Uint8Array&&(r=function(e,t){for(var n="",a=0,r=e.length;a<r;a+=3){var o=e[a],i=e[a+1],c=e[a+2],l=o<<16|i<<8|c;n+=s.charAt(l>>>18)+s.charAt(l>>>12&63)+(void 0!==i?s.charAt(l>>>6&63):"=")+(void 0!==c?s.charAt(63&l):"=")}return t?f(n):n});var w,b=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return l(55296+(t>>>10))+l(56320+(1023&t));case 3:return l((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return l((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},k=function(e){return e.replace(b,E)},C=function(e){var t=e.length,n=t%4,a=(t>0?c[e.charAt(0)]<<18:0)|(t>1?c[e.charAt(1)]<<12:0)|(t>2?c[e.charAt(2)]<<6:0)|(t>3?c[e.charAt(3)]:0),r=[l(a>>>16),l(a>>>8&255),l(255&a)];return r.length-=[0,0,2,1][n],r.join("")},R=a.atob&&"function"==typeof a.atob?function(e){return a.atob(e)}:function(e){return e.replace(/\S{1,4}/g,C)},Z=function(e){return R(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},P=function(e){return k(R(e))},_=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},S=function(e){return P(_(e))};a.Uint8Array&&(w=function(e){return Uint8Array.from(Z(_(e)),(function(e){return e.charCodeAt(0)}))});var x=function(){var e=a.Base64;return a.Base64=o,e};if(a.Base64={VERSION:i,atob:Z,btoa:h,fromBase64:S,toBase64:v,utob:p,encode:v,encodeURI:y,btou:k,decode:S,noConflict:x,fromUint8Array:r,toUint8Array:w},"function"==typeof Object.defineProperty){var N=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};a.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",N((function(){return S(this)}))),Object.defineProperty(String.prototype,"toBase64",N((function(e){return v(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",N((function(){return v(this,!0)})))}}return a.Meteor&&(Base64=a.Base64),e.exports?e.exports.Base64=a.Base64:void 0===(n=function(){return a.Base64}.apply(t,[]))||(e.exports=n),{Base64:a.Base64}}(a)},6644:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"GqFcAwJvIrg1v7f6QUfw",header:"OENx8kmm62tkWGukzP2S",title:"KnqJLKwSceJTwFJrPGHq","close-button":"PJU0_yA9jNf7ao0jhHut",footer:"rrORM3zqHfGvqiPduEXY",steps:"Q7fUcDUGhteXEr18rZPC","action-button":"S5LAeskUiEQ0JlPhr0Ze"}},9507:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},615:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={section:"cAbGtJDGgLubucBnz7vM"}},7637:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},2103:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},280:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={cut:"msOlyh2T7D6uhbM6AROg",icon:"cPN7USVqSBpxUswfDtUZ",cta:"EmnJAyEzzn1QpA8HtypY",iconContainer:"vV7YZikAz0oHYsuvtxMq",description:"T1YaMupeZmBIpXZHY9EZ"}},3351:()=>{},7742:()=>{},5460:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73",nextdoor:"n5XodNsuMfMAAvqHFmbw",whatsapp:"fftumuc_lJ6v0tq4UMVR"}},3527:()=>{},9710:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},1418:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",smCols:"4",mdCols:"8",lgCols:"12","col-sm-1":"RuVLl3q4lxTQa3wbhBJB","col-sm-1-start":"f9LZTRG4MMK42rS89afW","col-sm-1-end":"bHe_zKxjjpUwHw_MdYE1","col-sm-2":"QZbNrOqE2aNSn50xVhpU","col-sm-2-start":"ev7W3z7zVYPeHAlYqZjf","col-sm-2-end":"NJWd1m_e7lOiPYru2ZMP","col-sm-3":"Xc6nt1Qc1DI0Z2A3gt1r","col-sm-3-start":"UIcN_GXiPRoIsin8Kohg","col-sm-3-end":"GRKCyqb5LufCSCgykKFc","col-sm-4":"i_qTq8gqhhC3vIUepVRB","col-sm-4-start":"G3qaZ3Jpbvam_1XvGxgc","col-sm-4-end":"VRCNYKZtO9zukEwmgP1y","col-md-1":"tRm008K_WJL79WoNZTNL","col-md-1-start":"l5T2P_bgKts4tdaRkS1d","col-md-1-end":"zOCxfLZpF6BlgC7a_Yq1","col-md-2":"F80DdgVn0m5OpvtSQWka","col-md-2-start":"oI1c7JYfiJtMQHbhngtU","col-md-2-end":"pMQtA_4jh1_1lVknqEP5","col-md-3":"VenqMpdgyKQVUNNQcfqd","col-md-3-start":"seNYL99uoczf9V4MxBxT","col-md-3-end":"YKfF1HFhI9KygA5l3b2J","col-md-4":"yAi0Cv1xDWkoqsaUhvhR","col-md-4-start":"ubhnyZOnkgxNhh6XtVWv","col-md-4-end":"RGOPGQbWMJ9Ei5oFxS7X","col-md-5":"Sz1E2aWbX483ijdi6yge","col-md-5-start":"tku6_bRYrX9tMbgYGmIl","col-md-5-end":"b5JHttOhSEcI1WBlqAjk","col-md-6":"FboSx5MoKTAWbxXyYlCw","col-md-6-start":"Jhs8yEEmodG30edbJvag","col-md-6-end":"IpzbbKVqEqPcfIGkXkwt","col-md-7":"mhCPwfAZ4Kmm_empzJAq","col-md-7-start":"x034ilrJF7rO9UJB2rI1","col-md-7-end":"Wt8t2e16viRrOJ1lLA5v","col-md-8":"S6pIrEy9AMLKx9bgh_Ae","col-md-8-start":"kEfI4tGyuWfHTlRnvIab","col-md-8-end":"PUzX4RRsKq1dnsz3gebS","col-lg-1":"X_pdcLJikd8LS_YAdJlB","col-lg-1-start":"tl936d14Huby4khYp05X","col-lg-1-end":"hnge0LnR69d3NXEtEE1t","col-lg-2":"fj0NUMuyZQcPNgKcjp5Z","col-lg-2-start":"R2ncBX7a2NigdYCcV1OX","col-lg-2-end":"t8vMSDVYno9k9itRwnXb","col-lg-3":"wsDuEN2GqHx6qzo8dUdk","col-lg-3-start":"cIEVPUweWtLBy3xaXnMx","col-lg-3-end":"fajUWBwu1m2B479j3jmz","col-lg-4":"YR0c7fQTgMkDdWzwSyLp","col-lg-4-start":"xlwp8BmplxkKNMI7gamo","col-lg-4-end":"_C4O1w9DUqx1m3gPf8aA","col-lg-5":"Z54F1hAErckAIrKlxnXW","col-lg-5-start":"ezSDWkRHmKSxDJXxuiOH","col-lg-5-end":"T0ChoeAjGJjkkNrYhD4g","col-lg-6":"qtMoMPF6yHvGJnWHSsde","col-lg-6-start":"gdoywN5VPiWERfIBqkph","col-lg-6-end":"wUev_VH5uf_pwFFlbnAU","col-lg-7":"egIPDFJsOpownTClq9XP","col-lg-7-start":"yGhp9yoAW7k0kQik9AB7","col-lg-7-end":"SJ43U9mR5wUg5V2qBeQA","col-lg-8":"cTuyHfMwSUJxN_HdIEgd","col-lg-8-start":"smCr8DaIagcumdvdldiK","col-lg-8-end":"T03NHzQJvzwL6wAfIiTL","col-lg-9":"pMvxM3RJGjqyNdf9qg1Y","col-lg-9-start":"iIVpNRwEnQ_JI5gpp9EN","col-lg-9-end":"ZbQ4u4vGSX5rJOje4uGL","col-lg-10":"gKb5wuIDAlKGbrjK2vxy","col-lg-10-start":"Z7pINdImE2WJiYnZBTqm","col-lg-10-end":"ZTxp6qpvwurMdOnLLSz1","col-lg-11":"NnQTlbfnxPDR6cQ7rygg","col-lg-11-start":"O137wZd6Yl0olSA9PsXR","col-lg-11-end":"zf2OJtQ2MPz6SDoh6CB0","col-lg-12":"U3H6UHW6HqRt9hdzVg3O","col-lg-12-start":"zynnNeS_ZBTxABcVpUQH","col-lg-12-end":"vI8tltFZtFUNAy9Iag9s"}},7054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},6409:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},4070:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={container:"p4qz2tkq0p9hxucJ6Qk2",table:"lbNDyXioOwvyvbALtCBm","is-viewport-large":"s2Lsn4kbm6BrS3DSndRB",card:"cLaNK_XcbTGlRQ4Tp43Q","is-primary":"CYt1X0eH1icRjhtJ28jx",header:"DAkZc1P9A3K12fjEliMg",item:"WUBuYABl8nymjs9NnCEL","last-feature":"ANtCFeb41NhA8PA3H7ZN",value:"Ql2gy_148yW8Vw5vhaKD",icon:"EAQrAnQEW1z1BfdY5gbC","icon-check":"JDSTlLoOC_4aUoH2oNM2","icon-cross":"zNdQRJ1w7BvaQOYyqzHK",popover:"lr7vbX95SKtoe7DarJcZ","popover-icon":"KRrGp2xdkeBOxLZeuQ6X",tos:"H_ZJiRVJg0LiMXPGOcmt","tos-container":"x21z_DixObRDsDaWotP1"}},7387:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={container:"dovianZYLKhnbnh9I06o","price-container":"lljtQMhW7lq5tE5SDJEf","promo-label":"NubApIV1vQCRUNprfm6b",price:"dhFQXpZfMwVI8vuYHnwC","is-not-off-price":"eD7hzxFmdtG_MgmBtl_k",footer:"C64ZjjUAqJC1T2Sa7apS",legend:"UpZDGew6Ay1hPoP6eI7b",symbol:"TDiiPbuW1Z0_05u_pvcK"}},1334:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"McCYJ2ErFiztX2NeMRou",small:"BzRvZWnrBa4JjQY0uluD",progress:"DKqdDLOgkrxCkDzKGT87"}},8026:()=>{},7660:()=>{},5837:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},3468:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={global:"_fUXxnSp5pagKBp9gSN7"}},4814:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={heading:"urouayitSUT8zW0V3p_0",notice:"iXXJlk08gFDeCvsTTlNQ",button:"MWqRqr7q6fgvLxitcWYk","bigger-than-medium":"YLcXAoc82nypTPaKSAcd",error:"e6hHy8BZ7ZKPSXbIC0UG",message:"jXz8LnXNzMDdtHqkG0sZ"}},4189:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"library-wrapper":"ngVehANvo95yL8SR3vCM","total-filter-wrapper":"u5Bm2lMdl_RF_PwsJFu3","total-sm":"tq4tsG0QhYtikiEyOjPd","filter-wrapper":"nQrPF6Z_QvFU70OoPfzr","search-input":"ysRC_YNbmBw3A8QXNwgV",small:"tpQusFkmJMjL7DDy8Sfh","filter-section":"A4BwZl_cA9ZSyyzrYVRF",pagination:"HK8MNR2nXOqy39lYbQce","first-video-wrapper":"gCc0d1v6OLwLRMO2Q_Yg","upload-area":"zupVSeSUypdTZypfXAF7","upgrade-trigger":"CKlPOzBAXYHPGa4yptcw","storage-meter":"Yi3NM4F2ed0DsZdQPtAu","storage-meter__progress-bar":"U4pZHTAM5On7WDEjxDCq","query-no-results":"gnESFSYJXvVJfa4rVUeQ","files-overlay":"D572veCt9epT8TLGAkLI","file-input":"xhfD9funJfBObVH1nuQ_","drop-text":"Ydu8V8fGJfNHNE6oqG1U",hover:"Ep7FMzH1uLJae7gMk2pW","jetpack-videopress-jitm-card":"Qh0kXwNK5UY0FloNd7Tr"}},5758:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={checkbox:"bLteOo5cdwnUeHakckCm"}},1620:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"KuS14qLJxLxK5wN6vSKC","button-wrapper":"imdKI_xQT7pjFOh_ZDwf"}},4236:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"modal-actions":"NPsvl2MHUyhI4EKr8__a","modal-action-button":"HWIcFAu9FWNqkEFxTerT"}},8339:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"header-wrapper":"Qu3FMU6c_M0vLWhYYmwk",small:"kt8OpzafeWQnLbMWHV2n","header-content":"Xt29nIclMutY8TDLgLKv","logo-button":"uUIUmI2IAFy3dYHmtXYP",breadcrumb:"SA0xAJg8n1xMUGyD9TGp",input:"SkJoFmh5ZtF0NPW5MVhd","back-link":"CVYImSXNGONXVapSYCYV",icon:"hTuLdSZ2UkxQSSGKgMCK",link:"eeRf0yn8FgAuPnCFTZJS","side-fields":"PFSfTWhz3OHCeRoDTkyQ",field:"Im2xyb0iQS6hRHW86HA0","privacy-icon":"_p3jOiy2XnKofiPPbcrm",rating:"GbfLzJi6zjrnQjQNa7hZ",checkboxTitle:"OaQIAT7wE4RxYgmX5xCV","chapters-help-container":"sBh98QDjL5Z0Hq1y6aHV","learn-more":"p2oUuL_36x5zb2QlgmZj","incomplete-chapters-notice":"_svkjLixYlAaWnbcC5sq",buttons:"ZYAdanIct9xbXeP0QvvS","jetpack-videopress-jitm-card":"m_KL4QLkUZaisROpd7D8"}},2311:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={notice:"dJlDReKx7kLk8SlNRx9S","is-warning":"yIBA1ClKVZ8LzhL6fCcF",icon:"oMaxgfhG0zEOdy3QEsBx","is-info":"dI4NmXhDJRWR5S35LQzf","is-success":"Hlh96OxtSayBmWyKmqUg",message:"sUrXs7n0h85zG6glOmcC"}},947:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={label:"UPMQl2lcMrIHVFqbO9k1","input-wrapper":"lxkk4eVTUu28RhmSBtbd",disabled:"vhy9tG9TVoL1kHuVbDFR",large:"BWkYz6YLixxwG6T3K6nA","is-textarea":"nbQEVqPlwegYvvvppkPj",input:"CPNtC1daS23cmYvgI2j6","with-icon":"aG0o7XvHhQHoxWiKWIYV","icon-wrapper":"kQkWlMcIUkMbI3EUetn0","clear-icon":"jvMupIZA8TRJzHnLtYqo",loader:"a59hNmaVOdJiRC9h7DCQ"}},4553:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"x1Tbu0P622OAKsVqM8r_",navigation:"kduXj2UYHfYPY2OWzDA5",button:"UUeY0t_E1boOuwrOosKA",selected:"GTeOAT8BJioiAcaoPLq8","pagination-placeholder":"CvZfzPc3BoZ7jWYUPs3M"}},8270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"action-popover":"rAlHvmHvhThRpglwvWH4"}},3637:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"video-card__wrapper":"CmIhD5KlC34dY5elqkHt","is-blank":"iv8MHMl5EqDX4TdVdtGc","video-card__background":"C2tUqf95cgt6mGFwrEgw","video-card__quick-actions-section":"PRiNxpiEmTiaydAizI4Q","video-card__title-section":"pjN9m5JS8gKTbawlYvKE",disabled:"oaQ8fJmnujfHJ9aOsjbf","video-card__thumbnail":"XjRcYJK2E4Ygy8UBlbDT","video-card__title":"fl5NWyI0vT0C1iFLPcTU","video-card__video-plays-counter":"Iy6ctLwDonPHblHktl6g",small:"Ovu42BdFSE6hVQ7_C3pQ",chevron:"DW2zO1qn8P3F4tPfGrU6"}},1641:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={dropdown:"EwhvbK4YjGyJUcAzpCM6",separator:"j9HLeLBpqn4E0yd1iw6E",delete:"ppbkVbfFx5ta7Pn63SYE"}},3032:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={details:"oPqyKPaqt7IG2l6GCZOQ",filename:"pR2xpODRH2SI0rKbVoxv"}},7125:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"filter-button":"xOV0028X57DzKXWT1f4X","is-active":"yXNNgoFym1vCBROVVqWz","filters-section":"sMQIPPsbpU8JxRsPawaD","checkbox-container":"p_R1YzEfKnHhHMNibHUa",checkbox:"EMm2STx8Xam8dx9fQUcz","checkbox-checkmark":"TNcsHnfggtaZNFM2xoGZ","title-adornment":"CeGpKAfDTC3iHVXguub0"}},1993:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"HW4AqaoibTciaVbN9s8v"}},389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={list:"kUGHOcMJnACgVE341N6g",header:"GEBB90uPGpY_ehZQMjim","title-wrapper":"jKNO2YYZiIwBdZp9M0HB",row:"Oq1JxuR5Cr62vXgn6Mgg","title-adornment":"DQF_YYNIWAoXWO7JTkAk",error:"VI5HvRC93oGOX4Y7F4I2"}},5972:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={actions:"YNmnd00qmYMNP9wYvIK4",popover:"wjFKvEG47iknEU90iDq9",trash:"HFyA3ZR7LoTwT_UZ0LlO","dropdown-content":"Voun5vQOD5fVqz8YCPb5"}},7093:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"video-row":"azFrwCqBXcsFKzkEUwzW",disabled:"IFercqk6TQnGkD13ZfED",pressed:"fNy2aT5H1blTtbBv61rR",stats:"XmlxDm3JYE1kpeltGrhR","mobile-stats":"gD0CFomXUHpNq7zku2iw",actions:"s6sgQ5Mw5HiW2AAKIlIA","checkbox-wrapper-small":"r4np4KDbgusNFdvlmReF","video-data-wrapper":"PoMJURXGuCh0iMK0XxyA",small:"wQakTXf3KoqgsnHbQORQ","info-wrapper":"k6ZZinbzyl2FbrjBHsSV",poster:"NfmyA6T82BR5NQtF8b8D","title-wrapper":"dr12n7MKBYGiJ1mIxUFw",title:"Nw6vQSQF5AEj2lyQk1BW",label:"To4eiepnWQxfy24AfQWE","meta-wrapper":"M1mY7AP3E1wcURRkvFJ7",upload:"yy8gb2USc3qp5hD4a_Mn","mobile-actions":"SNI76CTvLKNBSNVcHXXa","storybook-wrapper":"P7wAzijvMBzexy4_D2TF"}},3741:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"percentage-description":"nXXmYwqehVvKJSvOVsq0","progress-bar":"qNQwG3YGaH9dgnw2XC3F"}},5954:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={selector:"qTNpT0cIqk0mi29aoqKX","is-small":"aWCfvJbDbrXzDB9iMUgD",actions:"YQG0v1bY6ogTc1WEjsN8"}},5715:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={thumbnail:"HRtyHR7FwkF0z4v6iwoT","thumbnail-placeholder":"dLUHJkXbduCtupYel_tE","thumbnail-blank":"XxMuxhqo7_HXAJa8faua","video-thumbnail-duration":"egaF3YQ5W_2m1Wu2YdkB","is-small":"BmdRfRYMGO0Ow6jS592k","video-thumbnail-edit":"nwG_0RVAw2qSSdaxnBwc","thumbnail__edit-button":"uGbLU3t2V9Lu1MZJC8eC","custom-thumbnail":"Yloc5OpF90Gv15yyCxXi",pulse:"pkDi4axzixXDF7EraLze","is-row":"CPsBhWjdAs58PRPecnXw","progress-bar":"_ZJ4eTLW8oCAjPJMuXpa","upload-text":"h4cm8AdnkM6qMJDmuOXZ",disabled:"FsV3eqT7w52MtiGic31w"}},7495:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"VBg9MDIwwjh9niPRLqHv",button:"cWhzEqcdWyGEMqYfcjAb",small:"eeomA8xgTxZBCvvaqHBf","file-input":"rUUpPeXFVXo383lEdV2g",icon:"IN92PVoVWZ70ZOQWEog2"}},8455:()=>{"use strict"},4641:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={container:"ianknO6MB_ng2EieMQdE","play-icon":"no33D8j7N4nzdafpETZy","video-player-wrapper":"VFzg5w6i04b05mkee2SA","video-player-spinner-wrapper":"PHuqvGT1Z0IVZgjAtUZw",spinner:"xwBn5mUH0mhSBqas1dog",video:"k5rpcKdHL3HKU39CrUhe",range:"sgykjydBL76DT5yDw_ka"}},3171:e=>{var t=1e3,n=60*t,a=60*n,r=24*a,o=7*r,i=365.25*r;function s(e,t,n,a){var r=t>=1.5*n;return Math.round(e/n)+" "+a+(r?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*a;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var o=Math.abs(e);if(o>=r)return s(e,o,r,"day");if(o>=a)return s(e,o,a,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=r)return Math.round(e/r)+"d";if(o>=a)return Math.round(e/a)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},70:(e,t,n)=>{var a=n(7676);e.exports=m,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var r=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,a=[],o=0,i=0,s="",d=t&&t.delimiter||"/";null!=(n=r.exec(e));){var u=n[0],p=n[1],m=n.index;if(s+=e.slice(i,m),i=m+u.length,p)s+=p[1];else{var h=e[i],g=n[2],f=n[3],v=n[4],y=n[5],w=n[6],b=n[7];s&&(a.push(s),s="");var E=null!=g&&null!=h&&h!==g,k="+"===w||"*"===w,C="?"===w||"*"===w,R=n[2]||d,Z=v||y;a.push({name:f||o++,prefix:g||"",delimiter:R,optional:C,repeat:k,partial:E,asterisk:!!b,pattern:Z?l(Z):b?".*":"[^"+c(R)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&a.push(s),a}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)"object"==typeof e[r]&&(n[r]=new RegExp("^(?:"+e[r].pattern+")$",u(t)));return function(t,r){for(var o="",s=t||{},c=(r||{}).pretty?i:encodeURIComponent,l=0;l<e.length;l++){var d=e[l];if("string"!=typeof d){var u,p=s[d.name];if(null==p){if(d.optional){d.partial&&(o+=d.prefix);continue}throw new TypeError('Expected "'+d.name+'" to be defined')}if(a(p)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var m=0;m<p.length;m++){if(u=c(p[m]),!n[l].test(u))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(u)+"`");o+=(0===m?d.prefix:d.delimiter)+u}}else{if(u=d.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(p),!n[l].test(u))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+u+'"');o+=d.prefix+u}}else o+=d}return o}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,t){return e.keys=t,e}function u(e){return e&&e.sensitive?"":"i"}function p(e,t,n){a(t)||(n=t||n,t=[]);for(var r=(n=n||{}).strict,o=!1!==n.end,i="",s=0;s<e.length;s++){var l=e[s];if("string"==typeof l)i+=c(l);else{var p=c(l.prefix),m="(?:"+l.pattern+")";t.push(l),l.repeat&&(m+="(?:"+p+m+")*"),i+=m=l.optional?l.partial?p+"("+m+")?":"(?:"+p+"("+m+"))?":p+"("+m+")"}}var h=c(n.delimiter||"/"),g=i.slice(-h.length)===h;return r||(i=(g?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=o?"$":r&&g?"":"(?="+h+"|$)",d(new RegExp("^"+i,u(n)),t)}function m(e,t,n){return a(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var a=0;a<n.length;a++)t.push({name:a,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,t)}(e,t):a(e)?function(e,t,n){for(var a=[],r=0;r<e.length;r++)a.push(m(e[r],t,n).source);return d(new RegExp("(?:"+a.join("|")+")",u(n)),t)}(e,t,n):function(e,t,n){return p(o(e,n),t,n)}(e,t,n)}},469:(e,t,n)=>{"use strict";var a=n(758);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,i){if(i!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},5162:(e,t,n)=>{e.exports=n(469)()},758:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},142:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function a(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function r(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var a,o,i=[];for(o in"string"!=typeof t&&(t="?"),e)if(n.call(e,o)){if((a=e[o])||null!=a&&!isNaN(a)||(a=""),o=r(o),a=r(a),null===o||null===a)continue;i.push(o+"="+a)}return i.length?t+i.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,r={};t=n.exec(e);){var o=a(t[1]),i=a(t[2]);null===o||null===i||o in r||(r[o]=i)}return r}},8922:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,a=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,f=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case d:case u:case o:case s:case i:case m:return e;default:switch(e=e&&e.$$typeof){case l:case p:case f:case g:case c:return e;default:return t}}case r:return t}}}function k(e){return E(e)===u}t.AsyncMode=d,t.ConcurrentMode=u,t.ContextConsumer=l,t.ContextProvider=c,t.Element=a,t.ForwardRef=p,t.Fragment=o,t.Lazy=f,t.Memo=g,t.Portal=r,t.Profiler=s,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return k(e)||E(e)===d},t.isConcurrentMode=k,t.isContextConsumer=function(e){return E(e)===l},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return E(e)===p},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===f},t.isMemo=function(e){return E(e)===g},t.isPortal=function(e){return E(e)===r},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===s||e===i||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b||e.$$typeof===v)},t.typeOf=E},3801:(e,t,n)=>{"use strict";e.exports=n(8922)},7453:(e,t,n)=>{"use strict";n.d(t,{UT:()=>u,rU:()=>v});var a=n(4498),r=n(1806),o=n(9196),i=n.n(o),s=n(2511),c=n(255),l=n(7921),d=n(4262);i().Component;var u=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).history=(0,s.q_)(t.props),t}return(0,r.Z)(t,e),t.prototype.render=function(){return i().createElement(a.F0,{history:this.history,children:this.props.children})},t}(i().Component);var p=function(e,t){return"function"==typeof e?e(t):e},m=function(e,t){return"string"==typeof e?(0,s.ob)(e,null,null,t):e},h=function(e){return e},g=i().forwardRef;void 0===g&&(g=h);var f=g((function(e,t){var n=e.innerRef,a=e.navigate,r=e.onClick,o=(0,l.Z)(e,["innerRef","navigate","onClick"]),s=o.target,d=(0,c.Z)({},o,{onClick:function(e){try{r&&r(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),a())}});return d.ref=h!==g&&t||n,i().createElement("a",d)}));var v=g((function(e,t){var n=e.component,r=void 0===n?f:n,o=e.replace,u=e.to,v=e.innerRef,y=(0,l.Z)(e,["component","replace","to","innerRef"]);return i().createElement(a.s6.Consumer,null,(function(e){e||(0,d.Z)(!1);var n=e.history,a=m(p(u,e.location),e.location),l=a?n.createHref(a):"",f=(0,c.Z)({},y,{href:l,navigate:function(){var t=p(u,e.location),a=(0,s.Ep)(e.location)===(0,s.Ep)(m(t));(o||a?n.replace:n.push)(t)}});return h!==g?f.ref=t||v:f.innerRef=v,i().createElement(r,f)}))})),y=function(e){return e},w=i().forwardRef;void 0===w&&(w=y);w((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,o=e.activeClassName,s=void 0===o?"active":o,u=e.activeStyle,h=e.className,g=e.exact,f=e.isActive,b=e.location,E=e.sensitive,k=e.strict,C=e.style,R=e.to,Z=e.innerRef,P=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i().createElement(a.s6.Consumer,null,(function(e){e||(0,d.Z)(!1);var n=b||e.location,o=m(p(R,n),n),l=o.pathname,_=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),S=_?(0,a.LX)(n.pathname,{path:_,exact:g,sensitive:E,strict:k}):null,x=!!(f?f(S,n):S),N="function"==typeof h?h(x):h,j="function"==typeof C?C(x):C;x&&(N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(N,s),j=(0,c.Z)({},j,u));var V=(0,c.Z)({"aria-current":x&&r||null,className:N,style:j,to:o},P);return y!==w?V.ref=t||Z:V.innerRef=Z,i().createElement(v,V)}))}))},4498:(e,t,n)=>{"use strict";n.d(t,{AW:()=>_,F0:()=>b,LX:()=>P,NL:()=>k,TH:()=>O,UO:()=>F,k6:()=>U,rs:()=>z,s6:()=>w});var a=n(1806),r=n(9196),o=n.n(r),i=n(5162),s=n.n(i),c=n(2511),l=n(4262),d=n(255),u=n(70),p=n.n(u),m=(n(3801),n(7921)),h=(n(7692),1073741823),g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window||"undefined"!=typeof window?window:{};var f=o().createContext||function(e,t){var n,r,i="__create-react-context-"+function(){var e="__global_unique_id__";return g[e]=(g[e]||0)+1}()+"__",c=function(e){function n(){for(var t,n,a,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,a=[],{on:function(e){a.push(e)},off:function(e){a=a.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,a.forEach((function(e){return e(n,t)}))}}),t}(0,a.Z)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,a=this.props.value,r=e.value;((o=a)===(i=r)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(a,r):h,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},r.render=function(){return this.props.children},n}(o().Component);c.childContextTypes=((n={})[i]=s().object.isRequired,n);var l=function(t){function n(){for(var e,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(e=t.call.apply(t,[this].concat(a))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,a.Z)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?h:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?h:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o().Component);return l.contextTypes=((r={})[i]=s().object,r),{Provider:c,Consumer:l}},v=function(e){var t=f();return t.displayName=e,t},y=v("Router-History"),w=v("Router"),b=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,a.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o().createElement(w.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o().createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o().Component);o().Component;var E=function(e){function t(){return e.apply(this,arguments)||this}(0,a.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(o().Component);function k(e){var t=e.message,n=e.when,a=void 0===n||n;return o().createElement(w.Consumer,null,(function(e){if(e||(0,l.Z)(!1),!a||e.staticContext)return null;var n=e.history.block;return o().createElement(E,{onMount:function(e){e.release=n(t)},onUpdate:function(e,a){a.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var C={},R=1e4,Z=0;function P(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,a=n.path,r=n.exact,o=void 0!==r&&r,i=n.strict,s=void 0!==i&&i,c=n.sensitive,l=void 0!==c&&c;return[].concat(a).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var a=function(e,t){var n=""+t.end+t.strict+t.sensitive,a=C[n]||(C[n]={});if(a[e])return a[e];var r=[],o={regexp:p()(e,r,t),keys:r};return Z<R&&(a[e]=o,Z++),o}(n,{end:o,strict:s,sensitive:l}),r=a.regexp,i=a.keys,c=r.exec(e);if(!c)return null;var d=c[0],u=c.slice(1),m=e===d;return o&&!m?null:{path:n,url:"/"===n&&""===d?"/":d,isExact:m,params:i.reduce((function(e,t,n){return e[t.name]=u[n],e}),{})}}),null)}var _=function(e){function t(){return e.apply(this,arguments)||this}return(0,a.Z)(t,e),t.prototype.render=function(){var e=this;return o().createElement(w.Consumer,null,(function(t){t||(0,l.Z)(!1);var n=e.props.location||t.location,a=e.props.computedMatch?e.props.computedMatch:e.props.path?P(n.pathname,e.props):t.match,r=(0,d.Z)({},t,{location:n,match:a}),i=e.props,s=i.children,c=i.component,u=i.render;return Array.isArray(s)&&function(e){return 0===o().Children.count(e)}(s)&&(s=null),o().createElement(w.Provider,{value:r},r.match?s?"function"==typeof s?s(r):s:c?o().createElement(c,r):u?u(r):null:"function"==typeof s?s(r):null)}))},t}(o().Component);function S(e){return"/"===e.charAt(0)?e:"/"+e}function x(e,t){if(!e)return t;var n=S(e);return 0!==t.pathname.indexOf(n)?t:(0,d.Z)({},t,{pathname:t.pathname.substr(n.length)})}function N(e){return"string"==typeof e?e:(0,c.Ep)(e)}function j(e){return function(){(0,l.Z)(!1)}}function V(){}o().Component;var z=function(e){function t(){return e.apply(this,arguments)||this}return(0,a.Z)(t,e),t.prototype.render=function(){var e=this;return o().createElement(w.Consumer,null,(function(t){t||(0,l.Z)(!1);var n,a,r=e.props.location||t.location;return o().Children.forEach(e.props.children,(function(e){if(null==a&&o().isValidElement(e)){n=e;var i=e.props.path||e.props.from;a=i?P(r.pathname,(0,d.Z)({},e.props,{path:i})):t.match}})),a?o().cloneElement(n,{location:r,computedMatch:a}):null}))},t}(o().Component);var T=o().useContext;function U(){return T(y)}function O(){return T(w).location}function F(){var e=T(w).match;return e?e.params:{}}},2298:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},4456:(e,t,n)=>{"use strict";function a(e){return"/"===e.charAt(0)}function r(e,t){for(var n=t,a=n+1,r=e.length;a<r;n+=1,a+=1)e[n]=e[a];e.pop()}n.d(t,{Z:()=>o});const o=function(e,t){void 0===t&&(t="");var n,o=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&a(e),c=t&&a(t),l=s||c;if(e&&a(e)?i=o:o.length&&(i.pop(),i=i.concat(o)),!i.length)return"/";if(i.length){var d=i[i.length-1];n="."===d||".."===d||""===d}else n=!1;for(var u=0,p=i.length;p>=0;p--){var m=i[p];"."===m?r(i,p):".."===m?(r(i,p),u++):u&&(r(i,p),u--)}if(!l)for(;u--;u)i.unshift("..");!l||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}},2659:(e,t,n)=>{"use strict";function a(e){return a="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},a(e)}var r,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!=i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(9196)),i=(r=n(5162))&&r.__esModule?r:{default:r},s=["size","onClick","icon","className"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function l(){return l=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},l.apply(this,arguments)}function d(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],0<=t.indexOf(n)||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function u(e,t){for(var n,a=0;a<t.length;a++)(n=t[a]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(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)}(this,n)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n.apply(this,arguments)}!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}}),t&&p(e,t)}(t,e);var n=m(t);return function(e,t,n){t&&u(e.prototype,t),n&&u(e,n)}(t,[{key:"render",value:function(){var e,t=this.props,n=t.size,a=t.onClick,r=t.icon,i=t.className,c=d(t,s),u=["social-logo","social-logo-"+r,i].filter(Boolean).join(" ");switch(r){default:e=o.default.createElement("svg",l({height:n,width:n},c));break;case"amazon":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.589.589 0 00.672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061v.369zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015zm7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55zm.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684-.301-.386-1.99-.183-2.749-.092-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59z"})));break;case"behance":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156.482.102.894.273 1.241.507.344.235.612.546.804.938.188.387.281.871.281 1.443 0 .619-.141 1.137-.421 1.551-.284.413-.7.751-1.255 1.014.756.218 1.317.601 1.689 1.146.374.549.557 1.205.557 1.975 0 .623-.12 1.161-.359 1.612a3.144 3.144 0 01-.973 1.114c-.408.288-.876.5-1.399.637A6.144 6.144 0 017.963 18H2V5.698h5.799m-.35 4.97c.481 0 .878-.114 1.192-.345.311-.228.463-.603.463-1.119 0-.286-.051-.523-.152-.707a1.123 1.123 0 00-.416-.427 1.733 1.733 0 00-.596-.216 3.616 3.616 0 00-.697-.06H4.709v2.874h2.74zm.151 5.237c.267 0 .521-.024.759-.077.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491.11-.206.163-.474.163-.798 0-.633-.18-1.084-.533-1.357-.356-.27-.83-.404-1.413-.404H4.709v3.388H7.6zm8.562-.041c.367.358.897.538 1.583.538.493 0 .92-.125 1.277-.374.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693-.701 0-1.332-.113-1.899-.337a4.041 4.041 0 01-1.439-.958 4.364 4.364 0 01-.904-1.484 5.433 5.433 0 01-.32-1.899c0-.666.11-1.288.329-1.863a4.36 4.36 0 01.933-1.492c.406-.42.885-.751 1.444-.994a4.63 4.63 0 011.857-.363c.754 0 1.414.145 1.98.44a3.941 3.941 0 011.389 1.181 4.82 4.82 0 01.783 1.69c.16.632.217 1.292.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496-.39 0-.714.066-.973.2a1.972 1.972 0 00-.621.491 1.772 1.772 0 00-.328.628 2.695 2.695 0 00-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41zm-3.916-3.446h4.985V6.524h-4.985v1.214z"})));break;case"blogger-alt":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 01-1.16-1.079l-.001-.013A5.813 5.813 0 0011.803 3H8.871a5.813 5.813 0 00-5.813 5.813v6.375a5.813 5.813 0 005.813 5.813h6.257a5.814 5.814 0 005.813-5.813l.002-4.121a1.164 1.164 0 00-1.164-1.163zM8.726 7.713h3.291a1.117 1.117 0 110 2.234H8.726a1.117 1.117 0 110-2.234zm6.601 8.657H8.72a1.057 1.057 0 110-2.114h6.607a1.057 1.057 0 110 2.114z"})));break;case"blogger":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M14.722 14.019a.654.654 0 01-.654.654H9.977a.654.654 0 010-1.308h4.091c.361 0 .654.293.654.654zm-4.741-3.321h2.038a.692.692 0 000-1.384H9.981a.692.692 0 000 1.384zM21 5v14a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2zm-3.456 6.39a.72.72 0 00-.72-.72h-.607l-.013.001a.72.72 0 01-.718-.668l-.001-.008a3.599 3.599 0 00-3.599-3.599H10.07a3.599 3.599 0 00-3.599 3.599v3.947a3.6 3.6 0 003.599 3.599h3.874a3.599 3.599 0 003.599-3.599l.001-2.552z"})));break;case"codepen":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M22.016 8.84l-.007-.037c-.005-.025-.008-.048-.015-.072-.003-.015-.01-.028-.013-.042l-.023-.062-.02-.042a.391.391 0 00-.03-.057.357.357 0 00-.025-.038l-.035-.052-.03-.037c-.015-.017-.028-.032-.043-.045-.01-.012-.022-.023-.035-.035a.442.442 0 00-.048-.04l-.037-.03-.015-.012-9.161-6.096a.864.864 0 00-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 00-.078.082c-.012.013-.022.023-.03.037-.011.017-.025.035-.035.052a.498.498 0 01-.025.038c-.011.022-.021.039-.03.059a.39.39 0 01-.02.041 1.184 1.184 0 00-.034.106c-.007.023-.011.046-.016.071-.001.014-.005.025-.006.037a.73.73 0 00-.009.114v6.093c0 .037.003.075.008.112l.007.038c.005.023.008.047.015.072a.209.209 0 00.013.04c.007.022.013.042.022.063l.02.04a.4.4 0 00.055.096l.035.052.03.037a.603.603 0 00.042.045l.035.035c.015.013.032.028.048.04l.038.03.013.01 9.163 6.095a.858.858 0 00.959.004l9.163-6.095.015-.01c.013-.01.027-.02.037-.03a.534.534 0 00.048-.04c.013-.012.025-.023.035-.035.017-.015.03-.032.043-.045l.03-.037a.678.678 0 00.035-.052l.025-.038a.4.4 0 00.03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04.007-.025.01-.048.015-.072l.007-.037c.003-.042.007-.079.007-.117V8.954a.625.625 0 00-.008-.114zm-9.154-4.376l6.751 4.49-3.016 2.013-3.735-2.492V4.464zm-1.724 0v4.009l-3.735 2.494-3.014-2.013 6.749-4.49zm-7.439 6.098L5.853 12l-2.155 1.438v-2.876zm7.439 8.974l-6.749-4.491 3.015-2.011 3.735 2.492v4.01zM12 14.035L8.953 12 12 9.966 15.047 12 12 14.035zm.862 5.501v-4.009l3.735-2.492 3.016 2.011-6.751 4.49zm7.441-6.098L18.147 12l2.156-1.438v2.876z"})));break;case"dribbble":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10zm8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 003.661-5.725zm-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0012 20.555a8.488 8.488 0 003.336-.679zm-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637.111-.036.224-.07.337-.102a29.017 29.017 0 00-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 002.19 5.973zm-2.015-7.46c.382.005 3.901.02 7.897-1.041a54.477 54.477 0 00-3.167-4.94 8.572 8.572 0 00-4.73 5.981zm6.359-6.555a45.7 45.7 0 013.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.508 8.508 0 00-7.664-1.915zm8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27.028 27.028 0 01.751 1.678c2.842-.357 5.666.215 5.948.275a8.503 8.503 0 00-1.929-5.32z"})));break;case"dropbox":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 6.134L6.069 9.797 2 6.54l5.883-3.843L12 6.134zm-10 6.92l5.883 3.843L12 13.459 6.069 9.797 2 13.054zm10 .405l4.116 3.439L22 13.054l-4.069-3.257L12 13.459zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663L22 6.54zm-9.989 7.66l-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153-4.128-3.426z"})));break;case"eventbrite":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M18.041 3.931L5.959 3A2.96 2.96 0 003 5.959v12.083A2.96 2.96 0 005.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959zM16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048-.152.708-.304 1.416-.451 2.128.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.17 2.17 0 01-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3542.51 3542.51 0 011.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 01.79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783z",fillRule:"evenodd",clipRule:"evenodd"})));break;case"facebook":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"})));break;case"fediverse":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{viewBox:"0 0 743 743",xmlns:"http://www.w3.org/2000/svg"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M181.131 275.137a68.894 68.894 0 01-29.465 29.328l161.758 162.389 38.998-19.764-171.291-171.953zm213.363 214.187l-38.998 19.764 81.963 82.283a68.895 68.895 0 0129.471-29.332l-72.436-72.715zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.896 68.896 0 01-18.792-37.086zm-144.738 73.351L220.383 522.477a68.895 68.895 0 0118.795 37.089L443.66 455.934l-6.752-43.192zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.899 68.899 0 01-36.991-18.98zM235.621 399.459l-52.922 103.314a68.896 68.896 0 0136.987 18.979l46.781-91.328-30.846-30.965zM150.768 304.918a68.888 68.888 0 01-34.416 7.195 68.979 68.979 0 01-6.651-.695l30.903 197.662a68.883 68.883 0 0134.416-7.195 68.91 68.91 0 016.646.695l-30.898-197.662zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.902 68.902 0 01-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.892 68.892 0 017.27-27.178l-197.629-31.713zM601.133 377.199l-91.219 178.082a68.895 68.895 0 0136.994 18.983l91.217-178.08a68.895 68.895 0 01-36.992-18.985zM476.723 125.33a68.895 68.895 0 01-29.471 29.332l141.266 141.811a68.889 68.889 0 0129.468-29.332L476.723 125.33zM347.787 104.631l-178.576 90.498a68.897 68.897 0 0118.793 37.086l178.574-90.502a68.896 68.896 0 01-18.791-37.082zM446.926 154.826a68.902 68.902 0 01-34.983 7.483 69.274 69.274 0 01-6.029-.633l15.818 101.291 43.163 6.926-17.969-115.067zm-16 167.028l37.4 239.482a68.895 68.895 0 0133.914-6.943c2.415.137 4.82.401 7.207.791L474.09 328.777l-43.164-6.923zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.91 68.91 0 01-7.16 26.983l101.369 16.281 19.923-38.908-114.89-18.451zm173.736 27.9l-19.926 38.912 239.514 38.467a68.897 68.897 0 01-.695-13.719 68.893 68.893 0 017.349-27.324l-226.242-36.336z"}),o.default.createElement("path",{d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13 1.881-34.538-24.592-64.062-59.131-65.943-34.538-1.882-64.061 24.592-65.943 59.13-1.881 34.538 24.593 64.062 59.131 65.943zM646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131 1.882-34.538-24.592-64.061-59.13-65.943-34.538-1.881-64.062 24.593-65.943 59.131-1.882 34.538 24.592 64.061 59.13 65.943zM495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13 1.881-34.538-24.592-64.062-59.13-65.943-34.538-1.882-64.062 24.592-65.943 59.13-1.882 34.538 24.592 64.062 59.13 65.943zM167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13 1.882-34.538-24.592-64.062-59.13-65.943-34.538-1.881-64.062 24.592-65.943 59.13-1.881 34.538 24.592 64.062 59.13 65.943zM116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13 1.881-34.538-24.592-64.062-59.131-65.943-34.538-1.881-64.061 24.592-65.943 59.13-1.881 34.538 24.593 64.062 59.131 65.943z",fillOpacity:".996"})));break;case"feed":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333zM2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2zm2.5 15a2.5 2.5 0 100 5 2.5 2.5 0 000-5z"})));break;case"flickr":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})));break;case"foursquare":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2zm-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715-.072.353-.407 2.102-.448 2.295-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683l-.446 2.333z"})));break;case"ghost":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198v3.599zm10.792-3.599h-7.193v3.599h7.193v-3.599zm.003-7.198H3v3.599h17.998V10.2zm-7.195-7.197H3.005v3.599h10.798V3.003zm7.197 0h-3.599v3.599H21V3.003z"})));break;case"github":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.548 9.548 0 0112 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A9.997 9.997 0 0022 12c0-5.523-4.477-10-10-10z"})));break;case"google-alt":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672 0 2.022 1.62 3.672 3.606 3.672 2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862z"})));break;case"google-plus-alt":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8V11zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})));break;case"google-plus":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.919 14.05a4.051 4.051 0 010-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.229 2.229 0 00-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956zM19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"})));break;case"google":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05h-9.36z"})));break;case"instagram":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673.315.315.51.615.673 1.035.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035-.315.315-.615.51-1.035.673-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.786 2.786 0 01-1.035-.673 2.786 2.786 0 01-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.401 4.401 0 00-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.411 4.411 0 001.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.411 4.411 0 0019.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3zm0 4.378a4.622 4.622 0 100 9.244 4.622 4.622 0 000-9.244zM12 15a3 3 0 110-6 3 3 0 010 6zm4.804-8.884a1.08 1.08 0 10.001 2.161 1.08 1.08 0 00-.001-2.161z"})));break;case"link":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 004-4v-2a4 4 0 00-4-4zM2 11v2a4 4 0 004 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 00-4 4z"})));break;case"linkedin":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 003 4.3v15.4A1.3 1.3 0 004.3 21h15.4a1.3 1.3 0 001.3-1.3V4.3A1.3 1.3 0 0019.7 3zM8.339 18.338H5.667v-8.59h2.672v8.59zM7.004 8.574a1.548 1.548 0 11-.002-3.096 1.548 1.548 0 01.002 3.096zm11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})));break;case"mail":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"mastodon":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4.359 4.359 0 01-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921h-.058zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922.53.609.794 1.434.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012c0-1.035.263-1.86.793-2.469.547-.609 1.263-.922 2.15-.922z"})));break;case"medium-alt":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6zm9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648-1.636 0-2.962-2.53-2.962-5.649s1.325-5.649 2.96-5.649zm4.577.589c.576 0 1.042 2.265 1.042 5.06 0 2.794-.466 5.06-1.042 5.06-.575 0-1.04-2.265-1.04-5.06 0-2.794.465-5.06 1.04-5.06z",fillRule:"nonzero"})));break;case"medium":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M3 3v18h18V3H3zm15 4.26l-1 .93a.28.28 0 00-.11.27v6.8a.27.27 0 00.11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 00.17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 00.17-.54V9a.5.5 0 00-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18v.2z"})));break;case"nextdoor":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{strokeMiterlimit:"10",viewBox:"0 0 130 130",xmlns:"http://www.w3.org/2000/svg",clipRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75 33.799 3.064 63.685-21.857 66.75-55.657 3.064-33.8-21.857-63.686-55.657-66.75a62.075 62.075 0 00-6.281-.25zm3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 01-1.25-1.25V63.375c0-5.58-4.309-11.938-11.469-11.938-7.47 0-11.468 6.358-11.468 11.938V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718z"})));break;case"patreon":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),o.default.createElement("g",null,o.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.975 5a5.05 5.05 0 00-5.041 5.046c0 2.774 2.261 5.03 5.04 5.03A5.034 5.034 0 0019 10.047C19 7.264 16.746 5 13.975 5zM5 18.44h2.461V5H5v13.44z"})));break;case"pinterest-alt":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.365.365 0 00-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})));break;case"pinterest":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.297.297 0 01.069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2z"})));break;case"pocket":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0020.222 3H3.839a1.823 1.823 0 00-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.897 9.897 0 003.91 1.727 10.06 10.06 0 004.049-.014.261.261 0 00.064-.023 9.906 9.906 0 003.753-1.691l.025-.018c.04-.029.08-.058.119-.089 2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.792 1.792 0 00-.098-.62zm-4.235 6.287l-4.704 4.512a1.372 1.372 0 01-1.898 0l-4.705-4.512a1.371 1.371 0 111.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 011.898 1.979z"})));break;case"polldaddy":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10zm.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.775 7.775 0 00-6.094-2.94 7.764 7.764 0 00-5.896 2.703c-.006.003-.01.01-.016.014l-.152.159-.031.032a6.122 6.122 0 00-1.633 4.165 6.15 6.15 0 006.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.386 7.386 0 016.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68zm3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.673 3.673 0 00.2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.362 2.362 0 00.753 1.879c.501.476 1.23.667 1.871.529a2.067 2.067 0 001.469-1.134 1.912 1.912 0 00-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.698 1.698 0 00-1.437.679 1.525 1.525 0 00-.18 1.489c.004.011.01.021.016.03.193.634.774 1.1 1.467 1.117a1.618 1.618 0 01-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 01.499-1.539 2.016 2.016 0 011.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.515 2.515 0 01-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.825 2.825 0 01-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.216 5.216 0 01-1.947-.376 5.01 5.01 0 002.613-.079 4.955 4.955 0 002.514-1.751c.618-.828.95-1.861.901-2.869zM12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a6.548 6.548 0 00-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041z"})));break;case"print":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3a2 2 0 01-2 2H7a2 2 0 01-2-2v-3H2V9a2 2 0 012-2h1V5a2 2 0 012-2h10a2 2 0 012 2v2h1a2 2 0 012 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5a1.5 1.5 0 10-3.001.001A1.5 1.5 0 0020 10.5z"})));break;case"reddit":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M22 11.816a2.279 2.279 0 00-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.878 1.878 0 001.876 1.862 1.88 1.88 0 001.877-1.878 1.88 1.88 0 00-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 00-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 00-1.492-.581A2.279 2.279 0 002 11.816c0 .814.433 1.523 1.078 1.925a4.056 4.056 0 00-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97c0-.214-.02-.424-.053-.632A2.259 2.259 0 0022 11.816zm-3.224-7.422a1.1 1.1 0 11-.001 2.199 1.1 1.1 0 01.001-2.199zM2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.482 1.482 0 01-.525-1.129zm9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193zm8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185zm-11.64 1.703c-.76 0-1.397-.616-1.397-1.376 0-.76.637-1.397 1.397-1.397s1.376.637 1.376 1.397-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.616 1.376-1.376 1.376-.76 0-1.399-.616-1.399-1.376 0-.76.639-1.397 1.399-1.397s1.376.637 1.376 1.397zm-1.172 3.38a.389.389 0 010 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 11.55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 01.549 0z"})));break;case"share":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A2.981 2.981 0 0015 19a3 3 0 103-3z"})));break;case"skype":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M10.113 2.699l.1-.02c.033.017.066.033.098.051l-.198-.031zM2.72 10.223l-.017.103c.018.032.033.064.051.095l-.034-.198zm18.555 3.548c.007-.035.011-.071.018-.106-.018-.031-.033-.064-.052-.095l.034.201zm-7.712 7.428c.032.019.065.035.096.053l.105-.017-.201-.036zM22 16.386a5.55 5.55 0 01-1.637 3.953 5.548 5.548 0 01-3.953 1.637 5.575 5.575 0 01-2.75-.725l.105-.017-.202-.035c.032.019.065.035.096.053a9.524 9.524 0 01-1.654.147 9.375 9.375 0 01-3.676-.743 9.38 9.38 0 01-3.002-2.023 9.397 9.397 0 01-2.023-3.002 9.375 9.375 0 01-.743-3.676c0-.546.049-1.093.142-1.628.018.032.033.064.051.095l-.034-.199-.017.103A5.586 5.586 0 012 7.615c0-1.493.582-2.898 1.637-3.953A5.555 5.555 0 017.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031c-.032-.018-.066-.034-.098-.051l.004-.001a9.543 9.543 0 011.788-.169 9.41 9.41 0 016.678 2.766 9.4 9.4 0 012.024 3.002 9.375 9.375 0 01.743 3.676c0 .575-.054 1.15-.157 1.712-.018-.031-.033-.064-.052-.095l.034.201c.007-.035.011-.071.018-.106.461.829.707 1.767.707 2.721zm-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237 0-.794.679-1.348 1.903-1.348 2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599z"})));break;case"spotify":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.622.622 0 01-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 11-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 01.206.857M17.81 13.7a.78.78 0 01-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 116.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 01.256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 11-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 11-.955 1.608"})));break;case"squarespace":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 00-5.458 0l-6.141 6.141a.964.964 0 101.365 1.364l6.14-6.14a1.929 1.929 0 112.729 2.729l-6.022 6.022a1.929 1.929 0 002.729 0l4.658-4.658a3.86 3.86 0 000-5.458zm-2.047 2.047a.965.965 0 00-1.365 0l-6.14 6.14a1.929 1.929 0 01-2.729 0 .964.964 0 10-1.364 1.364 3.86 3.86 0 005.458 0l6.14-6.14a.966.966 0 000-1.364zm-2.047-6.141a3.858 3.858 0 00-5.458 0l-6.14 6.14a.964.964 0 101.364 1.364l6.141-6.14a1.929 1.929 0 012.729 0 .965.965 0 101.364-1.364zm-2.047 2.047a.964.964 0 00-1.364 0l-6.14 6.141a1.929 1.929 0 11-2.729-2.729l6.022-6.022a1.929 1.929 0 00-2.729 0L3.13 9.271a3.86 3.86 0 005.458 5.458l6.14-6.141a.963.963 0 00.001-1.364z"})));break;case"stumbleupon":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4.294a4.471 4.471 0 00-4.471 4.471v6.353a1.059 1.059 0 11-2.118 0v-2.824H2v2.941a4.471 4.471 0 008.942 0v-6.47a1.059 1.059 0 112.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0012 4.294zm1.059 8.059v2.882a4.471 4.471 0 008.941 0v-2.824h-3.412v2.824a1.059 1.059 0 11-2.118 0v-2.882l-2 .647-1.411-.647z"})));break;case"telegram":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486-.15-.475-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238l-1.786 9.004z"})));break;case"threads":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{viewBox:"0 0 192 192",xmlns:"http://www.w3.org/2000/svg"}),o.default.createElement("g",null,o.default.createElement("path",{class:"x19hqcy",d:"M141.537 88.988a66.667 66.667 0 00-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553zM98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735 1.966-.114 3.895-.169 5.79-.169 6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274z"})));break;case"tiktok-alt":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M5 3a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2H5zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 11-3.802-3.802h.533v2.082a1.73 1.73 0 00-1.922.648 1.727 1.727 0 001.947 2.646 1.73 1.73 0 001.19-1.642L12.53 6z"})));break;case"tiktok":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.011a6.338 6.338 0 11-6.34-6.338h.89v3.472a2.882 2.882 0 102.024 2.752L12.22 2z"})));break;case"tumblr-alt":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126l-.924-2.743z"})));break;case"tumblr":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656z"})));break;case"twitch":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636v-4.91zm-4.499 0h-1.637v4.91H12v-4.91zM4.228 3.178L3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178H4.228zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501v9.002z"})));break;case"twitter-alt":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M22.23 5.924a8.212 8.212 0 01-2.357.646 4.115 4.115 0 001.804-2.27 8.221 8.221 0 01-2.606.996 4.103 4.103 0 00-6.991 3.742 11.647 11.647 0 01-8.457-4.287 4.087 4.087 0 00-.556 2.063 4.1 4.1 0 001.825 3.415 4.09 4.09 0 01-1.859-.513v.052a4.104 4.104 0 003.292 4.023 4.099 4.099 0 01-1.853.07 4.11 4.11 0 003.833 2.85 8.236 8.236 0 01-5.096 1.756 8.33 8.33 0 01-.979-.057 11.617 11.617 0 006.29 1.843c7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.531a8.298 8.298 0 002.047-2.123z"})));break;case"twitter":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-2.534 6.71c.004.099.007.198.007.298 0 3.045-2.318 6.556-6.556 6.556a6.52 6.52 0 01-3.532-1.035 4.626 4.626 0 003.412-.954 2.307 2.307 0 01-2.152-1.6 2.295 2.295 0 001.04-.04 2.306 2.306 0 01-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 01-.713-3.076 6.54 6.54 0 004.749 2.407 2.305 2.305 0 013.926-2.101 4.602 4.602 0 001.463-.559 2.31 2.31 0 01-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192z"})));break;case"vimeo":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M22.396 7.164c-.093 2.026-1.507 4.799-4.245 8.32C15.322 19.161 12.928 21 10.97 21c-1.214 0-2.24-1.119-3.079-3.359l-1.68-6.159c-.623-2.239-1.29-3.36-2.005-3.36-.156 0-.701.328-1.634.98l-.978-1.261c1.027-.902 2.04-1.805 3.037-2.708C6.001 3.95 7.03 3.327 7.715 3.264c1.619-.156 2.616.951 2.99 3.321.404 2.557.685 4.147.841 4.769.467 2.121.981 3.181 1.542 3.181.435 0 1.09-.688 1.963-2.065.871-1.376 1.338-2.422 1.401-3.142.125-1.187-.343-1.782-1.401-1.782-.498 0-1.012.115-1.541.341 1.023-3.35 2.977-4.977 5.862-4.884 2.139.063 3.148 1.45 3.024 4.161z"})));break;case"whatsapp":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M2.048 22l1.406-5.136a9.894 9.894 0 01-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.848 9.848 0 017.011 2.906 9.85 9.85 0 012.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.913 9.913 0 01-4.736-1.206L2.048 22zm5.497-3.172l.301.179a8.214 8.214 0 004.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.189 8.189 0 00-2.41-5.828 8.182 8.182 0 00-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.222 8.222 0 001.259 4.384l.196.312-.832 3.04 3.118-.819zm9.49-4.554c-.062-.103-.227-.165-.475-.289-.248-.124-1.465-.723-1.692-.806-.227-.083-.392-.124-.557.124-.165.248-.64.806-.784.971-.144.165-.289.186-.536.062-.248-.124-1.046-.385-1.991-1.229-.736-.657-1.233-1.468-1.378-1.715-.144-.248-.015-.382.109-.505.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413.083-.165.041-.31-.021-.434s-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.91.91 0 00-.66.31c-.226.248-.866.847-.866 2.066 0 1.219.887 2.396 1.011 2.562.124.165 1.746 2.666 4.23 3.739.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179z"})));break;case"woocommerce":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3zm-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6s0 .4-.1.5z"})));break;case"wordpress":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12.158 12.786L9.46 20.625a8.984 8.984 0 005.526-.144.852.852 0 01-.065-.124l-2.763-7.571zM3.009 12a8.993 8.993 0 005.067 8.092L3.788 8.341A8.952 8.952 0 003.009 12zm15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596.04 0 .078.005.116.007A8.963 8.963 0 0012 3.009a8.982 8.982 0 00-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996c.456-1.169.684-2.137.684-2.907zm1.82-3.86c.039.286.06.593.06.924 0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.984 8.984 0 004.47-7.771 8.922 8.922 0 00-1.1-4.313zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})));break;case"x":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M13.982 10.622L20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378zm-2.128 2.474l-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787z"})));break;case"xanga":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M9 9h6v6H9V9zM3 9h6V3H3v6zm12 0h6V3h-6v6zm0 12h6v-6h-6v6zM3 21h6v-6H3v6z"})));break;case"youtube":e=o.default.createElement("svg",l({className:u,height:n,width:n,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237zM9.935 14.594l-.001-5.62 5.404 2.82-5.403 2.8z"})))}return e}}]),t}(o.PureComponent);g(f,"defaultProps",{size:24}),g(f,"propTypes",{icon:i.default.string.isRequired,size:i.default.number,onClick:i.default.func,className:i.default.string})},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(951);const r=n.n(a)()("dops:analytics");let o,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const s={initialize:function(e,t,n){s.setUser(e,t),s.setSuperProps(n),s.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);s.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return n}(e,t);s.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){s.tracks.recordPageView(e),s.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,a,r,o,i){s.ga.recordPurchase(e,t,n,a,r,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(r("- Super Props: %o",o),t=Object.assign(t,o)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};s.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){s.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};s.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),s.ga.initialized=!0)},recordPageView:function(e,t){s.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,a){s.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==a&&(o+=" [Option Value: "+a+"]"),r(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,a)},recordPurchase:function(e,t,n,a,r,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:r,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=s},4743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u});var a=n(1132),r=n(6483);function o(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const i=o("JsonParseError"),s=o("JsonParseAfterRedirectError"),c=o("Api404Error"),l=o("Api404AfterRedirectError"),d=o("FetchNetworkError");const u=new function(e,t){let n=e,o=e,i={"X-WP-Nonce":t},s={credentials:"same-origin",headers:i},c={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",a=n.length?n.split("&"):[];return a.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+a.join("&")};const d={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){o=e},setApiNonce(e){i={"X-WP-Nonce":e},s={credentials:"same-origin",headers:i},c={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,a.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,a.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),h(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(r)}).then(p).then(m)},fetchAuthorizationUrl:e=>u((0,r.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),s).then(p).then(m),fetchSiteConnectionData:()=>u(`${n}jetpack/v4/connection/data`,s).then(m),fetchSiteConnectionStatus:()=>u(`${n}jetpack/v4/connection`,s).then(m),fetchSiteConnectionTest:()=>u(`${n}jetpack/v4/connection/test`,s).then(p).then(m),fetchUserConnectionData:()=>u(`${n}jetpack/v4/connection/data`,s).then(m),fetchUserTrackingSettings:()=>u(`${n}jetpack/v4/tracking/settings`,s).then(p).then(m),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),disconnectSite:()=>h(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(p).then(m),fetchConnectUrl:()=>u(`${n}jetpack/v4/connection/url`,s).then(p).then(m),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(p).then(m),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,c).then(p).then(m),fetchConnectedPlugins:()=>u(`${n}jetpack/v4/connection/plugins`,s).then(p).then(m),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(p).then(m),fetchModules:()=>u(`${n}jetpack/v4/module/all`,s).then(p).then(m),fetchModule:e=>u(`${n}jetpack/v4/module/${e}`,s).then(p).then(m),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(p).then(m),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(p).then(m),updateSettings:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),getProtectCount:()=>u(`${n}jetpack/v4/module/protect/data`,s).then(p).then(m),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(p).then(m),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(p).then(m),getVaultPressData:()=>u(`${n}jetpack/v4/module/vaultpress/data`,s).then(p).then(m),installPlugin:(e,t)=>{const a={slug:e,status:"active"};return t&&(a.source=t),h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(a)}).then(p).then(m)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(p).then(m),getAkismetData:()=>u(`${n}jetpack/v4/module/akismet/data`,s).then(p).then(m),checkAkismetKey:()=>u(`${n}jetpack/v4/module/akismet/key/check`,s).then(p).then(m),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(p).then(m),fetchStatsData:e=>u(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),s).then(p).then(m).then(f),getPluginUpdates:()=>u(`${n}jetpack/v4/updates/plugins`,s).then(p).then(m),getPlans:()=>u(`${n}jetpack/v4/plans`,s).then(p).then(m),fetchSettings:()=>u(`${n}jetpack/v4/settings`,s).then(p).then(m),updateSetting:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSiteData:()=>u(`${n}jetpack/v4/site`,s).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>u(`${n}jetpack/v4/site/features`,s).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>u(`${n}jetpack/v4/site/products`,s).then(p).then(m),fetchSitePurchases:()=>u(`${n}jetpack/v4/site/purchases`,s).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>u(`${n}jetpack/v4/site/benefits`,s).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>u(`${n}jetpack/v4/site/discount`,s).then(p).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>u(`${n}jetpack/v4/setup/questionnaire`,s).then(p).then(m),fetchRecommendationsData:()=>u(`${n}jetpack/v4/recommendations/data`,s).then(p).then(m),fetchRecommendationsProductSuggestions:()=>u(`${n}jetpack/v4/recommendations/product-suggestions`,s).then(p).then(m),fetchRecommendationsUpsell:()=>u(`${n}jetpack/v4/recommendations/upsell`,s).then(p).then(m),fetchRecommendationsConditional:()=>u(`${n}jetpack/v4/recommendations/conditional`,s).then(p).then(m),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(p),fetchProducts:()=>u(`${n}jetpack/v4/products`,s).then(p).then(m),fetchRewindStatus:()=>u(`${n}jetpack/v4/rewind`,s).then(p).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>u(`${n}jetpack/v4/scan`,s).then(p).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(p).then(m),fetchPluginsData:()=>u(`${n}jetpack/v4/plugins`,s).then(p).then(m),fetchIntroOffers:()=>u(`${n}jetpack/v4/intro-offers`,s).then(p).then(m),fetchVerifySiteGoogleStatus:e=>u(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,s).then(p).then(m),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(p).then(m),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(p).then(m),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(p).then(m),getUserLicensesCounts:()=>u(`${n}jetpack/v4/licensing/user/counts`,s).then(p).then(m),getUserLicenses:()=>u(`${n}jetpack/v4/licensing/user/licenses`,s).then(p).then(m),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(p).then(m),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(p),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(p),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(p).then(m),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,c).then(p),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(p).then(m),fetchSearchPlanInfo:()=>u(`${o}jetpack/v4/search/plan`,s).then(p).then(m),fetchSearchSettings:()=>u(`${o}jetpack/v4/search/settings`,s).then(p).then(m),updateSearchSettings:e=>h(`${o}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSearchStats:()=>u(`${o}jetpack/v4/search/stats`,s).then(p).then(m),fetchWafSettings:()=>u(`${n}jetpack/v4/waf`,s).then(p).then(m),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchWordAdsSettings:()=>u(`${n}jetpack/v4/wordads/settings`,s).then(p).then(m),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>u(`${o}jetpack/v4/search/pricing`,s).then(p).then(m),fetchMigrationStatus:()=>u(`${n}jetpack/v4/migration/status`,s).then(p).then(m),fetchBackupUndoEvent:()=>u(`${n}jetpack/v4/site/backup/undo-event`,s).then(p).then(m)};function u(e,t){return fetch(l(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(g)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function p(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new c})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new s(n):new i}function g(){throw new d}},4471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(5609),r=n(5736),o=n(9517),i=n(526),s=n(2054),c=n(5106),l=n(8275),d=n(6644);const __=r.__,u=({hideCloseButton:e=!1,title:t,children:n,step:u=null,totalSteps:p=null,buttonContent:m=null,buttonDisabled:h=!1,buttonHref:g=null,buttonExternalLink:f=!1,offset:v=32,onClose:y,onClick:w,...b})=>{const[E]=(0,s.Z)("sm");if(!t||!n||!m)return null;b.position||(b.position=E?"top center":"middle right");const k={...b,offset:v},C=Number.isFinite(u)&&Number.isFinite(p);let R=null;return C&&(R=(0,r.sprintf)(/* translators: 1 Current step, 2 Total steps */
__("%1$d of %2$d","jetpack-videopress-pkg"),u,p)),React.createElement(a.Popover,k,React.createElement(l.ZP,null,React.createElement("div",{className:d.Z.wrapper},React.createElement("div",{className:d.Z.header},React.createElement(c.ZP,{variant:"title-small",className:d.Z.title},t),!e&&React.createElement(React.Fragment,null,React.createElement(i.Z,{size:"small",variant:"tertiary","aria-label":"close",className:d.Z["close-button"],icon:o.Z,iconSize:16,onClick:y}))),n,React.createElement("div",{className:d.Z.footer},C&&React.createElement(c.ZP,{variant:"body",className:d.Z.steps},R),React.createElement(i.Z,{variant:"primary",className:d.Z["action-button"],disabled:h,onClick:w,isExternalLink:f,href:g},m)))))}},9105:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(5736),r=n(5235),o=n.n(r),i=n(8237),s=n(8868),c=n(3846),l=n(3363),d=n(9507);const __=a.__,u=({children:e,moduleName:t=__("Jetpack","jetpack-videopress-pkg"),moduleNameHref:n,showHeader:a=!0,showFooter:r=!0,showBackground:u=!0,header:p})=>{const m=o()(d.Z["admin-page"],{[d.Z.background]:u});return React.createElement("div",{className:m},a&&React.createElement(l.Z,{horizontalSpacing:5},React.createElement(c.Z,null,p||React.createElement(s.Z,null))),React.createElement(l.Z,{fluid:!0,horizontalSpacing:0},React.createElement(c.Z,null,e)),r&&React.createElement(l.Z,{horizontalSpacing:5},React.createElement(c.Z,null,React.createElement(i.Z,{moduleName:t,moduleNameHref:n}))))}},6579:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(9196),r=n.n(a),o=n(615);const i=({children:e})=>r().createElement("div",{className:o.Z.section},e)},216:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(9196),r=n.n(a),o=n(7637);const i=({children:e})=>r().createElement("div",{className:o.Z["section-hero"]},e)},7525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(2674),r=n.n(a),o=n(5736),i=n(5235),s=n.n(i),c=n(9196),l=n.n(c);const __=o.__,d=({title:e=__("An Automattic Airline","jetpack-videopress-pkg"),height:t=7,className:n,...a})=>l().createElement("svg",r()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:t,className:s()("jp-automattic-byline-logo",n)},a),l().createElement("desc",{id:"jp-automattic-byline-logo-title"},e),l().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),l().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),l().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))},526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(2674),r=n.n(a),o=n(5609),i=n(1074),s=n(5381),c=n(5235),l=n.n(c),d=n(9196),u=n.n(d),p=n(2103);const m=(0,d.forwardRef)(((e,t)=>{const{children:n,variant:a="primary",size:c="normal",weight:d="bold",icon:m,iconSize:h,disabled:g,isDestructive:f,isLoading:v,isExternalLink:y,className:w,text:b,fullWidth:E,...k}=e,C=l()(p.Z.button,w,{[p.Z.normal]:"normal"===c,[p.Z.small]:"small"===c,[p.Z.icon]:Boolean(m),[p.Z.loading]:v,[p.Z.regular]:"regular"===d,[p.Z["full-width"]]:E,[p.Z["is-icon-button"]]:Boolean(m)&&!n});k.ref=t;const R="normal"===c?20:16,Z=y&&u().createElement(i.Z,{size:R,icon:s.Z,className:p.Z["external-icon"]}),P=y?"_blank":void 0,_=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return u().createElement(o.Button,r()({target:P,variant:a,className:l()(C,{"has-text":!!m&&_}),icon:y?void 0:m,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:f,text:b},k),v&&u().createElement(o.Spinner,null),u().createElement("span",null,n),Z)}));m.displayName="Button";const h=m},857:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(1074),r=n(7511),o=n(5235),i=n.n(o),s=n(9665),c=n(5106),l=n(280);const d=({description:e,cta:t,onClick:n,href:o,openInNewTab:d=!1,className:u,tooltipText:p=""})=>{const m=void 0!==o?"a":"button",h="a"===m?{href:o,...d&&{target:"_blank"}}:{onClick:n};return React.createElement("div",{className:i()(l.Z.cut,u)},React.createElement("div",null,React.createElement("div",null,React.createElement(c.ZP,{className:l.Z.description},e),p&&React.createElement(s.Z,{className:l.Z.iconContainer,iconSize:16,offset:4},React.createElement(c.ZP,{variant:"body-small"},p))),React.createElement("div",null,React.createElement(m,h,React.createElement(c.ZP,{className:l.Z.cta},t)))),React.createElement(a.Z,{icon:r.Z,className:l.Z.icon,size:30}))}},7172:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(5736),r=n(5235),o=n.n(r),i=n(9196);n(3351);const __=a.__;class s extends i.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack-videopress-pkg");case"gridicons-arrow-left":return __("Arrow left","jetpack-videopress-pkg");case"gridicons-arrow-right":return __("Arrow right","jetpack-videopress-pkg");case"gridicons-calendar":return __("Is an event.","jetpack-videopress-pkg");case"gridicons-cart":return __("Is a product.","jetpack-videopress-pkg");case"chevron-down":return __("Show filters","jetpack-videopress-pkg");case"gridicons-comment":return __("Matching comment.","jetpack-videopress-pkg");case"gridicons-cross":return __("Close.","jetpack-videopress-pkg");case"gridicons-filter":return __("Toggle search filters.","jetpack-videopress-pkg");case"gridicons-folder":return __("Category","jetpack-videopress-pkg");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack-videopress-pkg");case"gridicons-image-multiple":return __("Has multiple images.","jetpack-videopress-pkg");case"gridicons-image":return __("Has an image.","jetpack-videopress-pkg");case"gridicons-page":return __("Page","jetpack-videopress-pkg");case"gridicons-post":return __("Post","jetpack-videopress-pkg");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack-videopress-pkg");case"gridicons-tag":return __("Tag","jetpack-videopress-pkg");case"gridicons-video":return __("Has a video.","jetpack-videopress-pkg")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}));case"gridicons-lock":return React.createElement(React.Fragment,null,React.createElement("g",{id:"lock"},React.createElement("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})),React.createElement("g",{id:"Layer_1"}))}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,a=this.props.width||e,r=this.props.style||{height:n,width:a},i="gridicons-"+this.props.icon,s=o()("gridicon",i,t,{"needs-offset":this.needsOffset(i,e)}),c=this.getSVGDescription(i);return React.createElement("svg",{className:s,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:r,viewBox:"0 0 24 24",width:a,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},c?React.createElement("desc",null,c):null,this.renderIcon(i))}}const c=s},9665:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(5609),r=n(5235),o=n.n(r),i=n(9196),s=n.n(i),c=n(526),l=n(7172);n(7742);const d=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),u=({className:e="",iconClassName:t="",placement:n="bottom-end",animate:r=!0,iconCode:u="info-outline",iconSize:p=18,offset:m=10,title:h,children:g,popoverAnchorStyle:f="icon",forceShow:v=!1,wide:y=!1})=>{const[w,b]=(0,i.useState)(!1),E=(0,i.useCallback)((()=>b(!0)),[b]),k=(0,i.useCallback)((()=>b(!1)),[b]),C={position:d(n),placement:n,animate:r,noArrow:!1,resize:!1,flip:!1,offset:m,focusOnMount:"container",onClose:k,className:"icon-tooltip-container",inline:!0},R="wrapper"===f,Z=o()("icon-tooltip-wrapper",e),P={left:R?0:-(62-p/2)+"px"},_=R&&v;return s().createElement("div",{className:Z,"data-testid":"icon-tooltip_wrapper"},!R&&s().createElement(c.Z,{variant:"link",onClick:E},s().createElement(l.Z,{className:t,icon:u,size:p})),s().createElement("div",{className:o()("icon-tooltip-helper",{"is-wide":y}),style:P},(_||w)&&s().createElement(a.Popover,C,s().createElement("div",null,h&&s().createElement("div",{className:"icon-tooltip-title"},h),s().createElement("div",{className:"icon-tooltip-content"},g)))))}},3396:(e,t,n)=>{"use strict";n.d(t,{W1:()=>d});var a=n(2674),r=n.n(a),o=n(5609),i=n(5235),s=n.n(i),c=(n(2659),n(5460));const l=({className:e,size:t=24,viewBox:n="0 0 24 24",opacity:a=1,color:i="#2C3338",children:l})=>{const d={className:s()(c.Z.iconWrapper,e),width:t,height:t,viewBox:n,opacity:a,fill:void 0};return i&&(d.fill=i),React.createElement(o.SVG,r()({},d,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(o.G,{opacity:a},l))},d=({opacity:e=1,size:t,color:n})=>React.createElement(l,{size:t,opacity:e,color:n},React.createElement(o.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},8237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var a=n(2674),r=n.n(a),o=n(9818),i=n(5736),s=n(1074),c=n(5381),l=n(5235),d=n.n(l),u=n(9196),p=n.n(u),m=n(6895),h=n(428),g=n(7525),f=(n(3527),n(8868)),v=n(2054);const __=i.__,_x=i._x,y=()=>p().createElement(f.Z,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),w=({moduleName:e=__("Jetpack","jetpack-videopress-pkg"),className:t,moduleNameHref:n="https://jetpack.com",menu:a,siteAdminUrl:i,onAboutClick:l,onPrivacyClick:u,onTermsClick:f,...w})=>{const[b]=(0,v.Z)("sm","<="),[E]=(0,v.Z)("md","<="),[k]=(0,v.Z)("lg",">"),{isActive:C,connectedPlugins:R}=(0,o.useSelect)((e=>{const t=e(h.t);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[h.t]),Z=i&&C&&R?.some((({slug:e})=>"jetpack"===e));let P=[{label:_x("About","Link to learn more about Jetpack.","jetpack-videopress-pkg"),title:__("About Jetpack","jetpack-videopress-pkg"),href:Z?new URL("admin.php?page=jetpack_about",i).href:(0,m.Z)("jetpack-about"),target:"_blank",onClick:l},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-videopress-pkg"),title:__("Automattic's Privacy Policy","jetpack-videopress-pkg"),href:Z?new URL("admin.php?page=jetpack#/privacy",i).href:(0,m.Z)("a8c-privacy"),target:Z?"_self":"_blank",onClick:u},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-videopress-pkg"),title:__("WordPress.com Terms of Service","jetpack-videopress-pkg"),href:(0,m.Z)("wpcom-tos"),target:"_blank",onClick:f}];a&&(P=[...P,...a]);const _=p().createElement(p().Fragment,null,p().createElement(y,null),e);return p().createElement("footer",r()({className:d()("jp-dashboard-footer",{"is-sm":b,"is-md":E,"is-lg":k},t),"aria-label":__("Jetpack","jetpack-videopress-pkg")},w),p().createElement("ul",null,p().createElement("li",{className:"jp-dashboard-footer__jp-item"},n?p().createElement("a",{href:n},_):_),P.map((e=>{const t="button"===e.role,n=!t&&"_blank"===e.target;return p().createElement("li",{key:e.label},p().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:d()("jp-dashboard-footer__menu-item",{"is-external":n}),role:e.role,rel:n?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,n&&p().createElement(s.Z,{icon:c.Z,size:16})))})),p().createElement("li",{className:"jp-dashboard-footer__a8c-item"},p().createElement("a",{href:Z?new URL("admin.php?page=jetpack_about",i).href:(0,m.Z)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-videopress-pkg")},p().createElement(g.Z,{"aria-hidden":"true"})))))}},8868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(2674),r=n.n(a),o=n(5736),i=n(5235),s=n.n(i),c=n(9196),l=n.n(c);const __=o.__,d=({logoColor:e="#069e08",showText:t=!0,className:n,height:a=32,...o})=>{const i=t?"0 0 118 32":"0 0 32 32";return l().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:s()("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title",height:a},o),l().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-videopress-pkg")),l().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&l().createElement(l().Fragment,null,l().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),l().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),l().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),l().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),l().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),l().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),l().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},9191:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(2674),r=n.n(a),o=n(5736),i=n(5235),s=n.n(i),c=n(9196),l=n.n(c);const __=o.__,d=({showText:e=!0,className:t,height:n=32,...a})=>{const o=e?"0 0 184 32":"0 0 32 32";return l().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:o,className:s()("jetpack-videopress-logo",t),"aria-labelledby":"jetpack-videopress-logo-title",height:n},a),l().createElement("desc",{id:"jetpack-videopress-logo-title"},__("VideoPress Logo","jetpack-videopress-pkg")),e?l().createElement(l().Fragment,null,l().createElement("path",{d:"M16.0006 32C24.8374 32 32.0012 24.8362 32.0012 15.9994C32.0012 7.16259 24.8374 0 16.0006 0C7.16377 0 0 7.16377 0 16.0006C0 24.8374 7.16377 32 16.0006 32Z",fill:"#069E08"}),l().createElement("path",{d:"M16.7945 13.3133V28.8245L24.7948 13.3133H16.7945V13.3133Z",fill:"white"}),l().createElement("path",{d:"M15.176 18.6571V3.17546L7.20647 18.6571H15.176Z",fill:"white"}),l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.0203 6.0536C39.279 6.0536 40.385 6.8849 40.7297 8.09007L44.1374 20.0064C44.1408 20.0185 44.1464 20.0295 44.1536 20.0391L48.1907 6.0536H50.4492H56.6922C61.068 6.0536 64.0012 8.88765 64.0012 13.1781C64.0012 17.5177 60.991 20.2238 56.4999 20.2238H53.5378H49.7209L48.9794 22.5087C48.3144 24.5579 46.3979 25.9464 44.2347 25.9464C42.0715 25.9464 40.1551 24.5579 39.49 22.5087L35.3397 9.71996C34.7519 7.90897 36.1085 6.0536 38.0203 6.0536ZM51.1005 15.9727H55.4228C57.2981 15.9727 58.4233 14.9001 58.4233 13.1781C58.4233 11.4462 57.2981 10.4227 55.4228 10.4227H52.9017L51.1005 15.9727Z",fill:"black"}),l().createElement("path",{d:"M79.5277 20.4681C79.8196 19.608 80.0287 18.9965 80.155 18.6335C80.2891 18.2627 80.5653 17.5091 80.9835 16.3728L83.9188 8.50195H86.9843L80.7941 24.3384H78.1902L72 8.50195H75.0892L78.0245 16.3728C78.4427 17.5091 78.7149 18.2627 78.8412 18.6335C78.9753 18.9965 79.1884 19.608 79.4803 20.4681H79.5277Z",fill:"black"}),l().createElement("path",{d:"M88.3459 12.8694H91.151V24.3384H88.3459V12.8694ZM88.2749 7.2H91.222V10.2418H88.2749V7.2Z",fill:"black"}),l().createElement("path",{d:"M98.762 22.3973C99.0382 22.3973 99.2986 22.3618 99.5432 22.2908C99.7957 22.2198 100.032 22.1251 100.253 22.0068C100.474 21.8884 100.668 21.7582 100.833 21.6162C101.007 21.4741 101.153 21.3361 101.271 21.2019V15.7574C100.94 15.4891 100.569 15.2682 100.159 15.0946C99.7483 14.9131 99.3143 14.8223 98.8567 14.8223C98.5647 14.8223 98.257 14.8815 97.9335 14.9999C97.6179 15.1182 97.3259 15.3194 97.0576 15.6035C96.7972 15.8876 96.5763 16.2821 96.3948 16.7871C96.2212 17.2921 96.1344 17.9352 96.1344 18.7164C96.1344 19.8684 96.3554 20.7679 96.7972 21.415C97.247 22.062 97.9019 22.3894 98.762 22.3973ZM93.2346 18.8347C93.2346 17.8326 93.3727 16.941 93.6489 16.1598C93.9251 15.3707 94.2999 14.7119 94.7733 14.1832C95.2546 13.6466 95.803 13.2482 96.4185 12.9878C97.034 12.7195 97.6731 12.5853 98.3359 12.5853C98.6436 12.5853 98.9356 12.613 99.2118 12.6682C99.4879 12.7234 99.7483 12.7984 99.9929 12.8931C100.238 12.9878 100.466 13.0943 100.679 13.2127C100.892 13.331 101.09 13.4533 101.271 13.5796H101.295C101.287 13.4218 101.279 13.2008 101.271 12.9168C101.271 12.6248 101.271 12.3092 101.271 11.9699V7.2H104.076V20.9297C104.076 21.6872 104.084 22.3382 104.1 22.8826C104.116 23.4271 104.132 23.9123 104.147 24.3384H101.614L101.496 23.1193H101.449C101.283 23.3166 101.082 23.5099 100.845 23.6993C100.616 23.8887 100.36 24.0544 100.076 24.1964C99.7996 24.3305 99.4919 24.4371 99.1526 24.516C98.8212 24.5949 98.4582 24.6343 98.0637 24.6343C97.4403 24.6343 96.8406 24.5239 96.2646 24.3029C95.6965 24.082 95.1836 23.7427 94.726 23.285C94.2762 22.8195 93.9132 22.2159 93.637 21.4741C93.3688 20.7245 93.2346 19.8447 93.2346 18.8347Z",fill:"black"}),l().createElement("path",{d:"M112.764 22.3737C113.309 22.3737 113.877 22.3184 114.469 22.208C115.061 22.0975 115.66 21.9397 116.268 21.7345V23.9715C115.905 24.1293 115.349 24.2793 114.599 24.4213C113.849 24.5633 113.072 24.6343 112.267 24.6343C111.455 24.6343 110.681 24.5318 109.947 24.3266C109.222 24.1136 108.586 23.7743 108.042 23.3087C107.497 22.8432 107.063 22.2395 106.74 21.4978C106.424 20.7561 106.266 19.8566 106.266 18.7992C106.266 17.7577 106.416 16.8463 106.716 16.0651C107.016 15.2839 107.418 14.6369 107.923 14.124C108.428 13.6111 109.005 13.2284 109.652 12.9759C110.306 12.7155 110.981 12.5853 111.675 12.5853C112.401 12.5853 113.068 12.6958 113.676 12.9168C114.291 13.1377 114.82 13.4849 115.262 13.9583C115.712 14.4318 116.059 15.0433 116.303 15.7929C116.556 16.5346 116.682 17.4144 116.682 18.4323C116.674 18.8268 116.662 19.1622 116.647 19.4384H109.131C109.17 19.967 109.289 20.4207 109.486 20.7995C109.683 21.1703 109.94 21.4741 110.255 21.7109C110.579 21.9397 110.953 22.1093 111.38 22.2198C111.806 22.3224 112.267 22.3737 112.764 22.3737ZM111.64 14.775C111.285 14.775 110.969 14.8421 110.693 14.9762C110.417 15.1025 110.176 15.28 109.971 15.5088C109.774 15.7298 109.616 15.9902 109.498 16.29C109.379 16.5898 109.3 16.9094 109.261 17.2487H113.77C113.77 16.9094 113.723 16.5898 113.628 16.29C113.542 15.9902 113.407 15.7298 113.226 15.5088C113.052 15.28 112.831 15.1025 112.563 14.9762C112.303 14.8421 111.995 14.775 111.64 14.775Z",fill:"black"}),l().createElement("path",{d:"M126.838 18.6098C126.838 18.0023 126.767 17.4657 126.625 17.0002C126.483 16.5346 126.285 16.144 126.033 15.8284C125.78 15.5128 125.477 15.2761 125.122 15.1182C124.767 14.9604 124.38 14.8815 123.962 14.8815C123.551 14.8815 123.169 14.9604 122.814 15.1182C122.466 15.2761 122.167 15.5128 121.914 15.8284C121.662 16.144 121.464 16.5346 121.322 17.0002C121.18 17.4657 121.109 18.0023 121.109 18.6098C121.109 19.2174 121.18 19.754 121.322 20.2195C121.464 20.6851 121.662 21.0757 121.914 21.3913C122.174 21.699 122.478 21.9357 122.825 22.1014C123.18 22.2593 123.567 22.3382 123.985 22.3382C124.404 22.3382 124.786 22.2593 125.133 22.1014C125.481 21.9357 125.78 21.699 126.033 21.3913C126.285 21.0757 126.483 20.6851 126.625 20.2195C126.767 19.754 126.838 19.2174 126.838 18.6098ZM129.738 18.6098C129.738 19.5094 129.603 20.33 129.335 21.0717C129.067 21.8134 128.68 22.4486 128.175 22.9773C127.678 23.506 127.075 23.9163 126.364 24.2082C125.654 24.4923 124.861 24.6343 123.985 24.6343C123.086 24.6343 122.277 24.4923 121.559 24.2082C120.849 23.9163 120.245 23.506 119.748 22.9773C119.251 22.4486 118.868 21.8134 118.6 21.0717C118.34 20.33 118.209 19.5094 118.209 18.6098C118.209 17.7103 118.344 16.8897 118.612 16.148C118.88 15.4062 119.263 14.7711 119.76 14.2424C120.265 13.7137 120.872 13.3073 121.583 13.0233C122.293 12.7313 123.086 12.5853 123.962 12.5853C124.861 12.5853 125.666 12.7313 126.376 13.0233C127.094 13.3073 127.702 13.7137 128.199 14.2424C128.696 14.7711 129.075 15.4062 129.335 16.148C129.603 16.8897 129.738 17.7103 129.738 18.6098Z",fill:"black"}),l().createElement("path",{d:"M136.473 18.2074C136.212 18.2074 135.956 18.2035 135.703 18.1956C135.451 18.1877 135.214 18.1719 134.993 18.1482V24.3384H132.093V8.50195H136.662C137.427 8.50195 138.094 8.53746 138.662 8.60847C139.238 8.6716 139.751 8.77023 140.201 8.90437C141.282 9.23578 142.115 9.76445 142.698 10.4904C143.282 11.2163 143.574 12.1395 143.574 13.26C143.574 14.0254 143.416 14.7158 143.101 15.3313C142.785 15.9389 142.324 16.4557 141.716 16.8818C141.108 17.3079 140.367 17.6353 139.491 17.8642C138.615 18.093 137.609 18.2074 136.473 18.2074ZM134.993 15.71C135.159 15.7337 135.368 15.7534 135.621 15.7692C135.881 15.7771 136.149 15.7811 136.425 15.7811C137.207 15.7811 137.861 15.7179 138.39 15.5917C138.919 15.4654 139.345 15.2918 139.668 15.0709C139.992 14.8421 140.225 14.5698 140.367 14.2542C140.509 13.9307 140.58 13.5796 140.58 13.2008C140.58 12.7353 140.473 12.3328 140.26 11.9936C140.047 11.6543 139.676 11.3899 139.148 11.2005C138.871 11.1059 138.528 11.0388 138.118 10.9993C137.715 10.952 137.218 10.9283 136.627 10.9283H134.993V15.71Z",fill:"black"}),l().createElement("path",{d:"M152.629 15.0946H152.393C151.532 15.0946 150.775 15.2248 150.12 15.4852C149.473 15.7377 148.972 16.1282 148.617 16.6569V24.3384H145.812V12.8694H148.132L148.392 14.4673H148.439C148.771 13.8834 149.224 13.4257 149.8 13.0943C150.384 12.755 151.083 12.5853 151.895 12.5853C152.179 12.5853 152.424 12.6011 152.629 12.6327V15.0946Z",fill:"black"}),l().createElement("path",{d:"M159.708 22.3737C160.252 22.3737 160.82 22.3184 161.412 22.208C162.004 22.0975 162.603 21.9397 163.211 21.7345V23.9715C162.848 24.1293 162.292 24.2793 161.542 24.4213C160.793 24.5633 160.015 24.6343 159.211 24.6343C158.398 24.6343 157.624 24.5318 156.891 24.3266C156.165 24.1136 155.53 23.7743 154.985 23.3087C154.441 22.8432 154.007 22.2395 153.683 21.4978C153.367 20.7561 153.21 19.8566 153.21 18.7992C153.21 17.7577 153.36 16.8463 153.659 16.0651C153.959 15.2839 154.362 14.6369 154.867 14.124C155.372 13.6111 155.948 13.2284 156.595 12.9759C157.25 12.7155 157.924 12.5853 158.619 12.5853C159.345 12.5853 160.011 12.6958 160.619 12.9168C161.234 13.1377 161.763 13.4849 162.205 13.9583C162.655 14.4318 163.002 15.0433 163.247 15.7929C163.499 16.5346 163.625 17.4144 163.625 18.4323C163.617 18.8268 163.606 19.1622 163.59 19.4384H156.074C156.113 19.967 156.232 20.4207 156.429 20.7995C156.626 21.1703 156.883 21.4741 157.198 21.7109C157.522 21.9397 157.897 22.1093 158.323 22.2198C158.749 22.3224 159.211 22.3737 159.708 22.3737ZM158.583 14.775C158.228 14.775 157.912 14.8421 157.636 14.9762C157.36 15.1025 157.119 15.28 156.914 15.5088C156.717 15.7298 156.559 15.9902 156.441 16.29C156.323 16.5898 156.244 16.9094 156.204 17.2487H160.714C160.714 16.9094 160.666 16.5898 160.572 16.29C160.485 15.9902 160.351 15.7298 160.169 15.5088C159.996 15.28 159.775 15.1025 159.506 14.9762C159.246 14.8421 158.938 14.775 158.583 14.775Z",fill:"black"}),l().createElement("path",{d:"M170.822 21.0125C170.822 20.7679 170.751 20.5667 170.609 20.4089C170.475 20.2511 170.293 20.1209 170.065 20.0183C169.836 19.9078 169.571 19.8132 169.272 19.7343C168.98 19.6553 168.672 19.5764 168.348 19.4975C167.938 19.3871 167.543 19.2608 167.165 19.1188C166.786 18.9689 166.451 18.7755 166.159 18.5388C165.875 18.3021 165.646 18.0062 165.472 17.6511C165.306 17.2882 165.224 16.8463 165.224 16.3255C165.224 15.6864 165.338 15.134 165.567 14.6685C165.796 14.195 166.103 13.8045 166.49 13.4967C166.885 13.189 167.338 12.9602 167.851 12.8102C168.372 12.6603 168.92 12.5853 169.496 12.5853C170.199 12.5853 170.858 12.6445 171.473 12.7629C172.088 12.8734 172.645 13.0193 173.142 13.2008V15.4852C172.881 15.3984 172.605 15.3195 172.313 15.2484C172.029 15.1695 171.737 15.1025 171.437 15.0472C171.146 14.992 170.854 14.9486 170.562 14.917C170.27 14.8776 169.994 14.8578 169.733 14.8578C169.402 14.8578 169.122 14.8894 168.893 14.9525C168.664 15.0157 168.479 15.1025 168.336 15.2129C168.194 15.3155 168.092 15.4378 168.029 15.5798C167.966 15.714 167.934 15.856 167.934 16.0059C167.934 16.2663 168.001 16.4794 168.135 16.6451C168.277 16.8108 168.471 16.9449 168.715 17.0475C168.96 17.1501 169.216 17.2369 169.485 17.3079C169.753 17.371 170.013 17.4341 170.266 17.4973C170.66 17.592 171.055 17.7064 171.449 17.8405C171.844 17.9746 172.199 18.164 172.515 18.4086C172.83 18.6453 173.087 18.957 173.284 19.3437C173.489 19.7224 173.592 20.2077 173.592 20.7995C173.592 21.4465 173.469 22.0107 173.225 22.492C172.98 22.9734 172.637 23.3758 172.195 23.6993C171.761 24.0149 171.236 24.2477 170.621 24.3976C170.013 24.5554 169.343 24.6343 168.609 24.6343C167.883 24.6343 167.228 24.5752 166.644 24.4568C166.068 24.3463 165.591 24.2043 165.212 24.0307V21.77C165.827 21.9989 166.395 22.1567 166.916 22.2435C167.437 22.3224 167.922 22.3618 168.372 22.3618C168.719 22.3618 169.043 22.3382 169.343 22.2908C169.642 22.2356 169.899 22.1527 170.112 22.0423C170.333 21.9318 170.506 21.7937 170.633 21.628C170.759 21.4544 170.822 21.2493 170.822 21.0125Z",fill:"black"}),l().createElement("path",{d:"M180.611 21.0125C180.611 20.7679 180.54 20.5667 180.398 20.4089C180.264 20.2511 180.082 20.1209 179.853 20.0183C179.624 19.9078 179.36 19.8132 179.06 19.7343C178.768 19.6553 178.461 19.5764 178.137 19.4975C177.727 19.3871 177.332 19.2608 176.954 19.1188C176.575 18.9689 176.239 18.7755 175.947 18.5388C175.663 18.3021 175.435 18.0062 175.261 17.6511C175.095 17.2882 175.012 16.8463 175.012 16.3255C175.012 15.6864 175.127 15.134 175.356 14.6685C175.584 14.195 175.892 13.8045 176.279 13.4967C176.673 13.189 177.127 12.9602 177.64 12.8102C178.161 12.6603 178.709 12.5853 179.285 12.5853C179.987 12.5853 180.646 12.6445 181.262 12.7629C181.877 12.8734 182.434 13.0193 182.931 13.2008V15.4852C182.67 15.3984 182.394 15.3195 182.102 15.2484C181.818 15.1695 181.526 15.1025 181.226 15.0472C180.934 14.992 180.642 14.9486 180.35 14.917C180.058 14.8776 179.782 14.8578 179.522 14.8578C179.191 14.8578 178.91 14.8894 178.682 14.9525C178.453 15.0157 178.267 15.1025 178.125 15.2129C177.983 15.3155 177.881 15.4378 177.818 15.5798C177.754 15.714 177.723 15.856 177.723 16.0059C177.723 16.2663 177.79 16.4794 177.924 16.6451C178.066 16.8108 178.259 16.9449 178.504 17.0475C178.749 17.1501 179.005 17.2369 179.273 17.3079C179.542 17.371 179.802 17.4341 180.055 17.4973C180.449 17.592 180.844 17.7064 181.238 17.8405C181.633 17.9746 181.988 18.164 182.303 18.4086C182.619 18.6453 182.875 18.957 183.073 19.3437C183.278 19.7224 183.38 20.2077 183.38 20.7995C183.38 21.4465 183.258 22.0107 183.014 22.492C182.769 22.9734 182.426 23.3758 181.984 23.6993C181.55 24.0149 181.025 24.2477 180.41 24.3976C179.802 24.5554 179.131 24.6343 178.398 24.6343C177.672 24.6343 177.017 24.5752 176.433 24.4568C175.857 24.3463 175.379 24.2043 175.001 24.0307V21.77C175.616 21.9989 176.184 22.1567 176.705 22.2435C177.226 22.3224 177.711 22.3618 178.161 22.3618C178.508 22.3618 178.831 22.3382 179.131 22.2908C179.431 22.2356 179.688 22.1527 179.901 22.0423C180.122 21.9318 180.295 21.7937 180.421 21.628C180.548 21.4544 180.611 21.2493 180.611 21.0125Z",fill:"black"})):l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.70585 8C6.82474 8 7.80784 8.73893 8.11419 9.81019L11.1433 20.4025C11.1464 20.4132 11.1513 20.423 11.1577 20.4315L14.7463 8H16.7538H22.3031C26.1927 8 28.8 10.5191 28.8 14.3329C28.8 18.1903 26.1243 20.5957 22.1322 20.5957H19.4992H16.1064L15.4473 22.6268C14.8562 24.4482 13.1527 25.6825 11.2298 25.6825C9.30695 25.6825 7.60344 24.4482 7.01232 22.6268L3.32309 11.259C2.80067 9.64921 4.00647 8 5.70585 8ZM17.3328 16.817H21.1747C22.8417 16.817 23.8419 15.8636 23.8419 14.3329C23.8419 12.7934 22.8417 11.8837 21.1747 11.8837H18.9338L17.3328 16.817Z",fill:"black"}))}},3846:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(5235),r=n.n(a),o=n(9196),i=n(1418);const s=Number(i.Z.smCols),c=Number(i.Z.mdCols),l=Number(i.Z.lgCols),d=e=>{const{children:t,tagName:n="div",className:a}=e,d=Math.min(s,"number"==typeof e.sm?e.sm:s),u=Math.min(s,"object"==typeof e.sm?e.sm.start:0),p=Math.min(s,"object"==typeof e.sm?e.sm.end:0),m=Math.min(c,"number"==typeof e.md?e.md:c),h=Math.min(c,"object"==typeof e.md?e.md.start:0),g=Math.min(c,"object"==typeof e.md?e.md.end:0),f=Math.min(l,"number"==typeof e.lg?e.lg:l),v=Math.min(l,"object"==typeof e.lg?e.lg.start:0),y=Math.min(l,"object"==typeof e.lg?e.lg.end:0),w=r()(a,{[i.Z[`col-sm-${d}`]]:!(u&&p),[i.Z[`col-sm-${u}-start`]]:u>0,[i.Z[`col-sm-${p}-end`]]:p>0,[i.Z[`col-md-${m}`]]:!(h&&g),[i.Z[`col-md-${h}-start`]]:h>0,[i.Z[`col-md-${g}-end`]]:g>0,[i.Z[`col-lg-${f}`]]:!(v&&y),[i.Z[`col-lg-${v}-start`]]:v>0,[i.Z[`col-lg-${y}-end`]]:y>0});return(0,o.createElement)(n,{className:w},t)}},3363:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(5235),r=n.n(a),o=n(9196),i=n(7054);const s=({children:e,fluid:t=!1,tagName:n="div",className:a,horizontalGap:s=1,horizontalSpacing:c=1})=>{const l=(0,o.useMemo)((()=>{const e=`calc( var(--horizontal-spacing) * ${c} )`;return{paddingTop:e,paddingBottom:e,rowGap:`calc( var(--horizontal-spacing) * ${s} )`}}),[s,c]),d=r()(a,i.Z.container,{[i.Z.fluid]:t});return(0,o.createElement)(n,{className:d,style:l},e)}},2054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(4333),r=n(9710);const o=["sm","md","lg"],i=(e,t)=>{const n=Array.isArray(e)?e:[e],i=Array.isArray(t)?t:[t],[s,c,l]=o,d={sm:(0,a.useMediaQuery)(r.Z[s]),md:(0,a.useMediaQuery)(r.Z[c]),lg:(0,a.useMediaQuery)(r.Z[l])};return n.map(((e,t)=>{const n=i[t];return n?((e,t,n)=>{const a=o.indexOf(e),r=a+1,i=t.includes("=");let s=[];return t.startsWith("<")&&(s=o.slice(0,i?r:a)),t.startsWith(">")&&(s=o.slice(i?a:r)),s?.length?s.some((e=>n[e])):n[e]})(e,n,d):d[e]}))}},2636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(5235),r=n.n(a),o=n(9196),i=n.n(o),s=n(6409);const c=({children:e=null,width:t=null,height:n=null,className:a=""})=>i().createElement("div",{className:r()(s.Z.placeholder,a),style:{width:t,height:n}},e)},2947:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(8709);const r=(e,t={})=>{const n=(0,a.X)();return new Intl.NumberFormat(n,t).format(e)}},9608:(e,t,n)=>{"use strict";n.d(t,{NE:()=>E,ZP:()=>C,kF:()=>b,oK:()=>k});var a=n(5736),r=n(1074),o=n(9201),i=n(6163),s=n(5235),c=n.n(s),l=n(9196),d=n.n(l),u=n(9665),p=n(2054),m=n(7325),h=n(5106),g=n(4070);const __=a.__,f=__("Included","jetpack-videopress-pkg"),v=__("Not included","jetpack-videopress-pkg"),y=__("Coming soon","jetpack-videopress-pkg"),w=(0,l.createContext)(void 0),b=({isIncluded:e=!1,isComingSoon:t=!1,index:n=0,label:s=null,tooltipInfo:m,tooltipTitle:b,tooltipClassName:E=""})=>{const[k]=(0,p.Z)("lg"),C=(0,l.useContext)(w)[n],R=t||e,Z=C.name,P=C.tooltipInfo,_=C.tooltipTitle,S=m||!k&&P,x=((e,t,n)=>e?{lg:y,
// translators: Name of the current feature
default:(0,a.sprintf)(__("%s coming soon","jetpack-videopress-pkg"),n)}:{lg:t?f:v,default:t?n:(0,a.sprintf)(/* translators: Name of the current feature */
__("%s not included","jetpack-videopress-pkg"),n)})(t,e,Z),N=k?x.lg:x.default;return d().createElement("div",{className:c()(g.Z.item,g.Z.value)},d().createElement(r.Z,{className:c()(g.Z.icon,R?g.Z["icon-check"]:g.Z["icon-cross"]),size:32,icon:R?o.Z:i.Z}),d().createElement(h.ZP,{variant:"body-small"},s||N),S&&d().createElement(u.Z,{title:b||_,iconClassName:g.Z["popover-icon"],className:c()(g.Z.popover,E),placement:"bottom-end",iconSize:14,offset:4,wide:Boolean(b&&m)},d().createElement(h.ZP,{variant:"body-small",component:"div"},m||P)))},E=({children:e})=>d().createElement("div",{className:g.Z.header},e),k=({primary:e=!1,children:t})=>{let n=0;return d().createElement("div",{className:c()(g.Z.card,{[g.Z["is-primary"]]:e})},l.Children.map(t,(e=>{const t=e;return t.type===b?(n++,(0,l.cloneElement)(t,{index:n-1})):t})))},C=({title:e,items:t,children:n,showIntroOfferDisclaimer:a=!1})=>{const[r]=(0,p.Z)("lg");return d().createElement(w.Provider,{value:t},d().createElement("div",{className:c()(g.Z.container,{[g.Z["is-viewport-large"]]:r}),style:{"--rows":t.length+1,"--columns":l.Children.toArray(n).length+1}},d().createElement("div",{className:g.Z.table},d().createElement(h.ZP,{variant:"headline-small"},e),r&&t.map(((e,n)=>d().createElement("div",{className:c()(g.Z.item,{[g.Z["last-feature"]]:n===t.length-1}),key:n},d().createElement(h.ZP,{variant:"body-small"},d().createElement("strong",null,e.name)),e.tooltipInfo&&d().createElement(u.Z,{title:e.tooltipTitle,iconClassName:g.Z["popover-icon"],className:g.Z.popover,placement:e.tooltipPlacement?e.tooltipPlacement:"bottom-end",iconSize:14,offset:4,wide:Boolean(e.tooltipTitle&&e.tooltipInfo)},d().createElement(h.ZP,{variant:"body-small"},e.tooltipInfo))))),n)),d().createElement("div",{className:g.Z["tos-container"]},d().createElement("div",{className:g.Z.tos},a&&d().createElement(h.ZP,{variant:"body-small"},__("Reduced pricing is a limited offer for the first year and renews at regular price.","jetpack-videopress-pkg")),d().createElement(m.Z,{multipleButtons:!0}))))}},5347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(5736),r=n(5235),o=n.n(r),i=n(5106),s=n(3789),c=n(7387);const __=a.__,l=({price:e,offPrice:t,currency:n="",showNotOffPrice:a=!0,hideDiscountLabel:r=!0,promoLabel:l="",legend:d=__("/month, paid yearly","jetpack-videopress-pkg"),isNotConvenientPrice:u=!1,hidePriceFraction:p=!1,children:m})=>{if(null==e&&null==t||!n)return null;a=a&&null!=t;const h="number"==typeof e&&"number"==typeof t?Math.floor((e-t)/e*100):0,g=!r&&h&&h>0?h+__("% off","jetpack-videopress-pkg"):null;return React.createElement(React.Fragment,null,React.createElement("div",{className:c.Z.container},React.createElement("div",{className:o()(c.Z["price-container"],"product-price_container")},React.createElement(s.t,{value:t??e,currency:n,isOff:!u,hidePriceFraction:p}),a&&React.createElement(s.t,{value:e,currency:n,isOff:!1,hidePriceFraction:p}),g&&React.createElement(i.ZP,{className:o()(c.Z["promo-label"],"product-price_promo_label")},g))),React.createElement("div",{className:c.Z.footer},m||React.createElement(i.ZP,{className:o()(c.Z.legend,"product-price_legend")},d),l&&React.createElement(i.ZP,{className:o()(c.Z["promo-label"],"product-price_promo_label")},l)))}},3789:(e,t,n)=>{"use strict";n.d(t,{t:()=>c});var a=n(8899),r=n(5235),o=n.n(r),i=n(5106),s=n(7387);const c=({value:e,currency:t,isOff:n,hidePriceFraction:r})=>{const c=o()(s.Z.price,"product-price_price",{[s.Z["is-not-off-price"]]:!n}),{symbol:l,integer:d,fraction:u}=(0,a.LR)(e,t),p=!r||!u.endsWith("00");return React.createElement(i.ZP,{className:c,variant:"headline-medium",component:"p"},React.createElement(i.ZP,{className:s.Z.symbol,component:"sup",variant:"title-medium"},l),d,p&&React.createElement(i.ZP,{component:"sup",variant:"body-small","data-testid":"PriceFraction"},React.createElement("strong",null,u)))}},4343:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(5235),r=n.n(a),o=n(1334);const i=({className:e,progressClassName:t,progress:n,size:a="normal"})=>{if(null==n)return null;const i={width:100*Math.max(Math.min(n,1),0)+"%"};return React.createElement("div",{className:r()(e,o.Z.wrapper,{[o.Z.small]:"small"===a})},React.createElement("div",{className:r()(t,o.Z.progress),style:i}))}},5033:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(5162),r=n.n(a),o=n(9196),i=n.n(o);n(8026);const s=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},a={borderTopColor:e.color,borderRightColor:e.color};return i().createElement("div",{className:t},i().createElement("div",{className:"jp-components-spinner__outer",style:n},i().createElement("div",{className:"jp-components-spinner__inner",style:a})))};s.propTypes={color:r().string,className:r().string,size:r().number},s.defaultProps={color:"#FFFFFF",className:"",size:20};const c=s},7325:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(9307),r=n(5736),o=n(5235),i=n.n(o),s=n(6895),c=n(5106);n(7660);const __=r.__,l=()=>(0,a.createInterpolateElement)(__("By clicking the buttons above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack-videopress-pkg"),{tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),d=({agreeButtonLabel:e})=>(0,a.createInterpolateElement)((0,r.sprintf)(/* translators: %s is a button label */
__("By clicking the <strong>%s</strong> button, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack-videopress-pkg"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=({slug:e,children:t})=>React.createElement("a",{className:"terms-of-service__link",href:(0,s.Z)(e),rel:"noopener noreferrer",target:"_blank"},t),p=({className:e,multipleButtons:t,agreeButtonLabel:n})=>React.createElement(c.ZP,{className:i()(e,"terms-of-service")},t?React.createElement(l,null):React.createElement(d,{agreeButtonLabel:n}))},6017:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,s:()=>r});const a={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},r=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:(e,t,n)=>{"use strict";n.d(t,{Dx:()=>m,ZP:()=>p});var a=n(2674),r=n.n(a),o=n(5235),i=n.n(o),s=n(9196),c=n.n(s),l=n(6017),d=n(5837);const u=(0,s.forwardRef)((({variant:e="body",children:t,component:n,className:a,...o},u)=>{const p=n||l.h[e]||"span",m=(0,s.useMemo)((()=>l.s.reduce(((e,t)=>(void 0!==o[t]&&(e+=d.Z[`${t}-${o[t]}`]+" ",delete o[t]),e)),"")),[o]);return o.ref=u,c().createElement(p,r()({className:i()(d.Z.reset,d.Z[e],a,m)},o),t)}));u.displayName="Text";const p=u,m=({children:e,size:t="medium",...n})=>c().createElement(u,r()({variant:`title-${t}`,mb:1},n),e)},8275:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var a=n(9196),r=n.n(a),o=n(3468);const i={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},s={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},c={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},l={"--spacing-base":"8px"},d={},u=(e,t,n)=>{const a={...i,...s,...c,...l};for(const t in a)e.style.setProperty(t,a[t]);n&&e.classList.add(o.Z.global),t&&(d[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:n,withGlobalStyles:o=!0})=>{const i=(0,a.useRef)(),s=d?.[n]?.provided;return(0,a.useLayoutEffect)((()=>{if(!s)return t?u(t,n,o):void(i?.current&&u(i.current,n,o))}),[t,i,s,n,o]),t?e:r().createElement("div",{ref:i},e)}},8709:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var a=n(9771);const r=()=>{const{l10n:{locale:e}}=(0,a.getSettings)();if(e)return(e=>{const t=e.match(/^([a-z]{2,3})(_[a-z]{2}|_[a-z][a-z0-9]{4,7})?(?:_.*)?$/i);return t?`${t[1]}${t[2]?t[2]:""}`.replace("_","-"):"en-US"})(e);return window?.window?.navigator?.language??"en-US"}},6895:(e,t,n)=>{"use strict";function a(e,t={}){const n={};let a;if("undefined"!=typeof window&&(a=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),a&&(n.calypso_env=a);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:()=>a})},1132:(e,t,n)=>{let a={};try{a=n(495)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),a={missingConfig:!0}}const r=e=>a.hasOwnProperty(e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return a[e]}}},6186:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(2054),r=n(5033),o=n(5609),i=n(5736),s=n(5162),c=n.n(s),l=n(9196),d=n.n(l),u=n(4814);const __=i.__,p=e=>{const{message:t,isRestoringConnection:n,restoreConnectionCallback:s,restoreConnectionError:c}=e,[l]=(0,a.Z)(["md"],[">"]),p=u.Z.notice+(l?" "+u.Z["bigger-than-medium"]:""),m=d().createElement(o.Icon,{icon:d().createElement(o.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d().createElement(o.Path,{d:"M11.7815 4.93772C11.8767 4.76626 12.1233 4.76626 12.2185 4.93772L20.519 19.8786C20.6116 20.0452 20.4911 20.25 20.3005 20.25H3.69951C3.50889 20.25 3.3884 20.0452 3.48098 19.8786L11.7815 4.93772Z",stroke:"#D63638",strokeWidth:"1.5"}),d().createElement(o.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),d().createElement(o.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"}))});if(!t)return null;if(n)return d().createElement(o.Notice,{status:"error",isDismissible:!1,className:p},d().createElement("div",{className:u.Z.message},d().createElement(r.Z,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-videopress-pkg")));const h=c?d().createElement(o.Notice,{status:"error",isDismissible:!1,className:p+" "+u.Z.error},d().createElement("div",{className:u.Z.message},m,(0,i.sprintf)(/* translators: placeholder is the error. */
__("There was an error reconnecting Jetpack. Error: %s","jetpack-videopress-pkg"),c))):null;return d().createElement(d().Fragment,null,h,d().createElement(o.Notice,{status:"error",isDismissible:!1,className:p},d().createElement("div",{className:u.Z.message},m,t),s&&d().createElement("a",{onClick:s,onKeyDown:s,className:u.Z.button,href:"#"},__("Restore Connection","jetpack-videopress-pkg"))))};p.propTypes={message:c().string.isRequired,restoreConnectionCallback:c().func,isRestoringConnection:c().bool,restoreConnectionError:c().string};const m=p},3892:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(4743),r=n(9818),o=n(9196),i=n(428);const s=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},c=({registrationNonce:e=s.registrationNonce,apiRoot:t=s.apiRoot,apiNonce:n=s.apiNonce,redirectUri:c,autoTrigger:l,from:d,skipUserConnection:u}={})=>{const{registerSite:p,connectUser:m,refreshConnectedPlugins:h}=(0,r.useDispatch)(i.t),g=(0,r.useSelect)((e=>e(i.t).getRegistrationError())),{siteIsRegistering:f,userIsConnecting:v,userConnectionData:y,connectedPlugins:w,connectionErrors:b,isRegistered:E,isUserConnected:k,hasConnectedOwner:C,isOfflineMode:R}=(0,r.useSelect)((e=>({siteIsRegistering:e(i.t).getSiteIsRegistering(),userIsConnecting:e(i.t).getUserIsConnecting(),userConnectionData:e(i.t).getUserConnectionData(),connectedPlugins:e(i.t).getConnectedPlugins(),connectionErrors:e(i.t).getConnectionErrors(),isOfflineMode:e(i.t).getIsOfflineMode(),...e(i.t).getConnectionStatus()}))),Z=()=>u?c?(window.location=c,Promise.resolve(c)):Promise.resolve():m({from:d,redirectUri:c}),P=t=>(t&&t.preventDefault(),E?Z():p({registrationNonce:e,redirectUri:c}).then((()=>Z())));return(0,o.useEffect)((()=>{a.ZP.setApiRoot(t),a.ZP.setApiNonce(n)}),[t,n]),(0,o.useEffect)((()=>{!l||f||v||P()}),[]),{handleRegisterSite:P,handleConnectUser:Z,refreshConnectedPlugins:h,isRegistered:E,isUserConnected:k,siteIsRegistering:f,userIsConnecting:v,registrationError:g,userConnectionData:y,hasConnectedOwner:C,connectedPlugins:w,connectionErrors:b,isOfflineMode:R}}},7711:(e,t,n)=>{"use strict";function a(){switch("undefined"!=typeof window&&window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv){case"development":return"http://calypso.localhost:3000/";case"wpcalypso":return"https://wpcalypso.wordpress.com/";case"horizon":return"https://horizon.wordpress.com/";default:return"https://wordpress.com/"}}n.d(t,{Z:()=>a})},3329:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,h:()=>s});var a=n(6186),r=n(3892),o=n(1045);function i(){const{connectionErrors:e}=(0,r.Z)({}),t=Object.values(e).shift(),n=t&&Object.values(t).length&&Object.values(t).shift().error_message;return{hasConnectionError:Boolean(n),connectionErrorMessage:n}}const s=()=>{const{hasConnectionError:e,connectionErrorMessage:t}=i(),{restoreConnection:n,isRestoringConnection:r,restoreConnectionError:s}=(0,o.Z)();return e?React.createElement(a.Z,{isRestoringConnection:r,restoreConnectionError:s,restoreConnectionCallback:n,message:t}):null}},8258:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var a=n(4743),r=n(7711),o=n(9818),i=n(951),s=n.n(i),c=n(9196),l=n(3892),d=n(428);const u=s()("jetpack:connection:useProductCheckoutWorkflow"),{registrationNonce:p,apiRoot:m,apiNonce:h,siteSuffix:g}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},f="undefined"!=typeof window?window?.myJetpackInitialState?.adminUrl:null;function v({productSlug:e,redirectUrl:t,siteSuffix:n=g,adminUrl:i=f,connectAfterCheckout:s=!1,siteProductAvailabilityHandler:v=null,quantity:y=null,from:w}={}){u("productSlug is %s",e),u("redirectUrl is %s",t),u("siteSuffix is %s",n),u("from is %s",w);const[b,E]=(0,c.useState)(!1),{registerSite:k}=(0,o.useDispatch)(d.t),{isUserConnected:C,isRegistered:R,handleConnectUser:Z}=(0,l.Z)({redirectUri:t,from:w}),P=(0,c.useMemo)((()=>{const a=(0,r.Z)(),o=(!R||!C)&&s,c=new URL(`${a}${o?"checkout/jetpack/":`checkout/${n}/`}${e}${null!=y?`:-q-${y}`:""}`);return o?(c.searchParams.set("connect_after_checkout",!0),c.searchParams.set("admin_url",i),c.searchParams.set("from_site_slug",n)):c.searchParams.set("site",n),c.searchParams.set("source",w),c.searchParams.set("redirect_to",t),C||c.searchParams.set("unlinked","1"),c}),[R,C,s,n,y,e,w,t,i]);u("isRegistered is %s",R),u("isUserConnected is %s",C),u("connectAfterCheckout is %s",s),u("checkoutUrl is %s",P);const _=()=>Promise.resolve(v&&v()).then((e=>{if(e)return u("handleAfterRegistration: Site has a product associated"),Z();u("handleAfterRegistration: Site does not have a product associated. Redirecting to checkout %s",P),window.location.href=P}));return(0,c.useEffect)((()=>{a.ZP.setApiRoot(m),a.ZP.setApiNonce(h)}),[]),{run:e=>(e&&e.preventDefault(),E(!0),s?(u("Redirecting to connectAfterCheckout flow: %s",P),void(window.location.href=P)):R?_():void k({registrationNonce:p,redirectUri:t}).then(_)),isRegistered:R,hasCheckoutStarted:b}}},1045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(4743),r=n(9818),o=n(9196),i=n(428);const{apiRoot:s,apiNonce:c}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function l(){const[e,t]=(0,o.useState)(!1),[n,l]=(0,o.useState)(null),{disconnectUserSuccess:d,setConnectionErrors:u}=(0,r.useDispatch)(i.t);return(0,o.useEffect)((()=>{a.ZP.setApiRoot(s),a.ZP.setApiNonce(c)}),[]),{restoreConnection:(e=!0)=>(t(!0),l(null),a.ZP.reconnect().then((t=>("in_progress"===t.status?(d(),u({}),e&&(window.location.href="/wp-admin/admin.php?page=my-jetpack#/connection")):window.location.reload(),t))).catch((e=>{throw l(e),t(!1),e}))),isRestoringConnection:e,restoreConnectionError:n}}},7523:(e,t,n)=>{"use strict";n.d(t,{LI:()=>o,N4:()=>s,Qo:()=>u,T1:()=>l,TS:()=>d,ZP:()=>k,b5:()=>m,i6:()=>r,qJ:()=>h,qV:()=>c,r7:()=>i,wQ:()=>p});var a=n(4743);const r="SET_CONNECTION_STATUS",o="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",s="SET_USER_IS_CONNECTING",c="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",d="SET_AUTHORIZATION_URL",u="DISCONNECT_USER_SUCCESS",p="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",g=e=>({type:r,connectionStatus:e}),f=e=>({type:i,isRegistering:e}),v=e=>({type:s,isConnecting:e}),y=e=>({type:c,registrationError:e}),w=()=>({type:l}),b=e=>({type:d,authorizationUrl:e}),E=e=>({type:p,connectedPlugins:e});const k={setConnectionStatus:g,setConnectionStatusIsFetching:e=>({type:o,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:f,setUserIsConnecting:v,setRegistrationError:y,clearRegistrationError:w,setAuthorizationUrl:b,registerSite:function*({registrationNonce:e,redirectUri:t}){yield w(),yield f(!0);try{const n=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t};return yield g({isRegistered:!0}),yield b(n.authorizeUrl),yield f(!1),Promise.resolve(n)}catch(e){return yield y(e),yield f(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:n}={}){yield v(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}},disconnectUserSuccess:()=>({type:u}),setConnectedPlugins:E,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>a.ZP.fetchConnectedPlugins().then((n=>{e(E(n)),t(n)})))),setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},1432:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(4743),r=n(9818),o=n(7057);const i={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>a.ZP.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t})=>a.ZP.registerSite(e,t),CONNECT_USER:(0,r.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:n,redirectUri:a}={})=>new Promise(((r,i)=>{e(o.Z).getAuthorizationUrl(a).then((e=>{const a=n||(e=>window.location.assign(e)),o=new URL(e);t&&o.searchParams.set("from",encodeURIComponent(t));const i=o.toString();a(i),r(i)})).catch((e=>{i(e)}))}))))}},1479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818),r=n(7523);const o=(0,a.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case r.i6:return{...e,...t.connectionStatus};case r.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===r.LI?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===r.r7?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===r.N4?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case r.T1:return!1;case r.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===r.wQ?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===r.b5?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===r.qJ?t.isConnecting:e})},7728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(9818),r=n(7523),o=n(7057);const i={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const n=Boolean(e.authorizationUrl),r=(0,a.select)(o.Z).hasFinishedResolution("getAuthorizationUrl",t);return n&&!r&&(0,a.dispatch)(o.Z).finishResolution("getAuthorizationUrl",t),n},*fulfill(e){const t=yield r.ZP.fetchAuthorizationUrl(e);yield r.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},2725:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},3535:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818);class r{static store=null;static mayBeInit(e,t){null===r.store&&(r.store=(0,a.createReduxStore)(e,t),(0,a.register)(r.store))}}const o=r},7057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a="jetpack-connection"},428:(e,t,n)=>{"use strict";n.d(t,{t:()=>l.Z});var a=n(7523),r=n(1432),o=n(1479),i=n(7728),s=n(2725),c=n(3535),l=n(7057);const d=window.JP_CONNECTION_INITIAL_STATE;d||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),c.Z.mayBeInit(l.Z,{__experimentalUseThunks:!0,reducer:o.Z,actions:a.ZP,selectors:s.Z,resolvers:i.Z,controls:r.Z,initialState:d||{}})},7470:(e,t,n)=>{"use strict";n.d(t,{Z:()=>F});var a=n(2054),r=n(9105),o=n(9191),i=n(5106),s=n(216),c=n(3363),l=n(3846),d=n(526),u=n(6579),p=n(857),m=n(3329),h=n(8258),g=n(5609),f=n(9818),v=n(5736),y=n(5235),w=n.n(y),b=n(9196),E=n(4817),k=n(5371),C=n(7778),R=n(1173),Z=n(2458),P=n(7498),_=n(4486),S=n(6282),x=n(671),N=n(9862),j=n(8371),V=n(3042),z=n(3134),T=n(8213),U=n(7302),O=n(4189);const __=v.__,F=()=>{const{videos:e,uploadedVideoCount:t,localVideos:n,uploadedLocalVideoCount:p,hasVideos:h,hasLocalVideos:v,handleFilesUpload:y,handleLocalVideoUpload:F,loading:I,uploading:A,hasVideoPressPurchase:L}=(()=>{const{uploadVideo:e,uploadVideoFromLibrary:t,setVideosQuery:n}=(0,f.useDispatch)(E.tT),{items:a,uploading:r,uploadedVideoCount:o,isFetching:i,search:s,page:c,itemsPerPage:l,total:d}=(0,x.ZP)(),{items:u,uploadedLocalVideoCount:p}=(0,x._4)(),{hasVideoPressPurchase:m}=(0,P.g)(),h=(0,b.useRef)(c),g=(0,_.l)(),v=parseInt(g.getParam("page","1")),y=g.getParam("q",""),w=Math.ceil(d/l);(0,b.useEffect)((()=>0===d&&1!==v||d>0&&(v<1||v>w)?(g.deleteParam("page"),void g.update()):void(c===v?s===y||n({search:y}):c!==h.current?(h.current=c,g.setParam("page",c),g.update()):(h.current=v,n({page:v})))),[w,c,v,s,y,h.current]);let C=c>1||Boolean(s)?a:[...r,...a];const R=o>0||i||r?.length>0,Z=p>0;if(i){const e=Math.max(1,Math.min(l,o-l*(c-1)));C=new Array(e).fill({}).map((()=>({id:(0,k.Z)()})))}return{videos:C,localVideos:u,uploadedVideoCount:o,uploadedLocalVideoCount:p,hasVideos:R,hasLocalVideos:Z,handleFilesUpload:t=>{m?t.forEach((t=>{e(t)})):t.length>0&&e(t[0])},handleLocalVideoUpload:e=>{t(e)},loading:i,uploading:r?.length>0,hasVideoPressPurchase:m}})(),{canPerformAction:D,isRegistered:H,hasConnectedOwner:B,isUserConnected:$}=(0,Z.g)(),{hasConnectionError:q}=(0,m.Z)(),[G,J]=(0,b.useState)(!H),[W]=(0,a.Z)("sm"),K=(L||!h)&&D,{isDraggingOver:Q,inputRef:X,handleFileInputChangeEvent:Y,filterVideoFiles:ee}=(0,S.Z)({canDrop:K&&!I,dropElement:document,onSelectFiles:y});return(0,R.Z)({pageViewEventName:"jetpack_videopress_admin_page_view"}),React.createElement(r.Z,{moduleName:__("Jetpack VideoPress","jetpack-videopress-pkg"),header:React.createElement(o.Z,null)},React.createElement("div",{className:w()(O.Z["files-overlay"],{[O.Z.hover]:Q&&K&&!I})},React.createElement(i.ZP,{className:O.Z["drop-text"],variant:"headline-medium"},__("Drop files to upload","jetpack-videopress-pkg")),React.createElement("input",{ref:X,type:"file",accept:C.EW,className:O.Z["file-input"],onChange:Y})),G?React.createElement(s.Z,null,React.createElement(c.Z,{horizontalSpacing:3,horizontalGap:3},React.createElement(l.Z,{sm:4,md:8,lg:12},React.createElement(j.Z,{onRedirecting:()=>J(!0)})))):React.createElement(React.Fragment,null,React.createElement(s.Z,null,React.createElement(c.Z,{horizontalSpacing:0},React.createElement(l.Z,null,React.createElement("div",{id:"jp-admin-notices",className:O.Z["jetpack-videopress-jitm-card"]}))),React.createElement(c.Z,{horizontalSpacing:6,horizontalGap:3},q&&React.createElement(l.Z,null,React.createElement(m.h,null)),(!B||!$)&&React.createElement(l.Z,{sm:4,md:8,lg:12},React.createElement(N.f,null)),React.createElement(l.Z,{sm:4,md:4,lg:8},React.createElement(i.ZP,{variant:"headline-small",mb:3},__("High quality, ad-free video","jetpack-videopress-pkg")),L&&React.createElement(z.e,{className:O.Z["storage-meter"],progressBarClassName:O.Z["storage-meter__progress-bar"]}),h?React.createElement(g.FormFileUpload,{onChange:e=>y(ee(e.currentTarget.files)),accept:C.EW,multiple:L,render:({openFileDialog:e})=>React.createElement(d.Z,{fullWidth:W,onClick:e,isLoading:I,disabled:!K},__("Add new video","jetpack-videopress-pkg"))}):React.createElement(i.ZP,{variant:"title-medium"},__("Let's add your first video below!","jetpack-videopress-pkg")),!L&&React.createElement(M,{hasUsedVideo:h})))),React.createElement(u.Z,null,React.createElement(c.Z,{horizontalSpacing:6,horizontalGap:10},h?React.createElement(l.Z,{sm:4,md:6,lg:12},React.createElement(U.e,{videos:e,totalVideos:t,loading:I})):React.createElement(l.Z,{sm:4,md:6,lg:12,className:O.Z["first-video-wrapper"]},React.createElement(T.Z,{className:O.Z["upload-area"],onSelectFiles:y})),v&&React.createElement(l.Z,{sm:4,md:6,lg:12},React.createElement(U.D,{videos:n,totalVideos:p,onUploadClick:F,uploading:A})))),React.createElement(u.Z,null,React.createElement(V.b,null))))},M=({hasUsedVideo:e=!1})=>{const{adminUrl:t,siteSuffix:n}=window.jetpackVideoPressInitialState,{product:a,hasVideoPressPurchase:r,isFetchingPurchases:o}=(0,P.g)(),{run:i}=(0,h.Z)({siteSuffix:n,productSlug:a.productSlug,redirectUrl:t,isFetchingPurchases:o}),{recordEventHandler:s}=(0,R.Z)({}),c=s("jetpack_videopress_upgrade_trigger_link_click",i),l=e?__("You have used your free video upload","jetpack-videopress-pkg"):"",d=__("Upgrade now to unlock unlimited videos, 1TB of storage, and more!","jetpack-videopress-pkg");return r||o?null:React.createElement(p.Z,{description:l,cta:d,className:O.Z["upgrade-trigger"],onClick:c})}},7302:(e,t,n)=>{"use strict";n.d(t,{D:()=>S,e:()=>_});var a=n(2054),r=n(5106),o=n(526),i=n(9307),s=n(5736),c=n(6376),l=n(7182),d=n(5235),u=n.n(d),p=n(9196),m=n.n(p),h=n(4498),g=n(4486),f=n(671),v=n(5801),y=n(3808),w=n(2913),b=n(6190),E=n(69),k=n(4189);const __=s.__,C="videopress-library-type",R="list",Z="grid",P=({children:e,totalVideos:t=0,libraryType:n=R,onChangeType:i,hideFilter:d=!1,title:h,disabled:y})=>{const{isFetching:b}=(0,f.ZP)(),E=(0,g.l)(),C=E.getParam("q",""),[Z,P]=(0,p.useState)(C),[_]=(0,a.Z)("lg"),[S,x]=(0,p.useState)(!1),N=__("1 Video","jetpack-videopress-pkg"),j=(0,s.sprintf)(/* translators: placeholder is the number of videos */
__("%s Videos","jetpack-videopress-pkg"),t),V=1===t?N:j;return m().createElement("div",{className:k.Z["library-wrapper"]},m().createElement(r.ZP,{variant:"headline-small",mb:1},h),!_&&m().createElement(r.ZP,{className:k.Z["total-sm"]},V),m().createElement("div",{className:k.Z["total-filter-wrapper"]},_&&m().createElement(r.ZP,null,V),d?null:m().createElement("div",{className:k.Z["filter-wrapper"]},m().createElement(v.Mj,{className:u()(k.Z["search-input"],{[k.Z.small]:!_}),onSearch:e=>{E.deleteParam("page"),e?E.setParam("q",e):E.deleteParam("q"),E.update()},value:Z,loading:b,onChange:P,disabled:y}),m().createElement(w.Lb,{onClick:()=>x((e=>!e)),isActive:S,disabled:y}),m().createElement(o.Z,{variant:"tertiary",size:"small",icon:n===R?c.Z:l.Z,onClick:i}))),S&&m().createElement(w.wW,{className:k.Z["filter-section"]}),e)},_=({videos:e,totalVideos:t,loading:n})=>{const a=(0,h.k6)(),{search:o}=(0,f.ZP)(),c=[...e.filter((e=>e.uploading)),...e.filter((e=>!e.uploading)).slice(0,6)],l=localStorage.getItem(C),[d,u]=(0,p.useState)(l??Z),g=e?.some?.((e=>e.uploading)),v=e=>{a.push(`/video/${e?.id}/edit`)},w=d===Z?m().createElement(b.Z,{videos:c,onVideoDetailsClick:v,loading:n,count:g?c.length:6}):m().createElement(E.Z,{videos:c,onVideoDetailsClick:v,hidePlays:!0,loading:n});return m().createElement(P,{totalVideos:t,onChangeType:()=>{u((e=>{const t=e===Z?R:Z;return localStorage.setItem(C,t),t}))},libraryType:d,title:__("Your VideoPress library","jetpack-videopress-pkg")},c.length>0||n?w:m().createElement(r.ZP,null,o.trim()?(0,i.createInterpolateElement)((0,s.sprintf)(/* translators: placeholder is the search term */
__("No videos match your search for <em>%s</em>.","jetpack-videopress-pkg"),o),{em:m().createElement("em",{className:k.Z["query-no-results"]})}):__("No videos match your filtering criteria.","jetpack-videopress-pkg")),m().createElement(y.yS,{className:k.Z.pagination}))},S=({videos:e,totalVideos:t,loading:n,uploading:a,onUploadClick:r})=>m().createElement(P,{totalVideos:t,hideFilter:!0,title:__("Local videos","jetpack-videopress-pkg")},m().createElement(E.C,{videos:e,loading:n,onActionClick:r,uploading:a}),m().createElement(y.pg,{className:k.Z.pagination}))},4365:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(2674),r=n.n(a),o=n(5235),i=n.n(o),s=n(9196),c=n(5758);const l=(0,s.forwardRef)((({checked:e,onChange:t,className:n,...a},o)=>React.createElement("input",r()({},a,{ref:o,type:"checkbox",checked:e,className:i()(n,c.Z.checkbox),onChange:e=>{t?.(e.target.checked)}}))));l.displayName="Checkbox";const d=l},3673:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(526),r=n(4333),o=n(5736),i=n(9196),s=n(1620);const __=o.__,c=({text:e,value:t,onCopy:n,resetTime:o=3e3})=>{const c=__("Copied!","jetpack-videopress-pkg"),l=__("Copy","jetpack-videopress-pkg"),[d,u]=(0,i.useState)(!1),p=t||e,m=(0,r.useCopyToClipboard)(p,(()=>{const e=setTimeout((()=>{u(!1),clearTimeout(e)}),o);u(!0),n?.()}));return React.createElement("div",{className:s.Z.wrapper},React.createElement("input",{type:"text",value:e||t,onClick:e=>{e.currentTarget.select()},readOnly:!0}),React.createElement(a.Z,{weight:"regular",variant:"secondary",size:"small",ref:m},d?c:l))}},2057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(8275),r=n(5106),o=n(526),i=n(5609),s=n(5736),c=n(4236);const __=s.__,l=({onClose:e,onDelete:t})=>React.createElement(i.Modal,{title:__("Delete video","jetpack-videopress-pkg"),onRequestClose:e,className:c.Z["delete-video-modal"]},React.createElement(a.ZP,null,React.createElement("div",null,React.createElement(r.ZP,null,__("This action cannot be undone.","jetpack-videopress-pkg")),React.createElement("div",{className:c.Z["modal-actions"]},React.createElement(o.Z,{className:c.Z["modal-action-button"],variant:"secondary",weight:"bold",onClick:e},__("Cancel","jetpack-videopress-pkg")),React.createElement(o.Z,{className:c.Z["modal-action-button"],isDestructive:!0,variant:"primary",weight:"bold",onClick:t},__("Delete","jetpack-videopress-pkg"))))))},9420:(e,t,n)=>{"use strict";n.d(t,{Z:()=>B});var a=n(2054),r=n(9191),o=n(5106),i=n(526),s=n(2636),c=n(9105),l=n(6579),d=n(3363),u=n(3846),p=n(5609),m=n(5736),h=n(1074),g=n(6990),f=n(3259),v=n(3618),y=n(5235),w=n.n(y),b=n(9196),E=n(4498),k=n(7453),C=n(6029),R=n(6171),Z=n(6600),P=n(1875),_=n(7535),S=n(1048),x=n(4391),N=n(2458),j=n(2472),V=n(671),z=n(5801),T=n(6199),U=n(6534),O=n(8970),F=n(2101),M=n(8339),I=n(9294);const __=m.__,A=()=>{},L=({saveDisabled:e=!0,disabled:t=!1,onSaveChanges:n,onDelete:s,videoId:c})=>{const[l]=(0,a.Z)("sm"),d=(0,E.k6)();return React.createElement("div",{className:w()(M.Z["header-wrapper"],{[M.Z.small]:l})},React.createElement("button",{onClick:()=>d.push("/"),className:M.Z["logo-button"]},React.createElement(r.Z,null)),React.createElement("div",{className:M.Z["header-content"]},React.createElement("div",{className:M.Z.breadcrumb},!l&&React.createElement(h.Z,{icon:g.Z}),React.createElement(o.ZP,null,__("Edit video details","jetpack-videopress-pkg"))),React.createElement("div",{className:M.Z.buttons},React.createElement(i.Z,{disabled:e||t,onClick:n,isLoading:t},__("Save changes","jetpack-videopress-pkg")),React.createElement(U.Z,{videoId:c,disabled:t,onDelete:s}))))},D=()=>{const{page:e}=(0,V.Eo)(),t=e>1?`/?page=${e}`:"/";return React.createElement("div",{className:M.Z["back-link"]},React.createElement(k.rU,{to:t,className:M.Z.link},React.createElement(h.Z,{icon:f.Z,className:M.Z.icon}),__("Go back","jetpack-videopress-pkg")))},H=({title:e,onChangeTitle:t,description:n,onChangeDescription:a,loading:r=!1,disabled:o=!1})=>{const{hasIncompleteChapters:i}=(0,S.Z)(n);return React.createElement(React.Fragment,null,r?React.createElement(s.Z,{height:88}):React.createElement(z.ZP,{value:e,label:__("Title","jetpack-videopress-pkg"),name:"title",onChange:t,onEnter:A,disabled:o,size:"large"}),r?React.createElement(s.Z,{height:133,className:M.Z.input}):React.createElement(React.Fragment,null,React.createElement(z.ZP,{value:n,className:M.Z.input,label:__("Description","jetpack-videopress-pkg"),name:"description",onChange:a,onEnter:A,disabled:o,type:"textarea",size:"large",rows:8}),React.createElement("div",{className:M.Z["chapters-help-container"]},i?React.createElement(P.Z,{className:M.Z["incomplete-chapters-notice"]}):React.createElement("div",{className:M.Z["learn-more"]},React.createElement(C.Z,null)))))},B=()=>{const{guid:e,id:t,duration:n,posterImage:a,filename:r,uploadDate:i,url:m,width:g,height:f,title:y,description:k,rating:C,privacySetting:P,allowDownload:S,displayEmbed:z,isPrivate:U,isFetchingPlaybackToken:A,hasChanges:B,updating:$,updated:q,deleted:G,isFetching:J,isDeleting:W,handleSaveChanges:K,handleDelete:Q,setTitle:X,setDescription:Y,setRating:ee,setPrivacySetting:te,setAllowDownload:ne,setDisplayEmbed:ae,processing:re,useVideoAsThumbnail:oe,selectedTime:ie,handleConfirmFrame:se,handleCloseSelectFrame:ce,handleOpenSelectFrame:le,handleVideoFrameSelected:de,frameSelectorIsOpen:ue,selectPosterImageFromLibrary:pe,posterImageSource:me,libraryAttachment:he}=(0,I.Z)(),{canPerformAction:ge}=(0,N.g)(),fe=__("There are unsaved changes. Are you sure you want to exit?","jetpack-videopress-pkg");(0,j.Z)({shouldPrevent:B&&!q&&!G&&ge,message:fe});const ve=(0,E.k6)(),{page:ye}=(0,V.Eo)();(0,b.useEffect)((()=>{if(!0===G){const e=ye>1?`/?page=${ye}`:"/";ve.push(e)}}),[G]),ge||ve.push("/");let we=a;"video"===me&&oe?we=React.createElement(_.Y,{src:m,currentTime:ie}):"upload"===me&&(we=he.url);const be=J||A,Ee=W||$,ke=`[videopress ${e}${g?` w=${g}`:""}${f?` h=${f}`:""}]`;return React.createElement(React.Fragment,null,React.createElement(E.NL,{when:B&&!q&&!G,message:fe}),ue&&React.createElement(F.Z,{handleCloseSelectFrame:ce,url:m,handleVideoFrameSelected:de,selectedTime:ie,handleConfirmFrame:se}),React.createElement(c.Z,{moduleName:__("Jetpack VideoPress","jetpack-videopress-pkg"),header:React.createElement(React.Fragment,null,React.createElement("div",{id:"jp-admin-notices",className:M.Z["jetpack-videopress-jitm-card"]}),React.createElement(D,null),React.createElement(L,{onSaveChanges:K,onDelete:Q,saveDisabled:!B,disabled:Ee||be,videoId:t}))},React.createElement(l.Z,null,React.createElement(d.Z,{horizontalSpacing:6,horizontalGap:10},React.createElement(u.Z,{sm:4,md:8,lg:7},React.createElement(H,{title:y??"",onChangeTitle:X,description:k??"",onChangeDescription:Y,loading:be,disabled:Ee})),React.createElement(u.Z,{sm:4,md:8,lg:{start:9,end:12}},React.createElement(O.ZP,{thumbnail:we,loading:be,processing:re,deleting:W,updating:$,duration:n,editable:!0,onSelectFromVideo:le,onUploadImage:pe}),React.createElement(T.Z,{filename:r??"",uploadDate:i??"",shortcode:ke??"",loading:be,guid:e,isPrivate:U}),React.createElement("div",{className:M.Z["side-fields"]},be?React.createElement(s.Z,{height:40,className:w()(M.Z.field)}):React.createElement(p.SelectControl,{className:M.Z.field,value:P,label:__("Privacy","jetpack-videopress-pkg"),onChange:e=>te(e),disabled:Ee,prefix:React.createElement("div",{className:M.Z["privacy-icon"]},React.createElement(h.Z,{icon:P===x.$A&&Z.Z||P===x.UJ&&R.Z||P===x.O1&&v.Z})),options:[{label:__("Site default","jetpack-videopress-pkg"),value:x.O1},{label:__("Public","jetpack-videopress-pkg"),value:x.$A},{label:__("Private","jetpack-videopress-pkg"),value:x.UJ}]}),be?React.createElement(s.Z,{height:40,className:w()(M.Z.field)}):React.createElement(React.Fragment,null,React.createElement(o.ZP,{className:w()(M.Z.field,M.Z.checkboxTitle)},__("Share","jetpack-videopress-pkg")),React.createElement(p.CheckboxControl,{checked:z,disabled:Ee,label:__("Display share menu and allow viewers to copy a link or embed this video","jetpack-videopress-pkg"),onChange:e=>ae(e?1:0)})),be?React.createElement(s.Z,{height:40,className:w()(M.Z.field)}):React.createElement(React.Fragment,null,React.createElement(o.ZP,{className:w()(M.Z.field,M.Z.checkboxTitle)},__("Download","jetpack-videopress-pkg")),React.createElement(p.CheckboxControl,{checked:S,disabled:Ee,label:__("Display download option and allow viewers to download this video","jetpack-videopress-pkg"),onChange:e=>ne(e?1:0)})),Ee||be?React.createElement(s.Z,{height:40,className:w()(M.Z.field)}):React.createElement(p.RadioControl,{className:w()(M.Z.field,M.Z.rating),label:__("Rating","jetpack-videopress-pkg"),selected:C,options:[{label:__("G","jetpack-videopress-pkg"),value:x.x4},{label:__("PG-13","jetpack-videopress-pkg"),value:x.pf},{label:__("R","jetpack-videopress-pkg"),value:x.Gr}],onChange:ee})))))))}},9294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var a=n(3892),r=n(9818),o=n(5736),i=n(951),s=n.n(i),c=n(9196),l=n(4498),d=n(5134),u=n(5955),p=n(2198),m=n(4817),h=n(4391),g=n(172),f=n(2677),v=n(5304),y=n(2630),w=n(7698),b=n(7647);const __=o.__,E=s()("videopress:use-edit-details"),k=()=>{const e=(0,l.k6)(),t=(0,r.useDispatch)(m.tT),{isRegistered:n}=(0,a.Z)();n||e.push("/");const{videoId:o}=(0,l.UO)(),i=Number(o),{data:s,isFetching:k,processing:C,isDeleting:R,updateVideoPrivacy:Z}=(0,b.Z)(Number(i),!0),{playbackToken:P,isFetchingPlaybackToken:_}=(0,y.Z)(s),[S,x]=(0,c.useState)(null),[N,j]=(0,c.useState)(null),[V,z]=(0,c.useState)(null),[T,U]=(0,c.useState)(!1),[O,F]=(0,c.useState)(!1),[M,I]=(0,c.useState)(!1),[A,L]=(0,c.useState)({title:s?.title,description:s?.description,privacySetting:h.Vz[s?.privacySetting],rating:s?.rating,allowDownload:s?.allowDownload,displayEmbed:s?.displayEmbed}),{selectedTime:D,setVideoFrameMs:H,updatePosterImageFromFrame:B,selectAttachmentFromLibrary:$,updatePosterImageFromLibrary:q,...G}=(0,w.Z)({video:s}),{metaChanged:J,handleMetaUpdate:W,hasFieldChanged:K,hasPrivacySettingChanged:Q,...X}=(({videoId:e,formData:t,video:n,updateData:a})=>{const r=(0,d.Z)(e),o=e=>void 0===e||""===e,i=e=>{const a=t?.[e],r=n?.[e],i=a!==r;return!(o(a)&&o(r))&&i},s=["title","description","rating","allowDownload","displayEmbed"].some((e=>i(e)));return{setTitle:e=>{a({title:e})},setDescription:e=>{a({description:e})},setPrivacySetting:e=>{a({privacySetting:e})},setRating:e=>{a({rating:e})},setAllowDownload:e=>{a({allowDownload:e})},setDisplayEmbed:e=>{a({displayEmbed:e})},handleMetaUpdate:()=>new Promise(((e,n)=>{s?r(t).then(e).catch(n):e(null)})),metaChanged:s,hasFieldChanged:i,hasPrivacySettingChanged:()=>{const e=t?.privacySetting,a=n?.privacySetting,r=e!==h.Vz[a];return!(o(e)&&o(a))&&r}}})({videoId:i,video:s,formData:A,updateData:e=>{L((t=>({...t,...e})))}});(0,c.useEffect)((()=>{null!=D&&z("video")}),[D]);const Y=J||null!=D||S!==N||Q(),ee=async()=>{if(K("description")){const e=(0,g.ZP)(A.description);if(A.description.length&&(0,v.Z)(e)){E("Autogenerated chapters detected. Processing...");let e=!1;try{const t=await(0,u.B)({guid:s.guid,isPrivate:s.isPrivate}),n=t?.tracks?.chapters?.en?.src,a="string"==typeof n;if(a){const t=`https://videos.files.wordpress.com/${s.guid}/${n}`;e=await(0,p.ss)(t,{guid:s.guid,isPrivate:s.isPrivate}),E("Chapter %o detected. Overwritable: %o",n,e?"yes":"no")}else E("Allow overwrite chapter: File does not exist");if(!a||e){const e={label:__("English (auto-generated)","jetpack-videopress-pkg"),srcLang:"en",kind:"chapters",tmpFile:(0,f.ZP)(A.description)};return E("Autogenerated track: %o",e),(0,p.nb)(e,s.guid)}}catch(e){E("Error on chapters processing",e)}}}return null},te=k&&void 0===A?.title&&void 0===A?.description;return(0,c.useEffect)((()=>{let e=!0;return!te&&e&&L({title:s?.title,description:s?.description,privacySetting:h.Vz[s?.privacySetting],rating:s?.rating,allowDownload:s?.allowDownload,displayEmbed:s?.displayEmbed}),()=>{e=!1}}),[te]),{playbackToken:P,isFetchingPlaybackToken:_,...s,...A,hasChanges:Y,posterImageSource:V,libraryAttachment:S,selectPosterImageFromLibrary:async()=>{const e=await $();e&&(x(e),z("upload"))},handleSaveChanges:()=>{U(!0);const e=[W(),ee()];"video"===V?e.push(B()):"upload"===V&&e.push(q(S.id)),K("privacySetting")&&e.push(Z(A.privacySetting)),Promise.allSettled(e).then((()=>{const e={...s,...A};delete e.posterImage,delete e.privacySetting,H(null),j(S),U(!1),t?.setVideo(e),F(!0)}))},handleDelete:()=>{I(!0)},isFetching:k,processing:C,isDeleting:R,updating:T,updated:O,deleted:M,selectedTime:D,...X,...G}}},9862:(e,t,n)=>{"use strict";n.d(t,{f:()=>v});var a=n(3892),r=n(5609),o=n(5736),i=n(797),s=n(496),c=n(9201),l=n(1074),d=n(5235),u=n.n(d),p=n(9196),m=n.n(p),h=n(2311);const __=o.__,g=e=>{switch(e){case"error":case"warning":default:return i.Z;case"info":return s.Z;case"success":return c.Z}};function f({status:e="error",isDismissible:t=!1,className:n,children:a,actions:o,onRemove:i}){const s=u()(n,h.Z.notice,h.Z[`is-${e}`]);return m().createElement(r.Notice,{status:e,isDismissible:t,onRemove:i,className:s,actions:o},m().createElement(l.Z,{icon:g(e),className:h.Z.icon}),m().createElement("div",{className:h.Z.message},a))}const v=()=>{const{adminUri:e,registrationNonce:t}=window.jetpackVideoPressInitialState,{hasConnectedOwner:n,handleRegisterSite:r}=(0,a.Z)({redirectUri:e,from:"jetpack-videopress",registrationNonce:t});return n?null:m().createElement(f,{addConnectUserLink:!0,actions:[{label:__("Connect your user account to fix this","jetpack-videopress-pkg"),onClick:r,variant:"link",noDefaultClasses:!0}]},__("Some actions need a user connection to WordPress.com to be able to work","jetpack-videopress-pkg"))}},5801:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>y,ZP:()=>w});var a=n(2674),r=n.n(a),o=n(5106),i=n(3396),s=n(5609),c=n(4333),l=n(5736),d=n(1074),u=n(6163),p=n(5235),m=n.n(p),h=n(9196),g=n(947);const __=l.__,f=({className:e,disabled:t=!1,loading:n=!1,icon:a=null,endAdornment:o=null,onChange:i,onEnter:c,size:l="small",...d})=>{const u=(0,h.useCallback)((e=>{null!=i&&i(e.currentTarget.value)}),[i]),p=(0,h.useCallback)((e=>{null!=c&&["Enter","NumpadEnter"].includes(e.code)&&c(e.currentTarget.value)}),[c]),f={className:m()(g.Z.input,{[g.Z["with-icon"]]:null!=a}),onChange:u,onKeyUp:p,disabled:t,"aria-disabled":t},v="textarea"===d?.type;return React.createElement("div",{className:m()(e,g.Z["input-wrapper"],{[g.Z.disabled]:t,[g.Z.large]:"large"===l,[g.Z["is-textarea"]]:v})},v?React.createElement("textarea",r()({},d,f)):React.createElement(React.Fragment,null,n||a?React.createElement("div",{className:m()(g.Z["icon-wrapper"],{[g.Z.loader]:n})},n?React.createElement(s.Spinner,null):a):null,React.createElement("input",r()({},d,f,{value:d.value})),o))},v=({name:e,label:t,className:n,size:a="small",...i})=>t?React.createElement("div",{className:n},React.createElement(o.ZP,{component:"label",variant:"small"===a?"body-small":"body",htmlFor:e,mb:1,className:g.Z.label},t),React.createElement(f,r()({name:e,size:a},i))):React.createElement(f,r()({className:n,size:a},i)),y=({placeholder:e=__("Search your library","jetpack-videopress-pkg"),onSearch:t,wait:n=500,...a})=>{const o=(0,c.useDebounce)(t,n),s=(0,h.useCallback)((e=>{a.onEnter?.(e),t(e)}),[a.onEnter,t]),l=(0,h.useCallback)((e=>{a.onChange?.(e),o(e)}),[a.onChange]),p=(0,h.useCallback)((()=>{a.onChange?.(""),t("")}),[a.onChange]);return React.createElement(v,r()({},a,{icon:React.createElement(i.W1,{size:24}),placeholder:e,type:"text",onEnter:s,onChange:l,endAdornment:React.createElement(React.Fragment,null,Boolean(a.value)&&React.createElement("div",{className:m()(g.Z["icon-wrapper"])},React.createElement(d.Z,{icon:u.Z,onClick:p,className:m()(g.Z["clear-icon"])})))}))},w=v},3808:(e,t,n)=>{"use strict";n.d(t,{pg:()=>w,yS:()=>y});var a=n(2674),r=n.n(a),o=n(526),i=n(5106),s=n(1074),c=n(2800),l=n(2457),d=n(5235),u=n.n(d),p=n(4486),m=n(671),h=n(4553);const g=(e,t)=>[...Array(t)].map(((t,n)=>n+e)),f=()=>React.createElement(o.Z,{size:"small",className:u()(h.Z.button),variant:"tertiary",disabled:!0,"aria-disabled":!0},React.createElement(i.ZP,null,"...")),v=({className:e,currentPage:t=1,perPage:n,total:a,minColumns:r=7,disabled:i,onChangePage:d})=>{if(!a||!n)return null;const p=Math.ceil(a/n);if(t>p)return d(p),null;if(t<1)return d(1),null;const m=({page:e})=>{const n=e===t;return React.createElement(o.Z,{size:"small",className:u()(h.Z.button,n?h.Z.selected:null),variant:n?"primary":"tertiary",disabled:i,"aria-disabled":i,onClick:()=>d(e)},e)};let v,y=Math.max(r,7);if(y=y%2==0?y+1:y,p<=y)v=g(1,p).map((e=>React.createElement(m,{page:e,key:e})));else if(t<y-2)v=React.createElement(React.Fragment,null,g(1,y-2).map((e=>React.createElement(m,{page:e,key:e}))),React.createElement(f,null),React.createElement(m,{page:p}));else if(t>p-y+3)v=React.createElement(React.Fragment,null,React.createElement(m,{page:1}),React.createElement(f,null),g(p-y+3,y-2).map((e=>React.createElement(m,{page:e,key:e}))));else{const e=(y-5)/2;v=React.createElement(React.Fragment,null,g(1,e).map((e=>React.createElement(m,{page:e,key:e}))),React.createElement(f,null),g(t-1,3).map((e=>React.createElement(m,{page:e,key:e}))),React.createElement(f,null),g(p-e+1,e).map((e=>React.createElement(m,{page:e,key:e}))))}return React.createElement("div",{className:u()(e,h.Z.wrapper)},React.createElement(o.Z,{size:"small",className:u()(h.Z.navigation,h.Z.button),variant:"tertiary",disabled:i||1===t,"aria-disabled":i||1===t,onClick:()=>d(Math.max(1,t-1))},React.createElement(s.Z,{icon:c.Z})),v,React.createElement(o.Z,{size:"small",className:u()(h.Z.navigation,h.Z.button),variant:"tertiary",disabled:i||t===p,"aria-disabled":i||t===p,onClick:()=>d(Math.min(p,t+1))},React.createElement(s.Z,{icon:l.Z})))},y=e=>{const t=(0,p.l)(),{page:n,itemsPerPage:a,total:o,isFetching:i}=(0,m.ZP)();return o<=a?React.createElement("div",{className:u()(e.className,h.Z["pagination-placeholder"])}):React.createElement(v,r()({},e,{perPage:a,onChangePage:e=>{e>1?t.setParam("page",e):t.deleteParam("page"),t.update()},currentPage:n,total:o,disabled:i||e.disabled}))},w=e=>{const{setPage:t,page:n,itemsPerPage:a,total:o,isFetching:i}=(0,m._4)();return o<a?React.createElement("div",{className:u()(e.className,h.Z["pagination-placeholder"])}):React.createElement(v,r()({},e,{perPage:a,onChangePage:t,currentPage:n,total:o,disabled:i||e.disabled}))}},8371:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(9608),r=n(5347),o=n(526),i=n(3892),s=n(8258),c=n(5736),l=n(9196),d=n(7498);const __=c.__,u=({onRedirecting:e})=>{const{siteSuffix:t,adminUri:n,registrationNonce:u}=window.jetpackVideoPressInitialState,{siteProduct:p,productPrice:m}=(0,d.g)(),{yearly:h}=m,{handleRegisterSite:g,userIsConnecting:f}=(0,i.Z)({redirectUri:n,from:"jetpack-videopress",registrationNonce:u}),[v,y]=(0,l.useState)(!1),{run:w,hasCheckoutStarted:b}=(0,s.Z)({siteSuffix:t,productSlug:h?.slug,redirectUrl:n}),E=p.features.map((e=>({name:e})));return React.createElement(a.ZP,{title:p.description,items:E},React.createElement(a.oK,{primary:!0},React.createElement(a.NE,null,React.createElement(r.Z,{offPrice:h?.discount?h.salePriceByMonth:null,price:h.priceByMonth,promoLabel:h?.discount?(0,c.sprintf)(/* translators: placeholder is the number of videos */
__("%1$s%% off","jetpack-videopress-pkg"),h.discount):null,legend:__("/month, billed yearly","jetpack-videopress-pkg"),currency:h.currency}),React.createElement(o.Z,{onClick:()=>{e?.(),w()},isLoading:b,fullWidth:!0,disabled:v||b||f},__("Get VideoPress","jetpack-videopress-pkg"))),React.createElement(a.kF,{isIncluded:!0}),React.createElement(a.kF,{isIncluded:!0}),React.createElement(a.kF,{isIncluded:!0}),React.createElement(a.kF,{isIncluded:!0})),React.createElement(a.oK,null,React.createElement(a.NE,null,React.createElement(r.Z,{price:0,legend:"",currency:h.currency,hidePriceFraction:!0}),React.createElement(o.Z,{fullWidth:!0,variant:"secondary",onClick:()=>{y(!0),g(),e?.()},isLoading:f||v,disabled:f||v||b},__("Start for free","jetpack-videopress-pkg"))),React.createElement(a.kF,{isIncluded:!1,label:React.createElement("strong",null,__("Upload one video","jetpack-videopress-pkg"))}),React.createElement(a.kF,{isIncluded:!0}),React.createElement(a.kF,{isIncluded:!1}),React.createElement(a.kF,{isIncluded:!1})))}},602:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(4471),r=n(5106),o=n(9818),i=n(5736),s=n(6483),c=n(4817),l=n(7647),d=n(671),u=n(8270);const __=i.__,p=({id:e,position:t=null,anchor:n=null})=>{const i=(0,o.useDispatch)(c.tT),{data:p}=(0,l.Z)(Number(e)),{firstUploadedVideoId:m,firstVideoProcessed:h,dismissedFirstVideoPopover:g}=(0,d.ZP)(),f=Number(m)===Number(e)&&h&&!g,v=()=>i.dismissFirstVideoPopover(),y=window.jetpackVideoPressInitialState?.contentNonce??"",w=(0,s.addQueryArgs)("post-new.php",{videopress_guid:p.guid,_wpnonce:y});return f&&React.createElement(a.Z,{title:__("Publish your new video","jetpack-videopress-pkg"),buttonContent:__("Add video to post","jetpack-videopress-pkg"),buttonHref:w,buttonExternalLink:!0,anchor:n,onClose:v,onClick:v,noArrow:!1,className:u.Z["action-popover"],position:t},React.createElement(r.ZP,null,__("Now that your video has been uploaded to VideoPress, it's time to show it to the world.","jetpack-videopress-pkg")))}},3036:(e,t,n)=>{"use strict";n.d(t,{RB:()=>r,mP:()=>a});const a="atomic",r="jetpack"},3042:(e,t,n)=>{"use strict";n.d(t,{b:()=>p});var a=n(3363),r=n(3846),o=n(5106),i=n(5736),s=n(2458),c=n(8063),l=n(2913),d=n(3036);const __=i.__,u=({videoPressVideosPrivateForSite:e,siteIsPrivate:t,siteType:n,onPrivacyChange:i})=>{const{canPerformAction:c}=(0,s.g)(),u=t&&n===d.mP,p=!c||u,m=u?__("You cannot change this setting because your site is private. You can only choose the video privacy default on public sites.","jetpack-videopress-pkg"):null;return React.createElement(a.Z,{horizontalSpacing:0,horizontalGap:0},React.createElement(r.Z,null,React.createElement(o.ZP,{variant:"headline-small",mb:1},__("Settings","jetpack-videopress-pkg"))),React.createElement(r.Z,{sm:12,md:12,lg:12},React.createElement(l.JC,{for:"settings-site-privacy",label:__("Video Privacy: Restrict views to members of this site","jetpack-videopress-pkg"),onChange:i,checked:e,disabled:p,disabledReason:m})))},p=()=>{const{settings:e,onUpdate:t}=(0,c.C)(),{videoPressVideosPrivateForSite:n,siteIsPrivate:a,siteType:r}=e;return React.createElement(u,{videoPressVideosPrivateForSite:n,siteIsPrivate:a,siteType:r,onPrivacyChange:e=>{t({videoPressVideosPrivateForSite:e})}})}},7285:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>P});var a=n(2674),r=n.n(a),o=n(526),i=n(2947),s=n(2054),c=n(2636),l=n(5106),d=n(5736),u=n(1074),p=n(7489),m=n(2229),h=n(6627),g=n(5235),f=n.n(g),v=n(9196),y=n(2458),w=n(7647),b=n(602),E=n(8943),k=n(8970),C=n(3637);const __=d.__,R=({id:e,onVideoDetailsClick:t,className:n})=>{const{canPerformAction:a}=(0,y.g)();return React.createElement("div",{className:f()(C.Z["video-card__quick-actions-section"],n)},React.createElement(o.Z,{variant:"primary",size:"small",onClick:t,className:C.Z["video-card__quick-actions__edit-button"],disabled:!a},__("Edit video details","jetpack-videopress-pkg")),e&&React.createElement(E.K,{videoId:e}))},Z=({title:e,id:t,duration:n,plays:a,thumbnail:o,editable:g,showQuickActions:y=!0,loading:w=!1,isUpdatingPoster:E=!1,uploading:Z=!1,processing:P=!1,uploadProgress:_,onVideoDetailsClick:S})=>{const x=!(e||n||a||o||w),N=void 0!==a,j=N?(0,d.sprintf)(/* translators: placeholder is a number of plays */
__("%s plays","jetpack-videopress-pkg"),(0,i.Z)(a)):"",[V,z]=(0,v.useState)(null),[T]=(0,s.Z)("sm"),[U,O]=(0,v.useState)(!1),F=w||Z;return React.createElement(React.Fragment,null,React.createElement("div",r()({className:f()(C.Z["video-card__wrapper"],{[C.Z["is-blank"]]:x,[C.Z.disabled]:T||F})},T&&!F&&{onClick:()=>O((e=>!e))}),!T&&React.createElement("div",{className:C.Z["video-card__background"]}),React.createElement(k.ZP,{className:C.Z["video-card__thumbnail"],thumbnail:o,loading:w||E,uploading:Z,processing:P,duration:w?null:n,editable:!w&&g,uploadProgress:_,ref:z}),React.createElement("div",{className:C.Z["video-card__title-section"]},T&&!F&&React.createElement("div",{className:C.Z.chevron},U&&React.createElement(u.Z,{icon:p.Z}),!U&&React.createElement(u.Z,{icon:m.Z})),w?React.createElement(c.Z,{width:"60%",height:30}):React.createElement(l.Dx,{className:C.Z["video-card__title"],mb:0,size:"small"},e),w?React.createElement(c.Z,{width:96,height:24}):React.createElement(React.Fragment,null,N&&React.createElement(l.ZP,{weight:"regular",size:"small",component:"div",className:C.Z["video-card__video-plays-counter"]},React.createElement(u.Z,{icon:h.Z}),j))),React.createElement(b.Z,{id:t,anchor:V}),y&&!T&&React.createElement(R,{id:t,onVideoDetailsClick:S,className:f()({[C.Z["is-blank"]]:w})})),y&&T&&U&&React.createElement(R,{id:t,onVideoDetailsClick:S,className:C.Z.small}))},P=({id:e,...t})=>{const{isDeleting:n,uploading:a,processing:o,isUpdatingPoster:i,data:s,uploadProgress:c}=(0,w.Z)(e),l=(n||t?.loading)&&!a&&!o,d=t?.editable&&!n&&!a&&!o;return React.createElement(Z,r()({id:e},t,{loading:l,uploading:a,isUpdatingPoster:i,processing:o,editable:d,privacySetting:s.privacySetting,uploadProgress:c}))}},6534:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(526),r=n(8275),o=n(5609),i=n(5736),s=n(3482),c=n(843),l=n(5899),d=n(1562),u=n(6483),p=n(9196),m=n(7647),h=n(2057),g=n(1641);const __=i.__,f=({disabled:e=!1,videoId:t,onDelete:n})=>{const[i,f]=(0,p.useState)(!1),{data:{guid:v,url:y},deleteVideo:w}=(0,m.Z)(t),b=window.jetpackVideoPressInitialState?.contentNonce??"",E=(0,u.addQueryArgs)("post-new.php",{videopress_guid:v,_wpnonce:b}),k=(0,p.useCallback)((async()=>{f(!1),await w(),n()}),[w,n]);return React.createElement(React.Fragment,null,React.createElement(o.Dropdown,{placement:"bottom center",renderToggle:({isOpen:t,onToggle:n})=>React.createElement(a.Z,{variant:"tertiary",disabled:e,icon:s.Z,onClick:n,"aria-expanded":t}),renderContent:({onClose:t})=>React.createElement(r.ZP,null,React.createElement("div",{className:g.Z.dropdown},React.createElement(a.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:c.Z,href:E,target:"_blank",disabled:e,onClick:t},__("Add to new post","jetpack-videopress-pkg")),React.createElement(a.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:l.Z,href:y,target:"_blank",disabled:e,onClick:t},__("Download file","jetpack-videopress-pkg")),React.createElement("hr",{className:g.Z.separator}),React.createElement(a.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:d.Z,className:g.Z.delete,disabled:e,onClick:()=>{f(!0),t()}},__("Delete video","jetpack-videopress-pkg"))))}),i&&React.createElement(h.Z,{onClose:()=>f(!1),onDelete:k}))}},6199:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(5106),r=n(2636),o=n(9771),i=n(5736),s=n(515),c=n(3673),l=n(3032);const __=i.__,d=({filename:e,uploadDate:t,shortcode:n,loading:i=!1,guid:d,isPrivate:u})=>{const p=!!t?.length&&(0,o.gmdateI18n)("F j, Y",t),m=(0,s.Iz)(d,u);return React.createElement("div",{className:l.Z.details},React.createElement("div",null,React.createElement(a.ZP,{variant:"body-small"},__("Link to video","jetpack-videopress-pkg")),i?React.createElement(r.Z,{height:36}):React.createElement(c.Z,{value:m})),React.createElement("div",null,React.createElement(a.ZP,{variant:"body-small"},__("WordPress shortcode","jetpack-videopress-pkg")),i?React.createElement(r.Z,{height:36}):React.createElement(c.Z,{value:n})),React.createElement("div",null,React.createElement(a.ZP,{variant:"body-small"},__("File name","jetpack-videopress-pkg")),i?React.createElement(r.Z,{height:24}):React.createElement(a.ZP,{className:l.Z.filename},e)),React.createElement("div",null,React.createElement(a.ZP,{variant:"body-small"},__("Upload date","jetpack-videopress-pkg")),i?React.createElement(r.Z,{height:24}):React.createElement(a.ZP,null,p)))}},2913:(e,t,n)=>{"use strict";n.d(t,{JC:()=>Z,Lb:()=>C,wW:()=>_});var a=n(2674),r=n.n(a),o=n(526),i=n(5106),s=n(2054),c=n(3363),l=n(3846),d=n(5609),u=n(5736),p=n(1074),m=n(496),h=n(5235),g=n.n(h),f=n(3209),v=n(4391),y=n(4486),w=n(4321),b=n(671),E=n(4365),k=n(7125);const __=u.__,C=e=>{const{isActive:t,...n}=e;return React.createElement(o.Z,r()({variant:t?"primary":"secondary",className:g()(k.Z["filter-button"],{[k.Z["is-active"]]:t}),icon:f.Z,weight:"regular"},n),__("Filters","jetpack-videopress-pkg"))},R=e=>React.createElement(d.Tooltip,{position:"middle center",text:e.message},React.createElement("span",{className:k.Z["title-adornment"]},React.createElement(p.Z,{icon:m.Z}))),Z=e=>React.createElement("label",{htmlFor:e.for,className:k.Z["checkbox-container"]},React.createElement(E.Z,{id:e.for,className:k.Z.checkbox,onChange:e.onChange,checked:e.checked,disabled:e.disabled}),React.createElement("span",{className:k.Z["checkbox-checkmark"]}),React.createElement(i.ZP,{variant:"body-small"},e.label),e.disabledReason&&React.createElement(R,{message:e.disabledReason})),P=e=>{const[t]=(0,s.Z)("sm"),n=(t,n)=>!0===e?.filter?.[t]?.[n];return React.createElement("div",{className:g()(k.Z["filters-section"],e.className)},React.createElement(c.Z,{horizontalSpacing:t?2:4,horizontalGap:2},React.createElement(l.Z,{sm:4,md:4,lg:4},React.createElement(i.ZP,{variant:"body-extra-small-bold",weight:"bold"},__("Uploader","jetpack-videopress-pkg")),e.uploaders.map((t=>React.createElement(Z,{key:t.id,label:t.name,for:`uploader-${t.id}`,onChange:n=>e.onChange?.(v.Z5,t.id,n),checked:n(v.Z5,t.id)})))),React.createElement(l.Z,{sm:4,md:4,lg:4},React.createElement(i.ZP,{variant:"body-extra-small-bold",weight:"bold"},__("Privacy","jetpack-videopress-pkg")),React.createElement(Z,{for:"filter-public",label:__("Public","jetpack-videopress-pkg"),onChange:t=>e.onChange?.(v.jc,v.Vz.indexOf(v.$A),t),checked:n(v.jc,v.Vz.indexOf(v.$A))}),React.createElement(Z,{for:"filter-private",label:__("Private","jetpack-videopress-pkg"),onChange:t=>e.onChange?.(v.jc,v.Vz.indexOf(v.UJ),t),checked:n(v.jc,v.Vz.indexOf(v.UJ))})),React.createElement(l.Z,{sm:4,md:4,lg:4},React.createElement(i.ZP,{variant:"body-extra-small-bold",weight:"bold"},__("Rating","jetpack-videopress-pkg")),React.createElement(Z,{for:"filter-g",label:__("G","jetpack-videopress-pkg"),onChange:t=>e.onChange?.(v.ah,v.x4,t),checked:n(v.ah,v.x4)}),React.createElement(Z,{for:"filter-pg-13",label:__("PG-13","jetpack-videopress-pkg"),onChange:t=>e.onChange?.(v.ah,v.pf,t),checked:n(v.ah,v.pf)}),React.createElement(Z,{for:"filter-r",label:__("R","jetpack-videopress-pkg"),onChange:t=>e.onChange?.(v.ah,v.Gr,t),checked:n(v.ah,v.Gr)}))))},_=e=>{const{setFilter:t,filter:n}=(0,b.ZP)(),a=(0,y.l)(),{items:o}=(0,w.Z)();return React.createElement(P,r()({},e,{onChange:(...e)=>{a.deleteParam("page"),a.update(),t(...e)},uploaders:o,filter:n}))}},6190:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(3363),r=n(3846),o=n(7285),i=n(1993);const s=({videos:e,count:t=6,onVideoDetailsClick:n,loading:s})=>{const c=e.slice(0,t),l=(t,n)=>()=>{n?.(e[t])};return React.createElement("div",{className:i.Z.wrapper},React.createElement(a.Z,{fluid:!0,horizontalSpacing:0,horizontalGap:0},c.map(((e,t)=>React.createElement(r.Z,{key:e?.guid??e?.id,sm:4,md:4,lg:4},React.createElement(o.ZP,{id:e?.id,title:e.title,thumbnail:e?.posterImage,duration:e.duration,plays:e.plays,onVideoDetailsClick:l(t,n),loading:s}))))))}},69:(e,t,n)=>{"use strict";n.d(t,{C:()=>y,Z:()=>w});var a=n(2054),r=n(5106),o=n(5609),i=n(5736),s=n(1074),c=n(496),l=n(797),d=n(5235),u=n.n(d),p=n(9196),m=n(4391),h=n(7498),g=n(671),f=(n(4365),n(854)),v=n(389);const __=i.__,y=({videos:e,showActionButton:t=!0,showQuickActions:n=!1,uploading:i=!1,onActionClick:d})=>{const[y,w]=(0,p.useState)([]),[b]=(0,a.Z)("sm"),{hasVideoPressPurchase:E}=(0,h.g)(),{uploadedVideoCount:k,isFetching:C}=(0,g.ZP)(),R=k>0||C||i?.length>0,Z=t=>()=>{d?.(e[t])},P=e=>{if(e?.isUploadedToVideoPress)return React.createElement(o.Tooltip,{position:"top center",text:__("Video already uploaded to VideoPress","jetpack-videopress-pkg")},React.createElement("div",{className:v.Z["title-adornment"]},React.createElement(s.Z,{icon:c.Z})));if(null!=e?.readError){const t=__("Video cannot be read","jetpack-videopress-pkg"),n=__("Video has an unsupported file type","jetpack-videopress-pkg");return React.createElement(o.Tooltip,{position:"top center",text:e?.readError===m.kH?n:t},React.createElement("div",{className:u()(v.Z["title-adornment"],v.Z.error)},React.createElement(s.Z,{icon:l.Z})))}return null};return React.createElement("div",{className:v.Z.list},React.createElement("div",{className:v.Z.header},React.createElement("div",{className:v.Z["title-wrapper"]},false,React.createElement(r.ZP,null,__("Title","jetpack-videopress-pkg"))),!b&&React.createElement("div",{className:v.Z["data-wrapper"]},React.createElement(f.jk,{privacy:"",duration:"",plays:"",upload:__("Upload date","jetpack-videopress-pkg")}))),e.map(((e,a)=>e?.id?React.createElement(f.nr,{key:`local-video-${e.id}`,id:e.id,title:e.title,showActionButton:t,showQuickActions:n,showCheckbox:false,uploadDate:e.uploadDate,onActionClick:Z(a),actionButtonLabel:__("Upload to VideoPress","jetpack-videopress-pkg"),disabled:e?.isUploadedToVideoPress||null!=e?.readError,disableActionButton:R&&!E||i,titleAdornment:P(e)}):null)))},w=({videos:e,hidePrivacy:t=!1,hideDuration:n=!1,hidePlays:o=!1,showActionButton:i=!0,showQuickActions:s=!0,loading:c=!1,onVideoDetailsClick:l})=>{const[d,u]=(0,p.useState)([]),[h]=(0,a.Z)("sm"),g=(t,n)=>()=>{n?.(e[t])};return React.createElement("div",{className:v.Z.list},React.createElement("div",{className:v.Z.header},React.createElement("div",{className:v.Z["title-wrapper"]},false,React.createElement(r.ZP,null,__("Title","jetpack-videopress-pkg"))),!h&&React.createElement("div",{className:v.Z["data-wrapper"]},React.createElement(f.jk,{privacy:t?null:__("Privacy","jetpack-videopress-pkg"),duration:n?null:__("Duration","jetpack-videopress-pkg"),plays:o?null:__("Plays","jetpack-videopress-pkg"),upload:__("Upload date","jetpack-videopress-pkg")}))),e.map(((e,a)=>{const r=m.Vz[e.privacySetting]===m.UJ;return React.createElement(f.ZP,{key:e?.guid??e?.id,id:e?.id,checked:d.includes(a),title:e.title,thumbnail:e?.posterImage,duration:n?null:e.duration,plays:o?null:e.plays,isPrivate:t?null:r,uploadDate:e.uploadDate,showQuickActions:!e?.uploading&&s,showActionButton:!e?.uploading&&i,showCheckbox:false,className:v.Z.row,onActionClick:g(a,l),loading:c,onSelect:e=>u((t=>{const n=t.indexOf(a);return e?[...t,a]:!e&&n>-1?[...t.slice(0,n),...t.slice(n+1)]:t}))})})))}},8943:(e,t,n)=>{"use strict";n.d(t,{K:()=>z});var a=n(2674),r=n.n(a),o=n(8275),i=n(5106),s=n(526),c=n(5609),l=n(5736),d=n(5022),u=n(3618),p=n(1562),m=n(5235),h=n.n(m),g=n(9196),f=n(6171),v=n(6600),y=n(4391),w=n(4024),b=n(2458),E=n(2630),k=n(7698),C=n(7647),R=n(2057),Z=n(8970),P=n(2101),_=n(5972);const __=l.__,S=({showPopover:e=!1,isAnchorFocused:t=!1,anchor:n,children:a=null})=>{if((0,g.useEffect)((()=>{e&&!t&&n?.querySelector(".components-popover")?.focus()}),[e]),!n||!e)return null;const s={anchor:n,offset:15};return React.createElement(c.Popover,r()({position:"top center",noArrow:!0,focusOnMount:!1},s),React.createElement(o.ZP,null,React.createElement(i.ZP,{variant:"body-small",className:_.Z.popover},a)))},x=({icon:e,children:t,className:n,...a})=>{const{setAnchor:o,setIsFocused:i,setIsHovering:c,anchor:l,isFocused:d,showPopover:u}=(0,w.a)();return React.createElement("div",{ref:o,className:n},React.createElement(s.Z,r()({size:"small",variant:"tertiary",icon:e,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onFocus:()=>i(!0),onBlur:()=>i(!1),disabled:a.disabled},a)),React.createElement(S,{showPopover:u,anchor:l,isAnchorFocused:d},t))},N=({description:e,onUpdate:t,isUpdatingPoster:n,disabled:a})=>{const{setAnchor:r,setIsFocused:i,setIsHovering:l,setShowPopover:u,anchor:p,isFocused:m,showPopover:h}=(0,w.a)();return React.createElement(c.Dropdown,{placement:"bottom left",renderToggle:({isOpen:t,onToggle:n})=>React.createElement("div",{ref:r},React.createElement(s.Z,{size:"small",variant:"tertiary",icon:d.Z,onClick:()=>{u(!1),n()},"aria-expanded":t,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),onFocus:()=>i(!0),onBlur:()=>i(!1),disabled:a}),React.createElement(S,{showPopover:h&&!t,anchor:p,isAnchorFocused:m},e)),renderContent:({onClose:e})=>React.createElement(o.ZP,null,React.createElement(Z.Y4,{isUpdatingPoster:n,onClose:e,onUseDefaultThumbnail:()=>t("default"),onSelectFromVideo:()=>t("select-from-video"),onUploadImage:()=>t("upload-image")}))})},j=({description:e,privacySetting:t,isUpdatingPrivacy:n,onUpdate:a,disabled:r})=>{const{setAnchor:i,setIsFocused:l,setIsHovering:d,setShowPopover:p,anchor:m,isFocused:h,showPopover:g}=(0,w.a)();let b=u.Z;return y.Vz[t]===y.UJ?b=f.Z:y.Vz[t]===y.$A&&(b=v.Z),React.createElement(c.Dropdown,{placement:"bottom left",renderToggle:({isOpen:t,onToggle:a})=>React.createElement("div",{ref:i},React.createElement(s.Z,{size:"small",variant:"tertiary",icon:b,onClick:()=>{p(!1),a()},"aria-expanded":t,onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),onFocus:()=>l(!0),onBlur:()=>l(!1),disabled:r||n}),React.createElement(S,{showPopover:g&&!t,anchor:m,isAnchorFocused:h},e)),renderContent:({onClose:e})=>React.createElement(o.ZP,null,React.createElement("div",{className:_.Z["dropdown-content"]},React.createElement(s.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:u.Z,onClick:()=>{e(),a("site-default")},disabled:y.Vz[t]===y.O1},__("Site default","jetpack-videopress-pkg")),React.createElement(s.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:v.Z,onClick:()=>{e(),a("public")},disabled:y.Vz[t]===y.$A},__("Public","jetpack-videopress-pkg")),React.createElement(s.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:f.Z,onClick:()=>{e(),a("private")},disabled:y.Vz[t]===y.UJ},__("Private","jetpack-videopress-pkg"))))})},V=({className:e,privacySetting:t,isUpdatingPrivacy:n,isUpdatingPoster:a,onUpdateVideoThumbnail:r,onUpdateVideoPrivacy:o,onDeleteVideo:i})=>{const{canPerformAction:s}=(0,b.g)();return React.createElement("div",{className:h()(_.Z.actions,e)},React.createElement(N,{onUpdate:r,description:__("Update thumbnail","jetpack-videopress-pkg"),isUpdatingPoster:a,disabled:!s}),React.createElement(j,{onUpdate:o,privacySetting:t,isUpdatingPrivacy:n,description:__("Update privacy","jetpack-videopress-pkg"),disabled:!s}),React.createElement(x,{icon:p.Z,className:_.Z.trash,onClick:i,disabled:!s},__("Delete video","jetpack-videopress-pkg")))},z=e=>{const{videoId:t}=e;if(!Number.isFinite(t))return null;const{data:n,updateVideoPrivacy:a,deleteVideo:o,isUpdatingPrivacy:i,isUpdatingPoster:s}=(0,C.Z)(t),{isFetchingPlaybackToken:c}=(0,E.Z)(n),[l,d]=(0,g.useState)(!1),{frameSelectorIsOpen:u,handleCloseSelectFrame:p,handleOpenSelectFrame:m,handleVideoFrameSelected:h,selectedTime:f,handleConfirmFrame:v,updatePosterImageFromFrame:y,selectAndUpdatePosterImageFromLibrary:w}=(0,k.Z)({video:n});if((0,g.useEffect)((()=>{null!=f&&y()}),[f]),l)return React.createElement(R.Z,{onClose:()=>d(!1),onDelete:()=>{d(!1),o()}});if(u)return React.createElement(React.Fragment,null,React.createElement(P.Z,{handleCloseSelectFrame:p,url:n.url,handleVideoFrameSelected:h,selectedTime:f,handleConfirmFrame:v}));const{privacySetting:b}=n;return React.createElement(V,r()({},e,{onUpdateVideoPrivacy:a,onUpdateVideoThumbnail:async e=>{switch(e){case"select-from-video":return m();case"upload-image":return w()}},onDeleteVideo:()=>d(!0),privacySetting:b,isUpdatingPrivacy:i||c,isUpdatingPoster:s}))}},854:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>x,jk:()=>R.Z,nr:()=>S});var a=n(2674),r=n.n(a),o=n(2054),i=n(526),s=n(5106),c=n(2636),l=n(9771),d=n(5736),u=n(1074),p=n(7489),m=n(2229),h=n(5235),g=n.n(h),f=n(9196),v=n(6171),y=n(2458),w=n(7647),b=n(4365),E=n(602),k=n(8943),C=n(8970),R=n(3118),Z=n(7093);const __=d.__,P=({duration:e,uploadDate:t,plays:n,isPrivate:a,loading:r=!1})=>{const[i]=(0,o.Z)("sm"),s=__("Duration","jetpack-videopress-pkg"),c=__("Plays","jetpack-videopress-pkg"),l=__("Privacy","jetpack-videopress-pkg"),d=__("Private","jetpack-videopress-pkg"),p=__("Public","jetpack-videopress-pkg"),m=i?React.createElement(React.Fragment,null,React.createElement("span",null,l),React.createElement("span",null,a?d:p)):a&&React.createElement(u.Z,{icon:v.Z}),h=i&&e?React.createElement(React.Fragment,null,React.createElement("span",null,s),React.createElement("span",null,e)):e,f=i&&Number.isFinite(n)?React.createElement(React.Fragment,null,React.createElement("span",null,c),React.createElement("span",null,n)):n,y=i?null:t;return React.createElement(R.Z,{privacy:"boolean"==typeof a?m:null,duration:h,plays:f,upload:y,loading:r,className:g()({[Z.Z["mobile-stats"]]:i})})},_=({id:e,className:t="",checked:n=!1,title:a,titleAdornment:r=null,thumbnail:h,showThumbnail:v=!1,duration:w,uploadDate:R,plays:_,isPrivate:S,onActionClick:x,onSelect:N,showActionButton:j=!0,showQuickActions:V=!0,showCheckbox:z=!0,loading:T=!1,uploading:U=!1,processing:O=!1,isUpdatingPoster:F=!1,actionButtonLabel:M=__("Edit video details","jetpack-videopress-pkg"),disableActionButton:I=!1,disabled:A=!1,uploadProgress:L,isLocalVideo:D=!1})=>{const H=(0,f.useRef)(null),B=(0,f.useRef)(null),{canPerformAction:$}=(0,y.g)(),[q]=(0,o.Z)("sm"),[G,J]=(0,f.useState)(!1),[W,K]=(0,f.useState)(!1),[Q,X]=(0,f.useState)(null),Y=(e=>{if(e){const t=Math.floor(e/6e4),n=Math.floor(e%6e4/1e3);return`${t}:${n<10?"0":""}${n}`}})(w),ee=(0,l.dateI18n)("M j, Y",R,null),te=!q&&H?.current?.offsetWidth<H?.current?.scrollWidth,ne=(j||V)&&!T&&!A,ae=!T&&(!q||q&&W),re=q&&ne&&!T&&(j||Boolean(w)||Number.isFinite(_)||"boolean"==typeof S),oe=q||T||A,ie=e=>"Space"===e||"Enter"===e,se=(0,d.sprintf)(/* translators: 1 Video title, 2 Video duration, 3 Video upload date */
__("Video: %1$s, Duration: %2$s, Upload Date: %3$s. Click to edit details.","jetpack-videopress-pkg"),a,Y,ee),ce=React.createElement(i.Z,{size:"small",onClick:(le=x,e=>{e.stopPropagation(),le?.(e)}),disabled:!$||I},M);var le;const de=e=>{e.target!==B.current&&B?.current?.click()};return(0,f.useEffect)((()=>{A&&K(!1)}),[A]),React.createElement("div",{role:"button",tabIndex:0,onKeyDown:q?null:e=>{ie(e?.code)&&J(!0)},onKeyUp:q?null:e=>{ie(e?.code)&&(J(!1),de(e))},onClick:q?null:de,"aria-label":se,className:g()(Z.Z["video-row"],{[Z.Z.pressed]:G,[Z.Z.disabled]:A,[Z.Z["hover-disabled"]]:oe},t),ref:X},z&&React.createElement("div",{className:g()({[Z.Z["checkbox-wrapper-small"]]:q})},React.createElement(b.Z,{ref:B,checked:n&&!T,tabIndex:-1,onChange:N,disabled:T})),React.createElement("div",{className:g()(Z.Z["video-data-wrapper"],{[Z.Z.small]:q})},React.createElement("div",{className:g()(Z.Z["info-wrapper"],{[Z.Z.small]:q}),onClick:q&&!T?e=>{re?K((e=>!e)):de(e)}:null,role:"presentation"},v&&React.createElement("div",{className:Z.Z.poster},React.createElement(C.ZP,{thumbnail:h,loading:T||F,uploading:U,processing:O,blankIconSize:28,uploadProgress:L,isRow:!0})),React.createElement("div",{className:Z.Z["title-wrapper"]},te&&React.createElement(s.ZP,{variant:"body-extra-small",className:Z.Z.label,component:"span"},a),T?React.createElement(c.Z,{height:30}):React.createElement(s.ZP,{variant:"title-small",className:g()(Z.Z.title,{[Z.Z.disabled]:A}),ref:H},a,r),q&&React.createElement(React.Fragment,null,T?React.createElement(c.Z,{height:20,width:"80%"}):React.createElement(s.ZP,{component:"div"},ee))),re&&React.createElement(u.Z,{icon:W?p.Z:m.Z,size:45})),ae&&React.createElement("div",{className:g()(Z.Z["meta-wrapper"],{[Z.Z.small]:q})},!q&&ne&&React.createElement("div",{className:Z.Z.actions},j&&ce,V&&e&&React.createElement(k.K,{videoId:e})),React.createElement(P,{duration:Y,uploadDate:ee,plays:_,isPrivate:S,loading:T}),q&&ne&&React.createElement("div",{className:Z.Z["mobile-actions"]},j&&ce,V&&e&&React.createElement(k.K,{videoId:e})))),!D&&React.createElement(E.Z,{id:e,anchor:Q,position:"top center"}))},S=e=>React.createElement(_,r()({isLocalVideo:!0},e)),x=({id:e,...t})=>{const{isDeleting:n,uploading:a,processing:o,isUpdatingPoster:i,data:s,uploadProgress:c}=(0,w.Z)(e),l=(n||t?.loading)&&!a&&!o;return React.createElement(_,r()({id:e},t,{loading:l,uploading:a,isUpdatingPoster:i,processing:o,showThumbnail:!0,privacySetting:s.privacySetting,uploadProgress:c}))}},3118:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(2054),r=n(2636),o=n(5106),i=n(5235),s=n.n(i),c=n(7093);const l=({privacy:e,duration:t,plays:n,upload:i,loading:l=!1,className:d})=>{const[u]=(0,a.Z)("sm");return React.createElement("div",{className:s()(d,c.Z.stats,{[c.Z.small]:u})},l?React.createElement(React.Fragment,null,React.createElement(r.Z,{height:24}),React.createElement(r.Z,{height:24}),React.createElement(r.Z,{height:24}),React.createElement(r.Z,{height:24,className:c.Z.upload})):React.createElement(React.Fragment,null,Boolean(e)&&React.createElement(o.ZP,{"aria-disabled":u?"false":"true",component:"div"},e),null!=t&&React.createElement(o.ZP,{component:"div"},t),null!=n&&React.createElement(o.ZP,{component:"div"},n),Boolean(i)&&React.createElement(o.ZP,{className:c.Z.upload,component:"div"},i)))}},3134:(e,t,n)=>{"use strict";n.d(t,{e:()=>y});var a=n(2674),r=n.n(a),o=n(5106),i=n(4343),s=n(5736),c=n(5235),l=n.n(c),d=n(861),u=n.n(d),p=n(7498),m=n(8063),h=n(671),g=n(3036),f=n(3741);const __=s.__,v=({className:e,progressBarClassName:t,total:n,used:a})=>{if(!n||null==a)return null;const r=a/n,c=`${(100*r).toFixed()}%`,d=u()(n,{base:10});return React.createElement("div",{className:l()(e)},React.createElement(o.ZP,{className:l()(f.Z["percentage-description"])},(0,s.sprintf)(/* translators: %1$s is the storage percentage, from 0% to 100%, %2$s is the total storage. */
__("%1$s of %2$s of cloud video storage","jetpack-videopress-pkg"),c,d)),React.createElement(i.Z,{className:l()(f.Z["progress-bar"],t),progress:r}))},y=e=>{const{storageUsed:t,uploadedVideoCount:n}=(0,h.ZP)(),{features:a}=(0,p.g)(),{settings:o}=(0,m.C)(),{siteType:i}=o;return i===g.mP||a?.isVideoPressUnlimitedSupported?null:n?t?React.createElement(v,r()({},e,{used:t,total:1e12})):React.createElement(v,r()({},e,{used:0,total:1})):null}},2101:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(2054),r=n(8275),o=n(526),i=n(5609),s=n(5736),c=n(5235),l=n.n(c),d=n(9196),u=n(7535),p=n(5954);const __=s.__,m=({url:e,selectedTime:t,handleCloseSelectFrame:n,handleVideoFrameSelected:s,handleConfirmFrame:c})=>{const[m,h]=(0,d.useState)(null),[g]=(0,a.Z)("sm");return React.createElement(i.Modal,{title:__("Select thumbnail from video","jetpack-videopress-pkg"),onRequestClose:n,isDismissible:!1},React.createElement(r.ZP,{targetDom:m},React.createElement("div",{ref:h,className:l()(p.Z.selector,{[p.Z["is-small"]]:g})},React.createElement(u.Z,{src:e,onVideoFrameSelected:s,initialCurrentTime:t}),React.createElement("div",{className:p.Z.actions},React.createElement(o.Z,{variant:"secondary",onClick:n},__("Close","jetpack-videopress-pkg")),React.createElement(o.Z,{variant:"primary",onClick:c},__("Select this frame","jetpack-videopress-pkg"))))))}},8970:(e,t,n)=>{"use strict";n.d(t,{Y4:()=>k,ZP:()=>_});var a=n(526),r=n(8275),o=n(4343),i=n(5106),s=n(2054),c=n(2636),l=n(5609),d=n(9771),u=n(5736),p=n(5022),m=n(843),h=n(598),g=n(1063),f=n(1074),v=n(2859),y=n(5235),w=n.n(y),b=n(9196),E=n(5715);const __=u.__,k=({onUseDefaultThumbnail:e,onSelectFromVideo:t,onUploadImage:n,onClose:r,isUpdatingPoster:o=!1})=>React.createElement(React.Fragment,null,React.createElement(a.Z,{className:E.Z.disabled,weight:"regular",fullWidth:!0,variant:"tertiary",icon:p.Z,onClick:()=>{r(),e?.()}},__("Use default thumbnail","jetpack-videopress-pkg")),React.createElement(a.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:m.Z,onClick:()=>{r(),t?.()}},__("Select from video","jetpack-videopress-pkg")),React.createElement(a.Z,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:h.Z,disabled:o,onClick:()=>{r(),n?.()}},__("Upload image","jetpack-videopress-pkg"))),C=({onUseDefaultThumbnail:e,onSelectFromVideo:t,onUploadImage:n,busy:o=!1})=>React.createElement("div",{className:E.Z["video-thumbnail-edit"]},React.createElement(l.Dropdown,{placement:"bottom left",renderToggle:({isOpen:e,onToggle:t})=>React.createElement(a.Z,{variant:"secondary",className:E.Z["thumbnail__edit-button"],icon:g.Z,disabled:o,onClick:t,"aria-expanded":e}),renderContent:({onClose:a})=>React.createElement(r.ZP,null,React.createElement(k,{onClose:a,onUseDefaultThumbnail:e,onSelectFromVideo:t,onUploadImage:n}))})),R=({uploadProgress:e=0,isRow:t=!1})=>{const n=__("Completing upload","jetpack-videopress-pkg"),a=__("Completing","jetpack-videopress-pkg"),r=t?a:n,s=`${Math.floor(100*e)}%`,c=(0,u.sprintf)(/* translators: placeholder is the upload percentage */
__("Uploading %s","jetpack-videopress-pkg"),s),l=1===e?r:c;return React.createElement("div",{className:w()(E.Z["custom-thumbnail"],{[E.Z["is-row"]]:t})},React.createElement(o.Z,{className:E.Z["progress-bar"],size:"small",progress:e}),React.createElement(i.ZP,{variant:t?"body-extra-small":"body",className:E.Z["upload-text"]},l))},Z=({isRow:e=!1})=>React.createElement("div",{className:E.Z["custom-thumbnail"]},React.createElement(i.ZP,{variant:e?"body-extra-small":"body",className:E.Z.pulse},__("Processing","jetpack-videopress-pkg"))),P=(0,b.forwardRef)((({className:e,thumbnail:t,duration:n,editable:a,blankIconSize:r=96,loading:o=!1,uploading:l=!1,processing:u=!1,deleting:p=!1,updating:m=!1,onUseDefaultThumbnail:h,onSelectFromVideo:g,onUploadImage:y,uploadProgress:b,isRow:k=!1},P)=>{const[_]=(0,s.Z)("sm"),S=o||l||p||m;let x=t;return x=o?React.createElement(c.Z,null):x,x=l?React.createElement(R,{isRow:k,uploadProgress:b}):x,x=u?React.createElement(Z,{isRow:k}):x,x="string"==typeof x&&""!==x?React.createElement("img",{src:x,alt:__("Video thumbnail","jetpack-videopress-pkg")}):x,x=x||React.createElement("div",{className:E.Z["thumbnail-blank"]},React.createElement(f.Z,{icon:v.Z,size:r})),React.createElement("div",{className:w()(e,E.Z.thumbnail,{[E.Z["is-small"]]:_}),ref:P},Boolean(x)&&a&&React.createElement(C,{onUseDefaultThumbnail:h,onSelectFromVideo:g,onUploadImage:y,busy:S}),Number.isFinite(n)&&React.createElement("div",{className:E.Z["video-thumbnail-duration"]},React.createElement(i.ZP,{variant:"body-small",component:"div"},n>=36e5?(0,d.gmdateI18n)("H:i:s",new Date(n)):(0,d.gmdateI18n)("i:s",new Date(n)))),React.createElement("div",{className:E.Z["thumbnail-placeholder"]},x))}));P.displayName="VideoThumbnail";const _=P},8213:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(2054),r=n(5106),o=n(526),i=n(5736),s=n(1074),c=n(7267),l=n(5235),d=n.n(l),u=n(7778),p=n(7498),m=n(6282),h=n(7495);const __=i.__,g=({className:e,onSelectFiles:t})=>{const[n]=(0,a.Z)("sm"),{inputRef:i,handleFileInputChangeEvent:l}=(0,m.Z)({onSelectFiles:t}),{hasVideoPressPurchase:g}=(0,p.g)();return React.createElement("div",{className:d()(h.Z.wrapper,e,{[h.Z.small]:n})},React.createElement("input",{ref:i,type:"file",accept:u.EW,className:d()(h.Z["file-input"]),onChange:l,multiple:g}),React.createElement(s.Z,{icon:c.Z,size:48,className:d()(h.Z.icon)}),React.createElement(r.ZP,{variant:"title-small"},__("Drag and drop your video here","jetpack-videopress-pkg")),React.createElement(o.Z,{size:"small",variant:"secondary",className:d()(h.Z.button),onClick:()=>{i.current.click()}},__("Select file to upload","jetpack-videopress-pkg")))}},4024:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var a=n(9196);const r=()=>{const[e,t]=(0,a.useState)(null),[n,r]=(0,a.useState)(!1),[o,i]=(0,a.useState)(!1),[s,c]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{r(!(!o&&!s))}),[o,s]),{setAnchor:t,setIsFocused:c,setIsHovering:i,setShowPopover:r,anchor:e,isFocused:s,isHovering:o,showPopover:n}}},1173:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(6975),r=n(3892),o=n(9196);const i=({pageViewEventName:e,pageViewEventProperties:t={}})=>{const{isUserConnected:n,isRegistered:i,userConnectionData:s}=(0,r.Z)(),{blogId:c}=s?.currentUser||{},{login:l,ID:d}=s?.currentUser?.wpcomUser||{},{tracks:u}=a.Z,{recordEvent:p}=u,m=(0,o.useCallback)((async(e,t)=>{p(e,t)}),[p]),h=(0,o.useCallback)(((e,t,n=(()=>({})))=>(n="function"==typeof t?t:n,t="function"==typeof t?{}:t,c&&(t.blog_id=c),()=>m(e,t).then(n))),[m,c]);return(0,o.useEffect)((()=>{n&&d&&l&&a.Z.initialize(d,l)}),[n,d,l]),(0,o.useEffect)((()=>{i&&e&&(c&&(t.blog_id=c),p(e,t))}),[c]),{recordEvent:m,recordEventHandler:h}}},2458:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});var a=n(3892);const r=()=>{const{isRegistered:e,hasConnectedOwner:t,isUserConnected:n}=(0,a.Z)();return{isRegistered:e,hasConnectedOwner:t,isUserConnected:n,canPerformAction:e&&t&&n}}},7498:(e,t,n)=>{"use strict";n.d(t,{g:()=>d});var a=n(9818),r=n(4817),o=n(5178);const{paidFeatures:i={},siteProductData:s={},productData:c={},productPrice:l={}}=window&&window.jetpackVideoPressInitialState?window.jetpackVideoPressInitialState:{},d=()=>{const e=(0,o.N)(s.pricing_for_ui,!0),t=(0,o.N)(c.introductory_offer,!0),n={...(0,o.N)(c,!0),introductoryOffer:t},{purchases:d,isFetchingPurchases:u}=(0,a.useSelect)((e=>({purchases:e(r.tT).getPurchases(),isFetchingPurchases:e(r.tT).isFetchingPurchases()})),[]),p=d.map((e=>(0,o.N)(e,!0)));const m=["jetpack_videopress_bi_yearly","jetpack_videopress","jetpack_videopress_monthly","jetpack_complete_bi_yearly","jetpack_complete","jetpack_complete_monthly","jetpack_business","jetpack_business_monthly","jetpack_personal","jetpack_personal_monthly","jetpack_premium","jetpack_premium_monthly","videopress","videopress-pro","wp_p2_plus_monthly","bundle_pro","value_bundle","value_bundle_monthly","value_bundle-2y","value_bundle-3y","pro-plan","pro-plan-monthly","pro-plan-2y","business-bundle","business-bundle-monthly","business-bundle-2y","business-bundle-3y","wp_com_hundred_year_bundle_centennially","wp_bundle_migration_trial_monthly","wp_bundle_hosting_trial_monthly","ecommerce-bundle","ecommerce-bundle-monthly","ecommerce-bundle-2y","ecommerce-bundle-3y","ecommerce-trial-bundle-monthly","wooexpress-small-bundle-yearly","wooexpress-small-bundle-monthly","wooexpress-medium-bundle-yearly","wooexpress-medium-bundle-monthly"].some((e=>{return t=e,p.some((e=>e.productSlug===t));var t}));return{features:i,siteProduct:{...(0,o.N)({...s},!0),pricingForUi:e},product:n,productPrice:l,purchases:p,hasVideoPressPurchase:m,isFetchingPurchases:u}}},2630:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818),r=n(4391);function o(e){const t=e.needsPlaybackToken,n=(0,a.useSelect)((n=>t?n(r.tT).getPlaybackToken(e.guid):null),[e.guid]),o=(0,a.useSelect)((e=>!!t&&e(r.tT).isFetchingPlaybackToken()),[e.guid]);return{playbackToken:n?.token,isFetchingPlaybackToken:o}}},7698:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818),r=n(5736),o=n(9196),i=n(4817);const __=r.__,s=({video:e})=>{const[t,n]=(0,o.useState)(null),[r,s]=(0,o.useState)(null),[c,l]=(0,o.useState)(!1),d=(0,a.useDispatch)(i.tT),u=()=>new Promise((e=>{const t=window.wp.media({title:__("Select Thumbnail","jetpack-videopress-pkg"),multiple:!1,library:{type:"image"},button:{text:__("Use this image as thumbnail","jetpack-videopress-pkg")}});t.on("select",(function(){const n=t?.state()?.get("selection")?.first()?.toJSON();e({id:n?.id,url:n?.url})})),t.on("close",(function(){setTimeout((()=>{e(null)}),0)})),t.open()})),p=async t=>{if(null!=t)return d?.updateVideoPoster(e.id,e.guid,{poster_attachment_id:t})};return{handleConfirmFrame:()=>{n(r),l(!1)},handleCloseSelectFrame:()=>l(!1),handleOpenSelectFrame:()=>l(!0),handleVideoFrameSelected:e=>{s(e)},useVideoAsThumbnail:null!==t,selectedTime:Number.isFinite(t)?t/1e3:null,frameSelectorIsOpen:c,updatePosterImageFromFrame:()=>{if(Number.isFinite(t))return d?.updateVideoPoster(e.id,e.guid,{at_time:t,is_millisec:!0})},selectAttachmentFromLibrary:u,updatePosterImageFromLibrary:p,selectAndUpdatePosterImageFromLibrary:async()=>{const e=await u();if(e)return p(e.id)},setVideoFrameMs:n}}},4486:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var a=n(4498);const r=()=>{const e=(0,a.TH)(),t=(0,a.k6)(),n=new URLSearchParams(e.search);return{getParam:(e,t=null)=>n.has(e)?n.get(e):t,setParam:(e,t=null)=>{n.set(e,t)},deleteParam:e=>{n.delete(e)},update:()=>{const e="?"+n.toString();e!==t.location.search&&t.push({search:e})},reset:()=>{""!==t.location.search&&t.replace({pathname:t.location.pathname,search:""})}}}},6282:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9196),r=n(7778);const o=({canDrop:e=!1,dropElement:t,onSelectFiles:n}={})=>{const[o,i]=(0,a.useState)(!1),s=(0,a.useRef)(null);let c=[];const l=e=>Array.from(e).filter((e=>r.Xn.some((t=>e.name.toLocaleLowerCase().endsWith(t))))),d=(0,a.useCallback)((e=>{const t=l(e.currentTarget.files);n(t)}),[n]),u=e=>{e.preventDefault(),e.stopPropagation(),c.length>0&&(c.forEach((e=>clearTimeout(e))),c=[]),i(!0)},p=()=>{const e=setTimeout((()=>{i(!1);const t=c.findIndex((t=>t===e));t>-1&&c.splice(t,1)}),100);c.push(e)},m=(0,a.useCallback)((t=>{if(i(!1),t.preventDefault(),t.stopPropagation(),c.forEach((e=>clearTimeout(e))),c=[],!e)return;const a=l(t.dataTransfer.files);n(a)}),[e,n]);return(0,a.useEffect)((()=>{e||i(!1)}),[e]),t&&(0,a.useEffect)((()=>(t.addEventListener("drop",m),t.addEventListener("dragover",u),t.addEventListener("dragleave",p),()=>{t.removeEventListener("drop",m),t.removeEventListener("dragover",u),t.removeEventListener("dragleave",p)})),[m,u,p]),{isDraggingOver:o,inputRef:s,setIsDraggingOver:i,handleFileInputChangeEvent:d,handleDragOverEvent:u,handleDragLeaveEvent:p,handleDropEvent:m,filterVideoFiles:l}}},2472:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(9196);const r=({shouldPrevent:e=!1,message:t})=>{(0,a.useEffect)((()=>{if(!e)return;const n=e=>{e.preventDefault(),e.returnValue=t};return window.addEventListener("beforeunload",n),()=>{window.removeEventListener("beforeunload",n)}}),[e])}},4321:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818),r=n(4391);function o(){return{items:(0,a.useSelect)((e=>e(r.tT).getUsers())),...(0,a.useSelect)((e=>e(r.tT).getUsersPagination()))}}},7647:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(9818),r=n(4817),o=n(4391);function i(e,t=!1){const n=(0,a.useDispatch)(r.tT),i=(0,a.useSelect)((n=>n(r.tT).getVideo(e,t)),[e]),s=(0,a.useSelect)((t=>t(r.tT).getVideoStateMetadata(e)),[e]),c=(0,a.useSelect)((e=>e(r.tT).getIsFetching()),[e]),l=null===i?.posterImage&&!i?.finished;return{data:{privacySetting:o.Vz.indexOf(o.$A),...i},...s,processing:l,isFetching:c,setVideo:e=>n.setVideo(e),deleteVideo:()=>n.deleteVideo(e),updateVideoPrivacy:t=>n.updateVideoPrivacy(e,o.Vz.findIndex((e=>e===t)))}}},8063:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var a=n(9818),r=n(4817),o=n(3036);const i=()=>{const e=(0,a.useDispatch)(r.tT),t=(0,a.useSelect)((e=>e(r.tT).getVideoPressSettings()),[]);return{settings:{videoPressVideosPrivateForSite:t?.videoPressVideosPrivateForSite??!1,siteIsPrivate:t?.siteIsPrivate??!1,siteType:t?.siteType??o.RB},onUpdate:t=>e.updateVideoPressSettings(t)}}},671:(e,t,n)=>{"use strict";n.d(t,{Eo:()=>s,ZP:()=>o,_4:()=>i});var a=n(9818),r=n(4391);function o(){const e=(0,a.useSelect)((e=>e(r.tT).getVideos())),t=(0,a.useSelect)((e=>e(r.tT).getUploadingVideos())),n=t.length>0,o=(0,a.useSelect)((e=>e(r.tT).getUploadedVideoCount())),i=(0,a.useSelect)((e=>e(r.tT).getIsFetching())),s=(0,a.useSelect)((e=>e(r.tT).getIsFetchingUploadedVideoCount())),c=(0,a.useSelect)((e=>e(r.tT).getFirstUploadedVideoId())),l=(0,a.useSelect)((e=>e(r.tT).getFirstVideoProcessed())),d=(0,a.useSelect)((e=>e(r.tT).getDismissedFirstVideoPopover())),u=(0,a.useSelect)((e=>e(r.tT).getVideosQuery()||{})),p=(0,a.useSelect)((e=>e(r.tT).getPagination())),m=(0,a.useSelect)((e=>e(r.tT).getStorageUsed()),[]);return{items:e,uploading:t,isUploading:n,search:"",filter:(0,a.useSelect)((e=>e(r.tT).getVideosFilter())),uploadedVideoCount:o,isFetching:i,isFetchingUploadedVideoCount:s,firstUploadedVideoId:c,firstVideoProcessed:l,dismissedFirstVideoPopover:d,...u,...p,...m,setPage:e=>(0,a.dispatch)(r.tT).setVideosQuery({page:e}),setSearch:e=>(0,a.dispatch)(r.tT).setVideosQuery({search:e}),setFilter:(0,a.dispatch)(r.tT).setVideosFilter}}const i=()=>({items:(0,a.useSelect)((e=>e(r.tT).getLocalVideos())),uploadedLocalVideoCount:(0,a.useSelect)((e=>e(r.tT).getUploadedLocalVideoCount())),isFetching:(0,a.useSelect)((e=>e(r.tT).getIsFetchingLocalVideos())),...(0,a.useSelect)((e=>e(r.tT).getLocalVideosQuery()||{})),...(0,a.useSelect)((e=>e(r.tT).getLocalPagination())),setPage:e=>(0,a.dispatch)(r.tT).setLocalVideosQuery({page:e})}),s=()=>(0,a.useSelect)((e=>e(r.tT).getVideosQuery()||{}))},6152:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(5609),r=n(5736);const __=r.__;function o({isOpen:e,onClose:t}){return e?React.createElement(a.Modal,{title:__("Chapters in VideoPress","jetpack-videopress-pkg"),isDismissible:!1,className:"learn-how-modal",onRequestClose:t},React.createElement("p",null,__("Chapters are a great way to split up longer videos and organize them into different sections.","jetpack-videopress-pkg")),React.createElement("p",null,__("They allow your visitors to see what each section is about and skip to their favorite parts.","jetpack-videopress-pkg")),React.createElement("p",{className:"learn-how-modal__heading"},__("How to add Chapters to your VideoPress videos","jetpack-videopress-pkg")),React.createElement("ol",null,React.createElement("li",null,__("In the Description, add a list of timestamps and titles.","jetpack-videopress-pkg")),React.createElement("li",null,__("Make sure that the first timestamp starts with 00:00.","jetpack-videopress-pkg")),React.createElement("li",null,__("Add at least three chapters entries and as many as you need.","jetpack-videopress-pkg")),React.createElement("li",null,__("Add your chapters entries in consecutive order, with at least 10-second intervals between each.","jetpack-videopress-pkg"))),React.createElement("p",{className:"learn-how-modal__heading"},__("Example","jetpack-videopress-pkg")),React.createElement("p",null,__("00:00 Intro","jetpack-videopress-pkg")),React.createElement("p",null,__("00:24 Mountains arise","jetpack-videopress-pkg")),React.createElement("p",null,__("02:38 Coming back home","jetpack-videopress-pkg")),React.createElement("p",null,__("03:04 Credits","jetpack-videopress-pkg")),React.createElement("div",{className:"learn-how-modal__buttons"},React.createElement(a.Button,{className:"learn-how-modal__button",onClick:t,variant:"primary"},__("Got it, thanks","jetpack-videopress-pkg")))):null}},6029:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(526),r=n(9307),o=n(5736),i=n(9196),s=n(6152);const __=o.__,c=()=>{const[e,t]=(0,i.useState)(!1);return React.createElement(React.Fragment,null,(0,r.createInterpolateElement)(__("Did you know you can now add Chapters to your videos? <link>Learn how</link>","jetpack-videopress-pkg"),{link:React.createElement(a.Z,{variant:"link",size:"small",onClick:()=>t(!0)})}),React.createElement(s.Z,{onClose:()=>t(!1),isOpen:e}))}},6171:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(5609);const r=React.createElement(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement(a.Path,{d:"M8.45414 21.2068L16.4541 3.70678L15.5446 3.29102L13.6676 7.39695C13.1429 7.3024 12.587 7.24988 11.9996 7.24988C9.00203 7.24988 6.82613 8.61747 5.41986 9.95678C4.71735 10.6259 4.19984 11.2937 3.85693 11.7955C3.6851 12.047 3.55604 12.2583 3.46859 12.4095C3.42483 12.4851 3.39141 12.5458 3.36817 12.5891C3.35655 12.6107 3.34747 12.6281 3.34091 12.6407L3.33296 12.6562L3.3304 12.6613L3.3291 12.6639C3.3291 12.6639 3.32878 12.6645 3.9996 12.9999C4.67042 13.3353 4.67016 13.3358 4.67016 13.3358L4.67297 13.3304C4.67621 13.3241 4.68183 13.3134 4.68987 13.2984C4.70594 13.2685 4.73159 13.2217 4.76694 13.1607C4.83769 13.0384 4.94691 12.8591 5.0954 12.6418C5.39312 12.2061 5.84435 11.6239 6.45434 11.043C7.67307 9.88229 9.49718 8.74988 11.9996 8.74988C12.353 8.74988 12.693 8.77247 13.0196 8.81455L12.8834 9.11243C12.6011 9.03897 12.3049 8.99988 11.9996 8.99988C10.0666 8.99988 8.49962 10.5669 8.49962 12.4999C8.49962 13.6966 9.1002 14.753 10.0163 15.3842L7.54467 20.791L8.45414 21.2068Z"}),React.createElement(a.Path,{d:"M15.7168 9.69537C16.4332 10.0877 17.041 10.563 17.5451 11.0431C18.1551 11.624 18.6064 12.2062 18.9041 12.6419C19.0526 12.8592 19.1618 13.0385 19.2325 13.1608C19.2679 13.2218 19.2935 13.2686 19.3096 13.2985L19.3211 13.3202L19.3265 13.3305L19.3293 13.3359C19.3293 13.3359 19.329 13.3354 19.9999 13C20.6707 12.6646 20.67 12.6632 20.67 12.6632L20.6691 12.6614L20.6665 12.6563L20.6586 12.6408C20.652 12.6282 20.6429 12.6108 20.6313 12.5892C20.6081 12.5459 20.5746 12.4852 20.5309 12.4096C20.4434 12.2584 20.3144 12.0471 20.1425 11.7956C19.7996 11.2938 19.2821 10.626 18.5796 9.95691C17.9765 9.38256 17.2319 8.803 16.3417 8.32834L15.7168 9.69537Z"}),React.createElement(a.Path,{d:"M12.8867 15.8868C14.3904 15.4942 15.5002 14.1267 15.5002 12.5C15.5002 11.9453 15.3711 11.4207 15.1414 10.9546L12.8867 15.8868Z"}))},3209:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(5609);const r=React.createElement(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement(a.Rect,{x:"5",y:"7",width:"14",height:"1.5"}),React.createElement(a.Rect,{x:"7",y:"11.25",width:"10",height:"1.5"}),React.createElement(a.Rect,{x:"9",y:"15.5",width:"6",height:"1.5"}))},2346:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(5609);const r=React.createElement(a.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(a.Path,{d:"M4.75725 2.075C4.60279 1.97745 4.41041 1.97489 4.25365 2.06832C4.09689 2.16174 4 2.3367 4 2.52632V21.4737C4 21.6633 4.09689 21.8383 4.25365 21.9317C4.41041 22.0251 4.60279 22.0226 4.75725 21.925L19.7573 12.4513C19.9079 12.3562 20 12.1849 20 12C20 11.8151 19.9079 11.6438 19.7573 11.5487L4.75725 2.075Z",fill:"white"}))},6600:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(5609);const r=React.createElement(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement(a.Path,{d:"m3.999 13 .67.336.003-.005a2.42 2.42 0 0 1 .094-.17c.07-.122.18-.302.328-.52a10.1 10.1 0 0 1 1.36-1.598c1.218-1.16 3.042-2.293 5.545-2.293 2.502 0 4.326 1.132 5.545 2.293.61.581 1.061 1.163 1.359 1.599a8.29 8.29 0 0 1 .405.657l.017.032.003.005.67-.336.671-.336-.001-.003-.003-.005-.008-.015a9.752 9.752 0 0 0-.516-.845c-.343-.502-.86-1.17-1.563-1.84-1.406-1.338-3.582-2.706-6.58-2.706-2.997 0-5.173 1.368-6.58 2.707-.702.669-1.22 1.337-1.562 1.839a9.77 9.77 0 0 0-.516.845l-.008.015-.003.005v.003l.67.336Zm8 3a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z"}))},1875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(526),r=n(5609),o=n(9307),i=n(5736),s=n(9196),c=n(6152);const __=i.__,l=({className:e})=>{const[t,n]=(0,s.useState)(!1);return React.createElement(React.Fragment,null,React.createElement(r.Notice,{status:"warning",className:e,isDismissible:!1},(0,o.createInterpolateElement)(__("It seems there are some chapters, but they are incomplete. Check out the <link>format</link> and try again.","jetpack-videopress-pkg"),{link:React.createElement(a.Z,{variant:"link",size:"small",onClick:()=>n(!0)})})),React.createElement(c.Z,{onClose:()=>n(!1),isOpen:t}))}},7535:(e,t,n)=>{"use strict";n.d(t,{Y:()=>d,Z:()=>u});var a=n(5609),r=n(9307),o=n(1074),i=n(5235),s=n.n(i),c=n(2346),l=n(4641);const d=({src:e,setMaxDuration:t=null,currentTime:n})=>{const o=(0,r.useRef)(null),[i,s]=(0,r.useState)(!0);(0,r.useEffect)((()=>{o.current.src=e}),[e]),(0,r.useEffect)((()=>{o.current&&Number.isFinite(n)&&(o.current.currentTime=n)}),[n]);return React.createElement("div",{className:l.Z["video-player-wrapper"]},i&&React.createElement("div",{className:l.Z["video-player-spinner-wrapper"]},React.createElement(a.Spinner,{className:l.Z.spinner})),React.createElement("video",{onLoadedData:()=>s(!1),ref:o,muted:!0,className:l.Z.video,onDurationChange:e=>{const a=e.target.duration;if(t?.(a),o.current){const e=Number.isFinite(n)?n:a/2;o.current.currentTime=e}}}))},u=({src:e="",onVideoFrameSelected:t,className:n="",initialCurrentTime:i=null})=>{const[u,p]=(0,r.useState)(0),[m,h]=(0,r.useState)(Number.isFinite(i)?i:null);return React.createElement("div",{className:s()(l.Z.container,n)},React.createElement(o.Z,{className:l.Z["play-icon"],icon:c.Z}),React.createElement(d,{src:e,setMaxDuration:p,currentTime:m}),React.createElement(a.RangeControl,{className:l.Z.range,min:0,step:.1,initialPosition:m,max:u,showTooltip:!1,withInputField:!1,onChange:e=>{h(e),t?.(1e3*e)}}))}},1048:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(4333),r=n(9196),o=n(172),i=n(5304);const s=e=>{const[t,n]=(0,r.useState)(!1),s=(0,r.useCallback)((()=>{const t=(0,o.ZP)(e);0===t.length?n(!1):n(!(0,i.Z)(t))}),[e]),c=(0,a.useDebounce)(s,3e3);return(0,r.useEffect)((()=>{c()}),[e]),(0,r.useEffect)(s,[]),{hasIncompleteChapters:t}}},5134:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(6989),r=n.n(a);const o=e=>{const t={allowDownload:"allow_download",displayEmbed:"display_embed"};return n=>new Promise(((a,o)=>{const i=(s=Object.assign({id:e},n),Object.keys(s).reduce(((e,n)=>(e[t[n]||n]=s[n],e)),{}));var s;r()({path:"/wpcom/v2/videopress/meta",method:"POST",data:i}).then((e=>{"success"===e?.code||o()})).catch((e=>o(e))).finally((()=>{a()}))}))}},1207:(e,t,n)=>{"use strict";n.d(t,{R2:()=>i});var a=n(6989),r=n.n(a),o=(n(9307),n(5736));n(9537);const __=o.__,i=e=>{const t=`videopress/v1/upload/${e}`;return new Promise(((n,a)=>{r()({path:t,method:"POST"}).then((t=>{"uploading"===t.status||"new"===t.status||"resume"===t.status?i(e).then(n).catch(a):"complete"===t.status?n({guid:t.uploaded_details.guid,id:t.uploaded_details.media_id,src:t.uploaded_details.upload_src}):"error"===t.status?a({data:{message:t.error}}):a({data:{message:__("Unexpected error uploading video.","jetpack-videopress-pkg")}})})).catch((e=>{a({data:{message:e?.message}})}))}))}},5955:(e,t,n)=>{"use strict";n.d(t,{B:()=>u});var a=n(6989),r=n.n(a),o=n(9307),i=n(951),s=n.n(i),c=n(6998);const l=o.Platform.isNative,d=s()("videopress:lib:fetch-video-item");async function u({guid:e,isPrivate:t,token:n=null,skipRatingControl:a=!1,retries:o=0}){try{const o=a?{}:{birth_day:"1",birth_month:"1",birth_year:"2000"};let i;t&&!n&&(i=await(0,c.Z)("playback",{guid:e})),(n||i?.token)&&(o.metadata_token=n||i.token);const s=Object.keys(o).length?`?${new URLSearchParams(o).toString()}`:"",d=l?{path:`/rest/v1.1/videos/${e}${s}`}:{url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}${s}`};return await r()({...d,credentials:"omit",global:!0})}catch(t){d("updating retry from",o,"to",o+1);const n=o+1;if(n>2)throw d("Too many attempts to get video. Aborting."),new Error(t?.message??t);if("auth"===t?.error)return d("Authentication error. Reattempt %o",n+"/3"),u({guid:e,isPrivate:!0,token:null,skipRatingControl:a,retries:n});if("Please supply the birthdate parameters."===t?.message)return d("Rating error. Reattempt %o",n+"/3"),u({guid:e,isPrivate:!0,token:null,skipRatingControl:!1,retries:n});throw new Error(t?.message??t)}}},6998:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(951),r=n.n(a),o=n(5368);const i=r()("videopress:get-media-token");const s=async function(e,t={}){const{id:n=0,guid:a=0,flushToken:r}=t,s=`vpc-${e}-${n}-${a}`,c=window?.videopressAjax?.context||"main";let l;const d=localStorage.getItem(s);if(r)i("(%s) Flushing %o token",c,s),localStorage.removeItem(s);else try{if(d){if(l=await JSON.parse(d),l&&l.expire>Date.now())return i("(%s) Providing %o token from the store",c,s),l.data;i("(%s) Token %o expired. Clean.",c,s),localStorage.removeItem(s)}}catch(e){i("Invalid token in the localStore")}const u=await function(e,t={}){const{id:n=0,guid:a,subscriptionPlanId:r=0,adminAjaxAPI:i,filename:s}=t;return new Promise((function(t,c){const l=i||window.videopressAjax?.ajaxUrl||window?.ajaxurl||"/wp-admin/admin-ajax.php";if(!o.M.includes(e))return c("Invalid scope");const d={action:"videopress-get-playback-jwt"};switch(e){case"upload":d.action="videopress-get-upload-token",s&&(d.filename=s);break;case"upload-jwt":d.action="videopress-get-upload-jwt";break;case"playback":d.action="videopress-get-playback-jwt",d.guid=a,d.post_id=String(n),d.subscription_plan_id=r}fetch(l,{method:"POST",credentials:"same-origin",body:new URLSearchParams(d)}).then((e=>{if(!e.ok)throw new Error("Network response was not ok");return e.json()})).then((n=>{if(!n.success)throw new Error("Token is not achievable");switch(e){case"upload":case"upload-jwt":t({token:n.data.upload_token,blogId:n.data.upload_blog_id,url:n.data.upload_action_url});break;case"playback":t({token:n.data.jwt})}})).catch((()=>{console.warn("Token is not achievable"),t({token:null})}))}))}(e,t);return"playback"===e&&u?.token&&(i("(%s) Storing %o token",c,s),localStorage.setItem(s,JSON.stringify({data:u,expire:Date.now()+864e5}))),i("(%s) Providing %o token from request/response",c,s),u}},5368:(e,t,n)=>{"use strict";n.d(t,{M:()=>a});const a=["upload","playback","upload-jwt"]},5042:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(9537),r=n(6998);const o={},i=({file:e,tokenData:t,onProgress:n,onSuccess:i,onError:s})=>{const c=new a.gq(e,{onError:s,onProgress:n,endpoint:t.url,removeFingerprintOnSuccess:!0,withCredentials:!1,autoRetry:!0,overridePatchMethod:!1,chunkSize:1e7,metadata:{filename:e.name,filetype:e.type},retryDelays:[0,1e3,3e3,5e3,1e4],onBeforeRequest:function(e){const n=e._method;if(["HEAD","OPTIONS"].indexOf(n)>=0&&(e._method="GET",e.setHeader("X-HTTP-Method-Override",n)),["DELETE","PUT","PATCH"].indexOf(n)>=0&&(e._method="POST",e.setHeader("X-HTTP-Method-Override",n)),e._xhr.open(e._method,e._url,!0),Object.keys(e._headers).map((function(t){e.setHeader(t,e._headers[t])})),"POST"===n){if(!!!t.token)throw"should never happen";e.setHeader("x-videopress-upload-token",t.token)}if(["OPTIONS","GET","HEAD","DELETE","PUT","PATCH"].indexOf(n)>=0){const t=new URL(e._url).pathname.split("/"),a=t[t.length-1];if(o[a])e.setHeader("x-videopress-upload-token",o[a]);else if("HEAD"===n)return(0,r.Z)("upload-jwt").then((t=>(o[a]=t.token,e.setHeader("x-videopress-upload-token",t.token),e)))}return Promise.resolve(e)},onAfterResponse:function(t,n){if(n.getStatus()>=400)return;const a=n.getHeader("x-videopress-upload-guid"),r=n.getHeader("x-videopress-upload-media-id"),s=n.getHeader("x-videopress-upload-src-url");if(a&&r&&s)return void(i&&i({id:Number(r),guid:a,src:s},e));const c={"x-videopress-upload-key-token":"token","x-videopress-upload-key":"key"},l={};Object.keys(c).forEach((function(e){const t=n.getHeader(e);t&&(l[c[e]]=t)})),l.key&&l.token&&(o[l.key]=l.token)}});return c.findPreviousUploads().then((function(e){e.length&&c.resumeFromPreviousUpload(e[0]),c.start()})),c}},515:(e,t,n)=>{"use strict";n.d(t,{Iz:()=>a});n(6483);function a(e,t){return t?`https://video.wordpress.com/v/${e}`:`https://videopress.com/v/${e}`}},2198:(e,t,n)=>{"use strict";n.d(t,{nb:()=>p,ss:()=>u});var a=n(6989),r=n.n(a),o=n(951),i=n.n(o),s=n(6998);const{siteType:c=""}=window?.videoPressEditorState||{},l="simple"!==c,d=i()("videopress:tracks:lib:video-tracks");async function u(e,t){if(!e)return!1;let n,a="";t.isPrivate&&(n=await(0,s.Z)("playback",{guid:t.guid}),a="?"+new URLSearchParams({metadata_token:n?.token}).toString());let r=await fetch(e+a);if(!r.ok&&403===r.status&&t.guid&&(n=await(0,s.Z)("playback",{guid:t.guid}),a="?"+new URLSearchParams({metadata_token:n?.token}).toString(),r=await fetch(e+a)),!r.ok)return!1;const o=await r.text();return/videopress-chapters-auto-generated/.test(o)}const p=(e,t)=>{const{kind:n,srcLang:a,label:o,tmpFile:i}=e;return l?function(e,t){return d("using jetpack api fetch"),new Promise((function(n,a){const{kind:r,srcLang:o,label:i,tmpFile:c}=e;(0,s.Z)("upload",{filename:c.name}).then((({token:e,blogId:s})=>{const l=new FormData;l.append("kind",r),l.append("srclang",o),l.append("label",i),l.append("vtt",c),fetch(`https://public-api.wordpress.com/rest/v1.1/videos/${t}/tracks`,{headers:{Authorization:`X_UPLOAD_TOKEN token="${e}" blog_id="${s}"`},method:"POST",body:l}).then((e=>{try{const t=e.json();return d("data",e),d("json",t),n(t)}catch(e){return d("error",e),a(e)}})).catch(a)}))}))}({kind:n,srcLang:a,label:o,tmpFile:i},t):(d("using wpcom api fetch"),new Promise((function(e,s){return r()({method:"POST",path:`/videos/${t}/tracks`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",n],["srclang",a],["label",o],["vtt",i]]}).then((t=>{try{const n=t.json();return d("data",t),d("json",n),e(n)}catch(e){return d("error",e),s(e)}})).catch(s)})))}},1403:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(6989),r=n.n(a),o=n(6483),i=n(1207),s=n(6998),c=n(5042),l=n(5371),d=n(4391),u=n(6625),p=n(7735);const m=async e=>{const t=await r()({path:(0,o.addQueryArgs)(`${d.u_}/${e?.id}`)}),n=(0,u.El)(t);return null!==n?.posterImage&&""!==n?.posterImage?Promise.resolve(n):new Promise(((t,n)=>{setTimeout((()=>{m(e).then(t).catch(n)}),2e3)}))},h={setIsFetchingVideos:e=>({type:d.QC,isFetching:e}),setFetchVideosError:e=>({type:d.tH,error:e}),setVideosQuery:e=>({type:d.Dj,query:e}),setVideosPagination:e=>({type:d.H,pagination:e}),setVideosFilter:(e,t,n)=>({type:d.$L,filter:e,value:t,isActive:n}),setVideos:e=>({type:d.p0,videos:e}),dismissFirstVideoPopover:()=>({type:d.pD}),setLocalVideos:e=>({type:d.FP,videos:e}),setIsFetchingLocalVideos:e=>({type:d.ZP,isFetching:e}),setLocalVideosQuery:e=>({type:d.Ps,query:e}),setLocalVideosPagination:e=>({type:d.Vc,pagination:e}),setVideosStorageUsed:e=>({type:d.vP,used:e}),setVideo:(e,t=!1)=>({type:d.Et,video:e,addAtEnd:t}),setIsFetchingUploadedVideoCount:e=>({type:d.z$,isFetchingUploadedVideoCount:e}),setUploadedVideoCount:e=>({type:d.Wi,uploadedVideoCount:e}),setVideoPrivacy:({id:e,privacySetting:t})=>({type:d.NL,id:e,privacySetting:t}),updateVideoPrivacy:(e,t)=>async({dispatch:n,select:a,resolveSelect:o})=>{const i=Number(t);if(isNaN(i))throw new Error(`Invalid privacy level: '${t}'`);if(0>i||i>=d.Vz.length)throw new Error(`Invalid privacy level: '${t}'`);if(1===t){const t=await a.getVideo(e);await o.getPlaybackToken(t?.guid)}n.setVideoPrivacy({id:e,privacySetting:i});try{const t=await r()({path:d.tb,method:"POST",data:{id:e,privacy_setting:i}});if(200!==t?.data)return;const{videoPressVideosPrivateForSite:o}=a.getVideoPressSettings();return n.updateVideoIsPrivate(e,(0,p.z)(i,o)),n({type:d.RB,id:e,privacySetting:i})}catch(e){console.error(e)}},removeVideo:e=>({type:d.Og,id:e}),deleteVideo:e=>async({dispatch:t,select:n})=>{t.removeVideo(e);let a={type:d.tw,id:e,hasBeenDeleted:!1,video:{}};try{const t=await r()({path:`${d.u_}/${e}`,method:"DELETE",data:{id:e,force:!0}});t?.deleted&&(a={...a,hasBeenDeleted:!0,video:t?.previous})}catch(e){console.error(e)}finally{t(a)}n.getProcessedAllVideosBeingRemoved()&&(t({type:d.wI}),t({type:d.Zp}))},uploadVideo:e=>async({dispatch:t})=>{const n=(0,l.Z)();t({type:d.x_,id:n,title:e?.name});const a=await(0,s.Z)("upload-jwt");(0,c.Z)({tokenData:a,file:e,onError:()=>{},onProgress:(e,a)=>{t({type:d.dY,id:n,bytesSent:e,bytesTotal:a})},onSuccess:async e=>{t({type:d.fi,id:n,data:e});const a=await m(e);t({type:d.pI,video:a})}})},uploadVideoFromLibrary:e=>async({dispatch:t})=>{const n=(0,l.Z)();t({type:d.x_,id:n,title:e?.title});const a=await(0,i.R2)(e?.id);t({type:d.W_,id:e?.id}),t({type:d.fi,id:n,data:a});const r=await m(a);t({type:d.pI,video:r})},setIsFetchingPurchases:e=>({type:d.CM,isFetching:e}),setPurchases:e=>({type:d.z8,purchases:e}),updateVideoPoster:(e,t,n)=>async({dispatch:a,select:o,resolveSelect:i})=>{const s=`${d.FY}/${t}/poster`,c=await o.getVideo(e),l=async()=>{if(!c.needsPlaybackToken)return null;const e=await i.getPlaybackToken(c.guid);return e?.token},u=(e,t)=>e&&t?`${e}?metadata_token=${t}`:e,p=()=>{setTimeout((async()=>{try{const t=await r()({path:s,method:"GET"});if(t?.data?.generating)p();else{const n=await l(),o=t?.data?.poster;a({type:d.Vm,id:e,poster:u(o,n)}),r()({path:d.tb,method:"POST",data:{id:e,poster:o}})}}catch(e){console.error(e)}}),2e3)};try{a({type:d.Db,id:e});const t=c.duration-n.at_time;t<50&&(n.at_time-=t+50);const o=await r()({method:"POST",path:s,data:n});if(o?.data?.generating)return void p();const i=await l(),m=u(o?.data?.poster,i);return a({type:d.Vm,id:e,poster:m})}catch(e){console.error(e)}},setUsers:e=>({type:d.b1,users:e}),setUsersPagination:e=>({type:d.IN,pagination:e}),setIsFetchingPlaybackToken:e=>({type:d.TD,isFetching:e}),setPlaybackToken:e=>({type:d.El,playbackToken:e}),expirePlaybackToken:e=>({type:d.o1,guid:e}),setVideoPressSettings:e=>({type:d.WJ,videoPressSettings:e}),updateVideoPressSettings:e=>async({dispatch:t})=>{if(!e)return;const n={force:!0};"boolean"==typeof e.videoPressVideosPrivateForSite&&(n.videopress_videos_private_for_site=e.videoPressVideosPrivateForSite);try{t.setVideoPressSettings(e);return await r()({path:d.uo,method:"PUT",data:n})}catch(e){console.error(e)}},updateVideoIsPrivate:(e,t)=>({type:d.jV,id:e,isPrivate:t})}},4391:(e,t,n)=>{"use strict";n.d(t,{$A:()=>J,$L:()=>Z,CM:()=>F,Db:()=>B,Dj:()=>m,El:()=>A,Et:()=>P,FP:()=>b,FY:()=>i,Gr:()=>te,H:()=>h,IN:()=>H,JV:()=>d,Kc:()=>r,NL:()=>_,O1:()=>K,Og:()=>N,Ps:()=>k,QC:()=>u,RB:()=>S,TD:()=>I,UJ:()=>W,Vc:()=>C,Vm:()=>$,Vz:()=>Q,WJ:()=>q,W_:()=>R,Wi:()=>v,Z5:()=>ne,ZP:()=>E,Zp:()=>j,ah:()=>ae,b1:()=>D,dY:()=>O,fi:()=>T,jV:()=>G,jc:()=>re,kH:()=>X,o1:()=>L,p0:()=>g,pD:()=>w,pI:()=>U,pf:()=>ee,qP:()=>c,tH:()=>p,tT:()=>a,tb:()=>s,tw:()=>x,u_:()=>o,uo:()=>l,vP:()=>f,wI:()=>V,x4:()=>Y,x_:()=>z,z$:()=>y,z8:()=>M});const a="videopress/media",r="wp/v2/users",o="wp/v2/media",i="wpcom/v2/videopress",s="wpcom/v2/videopress/meta",c="wpcom/v2/videopress/playback-jwt",l="videopress/v1/settings",d="videopress/v1/site",u="SET_IS_FETCHING_VIDEOS",p="SET_VIDEOS_FETCH_ERROR",m="SET_VIDEOS_QUERY",h="SET_VIDEOS_PAGINATION",g="SET_VIDEOS",f="SET_VIDEOS_STORAGE_USED",v="SET_UPLOADED_VIDEO_COUNT",y="SET_IS_FETCHING_UPLOADED_VIDEO_COUNT",w="DISMISS_FIRST_VIDEO_POPOVER",b="SET_LOCAL_VIDEOS",E="SET_IS_FETCHING_LOCAL_VIDEOS",k="SET_LOCAL_VIDEOS_QUERY",C="SET_LOCAL_VIDEOS_PAGINATION",R="SET_LOCAL_VIDEO_UPLOADED",Z="SET_VIDEOS_FILTER",P="SET_VIDEO",_="SET_VIDEO_PRIVACY",S="UPDATE_VIDEO_PRIVACY",x="DELETE_VIDEO",N="REMOVE_VIDEO",j="FLUSH_DELETED_VIDEOS",V="UPDATE_PAGINATION_AFTER_DELETE",z="SET_VIDEO_UPLOADING",T="SET_VIDEO_PROCESSING",U="SET_VIDEO_UPLOADED",O="SET_VIDEO_UPLOAD_PROGRESS",F="SET_IS_FETCHING_PURCHASES",M="SET_PURCHASES",I="SET_IS_FETCHING_PLAYBACK_TOKEN",A="SET_PLAYBACK_TOKEN",L="EXPIRE_PLAYBACK_TOKEN",D="SET_USERS",H="SET_USERS_PAGINATION",B="SET_UPDATING_VIDEO_POSTER",$="UPDATE_VIDEO_POSTER",q="SET_VIDEOPRESS_SETTINGS",G="UPDATE_VIDEO_IS_PRIVATE",J="public",W="private",K="site-default",Q=[J,W,K],X=2,Y="G",ee="PG-13",te="R-17",ne="uploader",ae="rating",re="privacy"},4817:(e,t,n)=>{"use strict";n.d(t,{N2:()=>h,tT:()=>i.tT});var a=n(951),r=n.n(a),o=n(1403),i=n(4391),s=n(2959),c=n(1834),l=n(2378),d=n(296);const u=r()("videopress/media:state"),p=window.jetpackVideoPressInitialState?.initialState||{videos:{}},m=window.location.hash.split("?");function h(){u("Initializing %o store",i.tT),d.Z.mayBeInit(i.tT,{__experimentalUseThunks:!0,reducer:s.Z,actions:o.Z,selectors:l.ZP,resolvers:c.Z,initialState:p})}"#/"===m?.[0]&&m?.[1]&&"page=1"!==m?.[1]&&(p.videos.isFetching=!0)},2959:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,t:()=>i});var a=n(9818),r=n(6483),o=n(4391);function i(){return{order:"desc",orderBy:"date",itemsPerPage:6,page:1,type:"video/videopress"}}const s=(0,a.combineReducers)({videos:(e,t)=>{switch(t.type){case o.QC:return{...e,isFetching:t.isFetching};case o.tH:{const{error:n}=t;return{...e,isFetching:!1,error:n}}case o.Dj:return{...e,query:{...e.query,...t.query},_meta:{...e._meta,relyOnInitialState:!1}};case o.H:return{...e,pagination:{...e.pagination,...t.pagination},_meta:{...e._meta,relyOnInitialState:!1}};case o.$L:{const{filter:n,value:a,isActive:r}=t;return{...e,filter:{...e.filter,[n]:{...e.filter?.[n]||{},[a]:r}},_meta:{...e._meta,relyOnInitialState:!1}}}case o.p0:{const{videos:n}=t;return{...e,items:n,isFetching:!1}}case o.Et:{const{video:n,addAtEnd:a=!1}=t,r=[...e.items??[]],o=r.findIndex((e=>e.id===n.id));return-1===o?a?r.push(n):r.unshift(n):r[o]={...r[o],...n},{...e,isFetching:!1,items:r}}case o.NL:{const{id:n,privacySetting:a}=t,r=[...e.items??[]],o=r.findIndex((e=>e.id===n));if(o<0)return e;const i=r[o].privacySetting;r[o]={...r[o],privacySetting:a};const s={...e._meta?.items??[]},c=s[n]??{};return{...e,items:r,_meta:{...e._meta,items:{...s,[n]:{...c,isUpdatingPrivacy:!0,hasBeenUpdatedPrivacy:!1,prevPrivacySetting:i}}}}}case o.RB:{const{id:n}=t,a={...e._meta?.items??[]};if(!a?.[n])return e;const r=a[n]??{};return{...e,_meta:{...e._meta,items:{...a,[n]:{...r,isUpdatingPrivacy:!1,hasBeenUpdatedPrivacy:!0,prevPrivacySetting:null}}}}}case o.jV:{const{id:n,isPrivate:a}=t,r=[...e.items??[]],o=r.findIndex((e=>e.id===n));return o<0?e:(r[o]={...r[o],isPrivate:a},{...e,items:r})}case o.Og:{const{id:n}=t,{items:a=[]}=e;if(a.findIndex((e=>e.id===n))<0)return e;const r={...e._meta?.items??[]},o=r[n]??{};return{...e,_meta:{...e._meta,videosBeingRemoved:[{id:n,processed:!1,deleted:!1},...e._meta.videosBeingRemoved??[]],items:{...r,[n]:{...o,isDeleting:!0}}}}}case o.tw:{const{id:n,hasBeenDeleted:a,video:r}=t,o=e?._meta?.items||[],i=o[n]||{},s=[...e._meta.videosBeingRemoved??[]],c=s.findIndex((e=>e.id===n));if(!i||c<0)return e;s[c].processed=!0,s[c].deleted=a;const l=0===s.filter((e=>!e.processed)).length;let d=e.uploadedVideoCount??0;if(l){d-=s.filter((e=>e.deleted)).length}return{...e,uploadedVideoCount:d,_meta:{...e._meta,videosBeingRemoved:s,processedAllVideosBeingRemoved:l,items:{...o,[n]:{...i,hasBeenDeleted:a,deletedVideo:r}}}}}case o.Zp:return{...e,_meta:{...e._meta,videosBeingRemoved:[],relyOnInitialState:!1}};case o.wI:{const{items:t=[],query:n={},pagination:a={},_meta:r={}}=e,{videosBeingRemoved:o=[]}=r,i=o.filter((e=>e.deleted)).length,s=t?.length===i,c=n?.page??1,l=a?.totalPages??1,d=a?.total,u=s&&c>1?c-1:c,p=s&&l>1?l-1:l;return{...e,query:{...n,page:u},pagination:{...a,total:d-1,totalPages:p}}}case o.vP:return{...e,storageUsed:t.used};case o.z$:return{...e,isFetchingUploadedVideoCount:t.isFetchingUploadedVideoCount};case o.Wi:return{...e,uploadedVideoCount:t.uploadedVideoCount,isFetchingUploadedVideoCount:!1};case o.x_:{const{id:n,title:a}=t,o=e?._meta||{},i=o?.items||{},s=(0,r.cleanForSlug)(a);return{...e,_meta:{...o,items:{...i,[n]:{title:s,uploading:!0}}}}}case o.fi:{const{id:n,data:a}=t,o=e?.query??{order:"desc",orderBy:"date",itemsPerPage:6,page:1,type:"video/videopress"},i={...e.pagination},s=[...e?.items??[]],c=e?._meta||{},l=Object.assign({},c?.items||{}),d=a?.src?.split("/")?.slice(-1)?.[0]||l[n]?.title||"",u=(0,r.cleanForSlug)(d);let p=e?.uploadedVideoCount??0,m=e?.firstUploadedVideoId??null,h=e?.firstVideoProcessed??!1,g=e?.dismissedFirstVideoPopover??!1;return 0===p&&(m=a.id,h=!1,g=!1),1!==o?.page||o?.search||(p=(e?.uploadedVideoCount??0)+1,i.total=p,i.totalPages=Math.ceil(p/o?.itemsPerPage),s.unshift({id:a.id,guid:a.guid,url:a.src,title:u,posterImage:null,finished:!1})),delete l[n],{...e,items:s,uploadedVideoCount:p,firstUploadedVideoId:m,firstVideoProcessed:h,dismissedFirstVideoPopover:g,pagination:i,_meta:{...c,items:l}}}case o.pI:{const{video:n}=t,a=[...e?.items??[]],r=a.findIndex((e=>e.id===n.id)),o=e?.firstUploadedVideoId??null;let i=e?.firstVideoProcessed??null;return n.id===o&&(i=!0),-1===r?{...e,firstVideoProcessed:i}:(a[r]=n,{...e,firstVideoProcessed:i,items:a})}case o.Db:{const{id:n}=t,a=e?._meta||{},r=a?.items||{},o=r[n]||{};return{...e,_meta:{...a,items:{...r,[n]:{...o,isUpdatingPoster:!0}}}}}case o.Vm:{const{id:n,poster:a}=t,r=[...e.items??[]],o=e?._meta||{},i=o?.items||{},s=r.findIndex((e=>e.id===n));return s>=0&&(r[s]={...r[s],posterImage:a}),{...e,items:r,_meta:{...o,items:{...i,[n]:{isUpdatingPoster:!1}}}}}case o.dY:{const{id:n,bytesSent:a,bytesTotal:r}=t,o=e?._meta||{},i=o?.items||{},s=i[n]||{},c=r>0?a/r:0;return{...e,_meta:{...o,items:{...i,[n]:{...s,uploadProgress:c}}}}}case o.pD:return{...e,dismissedFirstVideoPopover:!0,firstUploadedVideoId:null};default:return e}},localVideos:(e,t)=>{switch(t.type){case o.FP:{const{videos:n}=t;return{...e,items:n,isFetching:!1}}case o.ZP:return{...e,isFetching:t.isFetching};case o.Ps:return{...e,query:{...e.query,...t.query},_meta:{...e._meta,relyOnInitialState:!1}};case o.Vc:return{...e,pagination:{...e.pagination,...t.pagination},_meta:{...e._meta,relyOnInitialState:!1}};case o.W_:{const{id:n}=t,a=[...e?.items??[]],r=a.findIndex((e=>e.id===n));return-1===r?e:(a[r]={...a[r],isUploadedToVideoPress:!0},{...e,items:a,isFetching:!1})}}return e},purchases:(e,t)=>{switch(t.type){case o.CM:return{...e,isFetching:t.isFetching};case o.z8:return{...e,items:t.purchases,isFetching:!1};default:return e}},users:(e,t)=>{switch(t.type){case o.b1:return{...e,items:t.users};case o.IN:return{...e,pagination:{...e?.pagination||{},...t.pagination}};default:return e}},playbackTokens:(e,t)=>{switch(t.type){case o.TD:return{...e,isFetching:t.isFetching};case o.El:{const{playbackToken:n}=t,a=[...e.items??[]],r=a.findIndex((e=>e.guid===n.guid));return-1===r?a.unshift(n):a[r]={...a[r],...n},{...e,items:a,isFetching:!1}}case o.o1:{const{guid:n}=t,a=[...e.items??[]],r=a.findIndex((e=>e.guid===n));return r>-1&&a.splice(r,1),{...e,items:a,isFetching:!1}}default:return e}},siteSettings:(e,t)=>{if(t.type===o.WJ){const{videoPressSettings:n}=t;return{...e,...n}}return e}})},1834:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(6989),r=n.n(a),o=n(6483),i=n(4391),s=n(2959),c=n(6625);const{apiRoot:l}=window?.jetpackVideoPressInitialState||{};async function d(e,t,n){if(!e.needsPlaybackToken)return e;let a=await t.getPlaybackToken(e.guid);if(a){Number(a.issueTime)+864e5<Date.now()&&(await n.expirePlaybackToken(e.guid),a=await t.getPlaybackToken(e.guid))}return/metadata_token=/.test(e.posterImage)||(e.posterImage+=`?metadata_token=${a.token}`),/metadata_token=/.test(e.thumbnail)||(e.thumbnail+=`?metadata_token=${a.token}`),/metadata_token=/.test(e.url)||(e.url+=`?metadata_token=${a.token}`),e}const u={getStorageUsed:{isFulfilled:e=>e?.videos?._meta?.relyOnInitialState,fulfill:()=>async({dispatch:e})=>{try{const t=await r()({path:i.JV});if(!t?.options?.videopress_storage_used)return;const n=t.options.videopress_storage_used?Math.round(1e3*Number(t.options.videopress_storage_used)*1e3):0;e.setVideosStorageUsed(n)}catch(e){console.error(e)}}},getUploadedVideoCount:{isFulfilled:e=>e?.videos?._meta?.relyOnInitialState,fulfill:()=>async({dispatch:e})=>{const t={per_page:1,media_type:"video",mime_type:"video/videopress"};e.setIsFetchingUploadedVideoCount(!0);try{const n=await fetch((0,o.addQueryArgs)(`${l}${i.u_}`,t)),a=Number(n.headers.get("X-WP-Total"));return e.setUploadedVideoCount(a),a}catch(e){console.error(e)}},shouldInvalidate:e=>e.type===i.fi||e.type===i.Zp},getVideos:{isFulfilled:e=>e?.videos?._meta?.relyOnInitialState,fulfill:()=>async({dispatch:e,select:t,resolveSelect:n})=>{e.setIsFetchingVideos(!0);let a=t.getVideosQuery();a||(a=(0,s.t)(),e.setVideosQuery(a));const r={order:a.order,orderby:a.orderBy,page:a.page,per_page:a.itemsPerPage,media_type:"video",mime_type:"video/videopress"};"string"==typeof a.search&&a.search.length>0&&(r.search=a.search);const u=t.getVideosFilter(),p=Object.keys(u?.rating||{}).filter((e=>u.rating[e])).join(",");p?.length&&(r.videopress_rating=p);const m=Object.keys(u?.privacy||{}).filter((e=>u.privacy[e])).join(",");m?.length&&(r.videopress_privacy_setting=m);const h=Object.keys(u?.uploader||{}).filter((e=>u.uploader[e])).join(",");h?.length&&(r.author=h);try{const t=await fetch((0,o.addQueryArgs)(`${l}${i.u_}`,r)),a=Number(t.headers.get("X-WP-Total")),s=Number(t.headers.get("X-WP-TotalPages"));e.setVideosPagination({total:a,totalPages:s});const u=await t.json(),p=await Promise.all((0,c.WZ)(u).map((async t=>await d(t,n,e))));return e.setVideos(p),u}catch(e){console.error(e)}},shouldInvalidate:({type:e})=>e===i.Dj||e===i.Zp||e===i.$L},getVideo:{isFulfilled:(e,t)=>{if(!t||"string"==typeof t)return!0;const n=(e.videos.items??[]).find((({id:e})=>e===t));if(n&&n.needsPlaybackToken){return!!(e?.playbackTokens?.items||[]).find((e=>e?.guid===n.guid))}return n},fulfill:(e,t=!1)=>async({dispatch:n,resolveSelect:a})=>{n.setIsFetchingVideos(!0);try{const s=await r()({path:(0,o.addQueryArgs)(`${i.u_}/${e}`)}),l=await d((0,c.El)(s),a,n);return n.setVideo(l,t),s}catch(e){console.error(e)}}},getLocalVideos:{isFulfilled:e=>e?.localVideos?._meta?.relyOnInitialState,fulfill:()=>async({dispatch:e,select:t})=>{let n=t.getLocalVideosQuery();e.setIsFetchingLocalVideos(!0),n||(n=(0,s.t)(),e.setVideosQuery(n));const a={order:n.order,orderby:n.orderBy,page:n.page,per_page:n.itemsPerPage,media_type:"video",no_videopress:!0};"string"==typeof n.search&&n.search.length>0&&(a.search=n.search);try{const t=await fetch((0,o.addQueryArgs)(`${l}${i.u_}`,a)),n=Number(t.headers.get("X-WP-Total")),r=Number(t.headers.get("X-WP-TotalPages"));e.setLocalVideosPagination({total:n,totalPages:r});const s=await t.json();return e.setLocalVideos((0,c.n1)(s)),s}catch(e){console.error(e)}},shouldInvalidate:e=>e.type===i.Ps},getUsers:{isFulfilled:e=>e?.users?._meta?.relyOnInitialState,fulfill:()=>async({dispatch:e})=>{e.setIsFetchingLocalVideos(!0);try{const t=await fetch(`${l}${i.Kc}`),n=Number(t.headers.get("X-WP-Total")),a=Number(t.headers.get("X-WP-TotalPages"));e.setUsersPagination({total:n,totalPages:a});const r=await t.json();if(!r?.length)return;return e.setUsers(r.map((e=>({id:e.id,name:e.name,slug:e.slug,description:e.description,link:e.link,avatar:e.avatar_urls})))),r}catch(e){console.error(e)}}},getPlaybackToken:{isFulfilled:(e,t)=>{const n=e?.playbackTokens?.items??[];return n?.some((e=>e?.guid===t))},fulfill:e=>async({dispatch:t})=>{t.setIsFetchingPlaybackToken(!0);try{const n=await r()({path:(0,o.addQueryArgs)(`${i.qP}/${e}`),method:"POST"}),a={guid:e,token:n.playback_token,issueTime:Date.now()};return t.setPlaybackToken(a),a}catch(e){console.error(e)}},shouldInvalidate:(e,t)=>e.type===i.o1&&e.guid===t},getVideoPressSettings:{isFulfilled:e=>void 0!==e?.siteSettings,fulfill:()=>async({dispatch:e})=>{try{const{videopress_videos_private_for_site:t}=await r()({path:(0,o.addQueryArgs)(`${i.uo}`),method:"GET"}),n={videoPressVideosPrivateForSite:t};return e.setVideoPressSettings(n),n}catch(e){console.error(e)}}}}},2378:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>r});const a=e=>e?.videos?.items||[],r={getVideos:a,getUploadingVideos:e=>{const t=e?.videos?._meta?.items||{};return Object.keys(t||{}).map((e=>({...t[e],id:e}))).filter((e=>e.uploading))},getVideosQuery:e=>e?.videos?.query,getPagination:e=>e?.videos?.pagination,getVideosFilter:e=>e?.videos?.filter,getUploadedVideoCount:e=>e?.videos?.uploadedVideoCount,getIsFetching:e=>e?.videos?.isFetching,getIsFetchingUploadedVideoCount:e=>e?.videos?.isFetchingUploadedVideoCount,getStorageUsed:e=>({storageUsed:e?.videos?.storageUsed}),getFirstUploadedVideoId:e=>e?.videos?.firstUploadedVideoId,getFirstVideoProcessed:e=>e?.videos?.firstVideoProcessed,getDismissedFirstVideoPopover:e=>e?.videos?.dismissedFirstVideoPopover,getProcessedAllVideosBeingRemoved:e=>e?.videos?._meta?.processedAllVideosBeingRemoved,getLocalVideos:e=>e?.localVideos?.items||[],getIsFetchingLocalVideos:e=>e?.localVideos?.isFetching,getLocalVideosQuery:e=>e?.localVideos?.query,getLocalPagination:e=>e?.localVideos?.pagination,getUploadedLocalVideoCount:e=>e?.localVideos?.uploadedVideoCount,getVideo:(e,t)=>a(e).find((({id:e})=>e===t)),getVideoStateMetadata:(e,t)=>(e?.videos?._meta?.items||{})[t]||{},getUsers:e=>e?.users?.items||[],getUsersPagination:e=>e?.users?.pagination,getPurchases:e=>e?.purchases?.items||[],isFetchingPurchases:e=>e?.purchases?.isFetching,getPlaybackToken:(e,t)=>(e?.playbackTokens?.items||[]).find((e=>e?.guid===t))||{},isFetchingPlaybackToken:e=>e?.playbackTokens?.isFetching,getVideoPressSettings:e=>e?.siteSettings}},296:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818);class r{static store=null;static mayBeInit(e,t){null===r.store&&(r.store=(0,a.createReduxStore)(e,t),(0,a.register)(r.store))}}const o=r},6625:(e,t,n)=>{"use strict";n.d(t,{El:()=>a,WZ:()=>r,n1:()=>i});const a=e=>{const{media_details:t,id:n,jetpack_videopress:a,jetpack_videopress_guid:r}=e,{videopress:o,width:i,height:s}=t,{title:c,description:l,caption:d,rating:u,allow_download:p,display_embed:m,privacy_setting:h,needs_playback_token:g,is_private:f}=a,{original:v,poster:y,upload_date:w,duration:b,file_url_base:E,finished:k,files:C={dvd:{original_img:""}}}=o||{},{dvd:R}=C,Z=R?.original_img?`${E.https}${R.original_img}`:void 0,P=v?.split("/").slice(-1)[0];return{id:n,guid:r,title:c,description:l,caption:d,url:v,uploadDate:w,duration:b,isPrivate:f,posterImage:y,allowDownload:p,displayEmbed:m,rating:u,privacySetting:h,needsPlaybackToken:g,width:i,height:s,poster:{src:y},thumbnail:Z,finished:k,filename:P}},r=e=>e?.map?.(a),o=e=>{const{media_details:t,id:n,jetpack_videopress:a,source_url:r,date:o}=e,{width:i,height:s,length:c}=t,{title:l,description:d,caption:u}=a;return{id:n,title:l,description:d,caption:u,width:i,height:s,url:r,uploadDate:o,duration:c}},i=e=>e.map(o)},7735:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});var a=n(4391);const r=(e,t)=>a.Vz[e]!==a.$A&&(a.Vz[e]===a.UJ||t)},5178:(e,t,n)=>{"use strict";function a(e){return e.replace(/([-_][a-z])/gi,(e=>e.toUpperCase().replace("_","")))}function r(e,t=!1){const n=Object.assign({},e);for(const e in n)n.hasOwnProperty(e)&&-1!==e.indexOf("_")&&(n[a(e)]=n[e],t&&delete n[e]);return n}n.d(t,{N:()=>r})},5371:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=()=>{const e=new Uint32Array(10);crypto.getRandomValues(e);return`${performance.now().toString(36)}-${Array.from(e).map((e=>e.toString(36))).join("")}`}},172:(e,t,n)=>{"use strict";function a(e){if(!e)return[];return e.split("\n").map((e=>function(e){const t=/(?<timeBlock>\(?(?<time>\d{1,2}:\d{2}:\d{2}|\d{1,2}:\d{2})\)?)/.exec(e);if(null==t||null==t.groups)return null;const{groups:{timeBlock:n,time:a}}=t,r=e.indexOf(n),o=(r<(e.length-n.length)/2?e.substring(r+n.length,e.length):e.substring(0,r)).trim().replace(/(\s-$)|(^-\s)/,""),i=a.split(":");return 1===i[0].length&&(i[0]=`0${i[0]}`),2===i.length&&i.unshift("00"),{startAt:i.join(":"),title:o}}(e))).filter((e=>null!==e)).sort(((e,t)=>e.startAt.localeCompare(t.startAt)))}n.d(t,{Tn:()=>a,ZP:()=>a})},2677:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var a=n(172);function r(e){const t=Math.floor(e/36e5);let n=e-36e5*t;const a=Math.floor(n/6e4);n-=6e4*a;return[t,a,Math.floor(n/1e3)].map((e=>e<10?`0${e}`:e)).join(":")}const o="videopress-chapters-auto-generated";function i(e,t){const n=function(e,t=3599999e3){const n=(0,a.Tn)(e);if(0===n.length)return null;let i="WEBVTT\n";i+="\n",i+="NOTE\n",i+=`${o}\n`,i+="This file was auto-generated based on Video description.\n",i+="For more information, see https://jetpack.com/support/jetpack-videopress/jetpack-videopress-customizing-your-videos/#adding-subtitles-captions-or-chapters-within-a-video\n";let s=1;for(const[e,a]of n.entries()){const o=0===e?"000":"001",c=e<n.length-1?n[e+1].startAt:r(t);i+=`\n${s++}\n${a.startAt}.${o} --\x3e ${c}.000\n${a.title}\n`}return i}(e,t);return n?new File([n],"chapters.vtt",{type:"text/vtt"}):null}},5304:(e,t,n)=>{"use strict";function a(e){const t=e.split(":");return 3600*parseInt(t[0])+60*parseInt(t[1])+parseInt(t[2])}function r(e){if(!e||0===e.length)return!1;if("00:00:00"!==e[0].startAt)return!1;if(e.length<3)return!1;if(e.some((e=>!e.title)))return!1;for(let t=0;t<e.length-1;t++){const n=e[t];if(a(e[t+1].startAt)-a(n.startAt)<10)return!1}return!0}n.d(t,{Z:()=>r})},7778:(e,t,n)=>{"use strict";n.d(t,{EW:()=>o,Xn:()=>r});const a=window.jetpackVideoPressInitialState?.allowedVideoExtensions||{},r=Object.keys(a).filter((e=>"videopress"!==e)),o=r.map((e=>`.${e}`)).join(",")},3427:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(5908),r=n(9106),o=n(5016),i=n(1662);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}var d=function(){function e(t){s(this,e),this._file=t,this.size=t.size}return l(e,[{key:"slice",value:function(e,t){if((0,o.Z)())return(0,i.Z)(this._file.slice(e,t));var n=this._file.slice(e,t);return Promise.resolve({value:n})}},{key:"close",value:function(){}}]),e}(),u=function(){function e(t,n){s(this,e),this._chunkSize=n,this._buffer=void 0,this._bufferOffset=0,this._reader=t,this._done=!1}return l(e,[{key:"slice",value:function(e,t){return e<this._bufferOffset?Promise.reject(new Error("Requested data is before the reader's current offset")):this._readUntilEnoughDataOrDone(e,t)}},{key:"_readUntilEnoughDataOrDone",value:function(e,t){var n=this,a=t<=this._bufferOffset+p(this._buffer);if(this._done||a){var r=this._getDataFromBuffer(e,t),o=null==r&&this._done;return Promise.resolve({value:r,done:o})}return this._reader.read().then((function(a){var r=a.value;return a.done?n._done=!0:void 0===n._buffer?n._buffer=r:n._buffer=function(e,t){if(e.concat)return e.concat(t);if(e instanceof Blob)return new Blob([e,t],{type:e.type});if(e.set){var n=new e.constructor(e.length+t.length);return n.set(e),n.set(t,e.length),n}throw new Error("Unknown data type")}(n._buffer,r),n._readUntilEnoughDataOrDone(e,t)}))}},{key:"_getDataFromBuffer",value:function(e,t){e>this._bufferOffset&&(this._buffer=this._buffer.slice(e-this._bufferOffset),this._bufferOffset=e);var n=0===p(this._buffer);return this._done&&n?null:this._buffer.slice(0,t-e)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}]),e}();function p(e){return void 0===e?0:void 0!==e.size?e.size:e.length}var m=function(){function e(){s(this,e)}return l(e,[{key:"openFile",value:function(e,t){return(0,a.Z)()&&e&&void 0!==e.uri?(0,r.Z)(e.uri).then((function(e){return new d(e)})).catch((function(e){throw new Error("tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. ".concat(e))})):"function"==typeof e.slice&&void 0!==e.size?Promise.resolve(new d(e)):"function"==typeof e.read?(t=+t,isFinite(t)?Promise.resolve(new u(e,t)):Promise.reject(new Error("cannot create source for stream without a finite value for the `chunkSize` option"))):Promise.reject(new Error("source object may only be an instance of File, Blob, or Reader in this environment"))}}]),e}()},1264:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(5908);function r(e,t){return(0,a.Z)()?Promise.resolve(function(e,t){var n=e.exif?function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return t}(JSON.stringify(e.exif)):"noexif";return["tus-rn",e.name||"noname",e.size||"nosize",n,t.endpoint].join("/")}(e,t)):Promise.resolve(["tus-br",e.name,e.type,e.size,e.lastModified,t.endpoint].join("-"))}},6940:(e,t,n)=>{"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:()=>i});var i=function(){function e(){a(this,e)}return o(e,[{key:"createRequest",value:function(e,t){return new s(e,t)}},{key:"getName",value:function(){return"XHRHttpStack"}}]),e}(),s=function(){function e(t,n){a(this,e),this._xhr=new XMLHttpRequest,this._xhr.open(t,n,!0),this._method=t,this._url=n,this._headers={}}return o(e,[{key:"getMethod",value:function(){return this._method}},{key:"getURL",value:function(){return this._url}},{key:"setHeader",value:function(e,t){this._xhr.setRequestHeader(e,t),this._headers[e]=t}},{key:"getHeader",value:function(e){return this._headers[e]}},{key:"setProgressHandler",value:function(e){"upload"in this._xhr&&(this._xhr.upload.onprogress=function(t){t.lengthComputable&&e(t.loaded)})}},{key:"send",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new Promise((function(n,a){e._xhr.onload=function(){n(new c(e._xhr))},e._xhr.onerror=function(e){a(e)},e._xhr.send(t)}))}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}(),c=function(){function e(t){a(this,e),this._xhr=t}return o(e,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(e){return this._xhr.getResponseHeader(e)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}()},9537:(e,t,n)=>{"use strict";n.d(t,{gq:()=>y});var a=n(3620),r=n(5799),o=n(5866),i=n(6940),s=n(3427),c=n(1264);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 d(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function p(e){return function(){var t,n=m(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var a=m(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=g({},a.Z.defaultOptions,{httpStack:new i.Z,fileReader:new s.Z,urlStorage:o.H?new o.n:new r.Z,fingerprint:c.Z}),y=function(e){!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}}),t&&u(e,t)}(i,e);var t,n,r,o=p(i);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=g({},v,{},t),o.call(this,e,t)}return t=i,r=[{key:"terminate",value:function(e,t,n){return t=g({},v,{},t),a.Z.terminate(e,t,n)}}],(n=null)&&d(t.prototype,n),r&&d(t,r),i}(a.Z),w=window,b=w.XMLHttpRequest,E=w.Blob;b&&E&&E.prototype.slice},5016:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=function(){return"undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)}},5908:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=function(){return"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()}},1662:(e,t,n)=>{"use strict";function a(e){return new Promise((function(t,n){var a=new FileReader;a.onload=function(){var e=new Uint8Array(a.result);t({value:e})},a.onerror=function(e){n(e)},a.readAsArrayBuffer(e)}))}n.d(t,{Z:()=>a})},9106:(e,t,n)=>{"use strict";function a(e){return new Promise((function(t,n){var a=new XMLHttpRequest;a.responseType="blob",a.onload=function(){var e=a.response;t(e)},a.onerror=function(e){n(e)},a.open("GET",e),a.send()}))}n.d(t,{Z:()=>a})},5866:(e,t,n)=>{"use strict";function a(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}n.d(t,{H:()=>i,n:()=>s});var r=!1;try{r="localStorage"in window;var o="tusSupport";localStorage.setItem(o,localStorage.getItem(o))}catch(e){if(e.code!==e.SECURITY_ERR&&e.code!==e.QUOTA_EXCEEDED_ERR)throw e;r=!1}var i=r,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,n=[{key:"findAllUploads",value:function(){var e=this._findEntries("tus::");return Promise.resolve(e)}},{key:"findUploadsByFingerprint",value:function(e){var t=this._findEntries("tus::".concat(e,"::"));return Promise.resolve(t)}},{key:"removeUpload",value:function(e){return localStorage.removeItem(e),Promise.resolve()}},{key:"addUpload",value:function(e,t){var n=Math.round(1e12*Math.random()),a="tus::".concat(e,"::").concat(n);return localStorage.setItem(a,JSON.stringify(t)),Promise.resolve(a)}},{key:"_findEntries",value:function(e){for(var t=[],n=0;n<localStorage.length;n++){var a=localStorage.key(n);if(0===a.indexOf(e))try{var r=JSON.parse(localStorage.getItem(a));r.urlStorageKey=a,t.push(r)}catch(e){}}return t}}],n&&a(t.prototype,n),r&&a(t,r),e}()},6971:(e,t,n)=>{"use strict";function a(e){return a="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},a(e)}function r(e){return function(){var t,n=l(e);if(s()){var r=l(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return i(e,arguments,l(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),c(a,e)},o(e)}function i(e,t,n){return i=s()?Reflect.construct:function(e,t,n){var a=[null];a.push.apply(a,t);var r=new(Function.bind.apply(e,a));return n&&c(r,n.prototype),r},i.apply(null,arguments)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}n.d(t,{Z:()=>d});const d=function(e){!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}}),t&&c(e,t)}(n,e);var t=r(n);function n(e){var a,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(a=t.call(this,e)).originalRequest=o,a.originalResponse=i,a.causingError=r,null!=r&&(e+=", caused by ".concat(r.toString())),null!=o){var s=o.getHeader("X-Request-ID")||"n/a",c=o.getMethod(),l=o.getURL(),d=i?i.getStatus():"n/a",u=i?i.getBody()||"":"n/a";e+=", originated from request (method: ".concat(c,", url: ").concat(l,", response code: ").concat(d,", response text: ").concat(u,", request id: ").concat(s,")")}return a.message=e,a}return n}(o(Error))},1336:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var a=!1;function r(e){a&&console.log(e)}},5799:(e,t,n)=>{"use strict";function a(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}n.d(t,{Z:()=>r});var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(e){return Promise.resolve([])}},{key:"removeUpload",value:function(e){return Promise.resolve()}},{key:"addUpload",value:function(e,t){return Promise.resolve(null)}}])&&a(t.prototype,n),r&&a(t,r),e}()},3620:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var a=n(4097),r=n(1294),o=n.n(r),i=n(6971),s=n(1336),c=n(8184);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var m={endpoint:null,uploadUrl:null,metadata:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,_onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:null,chunkSize:1/0,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null},h=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"resume"in n&&console.log("tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead."),this.options=n,this._urlStorage=this.options.urlStorage,this.file=t,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}var t,n,a;return t=e,n=[{key:"findPreviousUploads",value:function(){var e=this;return this.options.fingerprint(this.file,this.options).then((function(t){return e._urlStorage.findUploadsByFingerprint(t)}))}},{key:"resumeFromPreviousUpload",value:function(e){this.url=e.uploadUrl||null,this._parallelUploadUrls=e.parallelUploadUrls||null,this._urlStorageKey=e.urlStorageKey}},{key:"start",value:function(){var e=this,t=this.file;if(t)if(this.options.endpoint||this.options.uploadUrl){var n=this.options.retryDelays;null==n||"[object Array]"===Object.prototype.toString.call(n)?(this.options.parallelUploads>1&&["uploadUrl","uploadSize","uploadLengthDeferred"].forEach((function(t){e.options[t]&&e._emitError(new Error("tus: cannot use the ".concat(t," option when parallelUploads is enabled")))})),this.options.fingerprint(t,this.options).then((function(n){return null==n?(0,s.c)("No fingerprint was calculated meaning that the upload cannot be stored in the URL storage."):(0,s.c)("Calculated fingerprint: ".concat(n)),e._fingerprint=n,e._source?e._source:e.options.fileReader.openFile(t,e.options.chunkSize)})).then((function(t){e._source=t,e.options.parallelUploads>1||null!=e._parallelUploadUrls?e._startParallelUpload():e._startSingleUpload()})).catch((function(t){e._emitError(t)}))):this._emitError(new Error("tus: the `retryDelays` option must either be an array or null"))}else this._emitError(new Error("tus: neither an endpoint or an upload URL is provided"));else this._emitError(new Error("tus: no file or stream to upload provided"))}},{key:"_startParallelUpload",value:function(){var t=this,n=this._size=this._source.size,a=0;this._parallelUploads=[];var r=null!=this._parallelUploadUrls?this._parallelUploadUrls.length:this.options.parallelUploads,o=function(e,t,n){for(var a=Math.floor(e/t),r=[],o=0;o<t;o++)r.push({start:a*o,end:a*(o+1)});return r[t-1].end=e,n&&r.forEach((function(e,t){e.uploadUrl=n[t]||null})),r}(this._source.size,r,this._parallelUploadUrls);this._parallelUploadUrls=new Array(o.length);var i,c=o.map((function(r,i){var s=0;return t._source.slice(r.start,r.end).then((function(c){var l=c.value;return new Promise((function(c,u){var p=d({},t.options,{uploadUrl:r.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,metadata:{},headers:d({},t.options.headers,{"Upload-Concat":"partial"}),onSuccess:c,onError:u,onProgress:function(e){a=a-s+e,s=e,t._emitProgress(a,n)},_onUploadUrlAvailable:function(){t._parallelUploadUrls[i]=m.url,t._parallelUploadUrls.filter((function(e){return!!e})).length===o.length&&t._saveUploadInUrlStorage()}}),m=new e(l,p);m.start(),t._parallelUploads.push(m)}))}))}));Promise.all(c).then((function(){(i=t._openRequest("POST",t.options.endpoint)).setHeader("Upload-Concat","final;".concat(t._parallelUploadUrls.join(" ")));var e=g(t.options.metadata);return""!==e&&i.setHeader("Upload-Metadata",e),t._sendRequest(i,null)})).then((function(e){if(f(e.getStatus(),200)){var n=e.getHeader("Location");null!=n?(t.url=b(t.options.endpoint,n),(0,s.c)("Created upload at ".concat(t.url)),t._emitSuccess()):t._emitHttpError(i,e,"tus: invalid or missing Location header")}else t._emitHttpError(i,e,"tus: unexpected response while creating upload")})).catch((function(e){t._emitError(e)}))}},{key:"_startSingleUpload",value:function(){if(this.options.uploadLengthDeferred)this._size=null;else if(null!=this.options.uploadSize){if(this._size=+this.options.uploadSize,isNaN(this._size))return void this._emitError(new Error("tus: cannot convert `uploadSize` option into a number"))}else if(this._size=this._source.size,null==this._size)return void this._emitError(new Error("tus: cannot automatically derive upload's size from input and must be specified manually using the `uploadSize` option"));return this._aborted=!1,null!=this.url?((0,s.c)("Resuming upload from previous URL: ".concat(this.url)),void this._resumeUpload()):null!=this.options.uploadUrl?((0,s.c)("Resuming upload from provided URL: ".concat(this.options.url)),this.url=this.options.uploadUrl,void this._resumeUpload()):((0,s.c)("Creating a new upload"),void this._createUpload())}},{key:"abort",value:function(t){var n=this;if(arguments.length>1&&"function"==typeof arguments[1])throw new Error("tus: the abort function does not accept a callback since v2 anymore; please use the returned Promise instead");return null!=this._parallelUploads&&this._parallelUploads.forEach((function(e){e.abort(t)})),null!==this._req&&(this._req.abort(),this._source.close()),this._aborted=!0,null!=this._retryTimeout&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),t&&null!=this.url?e.terminate(this.url,this.options).then((function(){return n._removeFromUrlStorage()})):Promise.resolve()}},{key:"_emitHttpError",value:function(e,t,n,a){this._emitError(new i.Z(n,a,e,t))}},{key:"_emitError",value:function(e){var t=this;if(!this._aborted){if(null!=this.options.retryDelays&&(null!=this._offset&&this._offset>this._offsetBeforeRetry&&(this._retryAttempt=0),w(e,this._retryAttempt,this.options))){var n=this.options.retryDelays[this._retryAttempt++];return this._offsetBeforeRetry=this._offset,void(this._retryTimeout=setTimeout((function(){t.start()}),n))}if("function"!=typeof this.options.onError)throw e;this.options.onError(e)}}},{key:"_emitSuccess",value:function(){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),"function"==typeof this.options.onSuccess&&this.options.onSuccess()}},{key:"_emitProgress",value:function(e,t){"function"==typeof this.options.onProgress&&this.options.onProgress(e,t)}},{key:"_emitChunkComplete",value:function(e,t,n){"function"==typeof this.options.onChunkComplete&&this.options.onChunkComplete(e,t,n)}},{key:"_createUpload",value:function(){var e=this;if(this.options.endpoint){var t=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?t.setHeader("Upload-Defer-Length",1):t.setHeader("Upload-Length",this._size);var n,a=g(this.options.metadata);""!==a&&t.setHeader("Upload-Metadata",a),this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,n=this._addChunkToRequest(t)):n=this._sendRequest(t,null),n.then((function(n){if(f(n.getStatus(),200)){var a=n.getHeader("Location");if(null!=a){if(e.url=b(e.options.endpoint,a),(0,s.c)("Created upload at ".concat(e.url)),"function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),0===e._size)return e._emitSuccess(),void e._source.close();e._saveUploadInUrlStorage(),e.options.uploadDataDuringCreation?e._handleUploadResponse(t,n):(e._offset=0,e._performUpload())}else e._emitHttpError(t,n,"tus: invalid or missing Location header")}else e._emitHttpError(t,n,"tus: unexpected response while creating upload")})).catch((function(n){e._emitHttpError(t,null,"tus: failed to create upload",n)}))}else this._emitError(new Error("tus: unable to create upload because no endpoint is provided"))}},{key:"_resumeUpload",value:function(){var e=this,t=this._openRequest("HEAD",this.url);this._sendRequest(t,null).then((function(n){var a=n.getStatus();if(!f(a,200))return f(a,400)&&e._removeFromUrlStorage(),423===a?void e._emitHttpError(t,n,"tus: upload is currently locked; retry later"):e.options.endpoint?(e.url=null,void e._createUpload()):void e._emitHttpError(t,n,"tus: unable to resume upload (new upload cannot be created without an endpoint)");var r=parseInt(n.getHeader("Upload-Offset"),10);if(isNaN(r))e._emitHttpError(t,n,"tus: invalid or missing offset value");else{var o=parseInt(n.getHeader("Upload-Length"),10);if(!isNaN(o)||e.options.uploadLengthDeferred){if("function"==typeof e.options._onUploadUrlAvailable&&e.options._onUploadUrlAvailable(),r===o)return e._emitProgress(o,o),void e._emitSuccess();e._offset=r,e._performUpload()}else e._emitHttpError(t,n,"tus: invalid or missing length value")}})).catch((function(n){e._emitHttpError(t,null,"tus: failed to resume upload",n)}))}},{key:"_performUpload",value:function(){var e,t=this;this._aborted||(this.options.overridePatchMethod?(e=this._openRequest("POST",this.url)).setHeader("X-HTTP-Method-Override","PATCH"):e=this._openRequest("PATCH",this.url),e.setHeader("Upload-Offset",this._offset),this._addChunkToRequest(e).then((function(n){f(n.getStatus(),200)?t._handleUploadResponse(e,n):t._emitHttpError(e,n,"tus: unexpected response while uploading chunk")})).catch((function(n){t._aborted||t._emitHttpError(e,null,"tus: failed to upload chunk at offset ".concat(t._offset),n)})))}},{key:"_addChunkToRequest",value:function(e){var t=this,n=this._offset,a=this._offset+this.options.chunkSize;return e.setProgressHandler((function(e){t._emitProgress(n+e,t._size)})),e.setHeader("Content-Type","application/offset+octet-stream"),(a===1/0||a>this._size)&&!this.options.uploadLengthDeferred&&(a=this._size),this._source.slice(n,a).then((function(n){var a=n.value,r=n.done;return t.options.uploadLengthDeferred&&r&&(t._size=t._offset+(a&&a.size?a.size:0),e.setHeader("Upload-Length",t._size)),null===a?t._sendRequest(e):(t._emitProgress(t._offset,t._size),t._sendRequest(e,a))}))}},{key:"_handleUploadResponse",value:function(e,t){var n=parseInt(t.getHeader("Upload-Offset"),10);if(isNaN(n))this._emitHttpError(e,t,"tus: invalid or missing offset value");else{if(this._emitProgress(n,this._size),this._emitChunkComplete(n-this._offset,n,this._size),this._offset=n,n==this._size)return this._emitSuccess(),void this._source.close();this._performUpload()}}},{key:"_openRequest",value:function(e,t){var n=v(e,t,this.options);return this._req=n,n}},{key:"_removeFromUrlStorage",value:function(){var e=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch((function(t){e._emitError(t)})),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var e=this;if(this.options.storeFingerprintForResuming&&this._fingerprint){var t={size:this._size,metadata:this.options.metadata,creationTime:(new Date).toString()};this._parallelUploads?t.parallelUploadUrls=this._parallelUploadUrls:t.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,t).then((function(t){return e._urlStorageKey=t})).catch((function(t){e._emitError(t)}))}}},{key:"_sendRequest",value:function(e){return y(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,this.options)}}],a=[{key:"terminate",value:function(t,n){if(arguments.length>1&&"function"==typeof arguments[arguments.length-1])throw new Error("tus: the terminate function does not accept a callback since v2 anymore; please use the returned Promise instead");void 0===n&&(n={});var a=v("DELETE",t,n);return y(a,null,n).then((function(e){if(204!==e.getStatus())throw new i.Z("tus: unexpected response while terminating upload",null,a,e)})).catch((function(r){if(r instanceof i.Z||(r=new i.Z("tus: failed to terminate upload",r,a,null)),!w(r,0,n))throw r;var o=n.retryDelays[0],s=n.retryDelays.slice(1),c=d({},n,{retryDelays:s});return new Promise((function(e){return setTimeout(e,o)})).then((function(){return e.terminate(t,c)}))}))}}],n&&p(t.prototype,n),a&&p(t,a),e}();function g(e){var t=[];for(var n in e)t.push("".concat(n," ").concat(a.Base64.encode(e[n])));return t.join(",")}function f(e,t){return e>=t&&e<t+100}function v(e,t,n){var a=n.httpStack.createRequest(e,t);a.setHeader("Tus-Resumable","1.0.0");var r=n.headers||{};for(var o in r)a.setHeader(o,r[o]);if(n.addRequestId){var i=(0,c.Z)();a.setHeader("X-Request-ID",i)}return a}function y(e,t,n){return("function"==typeof n.onBeforeRequest?Promise.resolve(n.onBeforeRequest(e)):Promise.resolve()).then((function(){return e.send(t).then((function(t){return("function"==typeof n.onAfterResponse?Promise.resolve(n.onAfterResponse(e,t)):Promise.resolve()).then((function(){return t}))}))}))}function w(e,t,n){if(null==n.retryDelays||t>=n.retryDelays.length||null==e.originalRequest)return!1;if(n&&"function"==typeof n.onShouldRetry)return n.onShouldRetry(e,t,n);var a,r=e.originalResponse?e.originalResponse.getStatus():0;return(!f(r,400)||409===r||423===r)&&(a=!0,"undefined"!=typeof window&&"navigator"in window&&!1===window.navigator.onLine&&(a=!1),a)}function b(e,t){return new(o())(t,e).toString()}h.defaultOptions=m;const E=h},8184:(e,t,n)=>{"use strict";function a(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}n.d(t,{Z:()=>a})},1294:(e,t,n)=>{"use strict";var a=n(2298),r=n(142),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,d=/^[a-zA-Z]:/;function u(e){return(e||"").toString().replace(o,"")}var p=[["#","hash"],["?","query"],function(e,t){return g(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],m={hash:1,query:1};function h(e){var t,n=("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).location||{},a={},r=typeof(e=e||n);if("blob:"===e.protocol)a=new v(unescape(e.pathname),{});else if("string"===r)for(t in a=new v(e,{}),m)delete a[t];else if("object"===r){for(t in e)t in m||(a[t]=e[t]);void 0===a.slashes&&(a.slashes=s.test(e.href))}return a}function g(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function f(e,t){e=(e=u(e)).replace(i,""),t=t||{};var n,a=l.exec(e),r=a[1]?a[1].toLowerCase():"",o=!!a[2],s=!!a[3],c=0;return o?s?(n=a[2]+a[3]+a[4],c=a[2].length+a[3].length):(n=a[2]+a[4],c=a[2].length):s?(n=a[3]+a[4],c=a[3].length):n=a[4],"file:"===r?c>=2&&(n=n.slice(2)):g(r)?n=a[4]:r?o&&(n=n.slice(2)):c>=2&&g(t.protocol)&&(n=a[4]),{protocol:r,slashes:o||g(r),slashesCount:c,rest:n}}function v(e,t,n){if(e=(e=u(e)).replace(i,""),!(this instanceof v))return new v(e,t,n);var o,s,c,l,m,y,w=p.slice(),b=typeof t,E=this,k=0;for("object"!==b&&"string"!==b&&(n=t,t=null),n&&"function"!=typeof n&&(n=r.parse),o=!(s=f(e||"",t=h(t))).protocol&&!s.slashes,E.slashes=s.slashes||o&&t.slashes,E.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||d.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!g(E.protocol)))&&(w[3]=[/(.*)/,"pathname"]);k<w.length;k++)"function"!=typeof(l=w[k])?(c=l[0],y=l[1],c!=c?E[y]=e:"string"==typeof c?~(m="@"===c?e.lastIndexOf(c):e.indexOf(c))&&("number"==typeof l[2]?(E[y]=e.slice(0,m),e=e.slice(m+l[2])):(E[y]=e.slice(m),e=e.slice(0,m))):(m=c.exec(e))&&(E[y]=m[1],e=e.slice(0,m.index)),E[y]=E[y]||o&&l[3]&&t[y]||"",l[4]&&(E[y]=E[y].toLowerCase())):e=l(e,E);n&&(E.query=n(E.query)),o&&t.slashes&&"/"!==E.pathname.charAt(0)&&(""!==E.pathname||""!==t.pathname)&&(E.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),a=n.length,r=n[a-1],o=!1,i=0;a--;)"."===n[a]?n.splice(a,1):".."===n[a]?(n.splice(a,1),i++):i&&(0===a&&(o=!0),n.splice(a,1),i--);return o&&n.unshift(""),"."!==r&&".."!==r||n.push(""),n.join("/")}(E.pathname,t.pathname)),"/"!==E.pathname.charAt(0)&&g(E.protocol)&&(E.pathname="/"+E.pathname),a(E.port,E.protocol)||(E.host=E.hostname,E.port=""),E.username=E.password="",E.auth&&(~(m=E.auth.indexOf(":"))?(E.username=E.auth.slice(0,m),E.username=encodeURIComponent(decodeURIComponent(E.username)),E.password=E.auth.slice(m+1),E.password=encodeURIComponent(decodeURIComponent(E.password))):E.username=encodeURIComponent(decodeURIComponent(E.auth)),E.auth=E.password?E.username+":"+E.password:E.username),E.origin="file:"!==E.protocol&&g(E.protocol)&&E.host?E.protocol+"//"+E.host:"null",E.href=E.toString()}v.prototype={set:function(e,t,n){var o=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||r.parse)(t)),o[e]=t;break;case"port":o[e]=t,a(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,c.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!n;break;case"pathname":case"hash":if(t){var i="pathname"===e?"/":"#";o[e]=t.charAt(0)!==i?i+t:t}else o[e]=t;break;case"username":case"password":o[e]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(o.username=t.slice(0,s),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=t.slice(s+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(t))}for(var l=0;l<p.length;l++){var d=p[l];d[4]&&(o[d[1]]=o[d[1]].toLowerCase())}return o.auth=o.password?o.username+":"+o.password:o.username,o.origin="file:"!==o.protocol&&g(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"==typeof e||(e=r.stringify);var t,n=this,a=n.host,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var i=o+(n.protocol&&n.slashes||g(n.protocol)?"//":"");return n.username?(i+=n.username,n.password&&(i+=":"+n.password),i+="@"):n.password?(i+=":"+n.password,i+="@"):"file:"!==n.protocol&&g(n.protocol)&&!a&&"/"!==n.pathname&&(i+="@"),(":"===a[a.length-1]||c.test(n.hostname)&&!n.port)&&(a+=":"),i+=a+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},v.extractProtocol=f,v.location=h,v.trimLeft=u,v.qs=r,e.exports=v},495:e=>{"use strict";if(void 0==={consumer_slug:"jetpack-videopress"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-videopress"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-videopress"}},9196:e=>{"use strict";e.exports=window.React},6989:e=>{"use strict";e.exports=window.wp.apiFetch},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},9771:e=>{"use strict";e.exports=window.wp.date},9307:e=>{"use strict";e.exports=window.wp.element},5736:e=>{"use strict";e.exports=window.wp.i18n},444:e=>{"use strict";e.exports=window.wp.primitives},6483:e=>{"use strict";e.exports=window.wp.url},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},255:(e,t,n)=>{"use strict";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},a.apply(this,arguments)}n.d(t,{Z:()=>a})},1806:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(205);function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,a.Z)(e,t)}},7921:(e,t,n)=>{"use strict";function a(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}n.d(t,{Z:()=>a})},205:(e,t,n)=>{"use strict";function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}n.d(t,{Z:()=>a})},4262:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=!0,r="Invariant failed";function o(e,t){if(!e){if(a)throw new Error(r);var n="function"==typeof t?t():t,o=n?"".concat(r,": ").concat(n):r;throw new Error(o)}}}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(8275),t=n(9307),a=n(5736),r=n(9196),o=n(4498),i=n(7453),s=n(4817),c=n(7470),l=n(9420),d=n(2472),u=n(671);n(8455);const __=a.__;function p(){const e=(0,o.TH)();return(0,r.useEffect)((()=>{setTimeout((()=>{window.scrollTo(0,0)}),0)}),[e]),null}(0,s.N2)();const m=()=>{const{isUploading:t}=(0,u.ZP)();return(0,d.Z)({shouldPrevent:t,message:__("Leaving will cancel the upload. Are you sure you want to exit?","jetpack-videopress-pkg")}),React.createElement(e.ZP,null,React.createElement(i.UT,null,React.createElement(p,null),React.createElement(o.rs,null,React.createElement(o.AW,{exact:!0,path:"/"},React.createElement(c.Z,null)),React.createElement(o.AW,{path:"/video/:videoId/edit"},React.createElement(l.Z,null)))))};!function(){const e=document.getElementById("jetpack-videopress-root");null!==e&&t.createRoot(e).render(React.createElement(m,null))}()})()})();