WS_OK_7.4.33
/*! For license information please see index.js.LICENSE.txt */
(globalThis.webpackChunksocial_media_feather=globalThis.webpackChunksocial_media_feather||[]).push([[826],{689:(e,t,a)=>{"use strict";const l=window.wp.element,n=window.wp.domReady;var o=a.n(n);const r=window.wp.apiFetch;var i=a.n(r);const s=window.wp.i18n,c=window.lodash;var u=a.n(c),d=a(184),m=a.n(d),p=a(196),f=a.n(p),h=a(893);const b=p.createContext({prefixes:{},breakpoints:["xxl","xl","lg","md","sm","xs"],minBreakpoint:"xs"}),{Consumer:_,Provider:g}=b;function y(e,t){const{prefixes:a}=(0,p.useContext)(b);return e||a[t]||t}function v(){const{breakpoints:e}=(0,p.useContext)(b);return e}function x(){const{minBreakpoint:e}=(0,p.useContext)(b);return e}const w=p.forwardRef((({bsPrefix:e,fluid:t=!1,as:a="div",className:l,...n},o)=>{const r=y(e,"container"),i="string"==typeof t?`-${t}`:"-fluid";return(0,h.jsx)(a,{ref:o,...n,className:m()(l,t?`${r}${i}`:r)})}));w.displayName="Container";const E=w;var k=a(697),S=a.n(k);const N={type:S().string,tooltip:S().bool,as:S().elementType},C=p.forwardRef((({as:e="div",className:t,type:a="valid",tooltip:l=!1,...n},o)=>(0,h.jsx)(e,{...n,ref:o,className:m()(t,`${a}-${l?"tooltip":"feedback"}`)})));C.displayName="Feedback",C.propTypes=N;const F=C,T=p.createContext({}),M=p.forwardRef((({id:e,bsPrefix:t,className:a,type:l="checkbox",isValid:n=!1,isInvalid:o=!1,as:r="input",...i},s)=>{const{controlId:c}=(0,p.useContext)(T);return t=y(t,"form-check-input"),(0,h.jsx)(r,{...i,ref:s,type:l,id:e||c,className:m()(a,t,n&&"is-valid",o&&"is-invalid")})}));M.displayName="FormCheckInput";const P=M,O=p.forwardRef((({bsPrefix:e,className:t,htmlFor:a,...l},n)=>{const{controlId:o}=(0,p.useContext)(T);return e=y(e,"form-check-label"),(0,h.jsx)("label",{...l,ref:n,htmlFor:a||o,className:m()(t,e)})}));O.displayName="FormCheckLabel";const L=O;function I(e,t){let a=0;return p.Children.map(e,(e=>p.isValidElement(e)?t(e,a++):e))}const j=p.forwardRef((({id:e,bsPrefix:t,bsSwitchPrefix:a,inline:l=!1,reverse:n=!1,disabled:o=!1,isValid:r=!1,isInvalid:i=!1,feedbackTooltip:s=!1,feedback:c,feedbackType:u,className:d,style:f,title:b="",type:_="checkbox",label:g,children:v,as:x="input",...w},E)=>{t=y(t,"form-check"),a=y(a,"form-switch");const{controlId:k}=(0,p.useContext)(T),S=(0,p.useMemo)((()=>({controlId:e||k})),[k,e]),N=!v&&null!=g&&!1!==g||function(e,t){return p.Children.toArray(e).some((e=>p.isValidElement(e)&&e.type===t))}(v,L),C=(0,h.jsx)(P,{...w,type:"switch"===_?"checkbox":_,ref:E,isValid:r,isInvalid:i,disabled:o,as:x});return(0,h.jsx)(T.Provider,{value:S,children:(0,h.jsx)("div",{style:f,className:m()(d,N&&t,l&&`${t}-inline`,n&&`${t}-reverse`,"switch"===_&&a),children:v||(0,h.jsxs)(h.Fragment,{children:[C,N&&(0,h.jsx)(L,{title:b,children:g}),c&&(0,h.jsx)(F,{type:u,tooltip:s,children:c})]})})})}));j.displayName="FormCheck";const R=Object.assign(j,{Input:P,Label:L});a(473);const $=p.forwardRef((({bsPrefix:e,type:t,size:a,htmlSize:l,id:n,className:o,isValid:r=!1,isInvalid:i=!1,plaintext:s,readOnly:c,as:u="input",...d},f)=>{const{controlId:b}=(0,p.useContext)(T);return e=y(e,"form-control"),(0,h.jsx)(u,{...d,type:t,size:l,ref:f,readOnly:c,id:n||b,className:m()(o,s?`${e}-plaintext`:e,a&&`${e}-${a}`,"color"===t&&`${e}-color`,r&&"is-valid",i&&"is-invalid")})}));$.displayName="FormControl";const A=Object.assign($,{Feedback:F}),D=p.forwardRef((({className:e,bsPrefix:t,as:a="div",...l},n)=>(t=y(t,"form-floating"),(0,h.jsx)(a,{ref:n,className:m()(e,t),...l}))));D.displayName="FormFloating";const G=D,K=p.forwardRef((({controlId:e,as:t="div",...a},l)=>{const n=(0,p.useMemo)((()=>({controlId:e})),[e]);return(0,h.jsx)(T.Provider,{value:n,children:(0,h.jsx)(t,{...a,ref:l})})}));K.displayName="FormGroup";const B=K,U=p.forwardRef(((e,t)=>{const[{className:a,...l},{as:n="div",bsPrefix:o,spans:r}]=function({as:e,bsPrefix:t,className:a,...l}){t=y(t,"col");const n=v(),o=x(),r=[],i=[];return n.forEach((e=>{const a=l[e];let n,s,c;delete l[e],"object"==typeof a&&null!=a?({span:n,offset:s,order:c}=a):n=a;const u=e!==o?`-${e}`:"";n&&r.push(!0===n?`${t}${u}`:`${t}${u}-${n}`),null!=c&&i.push(`order${u}-${c}`),null!=s&&i.push(`offset${u}-${s}`)})),[{...l,className:m()(a,...r,...i)},{as:e,bsPrefix:t,spans:r}]}(e);return(0,h.jsx)(n,{...l,ref:t,className:m()(a,!r.length&&o)})}));U.displayName="Col";const z=U,W=p.forwardRef((({as:e="label",bsPrefix:t,column:a=!1,visuallyHidden:l=!1,className:n,htmlFor:o,...r},i)=>{const{controlId:s}=(0,p.useContext)(T);t=y(t,"form-label");let c="col-form-label";"string"==typeof a&&(c=`${c} ${c}-${a}`);const u=m()(n,t,l&&"visually-hidden",a&&c);return o=o||s,a?(0,h.jsx)(z,{ref:i,as:"label",className:u,htmlFor:o,...r}):(0,h.jsx)(e,{ref:i,className:u,htmlFor:o,...r})}));W.displayName="FormLabel";const q=W,V=p.forwardRef((({bsPrefix:e,className:t,id:a,...l},n)=>{const{controlId:o}=(0,p.useContext)(T);return e=y(e,"form-range"),(0,h.jsx)("input",{...l,type:"range",ref:n,className:m()(t,e),id:a||o})}));V.displayName="FormRange";const Y=V,H=p.forwardRef((({bsPrefix:e,size:t,htmlSize:a,className:l,isValid:n=!1,isInvalid:o=!1,id:r,...i},s)=>{const{controlId:c}=(0,p.useContext)(T);return e=y(e,"form-select"),(0,h.jsx)("select",{...i,size:a,ref:s,className:m()(l,e,t&&`${e}-${t}`,n&&"is-valid",o&&"is-invalid"),id:r||c})}));H.displayName="FormSelect";const X=H,Z=p.forwardRef((({bsPrefix:e,className:t,as:a="small",muted:l,...n},o)=>(e=y(e,"form-text"),(0,h.jsx)(a,{...n,ref:o,className:m()(t,e,l&&"text-muted")}))));Z.displayName="FormText";const J=Z,Q=p.forwardRef(((e,t)=>(0,h.jsx)(R,{...e,ref:t,type:"switch"})));Q.displayName="Switch";const ee=Object.assign(Q,{Input:R.Input,Label:R.Label}),te=p.forwardRef((({bsPrefix:e,className:t,children:a,controlId:l,label:n,...o},r)=>(e=y(e,"form-floating"),(0,h.jsxs)(B,{ref:r,className:m()(t,e),controlId:l,...o,children:[a,(0,h.jsx)("label",{htmlFor:l,children:n})]}))));te.displayName="FloatingLabel";const ae=te,le={_ref:S().any,validated:S().bool,as:S().elementType},ne=p.forwardRef((({className:e,validated:t,as:a="form",...l},n)=>(0,h.jsx)(a,{...l,ref:n,className:m()(e,t&&"was-validated")})));ne.displayName="Form",ne.propTypes=le;const oe=Object.assign(ne,{Group:B,Control:A,Floating:G,Check:R,Switch:ee,Label:q,Text:J,Range:Y,Select:X,FloatingLabel:ae}),re=p.forwardRef((({bsPrefix:e,className:t,as:a="div",...l},n)=>{const o=y(e,"row"),r=v(),i=x(),s=`${o}-cols`,c=[];return r.forEach((e=>{const t=l[e];let a;delete l[e],null!=t&&"object"==typeof t?({cols:a}=t):a=t;const n=e!==i?`-${e}`:"";null!=a&&c.push(`${s}${n}-${a}`)})),(0,h.jsx)(a,{ref:n,...l,className:m()(t,o,...c)})}));re.displayName="Row";const ie=re;function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},se.apply(this,arguments)}function ce(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}function ue(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function de(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var l=a.call(e,"string");if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}function me(e,t){return Object.keys(t).reduce((function(a,l){var n,o=a,r=o[ue(l)],i=o[l],s=ce(o,[ue(l),l].map(de)),c=t[l],u=function(e,t,a){var l=(0,p.useRef)(void 0!==e),n=(0,p.useState)(t),o=n[0],r=n[1],i=void 0!==e,s=l.current;return l.current=i,!i&&s&&o!==t&&r(t),[i?e:o,(0,p.useCallback)((function(e){for(var t=arguments.length,l=new Array(t>1?t-1:0),n=1;n<t;n++)l[n-1]=arguments[n];a&&a.apply(void 0,[e].concat(l)),r(e)}),[a])]}(i,r,e[c]),d=u[0],m=u[1];return se({},s,((n={})[l]=d,n[c]=m,n))}),e)}a(143);const pe={prefix:String(Math.round(1e10*Math.random())),current:0},fe=p.createContext(pe),he=p.createContext(!1);let be=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),_e=new WeakMap;const ge="function"==typeof p.useId?function(e){let t=p.useId(),[a]=(0,p.useState)("function"==typeof p.useSyncExternalStore?p.useSyncExternalStore(xe,ye,ve):(0,p.useContext)(he));return e||`${a?"react-aria":`react-aria${pe.prefix}`}-${t}`}:function(e){let t=(0,p.useContext)(fe);t!==pe||be||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let a=function(e=!1){let t=(0,p.useContext)(fe),a=(0,p.useRef)(null);if(null===a.current&&!e){var l,n;let e=null===(n=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===n||null===(l=n.ReactCurrentOwner)||void 0===l?void 0:l.current;if(e){let a=_e.get(e);null==a?_e.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==a.state&&(t.current=a.id,_e.delete(e))}a.current=++t.current}return a.current}(!!e),l=`react-aria${t.prefix}`;return e||`${l}-${a}`};function ye(){return!1}function ve(){return!0}function xe(e){return()=>{}}const we=p.createContext(null),Ee=(e,t=null)=>null!=e?String(e):t||null,ke=p.createContext(null),Se=function(e){const t=(0,p.useRef)(e);return(0,p.useEffect)((()=>{t.current=e}),[e]),t};function Ne(e){const t=Se(e);return(0,p.useCallback)((function(...e){return t.current&&t.current(...e)}),[t])}const Ce=e=>e&&"function"!=typeof e?t=>{e.current=t}:e,Fe=function(e,t){return(0,p.useMemo)((()=>function(e,t){const a=Ce(e),l=Ce(t);return e=>{a&&a(e),l&&l(e)}}(e,t)),[e,t])},Te=function({children:e,in:t,onExited:a,mountOnEnter:l,unmountOnExit:n}){const o=(0,p.useRef)(null),r=(0,p.useRef)(t),i=Ne(a);(0,p.useEffect)((()=>{t?r.current=!0:i(o.current)}),[t,i]);const s=Fe(o,e.ref),c=(0,p.cloneElement)(e,{ref:s});return t?c:n||!r.current&&l?null:c},Me=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],Pe=["activeKey","getControlledId","getControllerId"],Oe=["as"];function Le(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}function Ie(e){let{active:t,eventKey:a,mountOnEnter:l,transition:n,unmountOnExit:o,role:r="tabpanel",onEnter:i,onEntering:s,onEntered:c,onExit:u,onExiting:d,onExited:m}=e,f=Le(e,Me);const h=(0,p.useContext)(we);if(!h)return[Object.assign({},f,{role:r}),{eventKey:a,isActive:t,mountOnEnter:l,transition:n,unmountOnExit:o,onEnter:i,onEntering:s,onEntered:c,onExit:u,onExiting:d,onExited:m}];const{activeKey:b,getControlledId:_,getControllerId:g}=h,y=Le(h,Pe),v=Ee(a);return[Object.assign({},f,{role:r,id:_(a),"aria-labelledby":g(a)}),{eventKey:a,isActive:null==t&&null!=v?Ee(b)===v:t,transition:n||y.transition,mountOnEnter:null!=l?l:y.mountOnEnter,unmountOnExit:null!=o?o:y.unmountOnExit,onEnter:i,onEntering:s,onEntered:c,onExit:u,onExiting:d,onExited:m}]}const je=p.forwardRef(((e,t)=>{let{as:a="div"}=e,l=Le(e,Oe);const[n,{isActive:o,onEnter:r,onEntering:i,onEntered:s,onExit:c,onExiting:u,onExited:d,mountOnEnter:m,unmountOnExit:p,transition:f=Te}]=Ie(l);return(0,h.jsx)(we.Provider,{value:null,children:(0,h.jsx)(ke.Provider,{value:null,children:(0,h.jsx)(f,{in:o,onEnter:r,onEntering:i,onEntered:s,onExit:c,onExiting:u,onExited:d,mountOnEnter:m,unmountOnExit:p,children:(0,h.jsx)(a,Object.assign({},n,{ref:t,hidden:!o,"aria-hidden":!o}))})})})}));je.displayName="TabPanel";const Re=e=>{const{id:t,generateChildId:a,onSelect:l,activeKey:n,defaultActiveKey:o,transition:r,mountOnEnter:i,unmountOnExit:s,children:c}=e,[u,d]=function(e,t,a){const l=(0,p.useRef)(void 0!==e),[n,o]=(0,p.useState)(t),r=void 0!==e,i=l.current;return l.current=r,!r&&i&&n!==t&&o(t),[r?e:n,(0,p.useCallback)(((...e)=>{const[t,...l]=e;let n=null==a?void 0:a(t,...l);return o(t),n}),[a])]}(n,o,l),m=ge(t),f=(0,p.useMemo)((()=>a||((e,t)=>m?`${m}-${t}-${e}`:null)),[m,a]),b=(0,p.useMemo)((()=>({onSelect:d,activeKey:u,transition:r,mountOnEnter:i||!1,unmountOnExit:s||!1,getControlledId:e=>f(e,"tabpane"),getControllerId:e=>f(e,"tab")})),[d,u,r,i,s,f]);return(0,h.jsx)(we.Provider,{value:b,children:(0,h.jsx)(ke.Provider,{value:d||null,children:c})})};Re.Panel=je;const $e=Re;a(391);var Ae=Function.prototype.bind.call(Function.prototype.call,[].slice);const De=p.createContext(null);De.displayName="NavContext";const Ge=De,Ke="data-rr-ui-";function Be(e){return`${Ke}${e}`}const Ue=["as","disabled"];function ze({tagName:e,disabled:t,href:a,target:l,rel:n,role:o,onClick:r,tabIndex:i=0,type:s}){e||(e=null!=a||null!=l||null!=n?"a":"button");const c={tagName:e};if("button"===e)return[{type:s||"button",disabled:t},c];const u=l=>{(t||"a"===e&&function(e){return!e||"#"===e.trim()}(a))&&l.preventDefault(),t?l.stopPropagation():null==r||r(l)};return"a"===e&&(a||(a="#"),t&&(a=void 0)),[{role:null!=o?o:"button",disabled:void 0,tabIndex:t?void 0:i,href:a,target:"a"===e?l:void 0,"aria-disabled":t||void 0,rel:"a"===e?n:void 0,onClick:u,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),u(e))}},c]}const We=p.forwardRef(((e,t)=>{let{as:a,disabled:l}=e,n=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,Ue);const[o,{tagName:r}]=ze(Object.assign({tagName:a,disabled:l},n));return(0,h.jsx)(r,Object.assign({},n,o,{ref:t}))}));We.displayName="Button";const qe=We,Ve=["as","active","eventKey"];function Ye({key:e,onClick:t,active:a,id:l,role:n,disabled:o}){const r=(0,p.useContext)(ke),i=(0,p.useContext)(Ge),s=(0,p.useContext)(we);let c=a;const u={role:n};if(i){n||"tablist"!==i.role||(u.role="tab");const t=i.getControllerId(null!=e?e:null),o=i.getControlledId(null!=e?e:null);u[Be("event-key")]=e,u.id=t||l,c=null==a&&null!=e?i.activeKey===e:a,!c&&(null!=s&&s.unmountOnExit||null!=s&&s.mountOnEnter)||(u["aria-controls"]=o)}return"tab"===u.role&&(u["aria-selected"]=c,c||(u.tabIndex=-1),o&&(u.tabIndex=-1,u["aria-disabled"]=!0)),u.onClick=Ne((a=>{o||(null==t||t(a),null!=e&&r&&!a.isPropagationStopped()&&r(e,a))})),[u,{isActive:c}]}const He=p.forwardRef(((e,t)=>{let{as:a=qe,active:l,eventKey:n}=e,o=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,Ve);const[r,i]=Ye(Object.assign({key:Ee(n,o.href),active:l},o));return r[Be("active")]=i.isActive,(0,h.jsx)(a,Object.assign({},o,r,{ref:t}))}));He.displayName="NavItem";const Xe=He,Ze=["as","onSelect","activeKey","role","onKeyDown"],Je=()=>{},Qe=Be("event-key"),et=p.forwardRef(((e,t)=>{let{as:a="div",onSelect:l,activeKey:n,role:o,onKeyDown:r}=e,i=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,Ze);const s=function(){const[,e]=(0,p.useReducer)((e=>!e),!1);return e}(),c=(0,p.useRef)(!1),u=(0,p.useContext)(ke),d=(0,p.useContext)(we);let m,f;d&&(o=o||"tablist",n=d.activeKey,m=d.getControlledId,f=d.getControllerId);const b=(0,p.useRef)(null),_=e=>{const t=b.current;if(!t)return null;const a=(l=`[${Qe}]:not([aria-disabled=true])`,Ae(t.querySelectorAll(l)));var l;const n=t.querySelector("[aria-selected=true]");if(!n||n!==document.activeElement)return null;const o=a.indexOf(n);if(-1===o)return null;let r=o+e;return r>=a.length&&(r=0),r<0&&(r=a.length-1),a[r]},g=(e,t)=>{null!=e&&(null==l||l(e,t),null==u||u(e,t))};(0,p.useEffect)((()=>{if(b.current&&c.current){const e=b.current.querySelector(`[${Qe}][aria-selected=true]`);null==e||e.focus()}c.current=!1}));const y=Fe(t,b);return(0,h.jsx)(ke.Provider,{value:g,children:(0,h.jsx)(Ge.Provider,{value:{role:o,activeKey:Ee(n),getControlledId:m||Je,getControllerId:f||Je},children:(0,h.jsx)(a,Object.assign({},i,{onKeyDown:e=>{if(null==r||r(e),!d)return;let t;switch(e.key){case"ArrowLeft":case"ArrowUp":t=_(-1);break;case"ArrowRight":case"ArrowDown":t=_(1);break;default:return}t&&(e.preventDefault(),g(t.dataset[("EventKey","rrUiEventKey")]||null,e),c.current=!0,s())},ref:y,role:o}))})})}));et.displayName="Nav";const tt=Object.assign(et,{Item:Xe}),at=p.createContext(null);at.displayName="NavbarContext";const lt=at,nt=p.createContext(null);nt.displayName="CardHeaderContext";const ot=nt,rt=p.forwardRef((({className:e,bsPrefix:t,as:a="div",...l},n)=>(t=y(t,"nav-item"),(0,h.jsx)(a,{ref:n,className:m()(e,t),...l}))));rt.displayName="NavItem";const it=rt;void 0!==a.g&&a.g.navigator&&a.g.navigator.product,new WeakMap;const st=["onKeyDown"],ct=p.forwardRef(((e,t)=>{let{onKeyDown:a}=e,l=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,st);const[n]=ze(Object.assign({tagName:"a"},l)),o=Ne((e=>{n.onKeyDown(e),null==a||a(e)}));return(r=l.href)&&"#"!==r.trim()&&"button"!==l.role?(0,h.jsx)("a",Object.assign({ref:t},l,{onKeyDown:a})):(0,h.jsx)("a",Object.assign({ref:t},l,n,{onKeyDown:o}));var r}));ct.displayName="Anchor";const ut=ct,dt=p.forwardRef((({bsPrefix:e,className:t,as:a=ut,active:l,eventKey:n,disabled:o=!1,...r},i)=>{e=y(e,"nav-link");const[s,c]=Ye({key:Ee(n,r.href),active:l,disabled:o,...r});return(0,h.jsx)(a,{...r,...s,ref:i,disabled:o,className:m()(t,e,o&&"disabled",c.isActive&&"active")})}));dt.displayName="NavLink";const mt=dt,pt=p.forwardRef(((e,t)=>{const{as:a="div",bsPrefix:l,variant:n,fill:o=!1,justify:r=!1,navbar:i,navbarScroll:s,className:c,activeKey:u,...d}=me(e,{activeKey:"onSelect"}),f=y(l,"nav");let b,_,g=!1;const v=(0,p.useContext)(lt),x=(0,p.useContext)(ot);return v?(b=v.bsPrefix,g=null==i||i):x&&({cardHeaderBsPrefix:_}=x),(0,h.jsx)(tt,{as:a,ref:t,activeKey:u,className:m()(c,{[f]:!g,[`${b}-nav`]:g,[`${b}-nav-scroll`]:g&&s,[`${_}-${n}`]:!!_,[`${f}-${n}`]:!!n,[`${f}-fill`]:o,[`${f}-justified`]:r}),...d})}));pt.displayName="Nav";const ft=Object.assign(pt,{Item:it,Link:mt}),ht=p.forwardRef((({className:e,bsPrefix:t,as:a="div",...l},n)=>(t=y(t,"tab-content"),(0,h.jsx)(a,{ref:n,className:m()(e,t),...l}))));ht.displayName="TabContent";const bt=ht;function _t(e,t){return _t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_t(e,t)}const gt=window.ReactDOM;var yt=a.n(gt);const vt=f().createContext(null);var xt="unmounted",wt="exited",Et="entering",kt="entered",St="exiting",Nt=function(e){var t,a;function l(t,a){var l;l=e.call(this,t,a)||this;var n,o=a&&!a.isMounting?t.enter:t.appear;return l.appearStatus=null,t.in?o?(n=wt,l.appearStatus=Et):n=kt:n=t.unmountOnExit||t.mountOnEnter?xt:wt,l.state={status:n},l.nextCallback=null,l}a=e,(t=l).prototype=Object.create(a.prototype),t.prototype.constructor=t,_t(t,a),l.getDerivedStateFromProps=function(e,t){return e.in&&t.status===xt?{status:wt}:null};var n=l.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var a=this.state.status;this.props.in?a!==Et&&a!==kt&&(t=Et):a!==Et&&a!==kt||(t=St)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,a,l=this.props.timeout;return e=t=a=l,null!=l&&"number"!=typeof l&&(e=l.exit,t=l.enter,a=void 0!==l.appear?l.appear:t),{exit:e,enter:t,appear:a}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Et){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:yt().findDOMNode(this);a&&function(e){e.scrollTop}(a)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===wt&&this.setState({status:xt})},n.performEnter=function(e){var t=this,a=this.props.enter,l=this.context?this.context.isMounting:e,n=this.props.nodeRef?[l]:[yt().findDOMNode(this),l],o=n[0],r=n[1],i=this.getTimeouts(),s=l?i.appear:i.enter;e||a?(this.props.onEnter(o,r),this.safeSetState({status:Et},(function(){t.props.onEntering(o,r),t.onTransitionEnd(s,(function(){t.safeSetState({status:kt},(function(){t.props.onEntered(o,r)}))}))}))):this.safeSetState({status:kt},(function(){t.props.onEntered(o)}))},n.performExit=function(){var e=this,t=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:yt().findDOMNode(this);t?(this.props.onExit(l),this.safeSetState({status:St},(function(){e.props.onExiting(l),e.onTransitionEnd(a.exit,(function(){e.safeSetState({status:wt},(function(){e.props.onExited(l)}))}))}))):this.safeSetState({status:wt},(function(){e.props.onExited(l)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,a=!0;return this.nextCallback=function(l){a&&(a=!1,t.nextCallback=null,e(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var a=this.props.nodeRef?this.props.nodeRef.current:yt().findDOMNode(this),l=null==e&&!this.props.addEndListener;if(a&&!l){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],o=n[0],r=n[1];this.props.addEndListener(o,r)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===xt)return null;var t=this.props,a=t.children,l=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,ce(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return f().createElement(vt.Provider,{value:null},"function"==typeof a?a(e,l):f().cloneElement(f().Children.only(a),l))},l}(f().Component);function Ct(){}Nt.contextType=vt,Nt.propTypes={},Nt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ct,onEntering:Ct,onEntered:Ct,onExit:Ct,onExiting:Ct,onExited:Ct},Nt.UNMOUNTED=xt,Nt.EXITED=wt,Nt.ENTERING=Et,Nt.ENTERED=kt,Nt.EXITING=St;const Ft=Nt;var Tt=/([A-Z])/g,Mt=/^ms-/;function Pt(e){return function(e){return e.replace(Tt,"-$1").toLowerCase()}(e).replace(Mt,"-ms-")}var Ot=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const Lt=function(e,t){var a="",l="";if("string"==typeof t)return e.style.getPropertyValue(Pt(t))||function(e,t){return function(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}(e).getComputedStyle(e,void 0)}(e).getPropertyValue(Pt(t));Object.keys(t).forEach((function(n){var o=t[n];o||0===o?function(e){return!(!e||!Ot.test(e))}(n)?l+=n+"("+o+") ":a+=Pt(n)+": "+o+";":e.style.removeProperty(Pt(n))})),l&&(a+="transform: "+l+";"),e.style.cssText+=";"+a},It=!("undefined"==typeof window||!window.document||!window.document.createElement);var jt=!1,Rt=!1;try{var $t={get passive(){return jt=!0},get once(){return Rt=jt=!0}};It&&(window.addEventListener("test",$t,$t),window.removeEventListener("test",$t,!0))}catch(e){}const At=function(e,t,a,l){return function(e,t,a,l){if(l&&"boolean"!=typeof l&&!Rt){var n=l.once,o=l.capture,r=a;!Rt&&n&&(r=a.__once||function e(l){this.removeEventListener(t,e,o),a.call(this,l)},a.__once=r),e.addEventListener(t,r,jt?l:o)}e.addEventListener(t,a,l)}(e,t,a,l),function(){!function(e,t,a,l){var n=l&&"boolean"!=typeof l?l.capture:l;e.removeEventListener(t,a,n),a.__once&&e.removeEventListener(t,a.__once,n)}(e,t,a,l)}};function Dt(e,t,a,l){var n,o;null==a&&(o=-1===(n=Lt(e,"transitionDuration")||"").indexOf("ms")?1e3:1,a=parseFloat(n)*o||0);var r=function(e,t,a){void 0===a&&(a=5);var l=!1,n=setTimeout((function(){l||function(e,t,a,l){if(void 0===a&&(a=!1),void 0===l&&(l=!0),e){var n=document.createEvent("HTMLEvents");n.initEvent("transitionend",a,l),e.dispatchEvent(n)}}(e,0,!0)}),t+a),o=At(e,"transitionend",(function(){l=!0}),{once:!0});return function(){clearTimeout(n),o()}}(e,a,l),i=At(e,"transitionend",t);return function(){r(),i()}}function Gt(e,t){const a=Lt(e,t)||"",l=-1===a.indexOf("ms")?1e3:1;return parseFloat(a)*l}function Kt(e,t){const a=Gt(e,"transitionDuration"),l=Gt(e,"transitionDelay"),n=Dt(e,(a=>{a.target===e&&(n(),t(a))}),a+l)}const Bt=f().forwardRef((({onEnter:e,onEntering:t,onEntered:a,onExit:l,onExiting:n,onExited:o,addEndListener:r,children:i,childRef:s,...c},u)=>{const d=(0,p.useRef)(null),m=Fe(d,s),b=e=>{var t;m((t=e)&&"setState"in t?yt().findDOMNode(t):null!=t?t:null)},_=e=>t=>{e&&d.current&&e(d.current,t)},g=(0,p.useCallback)(_(e),[e]),y=(0,p.useCallback)(_(t),[t]),v=(0,p.useCallback)(_(a),[a]),x=(0,p.useCallback)(_(l),[l]),w=(0,p.useCallback)(_(n),[n]),E=(0,p.useCallback)(_(o),[o]),k=(0,p.useCallback)(_(r),[r]);return(0,h.jsx)(Ft,{ref:u,...c,onEnter:g,onEntered:v,onEntering:y,onExit:x,onExited:E,onExiting:w,addEndListener:k,nodeRef:d,children:"function"==typeof i?(e,t)=>i(e,{...t,ref:b}):f().cloneElement(i,{ref:b})})})),Ut={[Et]:"show",[kt]:"show"},zt=p.forwardRef((({className:e,children:t,transitionClasses:a={},onEnter:l,...n},o)=>{const r={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...n},i=(0,p.useCallback)(((e,t)=>{!function(e){e.offsetHeight}(e),null==l||l(e,t)}),[l]);return(0,h.jsx)(Bt,{ref:o,addEndListener:Kt,...r,onEnter:i,childRef:t.ref,children:(l,n)=>p.cloneElement(t,{...n,className:m()("fade",e,t.props.className,Ut[l],a[l])})})}));zt.displayName="Fade";const Wt=zt;function qt(e){return"boolean"==typeof e?e?Wt:Te:e}const Vt=p.forwardRef((({bsPrefix:e,transition:t,...a},l)=>{const[{className:n,as:o="div",...r},{isActive:i,onEnter:s,onEntering:c,onEntered:u,onExit:d,onExiting:p,onExited:f,mountOnEnter:b,unmountOnExit:_,transition:g=Wt}]=Ie({...a,transition:qt(t)}),v=y(e,"tab-pane");return(0,h.jsx)(we.Provider,{value:null,children:(0,h.jsx)(ke.Provider,{value:null,children:(0,h.jsx)(g,{in:i,onEnter:s,onEntering:c,onEntered:u,onExit:d,onExiting:p,onExited:f,mountOnEnter:b,unmountOnExit:_,children:(0,h.jsx)(o,{...r,ref:l,className:m()(n,v,i&&"active")})})})})}));Vt.displayName="TabPane";const Yt=Vt;function Ht(e){let t;return function(e,a){p.Children.forEach(e,(e=>{p.isValidElement(e)&&(e=>{null==t&&(t=e.props.eventKey)})(e,0)}))}(e),t}function Xt(e){const{title:t,eventKey:a,disabled:l,tabClassName:n,tabAttrs:o,id:r}=e.props;return null==t?null:(0,h.jsx)(it,{as:"li",role:"presentation",children:(0,h.jsx)(mt,{as:"button",type:"button",eventKey:a,disabled:l,id:r,className:n,...o,children:t})})}const Zt=e=>{const{id:t,onSelect:a,transition:l,mountOnEnter:n=!1,unmountOnExit:o=!1,variant:r="tabs",children:i,activeKey:s=Ht(i),...c}=me(e,{activeKey:"onSelect"});return(0,h.jsxs)($e,{id:t,activeKey:s,onSelect:a,transition:qt(l),mountOnEnter:n,unmountOnExit:o,children:[(0,h.jsx)(ft,{...c,role:"tablist",as:"ul",variant:r,children:I(i,Xt)}),(0,h.jsx)(bt,{children:I(i,(e=>{const t={...e.props};return delete t.title,delete t.disabled,delete t.tabClassName,delete t.tabAttrs,(0,h.jsx)(Yt,{...t})}))})]})};Zt.displayName="Tabs";const Jt=Zt,Qt=({transition:e,...t})=>(0,h.jsx)($e,{...t,transition:qt(e)});Qt.displayName="TabContainer";const ea=Qt,ta={eventKey:S().oneOfType([S().string,S().number]),title:S().node.isRequired,disabled:S().bool,tabClassName:S().string,tabAttrs:S().object},aa=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};aa.propTypes=ta;const la=Object.assign(aa,{Container:ea,Content:bt,Pane:Yt}),na=(S().string,S().bool,S().bool,S().bool,S().bool,p.forwardRef((({bsPrefix:e,className:t,fluid:a=!1,rounded:l=!1,roundedCircle:n=!1,thumbnail:o=!1,...r},i)=>(e=y(e,"img"),(0,h.jsx)("img",{ref:i,...r,className:m()(t,a&&`${e}-fluid`,l&&"rounded",n&&"rounded-circle",o&&`${e}-thumbnail`)})))));na.displayName="Image";const oa=na,ra=p.forwardRef((({as:e,bsPrefix:t,variant:a="primary",size:l,active:n=!1,disabled:o=!1,className:r,...i},s)=>{const c=y(t,"btn"),[u,{tagName:d}]=ze({tagName:e,disabled:o,...i}),p=d;return(0,h.jsx)(p,{...u,...i,ref:s,disabled:o,className:m()(r,c,n&&"active",a&&`${c}-${a}`,l&&`${c}-${l}`,i.href&&o&&"disabled")})}));ra.displayName="Button";const ia=ra,sa={accepted_sharethis_terms:!0===u().get(SocialMediaFeather.data,"accepted_sharethis_terms",!1),automatic_append_postfix:u().get(SocialMediaFeather.data,"automatic_append_postfix",""),automatic_append_prefix:u().get(SocialMediaFeather.data,"automatic_append_prefix",""),automatic_append_separator:u().get(SocialMediaFeather.data,"automatic_append_separator","<br />"),automatic_follow:!0===u().get(SocialMediaFeather.data,"automatic_follow",!0),automatic_follow_before_share:!0===u().get(SocialMediaFeather.data,"automatic_follow_before_share",!1),automatic_follow_position:u().get(SocialMediaFeather.data,"automatic_follow_position","after_post"),automatic_follow_postfix:u().get(SocialMediaFeather.data,"automatic_follow_postfix",""),automatic_follow_post_types:u().get(SocialMediaFeather.data,"automatic_follow_post_types",["post"]),automatic_follow_prefix:u().get(SocialMediaFeather.data,"automatic_follow_prefix",""),automatic_follow_single:u().get(SocialMediaFeather.data,"automatic_follow_single",!1),automatic_share:!0===u().get(SocialMediaFeather.data,"automatic_share",!1),automatic_share_prefix:u().get(SocialMediaFeather.data,"automatic_share_prefix",""),automatic_share_position:u().get(SocialMediaFeather.data,"automatic_share_position","after_post"),automatic_share_postfix:u().get(SocialMediaFeather.data,"automatic_share_postfix",""),automatic_share_post_types:u().get(SocialMediaFeather.data,"automatic_share_post_types",["post"]),automatic_share_single:!0===u().get(SocialMediaFeather.data,"automatic_share_single",!1),buttons_alignment_share:u().get(SocialMediaFeather.data,"buttons_alignment_share","none"),buttons_alignment_follow:u().get(SocialMediaFeather.data,"buttons_alignment_follow","none"),buttons_container:u().get(SocialMediaFeather.data,"buttons_container","none"),buttons_container_type:u().get(SocialMediaFeather.data,"buttons_container_type","basic"),custom_style:u().get(SocialMediaFeather.data,"custom_style",""),facebook_display:u().get(SocialMediaFeather.data,"facebook_display","both"),facebook_share_link:u().get(SocialMediaFeather.data,"facebook_share_link",""),facebook_share_title:u().get(SocialMediaFeather.data,"facebook_share_title",""),facebook_follow_link:u().get(SocialMediaFeather.data,"facebook_follow_link",""),facebook_follow_title:u().get(SocialMediaFeather.data,"facebook_follow_title",""),fb_app_id:u().get(SocialMediaFeather.data,"fb_app_id",""),flickr_display:u().get(SocialMediaFeather.data,"flickr_display","follow"),flickr_follow_link:u().get(SocialMediaFeather.data,"flickr_follow_link",""),flickr_follow_title:u().get(SocialMediaFeather.data,"flickr_follow_title",""),foursquare_display:u().get(SocialMediaFeather.data,"foursquare_display","follow"),foursquare_follow_link:u().get(SocialMediaFeather.data,"foursquare_follow_link",""),foursquare_follow_title:u().get(SocialMediaFeather.data,"foursquare_follow_title",""),hide_review:!0===u().get(SocialMediaFeather,"review",!1),icon_resolution:u().get(SocialMediaFeather.data,"icon_resolution","single"),icon_size:u().get(SocialMediaFeather.data,"icon_size","48"),icon_skin:u().get(SocialMediaFeather.data,"icon_skin","regular"),icon_spacing:u().get(SocialMediaFeather.data,"icon_spacing","5"),instagram_display:u().get(SocialMediaFeather.data,"instagram_display","follow"),instagram_follow_link:u().get(SocialMediaFeather.data,"instagram_follow_link",""),instagram_follow_title:u().get(SocialMediaFeather.data,"instagram_follow_title",""),layout_rtl:!0===u().get(SocialMediaFeather.data,"layout_rtl",!1),linkedin_display:u().get(SocialMediaFeather.data,"linkedin_display","both"),linkedin_share_link:u().get(SocialMediaFeather.data,"linkedin_share_link",""),linkedin_share_title:u().get(SocialMediaFeather.data,"linkedin_share_title",""),linkedin_follow_link:u().get(SocialMediaFeather.data,"linkedin_follow_link",""),linkedin_follow_title:u().get(SocialMediaFeather.data,"linkedin_follow_title",""),mail_display:u().get(SocialMediaFeather.data,"mail_display")||"both",mail_share_link:u().get(SocialMediaFeather.data,"mail_share_link",""),mail_share_title:u().get(SocialMediaFeather.data,"mail_share_title",""),mail_follow_link:u().get(SocialMediaFeather.data,"mail_follow_link",""),mail_follow_title:u().get(SocialMediaFeather.data,"mail_follow_title",""),pinterest_display:u().get(SocialMediaFeather.data,"pinterest_display","share"),pinterest_share_link:u().get(SocialMediaFeather.data,"pinterest_share_link",""),pinterest_share_title:u().get(SocialMediaFeather.data,"pinterest_share_title",""),pinterest_follow_link:u().get(SocialMediaFeather.data,"pinterest_follow_link",""),pinterest_follow_title:u().get(SocialMediaFeather.data,"pinterest_follow_title",""),reddit_display:u().get(SocialMediaFeather.data,"reddit_display","share"),reddit_share_link:u().get(SocialMediaFeather.data,"reddit_share_link",""),reddit_share_title:u().get(SocialMediaFeather.data,"reddit_share_title",""),rss_display:u().get(SocialMediaFeather.data,"rss_display","none"),rss_follow_link:u().get(SocialMediaFeather.data,"rss_follow_link",""),rss_follow_title:u().get(SocialMediaFeather.data,"rss_follow_title",""),share_full_url:!0===u().get(SocialMediaFeather.data,"share_full_url",!1),share_message_default:u().get(SocialMediaFeather.data,"share_message_default",(0,s.__)("Hey check this out","social-media-feather")),shortcode_widgets:!0===u().get(SocialMediaFeather.data,"shortcode_widgets",!0),show_credit:!0===u().get(SocialMediaFeather.data,"show_credit",!1),tumblr_display:u().get(SocialMediaFeather.data,"tumblr_display","none"),tumblr_share_link:u().get(SocialMediaFeather.data,"tumblr_share_link",""),tumblr_share_title:u().get(SocialMediaFeather.data,"tumblr_share_title",""),tumblr_follow_link:u().get(SocialMediaFeather.data,"tumblr_follow_link",""),tumblr_follow_title:u().get(SocialMediaFeather.data,"tumblr_follow_title",""),twitter_display:u().get(SocialMediaFeather.data,"twitter_display","both"),twitter_share_link:u().get(SocialMediaFeather.data,"twitter_share_link",""),twitter_share_title:u().get(SocialMediaFeather.data,"twitter_share_title",""),twitter_follow_link:u().get(SocialMediaFeather.data,"twitter_follow_link",""),twitter_follow_title:u().get(SocialMediaFeather.data,"twitter_follow_title",""),use_shortlinks:!0===u().get(SocialMediaFeather.data,"use_shortlinks",!1),vimeo_display:u().get(SocialMediaFeather.data,"vimeo_display","none"),vimeo_follow_link:u().get(SocialMediaFeather.data,"vimeo_follow_link",""),vimeo_follow_title:u().get(SocialMediaFeather.data,"vimeo_follow_title",""),youtube_display:u().get(SocialMediaFeather.data,"youtube_display","none"),youtube_follow_link:u().get(SocialMediaFeather.data,"youtube_follow_link",""),youtube_follow_title:u().get(SocialMediaFeather.data,"youtube_follow_title","")},ca=(e,t)=>"all"===t.type?{...e,...t.payload}:{...e,[t.type]:t.payload},ua=[{label:"After Post",value:"after_post"},{label:"Before Post",value:"before_post"},{label:"Before and After Post",value:"after_before_post"}],da=[{label:"Post",value:"post"},{label:"Page",value:"page"},{label:"Attachment",value:"attachment"}],ma=u().chunk([{label:"Regular",value:"regular",imagePath:"/synved-social/image/social/regular/preview.png"},{label:"Clear Slate",value:"clearslate",imagePath:"/synved-social/addons/extra-icons/image/social/clearslate/preview.png"},{label:"Dark Slate",value:"darkslate",imagePath:"/synved-social/addons/extra-icons/image/social/darkslate/preview.png"},{label:"Circle",value:"circle",imagePath:"/synved-social/addons/extra-icons/image/social/circle/preview.png"},{label:"Wheel",value:"wheel",imagePath:"/synved-social/addons/extra-icons/image/social/wheel/preview.png"},{label:"Flag",value:"flag",imagePath:"/synved-social/addons/extra-icons/image/social/flag/preview.png"},{label:"Medal",value:"medal",imagePath:"/synved-social/addons/extra-icons/image/social/medal/preview.png"},{label:"Shed",value:"shed",imagePath:"/synved-social/addons/extra-icons/image/social/shed/preview.png"},{label:"Balloon",value:"balloon",imagePath:"/synved-social/addons/extra-icons/image/social/balloon/preview.png"}],3),pa=[{value:16,label:"16x16"},{value:24,label:"24x24"},{value:32,label:"32x32"},{value:48,label:"48x48"},{value:64,label:"64x64"},{value:96,label:"96x96"}],fa=[{value:"single",label:"Single"},{value:"double",label:"Double"}],ha=[{value:"basic",label:"Basic"},{value:"block",label:"Block"}],ba=[{value:"none",label:"Theme Default"},{value:"left",label:"Align Left"},{value:"right",label:"Align Right"},{value:"center",label:"Align Center"}],_a=[{value:"none",label:"None"},{value:"share",label:"Share"},{value:"follow",label:"Follow"},{value:"both",label:"Share and Follow"}],ga=[{value:"none",label:"None"},{value:"share",label:"Share"}],ya=[{value:"none",label:"None"},{value:"follow",label:"Follow"}],va=u().sortBy([{label:"Facebook",slug:"facebook",shareLink:"https://www.facebook.com/sharer.php?u=%%url%%&t=%%title%%&s=100&p[url]=%%url%%&p[images][0]=%%image%%&p[title]=%%title%%",shareTitle:"Share on Facebook",followLink:"https://www.facebook.com/facebook",followTitle:"Follow us on Facebook"},{label:"Twitter",slug:"twitter",shareLink:"https://twitter.com/intent/tweet?url=%%url%%&text=%%message%%",shareTitle:"Share on Twitter",followLink:"https://twitter.com/twitter",followTitle:"Follow us on Twitter"},{label:"Reddit",slug:"reddit",shareLink:"https://www.reddit.com/submit?url=%%url%%&title=%%title%%",shareTitle:"Share on Reddit"},{label:"Pinterest",slug:"pinterest",shareLink:"https://pinterest.com/pin/create/button/?url=%%url%%&media=%%image%%&description=%%title%%",shareTitle:"Pin it with Pinterest",followLink:"https://pinterest.com/MyUserName/",followTitle:"Our board on Pinterest"},{label:"LinkedIn",slug:"linkedin",shareLink:"https://www.linkedin.com/shareArticle?mini=true&url=%%url%%&title=%%title%%",shareTitle:"Share on Linkedin",followLink:"https://www.linkedin.com/in/yourid",followTitle:"Find us on Linkedin"},{label:"Tumblr",slug:"tumblr",shareLink:"https://tumblr.com/share?s=&v=3&t=%%title%%&u=%%url%%",shareTitle:"Share on tumblr",followLink:"https://myname.tumblr.com",followTitle:"Find us on tumblr"},{label:"Email",slug:"mail",shareLink:"mailto:mail@example.com?subject=Contact%20Request",shareTitle:"Share by e-mail",followLink:"mailto:mail@example.com?subject=Contact%20Request",followTitle:"Contact Us"},{label:"RSS",slug:"rss",followLink:"https://feeds.feedburner.com/MyFeedName",followTitle:"Subscribe to our RSS Feed"},{label:"YouTube",slug:"youtube",followLink:"https://www.youtube.com/MyYouTubeName",followTitle:"Find us on YouTube"},{label:"Vimeo",slug:"vimeo",followLink:"https://vimeo.com/MyVimeoName",followTitle:"Find us on Vimeo"},{label:"Instagram",slug:"instagram",followLink:"https://instagram.com/myusername",followTitle:"Check out our instagram feed"},{label:"Flickr",slug:"flickr",followLink:"https://www.flickr.com/photos/myusername/",followTitle:"Check out our flickr feed"},{label:"Foursquare",slug:"foursquare",followLink:"https://foursquare.com/myusername",followTitle:"Check out our foursquare feed"}],["slug"]),xa={service:"Decides for what types of services Facebook will be used by default.",shareLink:(0,l.createElement)(l.Fragment,null,"The link used by default for sharing content on Facebook. ",(0,l.createElement)("strong",null,"Note: this generally doesn't need to be changed, only change it if you know what you're doing.")),shareTitle:"The title used by default for the Facebook share button (a standard one will be used if left empty).",followLink:"The link used by default for following you on Facebook. Change this to point to your own social profile page on Facebook.",followTitle:"The title used by default for the Facebook follow button (a standard one will be used if left empty)."},wa=()=>{const[e,t]=(0,l.useState)(!1),a=(0,l.useRef)(null),[n,o]=(0,l.useReducer)(ca,sa),r=u().debounce((e=>{t(!0),i()({path:"/social-media-feather/v2/settings",method:"POST",data:e}).then((e=>{o({type:"all",payload:e.data}),t(!1)})).catch((e=>{console.error({err:e}),t(!1)}))}),250);return(0,l.createElement)(E,{className:"social-media-feather mt-5 mx-0"},(0,l.createElement)(oe,null,(0,l.createElement)(ie,{className:"mb-3"},(0,l.createElement)("h1",{className:"px-0"},(0,s.__)("Social Media Feather Settings","social-media-feather"))),(0,l.createElement)(Jt,{defaultActiveKey:"general",className:"mb-3"},(0,l.createElement)(la,{eventKey:"general",title:"General",className:"mb-3",disabled:!!e},(0,l.createElement)(oe.Group,{as:ie,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},(0,s.__)("General Settings","social-media-feather")),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},(0,s.__)("Settings affecting the general behaviour of the plugin.","social-media-feather"))),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formCheckUseShortlinks"},(0,l.createElement)(oe.Check,{type:"switch",label:"Use Shortlinks",id:"use_shortlinks",onChange:()=>o({type:"use_shortlinks",payload:!n.use_shortlinks}),checked:n.use_shortlinks}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Allows for shortened URLs to be used when sharing content if a shortening plugin is installed.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formCheckShareFullURL"},(0,l.createElement)(oe.Check,{type:"switch",label:"Share Full URL",id:"share_full_url",onChange:()=>o({type:"share_full_url",payload:!n.share_full_url}),checked:n.share_full_url}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},'Determines whether to always share the full URL or just the post permalink. You can override this for individual posts by setting the "synved_social_share_full_url" custom field to either "yes" or "no", case sensitive.')),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formCheckLayoutRTL"},(0,l.createElement)(oe.Check,{type:"switch",label:"Right To Left Layout",id:"layout_rtl",onChange:()=>o({type:"layout_rtl",payload:!n.layout_rtl}),checked:n.layout_rtl}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Check this option if you have a right-to-left site layout and icons show spacing issues.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formCheckShortcodeWidgets"},(0,l.createElement)(oe.Check,{type:"switch",label:"Shortcodes In Widgets",id:"shortcode_widgets",onChange:()=>o({type:"shortcode_widgets",payload:!n.shortcode_widgets}),checked:n.shortcode_widgets}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Allow shortcodes in Text widgets.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formCheckShowCredit"},(0,l.createElement)(oe.Check,{type:"switch",label:"Show Credit",id:"show_credit",onChange:()=>o({type:"show_credit",payload:!n.show_credit}),checked:n.show_credit}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Display a small icon with a link to the Social Media Feather page.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextDefaultMessage"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Default Message"),(0,l.createElement)(oe.Control,{placeholder:"Default message",onChange:e=>o({type:"share_message_default",payload:e.target.value}),value:n.share_message_default}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Specify the default message to use when sharing content, this is what gets replaced into the %%message%% variable.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextFacebookAppID"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Facebook App ID"),(0,l.createElement)(oe.Control,{onChange:e=>o({type:"fb_app_id",payload:e.target.value}),value:n.fb_app_id}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"To use Facebook functionality, please enter your Facebook App ID here.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formCheckAcceptedShareThisTerms"},(0,l.createElement)(oe.Check,{type:"switch",label:"Terms of Service",id:"accepted_sharethis_terms",onChange:()=>o({type:"accepted_sharethis_terms",payload:!n.accepted_sharethis_terms}),checked:n.accepted_sharethis_terms}),(0,l.createElement)(oe.Text,{muted:!0},"Accept or decline ",(0,l.createElement)("a",{target:"_blank",href:"https://www.sharethis.com/terms/"},"ShareThis Terms of Service")," and ",(0,l.createElement)("a",{target:"_blank",href:"https://www.sharethis.com/privacy/"},"Privacy Notice"),"."))),(0,l.createElement)(la,{eventKey:"automatic",title:"Automatic Display",disabled:!!e},(0,l.createElement)(oe.Group,{as:ie,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},"Automatic Display"),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Settings affecting automating appending of social buttons to post contents.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formCheckAutomaticShare"},(0,l.createElement)(oe.Check,{type:"switch",label:"Display Sharing Buttons",id:"automatic_share",onChange:()=>o({type:"automatic_share",payload:!n.automatic_share}),checked:n.automatic_share}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},'Tries to automatically append sharing buttons to your posts (disable for specific posts by setting custom field synved_social_exclude or synved_social_exclude_share to "yes", case sensitive).')),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectAutomaticSharePosition"},(0,l.createElement)(oe.Label,{className:"px-0"},"Share Buttons Position"),(0,l.createElement)(oe.Select,{value:n.automatic_share_position,onChange:e=>o({type:"automatic_share_position",payload:e.target.value})},ua.map((e=>(0,l.createElement)("option",{key:`automatic-share-position-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},'Tries to automatically append sharing buttons to your posts (disable for specific posts by setting custom field synved_social_exclude or synved_social_exclude_share to "yes", case sensitive).')),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formCheckAutomaticShareSingle"},(0,l.createElement)(oe.Check,{type:"switch",label:"Sharing Single Posts",id:"automatic_share_single",onChange:()=>o({type:"automatic_share_single",payload:!n.automatic_share_single}),checked:n.automatic_share_single}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Sharing buttons are only displayed on single posts/pages and not on archive pages like blog/category/tag/author pages.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectAutomaticPostTypes"},(0,l.createElement)(oe.Label,{className:"px-0"},"Share Post Types"),(0,l.createElement)(oe.Select,{className:"automatic_share_post_types",multiple:!0,onChange:e=>o({type:"automatic_share_post_types",payload:Array.from(e.target.querySelectorAll("option:checked")).map((e=>e.value))}),value:n.automatic_share_post_types},da.map((e=>(0,l.createElement)("option",{key:`automatic-share-post-type-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Post types for which automatic appending for share buttons should be attempted (CTRL + click to select multiple ones).")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextSharePrefixMarkup"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Share Prefix Markup"),(0,l.createElement)(oe.Control,{onChange:e=>o({type:"automatic_share_prefix",payload:e.target.value}),value:n.automatic_share_prefix}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup before the share buttons markup.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextSharePostfixMarkup"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Share Postfix Markup"),(0,l.createElement)(oe.Control,{onChange:e=>o({type:"automatic_share_postfix",payload:e.target.value}),value:n.automatic_share_postfix}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the share buttons markup.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formCheckAutomaticFollow"},(0,l.createElement)(oe.Check,{type:"switch",label:"Display Follow Buttons",id:"automatic_follow",onChange:()=>o({type:"automatic_follow",payload:!n.automatic_follow}),checked:n.automatic_follow}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},'Tries to automatically append follow buttons to your posts (disable for specific posts by setting custom field synved_social_exclude or synved_social_exclude_follow to "yes", case sensitive).')),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectAutomaticFollowPostTypes"},(0,l.createElement)(oe.Label,{className:"px-0"},"Follow Post Types"),(0,l.createElement)(oe.Select,{className:"automatic_follow_post_types",multiple:!0,onChange:e=>o({type:"automatic_follow_post_types",payload:Array.from(e.target.querySelectorAll("option:checked")).map((e=>e.value))}),value:n.automatic_follow_post_types},da.map((e=>(0,l.createElement)("option",{key:`automatic-share-post-type-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Post types for which automatic appending for follow buttons should be attempted (CTRL + click to select multiple ones).")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formCheckAutomaticBeforeShare"},(0,l.createElement)(oe.Check,{type:"switch",label:"Follow Before Share",id:"automatic_follow_before_share",onChange:()=>o({type:"automatic_follow_before_share",payload:!n.automatic_follow_before_share}),checked:n.automatic_follow_before_share}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"When automatically appending, place follow buttons before share buttons. Only valid when share and follow buttons positions are the same.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextFollowPrefixMarkup"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Follow Prefix Markup"),(0,l.createElement)(oe.Control,{onChange:e=>o({type:"automatic_follow_prefix",payload:e.target.value}),value:n.automatic_follow_prefix}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup before the follow buttons markup.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextFollowPostfixMarkup"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Follow Postfix Markup"),(0,l.createElement)(oe.Control,{onChange:e=>o({type:"automatic_follow_postfix",payload:e.target.value}),value:n.automatic_follow_postfix}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the follow buttons markup.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextPrefixMarkup"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Prefix Markup"),(0,l.createElement)(oe.Control,{onChange:e=>o({type:"automatic_append_prefix",payload:e.target.value}),value:n.automatic_append_prefix}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup before the buttons markup.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextSeparatorMarkup"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Separator Markup"),(0,l.createElement)(oe.Control,{onChange:e=>o({type:"automatic_append_separator",payload:e.target.value}),value:n.automatic_append_separator}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"When automatically appending both, use this markup as separator between the set of share buttons and the set of follow buttons. Only valid when share and follow buttons positions are the same.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextPostfixMarkup"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Postfix Markup"),(0,l.createElement)(oe.Control,{onChange:e=>o({type:"automatic_append_postfix",payload:e.target.value}),value:n.automatic_append_postfix}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the buttons markup."))),(0,l.createElement)(la,{eventKey:"customize",title:"Customize Look",disabled:!!e},(0,l.createElement)(oe.Group,{as:ie,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},"Customize Look"),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Customize the look & feel of Social Media Feather.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectIconSkin"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Icon Skin"),(0,l.createElement)(E,null,(0,l.createElement)(ie,null,ma.map(((e,t)=>(0,l.createElement)(l.Fragment,{key:`form-select-icon-skin-item-${e[0].value}`},(0,l.createElement)(z,{md:"auto",className:"mb-3"},(0,l.createElement)(ie,null,(0,l.createElement)(oe.Check,{type:"radio",id:`icon-skin-${e[0].value}`,className:"smf__form-check"},(0,l.createElement)(oe.Check.Label,null,(0,l.createElement)(oa,{src:`${SocialMediaFeather.pluginURL}${e[0].imagePath}`}),(0,l.createElement)(oe.Check.Input,{name:"icon_skin",type:"radio",checked:e[0].value===n.icon_skin,value:e[0].value,className:"smf__form-check-input--radio",onChange:e=>o({type:"icon_skin",payload:e.target.value})}),e[0].label)))),(0,l.createElement)(z,{md:"auto",className:"mb-3"},(0,l.createElement)(oe.Check,{type:"radio",id:`icon-skin-${e[1].value}`,className:"smf__form-check"},(0,l.createElement)(oe.Check.Label,null,(0,l.createElement)(oa,{src:`${SocialMediaFeather.pluginURL}${e[1].imagePath}`}),(0,l.createElement)(oe.Check.Input,{name:"icon_skin",type:"radio",checked:e[1].value===n.icon_skin,value:e[1].value,className:"smf__form-check-input--radio",onChange:e=>o({type:"icon_skin",payload:e.target.value})}),e[1].label))),(0,l.createElement)(z,{md:"auto",className:"mb-3"},(0,l.createElement)(oe.Check,{type:"radio",id:`icon-skin-${e[2].value}`,className:"smf__form-check"},(0,l.createElement)(oe.Check.Label,null,(0,l.createElement)(oa,{src:`${SocialMediaFeather.pluginURL}${e[2].imagePath}`}),(0,l.createElement)(oe.Check.Input,{name:"icon_skin",type:"radio",checked:e[2].value===n.icon_skin,value:e[2].value,className:"smf__form-check-input--radio",onChange:e=>o({type:"icon_skin",payload:e.target.value})}),e[2].label))))))))),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectIconSize"},(0,l.createElement)(oe.Label,{className:"px-0"},"Icon Size"),(0,l.createElement)(oe.Select,{value:n.icon_size,onChange:e=>o({type:"icon_size",payload:e.target.value})},pa.map((e=>(0,l.createElement)("option",{key:`form-select-icon-size-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Select the size in pixels for the icons. Note: for high resolution displays like Retina the maximum size is 64x64.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectIconResolution"},(0,l.createElement)(oe.Label,{className:"px-0"},"Icon Resolution"),(0,l.createElement)(oe.Select,{value:n.icon_resolution,onChange:e=>o({type:"icon_resolution",payload:e.target.value})},fa.map((e=>(0,l.createElement)("option",{key:`option-icon-resolution-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Select what icon resolutions will be used. Single might make the icons slightly blurry on low resolution displays. Double will always look the best but will consume more bandwidth.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextIconSpacing"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Icon Spacing"),(0,l.createElement)(oe.Control,{placeholder:"Default message",type:"number",onChange:e=>o({type:"icon_spacing",payload:e.target.value}),value:n.icon_spacing}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Select the spacing in pixels between the icons.")),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectButtonsInContainer"},(0,l.createElement)(oe.Label,{className:"px-0"},"Buttons in Container"),(0,l.createElement)(oe.Select,{value:n.buttons_container,onChange:e=>o({type:"buttons_container",payload:e.target.value})},_a.map((e=>(0,l.createElement)("option",{key:`share-or-follow-display-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},'Determines whether or not to wrap the buttons in a container, which will affect how the buttons are rendered, based on the "Buttons Container Type" setting.')),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectButtonsContainerType"},(0,l.createElement)(oe.Label,{className:"px-0"},"Buttons Container Type"),(0,l.createElement)(oe.Select,{value:n.buttons_container_type,onChange:e=>o({type:"buttons_container_type",payload:e.target.value})},ha.map((e=>(0,l.createElement)("option",{key:`buttons-container-type-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},'"Basic" should not affect rendering, while "Block" should display the buttons in their own row. Note: selecting "Block" might not look the way you want if you\'re using Prefix or Postfix markup.')),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectShareButtonsAlignment"},(0,l.createElement)(oe.Label,{className:"px-0"},"Share Buttons Alignment"),(0,l.createElement)(oe.Select,{value:n.buttons_alignment_share,onChange:e=>o({type:"buttons_alignment_share",payload:e.target.value})},ba.map((e=>(0,l.createElement)("option",{key:`share-buttons-alignment-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},'Will attempt at aligning the share buttons accordingly. Note: this will enforce "Buttons Container Type" of "Block" and might not work reliably on all themes.')),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(oe.Label,{className:"px-0"},"Follow Buttons Alignment"),(0,l.createElement)(oe.Select,{value:n.buttons_alignment_follow,onChange:e=>o({type:"buttons_alignment_follow",payload:e.target.value})},ba.map((e=>(0,l.createElement)("option",{key:`follow-buttons-alignment-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},'Will attempt at aligning the follow buttons accordingly. Note: this will enforce "Buttons Container Type" of "Block" and might not work reliably on all themes.')),(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextExtraStyles"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},"Extra Styles"),(0,l.createElement)(oe.Control,{as:"textarea",onChange:e=>o({type:"custom_style",payload:e.target.value}),value:n.custom_style}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the share buttons markup."))),(0,l.createElement)(la,{eventKey:"service",title:"Service Providers",disabled:!!e},(0,l.createElement)(oe.Group,{as:ie,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},"Service Providers"),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},"Customize social sharing and following providers.")),va.map((e=>{let t="none";e.shareLink&&e.followLink?t="both":e.shareLink?t="share":e.followLink&&(t="follow");let a=[];return"both"===t?a=[..._a]:"share"===t?a=[...ga]:"follow"===t&&(a=[...ya]),(0,l.createElement)(l.Fragment,{key:`service-provider-group-${e.slug}`},(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formPlaintextExtraStyles"},(0,l.createElement)(oe.Label,{column:!0,sm:"2",className:"px-0"},e.label," Service"),(0,l.createElement)(oe.Select,{value:n[`${e.slug}_display`],onChange:t=>o({type:`${e.slug}_display`,payload:t.target.value})},a.map((e=>(0,l.createElement)("option",{key:`service-provider-item-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},xa.service)),e.shareLink&&(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(oe.Label,{className:"px-0"},e.label," Share Link"),(0,l.createElement)(oe.Control,{placeholder:e.shareLink,type:"text",onChange:t=>o({type:`${e.slug}_share_link`,payload:t.target.value}),value:n[`${e.slug}_share_link`]}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},xa.shareLink)),e.shareTitle&&(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(oe.Label,{className:"px-0"},e.label," Share Title"),(0,l.createElement)(oe.Control,{placeholder:e.shareTitle,type:"text",onChange:t=>o({type:`${e.slug}_share_title`,payload:t.target.value}),value:n[`${e.slug}_share_title`]}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},xa.shareTitle)),e.followLink&&(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(oe.Label,{className:"px-0"},e.label," Follow Link"),(0,l.createElement)(oe.Control,{placeholder:e.followLink,type:"text",onChange:t=>o({type:`${e.slug}_follow_link`,payload:t.target.value}),value:n[`${e.slug}_follow_link`]}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},xa.followLink)),e.followTitle&&(0,l.createElement)(oe.Group,{as:ie,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(oe.Label,{className:"px-0"},e.label," Follow Title"),(0,l.createElement)(oe.Control,{placeholder:e.followTitle,type:"text",onChange:t=>o({type:`${e.slug}_follow_title`,payload:t.target.value}),value:n[`${e.slug}_follow_title`]}),(0,l.createElement)(oe.Text,{muted:!0,className:"p-0"},xa.followTitle)))})))),(0,l.createElement)(ia,{ref:a,variant:"primary",className:"mx-0",disabled:!!e,onClick:()=>r(n)},!0===e?"...":"Save Settings")))};o()((()=>{(0,l.render)((0,l.createElement)(wa,null),document.getElementById("social-media-feather-app"))}))},184:(e,t)=>{var a;!function(){"use strict";var l={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var o=typeof a;if("string"===o||"number"===o)e.push(a);else if(Array.isArray(a)){if(a.length){var r=n.apply(null,a);r&&e.push(r)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var i in a)l.call(a,i)&&a[i]&&e.push(i)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(a=function(){return n}.apply(t,[]))||(e.exports=a)}()},143:e=>{"use strict";e.exports=function(e,t,a,l,n,o,r,i){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[a,l,n,o,r,i],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},391:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,n.default)((function(){for(var e=arguments.length,a=Array(e),l=0;l<e;l++)a[l]=arguments[l];var n=null;return t.forEach((function(e){if(null==n){var t=e.apply(void 0,a);null!=t&&(n=t)}})),n}))};var l,n=(l=a(613))&&l.__esModule?l:{default:l};e.exports=t.default},613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,a,l,n,o,r){var i=n||"<<anonymous>>",s=r||l;if(null==a[l])return t?new Error("Required "+o+" `"+s+"` was not specified in `"+i+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[a,l,i,o,s].concat(u))}var a=t.bind(null,!1);return a.isRequired=t.bind(null,!0),a},e.exports=t.default},703:(e,t,a)=>{"use strict";var l=a(414);function n(){}function o(){}o.resetWarningCache=n,e.exports=function(){function e(e,t,a,n,o,r){if(r!==l){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var a={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:n};return a.PropTypes=a,a}},697:(e,t,a)=>{e.exports=a(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},251:(e,t,a)=>{"use strict";var l=a(196),n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,a){var l,o={},c=null,u=null;for(l in void 0!==a&&(c=""+a),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)r.call(t,l)&&!s.hasOwnProperty(l)&&(o[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===o[l]&&(o[l]=t[l]);return{$$typeof:n,type:e,key:c,ref:u,props:o,_owner:i.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},893:(e,t,a)=>{"use strict";e.exports=a(251)},473:e=>{"use strict";e.exports=function(){}},196:e=>{"use strict";e.exports=window.React}},e=>{e(e.s=689)}]);