Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page - Version 19.8.6

Version Description

  • UI update for not connected users
Download this release

Release Info

Developer artemopinionstage
Plugin Icon 128x128 Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page
Version 19.8.6
Comparing to
See all releases

Code changes from version 19.8.5 to 19.8.6

admin/css/menu-page.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-family:'os-icon-plugin-plugin-font';src:url("fonts/os-icon-font.eot?frvqyp");src:url("fonts/os-icon-font.eot?frvqyp#iefix") format("embedded-opentype"),url("fonts/os-icon-font.ttf?frvqyp") format("truetype"),url("fonts/os-icon-font.woff?frvqyp") format("woff"),url("fonts/os-icon-font.svg?frvqyp#os-iconn-font") format("svg");font-weight:normal;font-style:normal}.opinionstage-content-popup-contents [class^="icon-"],.opinionstage-content-popup-contents [class*=" icon-"],#wpwrap [class^="icon-"],#wpwrap [class*=" icon-"]{font-family:'os-icon-plugin-plugin-font' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-os-common-date:before{content:"\E91A"}.icon-os-status-closed:before{content:"\e95f"}.icon-os-status-open:before{content:"\e961"}.icon-os-plugin-form-address:before{content:"\e900"}.icon-os-plugin-form-email:before{content:"\e901"}.icon-os-plugin-form-name:before{content:"\e902"}.icon-os-plugin-form-phone:before{content:"\e903"}.icon-os-plugin-common-arrow-left2:before{content:"\e904"}.icon-os-plugin-common-arrow-right2:before{content:"\e905"}.icon-os-plugin-reports-list:before{content:"\e906"}.icon-os-plugin-reports-personality:before{content:"\e907"}.icon-os-plugin-reports-poll:before{content:"\e908"}.icon-os-plugin-reports-set:before{content:"\e909"}.icon-os-plugin-widget-slideshow:before{content:"\e90a"}.icon-os-plugin-reports-trivia:before{content:"\e90b"}.icon-os-plugin-common-up:before{content:"\e90c"}.icon-os-plugin-layout-image-poll:before{content:"\e90d"}.icon-os-plugin-common-arrow-left:before{content:"\e90e"}.icon-os-plugin-common-arrow-right:before{content:"\e90f"}.icon-os-plugin-form-user:before{content:"\e910"}.icon-os-plugin-sn-pinterest:before{content:"\e911"}.icon-os-plugin-sn-reddit:before{content:"\e912"}.icon-os-plugin-sn-whatsapp:before{content:"\e913"}.icon-os-plugin-brand-logo-small:before{content:"\e914"}.icon-os-plugin-brand-logo:before{content:"\e915"}.icon-os-plugin-common-addnew:before{content:"\e916"}.icon-os-plugin-common-checkbox-blank:before{content:"\e917"}.icon-os-plugin-common-checkbox-checked:before{content:"\e918"}.icon-os-plugin-common-close:before{content:"\e919"}.icon-os-plugin-common-date:before{content:"\e91a"}.icon-os-plugin-common-dot:before{content:"\e91b"}.icon-os-plugin-common-down:before{content:"\e91c"}.icon-os-plugin-common-help:before{content:"\e91d"}.icon-os-plugin-common-link:before{content:"\e91e"}.icon-os-plugin-common-menu-dd-closed:before{content:"\e91f"}.icon-os-plugin-common-menu-dd-open:before{content:"\e920"}.icon-os-plugin-common-menu-medium:before{content:"\e921"}.icon-os-plugin-common-menu:before{content:"\e922"}.icon-os-plugin-common-minimize:before{content:"\e923"}.icon-os-plugin-common-more:before{content:"\e924"}.icon-os-plugin-common-plus:before{content:"\e925"}.icon-os-plugin-common-poll:before{content:"\e926"}.icon-os-plugin-common-search:before{content:"\e927"}.icon-os-plugin-common-settings:before{content:"\e928"}.icon-os-plugin-common-tip:before{content:"\e929"}.icon-os-plugin-filter-all:before{content:"\e92a"}.icon-os-plugin-filter-facebook:before{content:"\e92b"}.icon-os-plugin-filter-female:before{content:"\e92c"}.icon-os-plugin-filter-friends:before{content:"\e92d"}.icon-os-plugin-filter-gplus:before{content:"\e92e"}.icon-os-plugin-filter-hidden:before{content:"\e92f"}.icon-os-plugin-filter-male:before{content:"\e930"}.icon-os-plugin-filter-public:before{content:"\e931"}.icon-os-plugin-filter-seperator:before{content:"\e932"}.icon-os-plugin-filter-twitter:before{content:"\e933"}.icon-os-plugin-form-check:before{content:"\e934"}.icon-os-plugin-form-drag:before{content:"\e935"}.icon-os-plugin-form-error:before{content:"\e936"}.icon-os-plugin-form-image:before{content:"\e937"}.icon-os-plugin-form-success:before{content:"\e938"}.icon-os-plugin-form-video:before{content:"\e939"}.icon-os-plugin-hp-engagement:before{content:"\e93a"}.icon-os-plugin-hp-insights:before{content:"\e93b"}.icon-os-plugin-hp-revenue:before{content:"\e93c"}.icon-os-plugin-hp-traffic:before{content:"\e93d"}.icon-os-plugin-layout-h2h:before{content:"\e93e"}.icon-os-plugin-layout-mc:before{content:"\e93f"}.icon-os-plugin-layout-thumbnails:before{content:"\e940"}.icon-os-plugin-menu-content:before{content:"\e941"}.icon-os-plugin-menu-placements:before{content:"\e942"}.icon-os-plugin-menu-reports:before{content:"\e943"}.icon-os-plugin-menu-revenue:before{content:"\e944"}.icon-os-plugin-pinterest:before{content:"\e945"}.icon-os-plugin-poll-client:before{content:"\e946"}.icon-os-plugin-poll-voter:before{content:"\e947"}.icon-os-plugin-quiz-correct:before{content:"\e948"}.icon-os-plugin-quiz-restart:before{content:"\e949"}.icon-os-plugin-quiz-wrong:before{content:"\e94a"}.icon-os-plugin-report-contacts:before{content:"\e94b"}.icon-os-plugin-report-discovery:before{content:"\e94c"}.icon-os-plugin-report-revenue:before{content:"\e94d"}.icon-os-plugin-report-stats:before{content:"\e94e"}.icon-os-plugin-report-time:before{content:"\e94f"}.icon-os-plugin-report-views:before{content:"\e950"}.icon-os-plugin-reports-emails:before{content:"\e951"}.icon-os-plugin-reports-polls:before{content:"\e952"}.icon-os-plugin-reports-revenue:before{content:"\e953"}.icon-os-plugin-reports-sets:before{content:"\e954"}.icon-os-plugin-reports-time:before{content:"\e955"}.icon-os-plugin-reports-traffic:before{content:"\e956"}.icon-os-plugin-reports-votes:before{content:"\e957"}.icon-os-plugin-set-arrow-left:before{content:"\e958"}.icon-os-plugin-set-arrow-right:before{content:"\e959"}.icon-os-plugin-sn-embed:before{content:"\e95a"}.icon-os-plugin-sn-facebook:before{content:"\e95b"}.icon-os-plugin-sn-gplus:before{content:"\e95c"}.icon-os-plugin-sn-tumblr:before{content:"\e95d"}.icon-os-plugin-sn-twitter:before{content:"\e95e"}.icon-os-plugin-status-closed:before{content:"\e95f"}.icon-os-plugin-status-draft:before{content:"\e960"}.icon-os-plugin-status-open:before{content:"\e961"}.icon-os-plugin-status-published:before{content:"\e962"}.icon-os-plugin-widget-form:before{content:"\e963"}.icon-os-icon-plugin-story:before{content:"\e964"}.opinionstage-button{border-radius:3px;display:inline-block;border-style:hidden;color:#fff;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease;cursor:pointer}.opinionstage-button:hover{color:#fff}.opinionstage-button__pink{background-color:#F46368}.opinionstage-button__uppercase{text-transform:uppercase}#opinionstage-content{height:auto;margin:0;min-height:100%;overflow:hidden;padding-top:20px;width:100%}#opinionstage-content .opinionstage-header-wrapper{background:#232121;margin-right:20px;overflow:hidden;position:relative}#opinionstage-content .opinionstage-logo-wrapper{padding:10px 30px}#opinionstage-content .opinionstage-logo{background:url("../images/os-logo-header.png") no-repeat 0 0;background-size:contain;display:inline-block;height:30px;width:150px}#opinionstage-content .opinionstage-status-content{background-color:#fff;border-bottom:3px solid #32adbc;color:#000;height:109px;padding:20px 35px 0}#opinionstage-content .opinionstage-status-content-connected{color:#fff;height:115px;padding:30px 30px 0}#opinionstage-content .opinionstage-connect-form{display:inline-block}#opinionstage-content .opinionstage-connect-btn{padding-bottom:14.2px !important;padding-top:14.2px !important;position:relative;cursor:pointer}#opinionstage-content .opinionstage-status-title{font-size:24px;font-weight:bold;line-height:25px;margin-bottom:14px}#opinionstage-content .opinionstage-status-title .opinionstage-title{font-size:20px}#opinionstage-content .opinionstage-status-content .os-icon-plugin{font-size:19px;margin-right:7px}#opinionstage-content #os-switch-email{font-size:14px;padding:11px 0}#opinionstage-content .opinionstage-blue-btn{background-color:#32adbc;border-radius:3px;border-style:hidden;color:#ffffff;display:inline-block;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease}#opinionstage-content .opinionstage-blue-btn:hover{background-color:#2f9fad}#opinionstage-content .opinionstage-blue-btn.border{background:#fff;color:#32adbc;border:1px solid #32adbc}#opinionstage-content .opinionstage-blue-btn.border:hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content .opinionstage-create-btn{width:100px}#opinionstage-content a.opinionstage-blue-bordered-btn{border:1px solid #32adbc;border-radius:2px;color:#32adbc;display:block;padding:10px 5px;text-align:center;text-decoration:none}#opinionstage-content .opinionstage-dashboard-right a.opinionstage-blue-bordered-btn{float:left;margin-right:5px}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled{color:#cacac8;border:1px solid #cacac8}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled:hover{background-color:#f9f9f9;color:#cacac8;cursor:default}#opinionstage-content .opinionstage-dashboard{background-color:#fff;margin-right:20px;min-height:800px;overflow:hidden}#opinionstage-content .opinionstage-dashboard-left,#opinionstage-content .opinionstage-dashboard-right{width:1000px}#opinionstage-content .opinionstage-dashboard-left{margin:30px}#opinionstage-content .opinionstage-dashboard-left .opinionstage-section-header .opinionstage-section-title{float:left;font-size:30px;padding:0;line-height:1}#opinionstage-content .opinionstage-dashboard-section{margin-bottom:30px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header{height:58px;margin-top:10px;overflow:hidden}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header a{margin:0;padding:10px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header a:focus{box-shadow:none}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-content{display:table;border-collapse:collapse;width:100%;position:relative}#opinionstage-content a.opinionstage-help-link{font-size:18px;text-decoration:none}#opinionstage-content #opinionstage-section-help .opinionstage-section-content{border:1px solid #c8c8c9}#opinionstage-content #opinionstage-section-help .opinionstage-section-content{height:307px}#opinionstage-content #opinionstage-section-help .opinionstage-section-cell a{font-size:18px;margin-bottom:5px;text-decoration:none}#opinionstage-content .opinionstage-help-row{border-bottom:1px solid #c8c8c9;margin:0 10px;padding:25px 0 25px 10px}#opinionstage-content .opinionstage-help-row:last-child{border-bottom:none}.opinionstage-dashboard-left .opinionstage-create-btn{padding:12px 10px !important}#opinionstage-content a.opinionstage-blue-bordered-btn :hover,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn :hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content a.opinionstage-blue-bordered-btn:focus,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn:focus{box-shadow:none}.opinionstage-my-items-message{display:none;font-size:16px;text-align:center}#opinionstage-failed-load-items-request{display:none;font-size:15px;text-align:center}#opinionstage-section-create .opinionstage-section-content{height:435px}#opinionstage-section-create .opinionstage-section-raw{border:1px solid #c8c8c9;display:table-row;border-left:none;border-right:none}#opinionstage-section-create .opinionstage-section-cell{display:table-cell;padding:20px 0;vertical-align:middle}#opinionstage-section-create .opinionstage-section-cell.opinionstage-icon-cell{color:#3499c2;font-size:35px;text-align:center;width:7%}#opinionstage-section-create .opinionstage-section-cell.opinionstage-btn-cell{text-align:right;width:36%}#opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell{width:57%}#opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .title{font-size:22px;font-weight:600;margin-bottom:5px;color:#3c434a;text-decoration:none}#opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .example{color:#b1b1b1;font-size:14px;line-height:normal}#opinionstage-section-create .opinionstage-blue-btn{padding:12px 10px;text-transform:uppercase;min-width:150px}#opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:10px}@media (max-width: 1230px){#opinionstage-section-create .opinionstage-blue-btn{display:block;width:auto}#opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:0;margin-bottom:10px}}.opinion-stage_page_opinionstage-settings,.toplevel_page_opinionstage-getting-started{background-color:#f9f7fd}.opinionstage-grey-link{display:inline-block;color:#6E6E6E;font-size:14px}.opinionstage-grey-link:hover{color:#6E6E6E}.opinionstage-getting-started-section{padding:25px;max-width:800px;color:#6E6E6E}.opinionstage-getting-started{color:#6E6E6E;display:flex}.opinionstage-getting-started__half{width:50%}.opinionstage-getting-started__title{font-size:30px}.opinionstage-getting-started__text{font-size:16px;margin-bottom:34px}.opinionstage-getting-started .opinionstage-grey-link{margin-top:16px}.opinionstage-getting-started-templates__row{display:flex}.opinionstage-getting-started-templates__title{font-size:20px}.opinionstage-getting-started-templates .opinionstage-grey-link{margin-top:16px}.opinionstage-template-item{background-color:#fff;border:1px solid rgba(199,214,216,0.3);padding:10px;text-align:left;width:195px;box-sizing:border-box;min-height:200px;display:flex;flex-direction:column}.opinionstage-template-item:not(:first-child){margin-left:15px}.opinionstage-template-item__icon{width:30px}.opinionstage-template-item__title{margin-top:14px;margin-bottom:3px;font-size:16px}.opinionstage-template-item__text{margin-top:3px;font-size:13px;margin-bottom:auto}.opinionstage-template-item__button{display:inline-block;min-width:120px;line-height:30px;font-size:14px;border:1px solid #242628;text-align:center;border-radius:2px;box-sizing:border-box;margin-bottom:0;margin-right:auto;margin-top:auto;color:#6E6E6E;text-decoration:none}.opinionstage-template-item__button:hover{color:#6E6E6E}.opinionstage-template-item__button:focus{box-shadow:none}.opinionstage-connect-form .opinionstage-button{min-height:50px}.opinionstage-connect-form__disconnect button[type=submit]{margin-bottom:0;min-height:auto}.gettingStartedSection{background:#fff;margin-right:20px;min-height:500px;overflow:hidden;padding:30px}.gettingStartedSection p{font-size:20px;margin:0;margin-bottom:20px}h1.gettingStartedHeading{font-size:30px;letter-spacing:1px;line-height:35px;margin:0 auto;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;width:100%}#opinionstage-content a.gettingStartedCreate.button{background:#3499c2;box-shadow:0 0 0 0;color:#ffffff;display:block;font-size:20px;height:auto;letter-spacing:1px;margin-top:20px;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;padding:11px 10px;width:100%}@media only screen and (max-width: 375px){.gettingStartedSection{padding-left:0 !important;padding-right:0 !important;padding-top:20px !important}#opinionstage-content .opinionstage-status-content{height:160px !important}#opinionstage-content .opinionstage-status-content-connected{height:162px !important}.gettingStartedSection p{text-align:center}#opinionstage-content .opinionstage-blue-btn{margin-left:30px;margin-top:15px}#opinionstage-content a.gettingStartedCreate.button{margin:20px auto 0 !important}.text-section-getting-stared-os p{text-align:left}}.opinionstage-dashboard-left .os_use_template_btn{margin:0;padding:12px 15px !important}td.long{padding-left:10px;width:48%}td.long>div{position:relative;width:90%;height:85px}td.long table{bottom:0;color:#b1b1b1;line-height:normal;position:absolute;width:100%}td.long table td{max-width:300px}td.long a{color:#212120;display:block;font-size:16px;font-weight:normal;line-height:normal;max-height:3.6em;max-width:100%;overflow:hidden;position:absolute;text-decoration:none;text-overflow:ellipsis;word-wrap:break-word;white-space:nowrap}td.action{width:30%}td.action a.opinionstage-blue-bordered-btn{font-size:15px;margin-right:9px}span.os-icon-plugin.icon-os-common-date{float:left;margin-right:4px}.label{line-height:15px}.content-item-label{background-color:#222120;color:#fff;font-size:12px;padding:2px 4px}a.opinionstage-blue-bordered-btn{float:left;margin-right:5px;border:1px solid #3aaebd;border-radius:3px;color:#3aaebd;display:block;font-size:14px;padding:10px 30px;text-align:center;text-decoration:none;text-transform:uppercase;transition:.2s ease}.content-item-image.quiz{height:90px;position:relative;width:120px;background-repeat:no-repeat;background-size:cover}.content-item-image.quiz img{bottom:0;display:block;height:90px;opacity:0.8;position:absolute;right:0;width:120px}.content-item-label{background-color:#222120;color:white;font-size:12px;left:0;padding:1px 5px;position:absolute;text-transform:uppercase;top:0}tr.item-wrapper{border-top:1px #e5e5e5 solid;display:table-cell;padding:10px 0;transition:.2s ease}tr.item-wrapper:hover{background-color:#f7f7f7}tr.item-wrapper .opinionstage-item-title{font-weight:600}tr.item-wrapper .icon-os-status-closed,tr.item-wrapper .icon-os-status-open{margin-right:5px}tr.item-wrapper .icon-os-status-closed{color:#f46368}tr.item-wrapper .icon-os-status-open{color:#31aebe}tr.item-wrapper .opinionstage-draft{color:#f46368;text-transform:capitalize;font-size:80%}@media only screen and (max-width: 768px){tr.item-wrapper>td{display:block;width:100%}}.opinionstage-with-separator:before{content:"";margin:0 10px;height:100%;border-left:1px solid #b1b1b1}.opinionstage-section-header{font-size:23px;height:40px;overflow:visible}.opinionstage-anchors-list{position:absolute;z-index:10;top:100%;left:0;width:100%;background:white;border:1px solid #e5e5e5;opacity:0;visibility:hidden;transition:all .5s ease;margin-top:17px;margin-bottom:0}.opinionstage-anchors-list.opened{opacity:1;visibility:visible}.opinionstage-anchors-list a{width:100%}div#container .opinionstage-section-header{width:100%}.opinionstage-section-title{float:left;font-size:30px;padding:10px 0}.opinionstage-need-help-link{float:right !important}.opinionstage-section-header a{color:#32adbc;float:right;font-size:14px;font-weight:600;line-height:normal;margin:10px 25px;margin-right:0;text-decoration:none}div#opinionstage-load-more{display:none;cursor:pointer;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;line-height:38px;border:1px solid #dededd;border-radius:3px;padding:0 10px;text-decoration:none;outline:none;transition:0.2s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:baseline;color:#38aebd;background-color:transparent;border-color:#38aebd;width:100%;max-width:1000px;margin-bottom:20px;margin-left:20px}div#opinionstage-load-more:hover{text-decoration:none;opacity:0.8}td.image{width:12%}.opinionstage-connectivity-status{color:#fff;float:right;font-size:15px;margin:5px 0}.opinionstage-disconnect{background-color:transparent;border:none;color:#32adbc;cursor:pointer}.opinionstage-disconnect:focus{border:none}.opinionstage-disconnect:focus{outline:0 none}.opinionstage-title{font-weight:bold}#overlay{background-color:#fdfdfdc7;display:block;height:100%;filter:alpha(opacity=70);opacity:0.7;position:absolute;width:100%;z-index:100;top:0}.opinionstage-item-view-dashboard{margin:30px;width:1000px}.opinionstage-header-inner-container{float:right}.opinionstage-header-inner-container .select-wrapper{padding:0 9px;display:inline-block}.opinionstage-header-inner-container .select-wrapper:last-child{padding-right:0}.opinionstage-header-inner-container .opinionstage-header-inner-section{border-right:1px solid #f3f3f3;float:left;padding-right:4px}.opinionstage-header-inner-section a,.os-long-text a{text-decoration:none}.search-container{background-color:transparent;display:inline-block;width:150px}.opinionstage-section-header #itemList{font-size:12px;font-weight:bold;height:auto;padding:10px;width:100%}.opinionstage-section-header #opinionstage-my-items-search-field{color:#797979;height:auto;padding:8.5px 10px;width:100%}.opinionstage-item-view-dashboard .opinionstage-dashboard-section{margin:0}.opinionstage-item-view-dashboard #opinionstage-items-table tbody:last-child tr.item-wrapper{border-bottom:1px #e5e5e5 solid}.opinionstage-item-view-dashboard #opinionstage-items-table tbody .action .opinionstage-edit-content:last-child{margin-right:0}.opinionstage-item-action-container{float:right}.opinionstage-item-action-container .opinionstage-edit-content{padding:13px 17px !important}div#opinionstage-load-more{background-color:#f1f1f1;border-color:#f1f1f1;color:#444;margin:0}.gettingStartedContainer{background:url(../images/bitmap_top.png) no-repeat 0 0;background-color:#32adbc;background-position:right;height:170px;width:760px}.opinionstage-resources-title{padding:40px 0}.gettingBlockContainer{width:760px}.gettingTemplateTutorial{margin-right:10px}.gettingTemplateGallery,.gettingTemplateTutorial,a.help-center-os{border:2px solid #32adbc;color:#32adbc;font-size:15px;font-weight:bold;margin-top:10px;padding:20px 0;text-align:center;text-decoration:none;width:100%;float:left}.gettingTemplateGallery:hover,.gettingTemplateTutorial:hover,a.help-center-os:hover{background-color:rgba(49,174,190,0.1);color:#32adbc}.gettingTemplateGallery:focus,.gettingTemplateTutorial:focus,a.help-center-os:focus{background-color:rgba(49,174,190,0.1);box-shadow:none;color:#32adbc}@media (min-width: 769px){.gettingTemplateGallery,.gettingTemplateTutorial,a.help-center-os{max-width:370px}}a.help-center-os{padding:29px 0}.opinionstage-item-view-dashboard #opinionstage-items-table{width:100%}.opinionstage-item-view-dashboard #opinionstage-items-table div.label{font-size:13px}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section{margin-bottom:5px}#opinionistage-my-items-page-modal-wrapper{display:none;position:fixed;height:100%;width:100%;bottom:0;left:0;border-radius:6px / 6px;background-color:rgba(0,0,0,0.8);z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#opinionistage-my-items-page-modal-wrapper .inner{background:#f5f5f5;padding:1px 15px 10px 15px;margin-top:20px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:6px;overflow:hidden;width:650px;padding:25px 35px;font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a{color:#32adbc}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a:focus{outline:none;box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a.no-text-decoration{text-decoration:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal p{font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper{display:flex;align-items:center}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea{resize:none;margin:10px 10px 10px 0;padding:10px;width:500px;border-radius:0 0 3px 3px;border:1px solid #3aaebd;background:#fff}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea:focus{box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionstage-close{position:absolute;right:16px;top:12px;width:20px;height:20px;cursor:pointer}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before,#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{position:absolute;left:15px;content:' ';height:17px;width:2px;background-color:#b1b1b1}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{transform:rotate(-45deg)}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before{transform:rotate(45deg)}#opinionistage-my-items-page-modal-wrapper ul{margin-left:17px;list-style:disc}#opinionistage-my-items-page-modal-wrapper ul li{margin-bottom:15px}@media only screen and (max-width: 1230px){#opinionstage-content .opinionstage-dashboard-left,#opinionstage-content .opinionstage-dashboard-right{float:none;width:auto}#opinionstage-content .opinionstage-dashboard{overflow-y:scroll}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-section-header .opinionstage-section-title{padding:25px 0}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section .opinionstage-section-header{height:95px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header .opinionstage-header-inner-section a{display:block;float:none}.opinionstage-create-btn{margin-bottom:10px;margin-right:0}.opinionstage-item-action-container{float:none}#opinionstage-items-table .action .opinionstage-item-action-container a{display:block;float:none;margin-bottom:10px;width:80%}.opinionstage-item-view-dashboard{width:auto}}.opinionstage-no-items{font-weight:600;font-size:15px;color:#212120}a.opinionstage-add-our-first-item{font-weight:600;font-size:15px;color:#3499c2}@media only screen and (max-width: 768px){.gettingStartedSection{width:auto}.gettingStartedContainer,.gettingBlockContainer{width:100%}.gettingBlockContainer .gettingTemplateGallery,.gettingBlockContainer .gettingTemplateTutorial{display:block;float:none;width:100%}}
1
+ @font-face{font-family:'os-icon-plugin-plugin-font';src:url("fonts/os-icon-font.eot?frvqyp");src:url("fonts/os-icon-font.eot?frvqyp#iefix") format("embedded-opentype"),url("fonts/os-icon-font.ttf?frvqyp") format("truetype"),url("fonts/os-icon-font.woff?frvqyp") format("woff"),url("fonts/os-icon-font.svg?frvqyp#os-iconn-font") format("svg");font-weight:normal;font-style:normal}.opinionstage-content-popup-contents [class^="icon-"],.opinionstage-content-popup-contents [class*=" icon-"],#wpwrap [class^="icon-"],#wpwrap [class*=" icon-"]{font-family:'os-icon-plugin-plugin-font' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-os-common-date:before{content:"\E91A"}.icon-os-status-closed:before{content:"\e95f"}.icon-os-status-open:before{content:"\e961"}.icon-os-plugin-form-address:before{content:"\e900"}.icon-os-plugin-form-email:before{content:"\e901"}.icon-os-plugin-form-name:before{content:"\e902"}.icon-os-plugin-form-phone:before{content:"\e903"}.icon-os-plugin-common-arrow-left2:before{content:"\e904"}.icon-os-plugin-common-arrow-right2:before{content:"\e905"}.icon-os-plugin-reports-list:before{content:"\e906"}.icon-os-plugin-reports-personality:before{content:"\e907"}.icon-os-plugin-reports-poll:before{content:"\e908"}.icon-os-plugin-reports-set:before{content:"\e909"}.icon-os-plugin-widget-slideshow:before{content:"\e90a"}.icon-os-plugin-reports-trivia:before{content:"\e90b"}.icon-os-plugin-common-up:before{content:"\e90c"}.icon-os-plugin-layout-image-poll:before{content:"\e90d"}.icon-os-plugin-common-arrow-left:before{content:"\e90e"}.icon-os-plugin-common-arrow-right:before{content:"\e90f"}.icon-os-plugin-form-user:before{content:"\e910"}.icon-os-plugin-sn-pinterest:before{content:"\e911"}.icon-os-plugin-sn-reddit:before{content:"\e912"}.icon-os-plugin-sn-whatsapp:before{content:"\e913"}.icon-os-plugin-brand-logo-small:before{content:"\e914"}.icon-os-plugin-brand-logo:before{content:"\e915"}.icon-os-plugin-common-addnew:before{content:"\e916"}.icon-os-plugin-common-checkbox-blank:before{content:"\e917"}.icon-os-plugin-common-checkbox-checked:before{content:"\e918"}.icon-os-plugin-common-close:before{content:"\e919"}.icon-os-plugin-common-date:before{content:"\e91a"}.icon-os-plugin-common-dot:before{content:"\e91b"}.icon-os-plugin-common-down:before{content:"\e91c"}.icon-os-plugin-common-help:before{content:"\e91d"}.icon-os-plugin-common-link:before{content:"\e91e"}.icon-os-plugin-common-menu-dd-closed:before{content:"\e91f"}.icon-os-plugin-common-menu-dd-open:before{content:"\e920"}.icon-os-plugin-common-menu-medium:before{content:"\e921"}.icon-os-plugin-common-menu:before{content:"\e922"}.icon-os-plugin-common-minimize:before{content:"\e923"}.icon-os-plugin-common-more:before{content:"\e924"}.icon-os-plugin-common-plus:before{content:"\e925"}.icon-os-plugin-common-poll:before{content:"\e926"}.icon-os-plugin-common-search:before{content:"\e927"}.icon-os-plugin-common-settings:before{content:"\e928"}.icon-os-plugin-common-tip:before{content:"\e929"}.icon-os-plugin-filter-all:before{content:"\e92a"}.icon-os-plugin-filter-facebook:before{content:"\e92b"}.icon-os-plugin-filter-female:before{content:"\e92c"}.icon-os-plugin-filter-friends:before{content:"\e92d"}.icon-os-plugin-filter-gplus:before{content:"\e92e"}.icon-os-plugin-filter-hidden:before{content:"\e92f"}.icon-os-plugin-filter-male:before{content:"\e930"}.icon-os-plugin-filter-public:before{content:"\e931"}.icon-os-plugin-filter-seperator:before{content:"\e932"}.icon-os-plugin-filter-twitter:before{content:"\e933"}.icon-os-plugin-form-check:before{content:"\e934"}.icon-os-plugin-form-drag:before{content:"\e935"}.icon-os-plugin-form-error:before{content:"\e936"}.icon-os-plugin-form-image:before{content:"\e937"}.icon-os-plugin-form-success:before{content:"\e938"}.icon-os-plugin-form-video:before{content:"\e939"}.icon-os-plugin-hp-engagement:before{content:"\e93a"}.icon-os-plugin-hp-insights:before{content:"\e93b"}.icon-os-plugin-hp-revenue:before{content:"\e93c"}.icon-os-plugin-hp-traffic:before{content:"\e93d"}.icon-os-plugin-layout-h2h:before{content:"\e93e"}.icon-os-plugin-layout-mc:before{content:"\e93f"}.icon-os-plugin-layout-thumbnails:before{content:"\e940"}.icon-os-plugin-menu-content:before{content:"\e941"}.icon-os-plugin-menu-placements:before{content:"\e942"}.icon-os-plugin-menu-reports:before{content:"\e943"}.icon-os-plugin-menu-revenue:before{content:"\e944"}.icon-os-plugin-pinterest:before{content:"\e945"}.icon-os-plugin-poll-client:before{content:"\e946"}.icon-os-plugin-poll-voter:before{content:"\e947"}.icon-os-plugin-quiz-correct:before{content:"\e948"}.icon-os-plugin-quiz-restart:before{content:"\e949"}.icon-os-plugin-quiz-wrong:before{content:"\e94a"}.icon-os-plugin-report-contacts:before{content:"\e94b"}.icon-os-plugin-report-discovery:before{content:"\e94c"}.icon-os-plugin-report-revenue:before{content:"\e94d"}.icon-os-plugin-report-stats:before{content:"\e94e"}.icon-os-plugin-report-time:before{content:"\e94f"}.icon-os-plugin-report-views:before{content:"\e950"}.icon-os-plugin-reports-emails:before{content:"\e951"}.icon-os-plugin-reports-polls:before{content:"\e952"}.icon-os-plugin-reports-revenue:before{content:"\e953"}.icon-os-plugin-reports-sets:before{content:"\e954"}.icon-os-plugin-reports-time:before{content:"\e955"}.icon-os-plugin-reports-traffic:before{content:"\e956"}.icon-os-plugin-reports-votes:before{content:"\e957"}.icon-os-plugin-set-arrow-left:before{content:"\e958"}.icon-os-plugin-set-arrow-right:before{content:"\e959"}.icon-os-plugin-sn-embed:before{content:"\e95a"}.icon-os-plugin-sn-facebook:before{content:"\e95b"}.icon-os-plugin-sn-gplus:before{content:"\e95c"}.icon-os-plugin-sn-tumblr:before{content:"\e95d"}.icon-os-plugin-sn-twitter:before{content:"\e95e"}.icon-os-plugin-status-closed:before{content:"\e95f"}.icon-os-plugin-status-draft:before{content:"\e960"}.icon-os-plugin-status-open:before{content:"\e961"}.icon-os-plugin-status-published:before{content:"\e962"}.icon-os-plugin-widget-form:before{content:"\e963"}.icon-os-icon-plugin-story:before{content:"\e964"}.opinionstage-button{border-radius:3px;display:inline-block;border-style:hidden;color:#fff;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease;cursor:pointer}.opinionstage-button:hover{color:#fff}.opinionstage-button__pink{background-color:#F46368}.opinionstage-button__blue{background-color:#32adbc}.opinionstage-button__uppercase{text-transform:uppercase}#opinionstage-content{height:auto;margin:0;min-height:100%;overflow:hidden;padding-top:20px;width:100%}#opinionstage-content .opinionstage-header-wrapper{background:#232121;margin-right:20px;overflow:hidden;position:relative}#opinionstage-content .opinionstage-logo-wrapper{padding:10px 30px}#opinionstage-content .opinionstage-logo{background:url("../images/os-logo-header.png") no-repeat 0 0;background-size:contain;display:inline-block;height:30px;width:150px}#opinionstage-content .opinionstage-status-content{background-color:#fff;border-bottom:3px solid #32adbc;color:#000;height:109px;padding:20px 35px 0}#opinionstage-content .opinionstage-status-content-connected{color:#fff;height:115px;padding:30px 30px 0}#opinionstage-content .opinionstage-connect-form{display:inline-block}#opinionstage-content .opinionstage-connect-btn{padding-bottom:14.2px !important;padding-top:14.2px !important;position:relative;cursor:pointer}#opinionstage-content .opinionstage-status-title{font-size:24px;font-weight:bold;line-height:25px;margin-bottom:14px}#opinionstage-content .opinionstage-status-title .opinionstage-title{font-size:20px}#opinionstage-content .opinionstage-status-content .os-icon-plugin{font-size:19px;margin-right:7px}#opinionstage-content #os-switch-email{font-size:14px;padding:11px 0}#opinionstage-content .opinionstage-blue-btn{background-color:#32adbc;border-radius:3px;border-style:hidden;color:#ffffff;display:inline-block;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease}#opinionstage-content .opinionstage-blue-btn:hover{background-color:#2f9fad}#opinionstage-content .opinionstage-blue-btn.border{background:#fff;color:#32adbc;border:1px solid #32adbc}#opinionstage-content .opinionstage-blue-btn.border:hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content .opinionstage-create-btn{width:100px}#opinionstage-content a.opinionstage-blue-bordered-btn{border:1px solid #32adbc;border-radius:2px;color:#32adbc;display:block;padding:10px 5px;text-align:center;text-decoration:none}#opinionstage-content .opinionstage-dashboard-right a.opinionstage-blue-bordered-btn{float:left;margin-right:5px}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled{color:#cacac8;border:1px solid #cacac8}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled:hover{background-color:#f9f9f9;color:#cacac8;cursor:default}#opinionstage-content .opinionstage-dashboard{background-color:#fff;margin-right:20px;min-height:800px;overflow:hidden}#opinionstage-content .opinionstage-dashboard-left,#opinionstage-content .opinionstage-dashboard-right{width:1000px}#opinionstage-content .opinionstage-dashboard-left{margin:30px}#opinionstage-content .opinionstage-dashboard-left .opinionstage-section-header .opinionstage-section-title{float:left;font-size:30px;padding:0;line-height:1}#opinionstage-content .opinionstage-dashboard-section{margin-bottom:30px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header{height:58px;margin-top:10px;overflow:hidden}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header a{margin:0;padding:10px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header a:focus{box-shadow:none}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-content{display:table;border-collapse:collapse;width:100%;position:relative}#opinionstage-content a.opinionstage-help-link{font-size:18px;text-decoration:none}#opinionstage-content #opinionstage-section-help .opinionstage-section-content{border:1px solid #c8c8c9}#opinionstage-content #opinionstage-section-help .opinionstage-section-content{height:307px}#opinionstage-content #opinionstage-section-help .opinionstage-section-cell a{font-size:18px;margin-bottom:5px;text-decoration:none}#opinionstage-content .opinionstage-help-row{border-bottom:1px solid #c8c8c9;margin:0 10px;padding:25px 0 25px 10px}#opinionstage-content .opinionstage-help-row:last-child{border-bottom:none}.opinionstage-dashboard-left .opinionstage-create-btn{padding:12px 10px !important}#opinionstage-content a.opinionstage-blue-bordered-btn :hover,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn :hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content a.opinionstage-blue-bordered-btn:focus,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn:focus{box-shadow:none}.opinionstage-my-items-message{display:none;font-size:16px;text-align:center}#opinionstage-failed-load-items-request{display:none;font-size:15px;text-align:center}#opinionstage-section-create .opinionstage-section-content{height:435px}#opinionstage-section-create .opinionstage-section-raw{border:1px solid #c8c8c9;display:table-row;border-left:none;border-right:none}#opinionstage-section-create .opinionstage-section-cell{display:table-cell;padding:20px 0;vertical-align:middle}#opinionstage-section-create .opinionstage-section-cell.opinionstage-icon-cell{color:#3499c2;font-size:35px;text-align:center;width:7%}#opinionstage-section-create .opinionstage-section-cell.opinionstage-btn-cell{text-align:right;width:36%}#opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell{width:57%}#opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .title{font-size:22px;font-weight:600;margin-bottom:5px;color:#3c434a;text-decoration:none}#opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .example{color:#b1b1b1;font-size:14px;line-height:normal}#opinionstage-section-create .opinionstage-blue-btn{padding:12px 10px;text-transform:capitalize;min-width:150px}#opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:10px}@media (max-width: 1230px){#opinionstage-section-create .opinionstage-blue-btn{display:block;width:auto}#opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:0;margin-bottom:10px}}.opinion-stage_page_opinionstage-settings,.toplevel_page_opinionstage-getting-started{background-color:#f9f7fd}.opinionstage-grey-link{display:inline-block;color:#6E6E6E;font-size:14px}.opinionstage-grey-link:hover{color:#6E6E6E}.opinionstage-getting-started-section{padding:25px;max-width:1024px;color:#6E6E6E}.opinionstage-getting-started{color:#6E6E6E;display:flex}.opinionstage-getting-started__title{font-size:30px;line-height:1.3}.opinionstage-getting-started__text{width:37%}.opinionstage-getting-started__text p{font-size:16px}.opinionstage-getting-started__text p:last-child{margin-bottom:34px}.opinionstage-getting-started__img{width:50%}.opinionstage-getting-started__img img{width:100%}.opinionstage-getting-started .opinionstage-grey-link{margin-top:16px}.opinionstage-getting-started-templates__row{display:flex}.opinionstage-getting-started-templates__title{font-size:20px}.opinionstage-getting-started-templates .opinionstage-grey-link{margin-top:16px}.opinionstage-template-item{background-color:#fff;border:1px solid rgba(199,214,216,0.3);padding:10px;text-align:left;width:195px;box-sizing:border-box;min-height:200px;display:flex;flex-direction:column}.opinionstage-template-item:not(:first-child){margin-left:15px}.opinionstage-template-item__icon{width:30px}.opinionstage-template-item__title{margin-top:14px;margin-bottom:3px;font-size:16px}.opinionstage-template-item__text{margin-top:3px;font-size:13px;margin-bottom:auto}.opinionstage-template-item__button{display:inline-block;min-width:120px;line-height:30px;font-size:14px;border:1px solid #242628;text-align:center;border-radius:2px;box-sizing:border-box;margin-bottom:0;margin-right:auto;margin-top:auto;color:#6E6E6E;text-decoration:none}.opinionstage-template-item__button:hover{color:#6E6E6E}.opinionstage-template-item__button:focus{box-shadow:none}.opinionstage-connect-form .opinionstage-button{min-height:50px}.opinionstage-connect-form__disconnect button[type=submit]{margin-bottom:0;min-height:auto}.gettingStartedSection{background:#fff;margin-right:20px;min-height:500px;overflow:hidden;padding:30px}.gettingStartedSection p{font-size:20px;margin:0;margin-bottom:20px}h1.gettingStartedHeading{font-size:30px;letter-spacing:1px;line-height:35px;margin:0 auto;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;width:100%}#opinionstage-content a.gettingStartedCreate.button{background:#3499c2;box-shadow:0 0 0 0;color:#ffffff;display:block;font-size:20px;height:auto;letter-spacing:1px;margin-top:20px;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;padding:11px 10px;width:100%}@media only screen and (max-width: 375px){.gettingStartedSection{padding-left:0 !important;padding-right:0 !important;padding-top:20px !important}#opinionstage-content .opinionstage-status-content{height:160px !important}#opinionstage-content .opinionstage-status-content-connected{height:162px !important}.gettingStartedSection p{text-align:center}#opinionstage-content .opinionstage-blue-btn{margin-left:30px;margin-top:15px}#opinionstage-content a.gettingStartedCreate.button{margin:20px auto 0 !important}.text-section-getting-stared-os p{text-align:left}}.opinionstage-dashboard-left .os_use_template_btn{margin:0;padding:12px 15px !important}td.long{padding-left:10px;width:48%}td.long>div{position:relative;width:90%;height:85px}td.long table{bottom:0;color:#b1b1b1;line-height:normal;position:absolute;width:100%}td.long table td{max-width:300px}td.long a{color:#212120;display:block;font-size:16px;font-weight:normal;line-height:normal;max-height:3.6em;max-width:100%;overflow:hidden;position:absolute;text-decoration:none;text-overflow:ellipsis;word-wrap:break-word;white-space:nowrap}td.action{width:30%}td.action a.opinionstage-blue-bordered-btn{font-size:15px;margin-right:9px}span.os-icon-plugin.icon-os-common-date{float:left;margin-right:4px}.label{line-height:15px}.content-item-label{background-color:#222120;color:#fff;font-size:12px;padding:2px 4px}a.opinionstage-blue-bordered-btn{float:left;margin-right:5px;border:1px solid #3aaebd;border-radius:3px;color:#3aaebd;display:block;font-size:14px;padding:10px 30px;text-align:center;text-decoration:none;text-transform:uppercase;transition:.2s ease}.content-item-image.quiz{height:90px;position:relative;width:120px;background-repeat:no-repeat;background-size:cover}.content-item-image.quiz img{bottom:0;display:block;height:90px;opacity:0.8;position:absolute;right:0;width:120px}.content-item-label{background-color:#222120;color:white;font-size:12px;left:0;padding:1px 5px;position:absolute;text-transform:uppercase;top:0}tr.item-wrapper{border-top:1px #e5e5e5 solid;display:table-cell;padding:10px 0;transition:.2s ease}tr.item-wrapper:hover{background-color:#f7f7f7}tr.item-wrapper .opinionstage-item-title{font-weight:600}tr.item-wrapper .icon-os-status-closed,tr.item-wrapper .icon-os-status-open{margin-right:5px}tr.item-wrapper .icon-os-status-closed{color:#f46368}tr.item-wrapper .icon-os-status-open{color:#31aebe}tr.item-wrapper .opinionstage-draft{color:#f46368;text-transform:capitalize;font-size:80%}@media only screen and (max-width: 768px){tr.item-wrapper>td{display:block;width:100%}}.opinionstage-with-separator:before{content:"";margin:0 10px;height:100%;border-left:1px solid #b1b1b1}.opinionstage-section-header{font-size:23px;height:40px;overflow:visible}.opinionstage-anchors-list{position:absolute;z-index:10;top:100%;left:0;width:100%;background:white;border:1px solid #e5e5e5;opacity:0;visibility:hidden;transition:all .5s ease;margin-top:17px;margin-bottom:0}.opinionstage-anchors-list.opened{opacity:1;visibility:visible}.opinionstage-anchors-list a{width:100%}div#container .opinionstage-section-header{width:100%}.opinionstage-section-title{float:left;font-size:30px;padding:10px 0}.opinionstage-need-help-link{float:right !important}.opinionstage-section-header a{color:#32adbc;float:right;font-size:14px;font-weight:600;line-height:normal;margin:10px 25px;margin-right:0;text-decoration:none}div#opinionstage-load-more{display:none;cursor:pointer;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;line-height:38px;border:1px solid #dededd;border-radius:3px;padding:0 10px;text-decoration:none;outline:none;transition:0.2s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:baseline;color:#38aebd;background-color:transparent;border-color:#38aebd;width:100%;max-width:1000px;margin-bottom:20px;margin-left:20px}div#opinionstage-load-more:hover{text-decoration:none;opacity:0.8}td.image{width:12%}.opinionstage-connectivity-status{color:#fff;float:right;font-size:15px;margin:5px 0}.opinionstage-disconnect{background-color:transparent;border:none;color:#32adbc;cursor:pointer}.opinionstage-disconnect:focus{border:none}.opinionstage-disconnect:focus{outline:0 none}.opinionstage-title{font-weight:bold}#overlay{background-color:#fdfdfdc7;display:block;height:100%;filter:alpha(opacity=70);opacity:0.7;position:absolute;width:100%;z-index:100;top:0}.opinionstage-item-view-dashboard{margin:30px;width:1000px}.opinionstage-header-inner-container{float:right}.opinionstage-header-inner-container .select-wrapper{padding:0 9px;display:inline-block}.opinionstage-header-inner-container .select-wrapper:last-child{padding-right:0}.opinionstage-header-inner-container .opinionstage-header-inner-section{border-right:1px solid #f3f3f3;float:left;padding-right:4px}.opinionstage-header-inner-section a,.os-long-text a{text-decoration:none}.search-container{background-color:transparent;display:inline-block;width:150px}.opinionstage-section-header #itemList{font-size:12px;font-weight:bold;height:auto;padding:10px;width:100%}.opinionstage-section-header #opinionstage-my-items-search-field{color:#797979;height:auto;padding:8.5px 10px;width:100%}.opinionstage-item-view-dashboard .opinionstage-dashboard-section{margin:0}.opinionstage-item-view-dashboard #opinionstage-items-table tbody:last-child tr.item-wrapper{border-bottom:1px #e5e5e5 solid}.opinionstage-item-view-dashboard #opinionstage-items-table tbody .action .opinionstage-edit-content:last-child{margin-right:0}.opinionstage-item-action-container{float:right}.opinionstage-item-action-container .opinionstage-edit-content{padding:13px 17px !important}div#opinionstage-load-more{background-color:#f1f1f1;border-color:#f1f1f1;color:#444;margin:0}.gettingStartedContainer{background:url(../images/bitmap_top.png) no-repeat 0 0;background-color:#32adbc;background-position:right;height:170px;width:760px}.opinionstage-resources-title{padding:40px 0}.gettingBlockContainer{width:760px}.gettingTemplateTutorial{margin-right:10px}.gettingTemplateGallery,.gettingTemplateTutorial,a.help-center-os{border:2px solid #32adbc;color:#32adbc;font-size:15px;font-weight:bold;margin-top:10px;padding:20px 0;text-align:center;text-decoration:none;width:100%;float:left}.gettingTemplateGallery:hover,.gettingTemplateTutorial:hover,a.help-center-os:hover{background-color:rgba(49,174,190,0.1);color:#32adbc}.gettingTemplateGallery:focus,.gettingTemplateTutorial:focus,a.help-center-os:focus{background-color:rgba(49,174,190,0.1);box-shadow:none;color:#32adbc}@media (min-width: 769px){.gettingTemplateGallery,.gettingTemplateTutorial,a.help-center-os{max-width:370px}}a.help-center-os{padding:29px 0}.opinionstage-item-view-dashboard #opinionstage-items-table{width:100%}.opinionstage-item-view-dashboard #opinionstage-items-table div.label{font-size:13px}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section{margin-bottom:5px}#opinionistage-my-items-page-modal-wrapper{display:none;position:fixed;height:100%;width:100%;bottom:0;left:0;border-radius:6px / 6px;background-color:rgba(0,0,0,0.8);z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#opinionistage-my-items-page-modal-wrapper .inner{background:#f5f5f5;padding:1px 15px 10px 15px;margin-top:20px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:6px;overflow:hidden;width:650px;padding:25px 35px;font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a{color:#32adbc}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a:focus{outline:none;box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a.no-text-decoration{text-decoration:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal p{font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper{display:flex;align-items:center}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea{resize:none;margin:10px 10px 10px 0;padding:10px;width:500px;border-radius:0 0 3px 3px;border:1px solid #3aaebd;background:#fff}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea:focus{box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionstage-close{position:absolute;right:16px;top:12px;width:20px;height:20px;cursor:pointer}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before,#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{position:absolute;left:15px;content:' ';height:17px;width:2px;background-color:#b1b1b1}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{transform:rotate(-45deg)}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before{transform:rotate(45deg)}#opinionistage-my-items-page-modal-wrapper ul{margin-left:17px;list-style:disc}#opinionistage-my-items-page-modal-wrapper ul li{margin-bottom:15px}@media only screen and (max-width: 1230px){#opinionstage-content .opinionstage-dashboard-left,#opinionstage-content .opinionstage-dashboard-right{float:none;width:auto}#opinionstage-content .opinionstage-dashboard{overflow-y:scroll}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-section-header .opinionstage-section-title{padding:25px 0}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section .opinionstage-section-header{height:95px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header .opinionstage-header-inner-section a{display:block;float:none}.opinionstage-create-btn{margin-bottom:10px;margin-right:0}.opinionstage-item-action-container{float:none}#opinionstage-items-table .action .opinionstage-item-action-container a{display:block;float:none;margin-bottom:10px;width:80%}.opinionstage-item-view-dashboard{width:auto}}.opinionstage-no-items{font-weight:600;font-size:15px;color:#212120}a.opinionstage-add-our-first-item{font-weight:600;font-size:15px;color:#3499c2}@media only screen and (max-width: 768px){.gettingStartedSection{width:auto}.gettingStartedContainer,.gettingBlockContainer{width:100%}.gettingBlockContainer .gettingTemplateGallery,.gettingBlockContainer .gettingTemplateTutorial{display:block;float:none;width:100%}}
admin/css/sidebar-widget.css CHANGED
@@ -1 +1 @@
1
- .opinionstage-button{border-radius:3px;display:inline-block;border-style:hidden;color:#fff;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease;cursor:pointer}.opinionstage-button:hover{color:#fff}.opinionstage-button__pink{background-color:#F46368}.opinionstage-button__uppercase{text-transform:uppercase}.opinionstage-sidebar-widget{overflow:hidden;margin-bottom:30px;padding-top:15px}.opinionstage-sidebar-widget a.opinionstage-edit-content{text-transform:uppercase;padding:9px 17px}.opinionstage-sidebar-widget a.opinionstage-edit-settings{padding:7px}.opinionstage-sidebar-widget a.opinionstage-edit-settings .icon-os-common-settings:before{font-size:24px}.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn{text-align:center;text-decoration:none;border-radius:3px;display:block;color:#32adbc;border:1px solid #32adbc;font-size:15px;font-weight:600;padding:10px;float:left;margin-bottom:5px;margin-right:5px;line-height:normal}.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn:hover{background-color:rgba(49,174,190,0.1)}.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn:focus{box-shadow:none}.opinionstage-sidebar-widget .opinionstage-sidebar-connected{background-color:#eaf5f9;padding:10px 0 10px 5px}.opinionstage-sidebar-widget .opinionstage-sidebar-connected .opinionstage-connected-info{overflow:hidden}.opinionstage-sidebar-widget .opinionstage-sidebar-connected .opinionstage-connected-info a{float:left}.opinionstage-sidebar-widget .opinionstage-sidebar-connected .opinionstage-connected-title{margin-bottom:5px}.opinionstage-sidebar-widget .opinionstage-sidebar-enabled{float:left;margin-top:10px}.opinionstage-sidebar-widget .opinionstage-sidebar-enabled label{font-weight:bold}.opinionstage-sidebar-widget input[type="text"]{padding:10px;width:100%}.opinionstage-sidebar-widget input#os-email{margin:0 7px 0 0;color:#444;padding-left:5px;float:left;width:auto;line-height:27px;height:27px;font-size:13px}.opinionstage-sidebar-widget input#os-email:disabled{background-color:rgba(10,10,10,0.1)}.opinionstage-sidebar-widget p{overflow:hidden}.opinionstage-sidebar-widget .os-icon-plugin{float:left;font-size:16px;margin-right:7px;margin-left:5px}.opinionstage-sidebar-widget .os-icon-plugin.icon-os-poll-client{margin-top:4px}.opinionstage-sidebar-widget .os-button{float:left;text-decoration:none;border:1px solid #CFCCC8;border-radius:3px;text-align:center;color:#ffffff;background-color:#289ec4;background-image:linear-gradient(top, #289ec4, #278fb5);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#289ec4, endColorstr=#278fb5);padding:5px 10px}.opinionstage-sidebar-widget .os-button:hover{background-color:#40aacd;background-image:linear-gradient(top, #40aacd, #40aacd);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#40aacd, endColorstr=#40aacd)}.opinionstage-sidebar-widget .connection_message{line-height:normal;font-family:Open Sans, Helvetica, sans-serif}.opinionstage-sidebar-widget .opinionstage-blue-btn{background:#32adbc;border-color:#32adbc;font-family:Open Sans, Helvetica, sans-serif;font-size:13px;font-weight:600;line-height:normal;padding:10px;text-transform:uppercase}.opinionstage-sidebar-widget .opinionstage-blue-btn:hover{background:#32adbc;opacity:0.9}.opinionstage-sidebar-widget img{width:86px}.wp-admin .opinionstage-sidebar-widget input[type=checkbox]{margin:0 5px 0 0}.wp-admin .opinionstage-sidebar-widget input[type=checkbox],.wp-admin .opinionstage-sidebar-widget input input[type=radio]{border:1px solid #0085ba;height:20px;width:20px;box-shadow:none;border-radius:2px}.wp-admin .opinionstage-sidebar-widget input[type=checkbox]:checked:before{margin:-1px 0 0 -2px !important}h3.sidebar-widget-heading-label{color:#86939f;font-size:14px;font-weight:normal;margin-bottom:0;margin-top:10px}.opinionstage-selected-widget{display:flex;flex-direction:column;text-align:center;padding:10px;border:1px solid #40aacd;border-radius:3px;margin-bottom:10px;margin-top:10px}.opinionstage-selected-widget .opinionstage-widget-img-url-wrapper{position:relative}.opinionstage-selected-widget .opinionstage-widget-img-url-wrapper:hover .opinionstage-widget-overlay{opacity:0.8}.opinionstage-selected-widget .opinionstage-widget-img-url-wrapper img{width:100%}.opinionstage-selected-widget .opinionstage-widget-title{font-size:15px;padding-top:10px}.opinionstage-clearfix{clear:both}.opinionstage-widget-data{display:none}.opinionstage-widget-overlay{position:absolute;top:0;bottom:0;left:0;right:0;height:100%;width:100%;opacity:0;transition:.5s ease;background-color:#222120}.opinionstage-widget-overlay .opinionstage-inner{color:white;font-size:20px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);text-align:center}.opinionstage-widget-overlay .opinionstage-inner a{border-radius:5px;border:1px solid #fff;color:#fff;background:transparent;cursor:pointer;display:block;line-height:1;margin:10px auto;padding:10px 8px;text-align:center;text-decoration:none;text-transform:uppercase;width:140px}.opinionstage-widget-overlay .opinionstage-inner a:hover{color:#000 !important;background:#fff !important}
1
+ .opinionstage-button{border-radius:3px;display:inline-block;border-style:hidden;color:#fff;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease;cursor:pointer}.opinionstage-button:hover{color:#fff}.opinionstage-button__pink{background-color:#F46368}.opinionstage-button__blue{background-color:#32adbc}.opinionstage-button__uppercase{text-transform:uppercase}.opinionstage-sidebar-widget{overflow:hidden;margin-bottom:30px;padding-top:15px}.opinionstage-sidebar-widget a.opinionstage-edit-content{text-transform:uppercase;padding:9px 17px}.opinionstage-sidebar-widget a.opinionstage-edit-settings{padding:7px}.opinionstage-sidebar-widget a.opinionstage-edit-settings .icon-os-common-settings:before{font-size:24px}.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn{text-align:center;text-decoration:none;border-radius:3px;display:block;color:#32adbc;border:1px solid #32adbc;font-size:15px;font-weight:600;padding:10px;float:left;margin-bottom:5px;margin-right:5px;line-height:normal}.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn:hover{background-color:rgba(49,174,190,0.1)}.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn:focus{box-shadow:none}.opinionstage-sidebar-widget .opinionstage-sidebar-connected{background-color:#eaf5f9;padding:10px 0 10px 5px}.opinionstage-sidebar-widget .opinionstage-sidebar-connected .opinionstage-connected-info{overflow:hidden}.opinionstage-sidebar-widget .opinionstage-sidebar-connected .opinionstage-connected-info a{float:left}.opinionstage-sidebar-widget .opinionstage-sidebar-connected .opinionstage-connected-title{margin-bottom:5px}.opinionstage-sidebar-widget .opinionstage-sidebar-enabled{float:left;margin-top:10px}.opinionstage-sidebar-widget .opinionstage-sidebar-enabled label{font-weight:bold}.opinionstage-sidebar-widget input[type="text"]{padding:10px;width:100%}.opinionstage-sidebar-widget input#os-email{margin:0 7px 0 0;color:#444;padding-left:5px;float:left;width:auto;line-height:27px;height:27px;font-size:13px}.opinionstage-sidebar-widget input#os-email:disabled{background-color:rgba(10,10,10,0.1)}.opinionstage-sidebar-widget p{overflow:hidden}.opinionstage-sidebar-widget .os-icon-plugin{float:left;font-size:16px;margin-right:7px;margin-left:5px}.opinionstage-sidebar-widget .os-icon-plugin.icon-os-poll-client{margin-top:4px}.opinionstage-sidebar-widget .os-button{float:left;text-decoration:none;border:1px solid #CFCCC8;border-radius:3px;text-align:center;color:#ffffff;background-color:#289ec4;background-image:linear-gradient(top, #289ec4, #278fb5);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#289ec4, endColorstr=#278fb5);padding:5px 10px}.opinionstage-sidebar-widget .os-button:hover{background-color:#40aacd;background-image:linear-gradient(top, #40aacd, #40aacd);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#40aacd, endColorstr=#40aacd)}.opinionstage-sidebar-widget .connection_message{line-height:normal;font-family:Open Sans, Helvetica, sans-serif}.opinionstage-sidebar-widget .opinionstage-blue-btn{background:#32adbc;border-color:#32adbc;font-family:Open Sans, Helvetica, sans-serif;font-size:13px;font-weight:600;line-height:normal;padding:10px;text-transform:uppercase}.opinionstage-sidebar-widget .opinionstage-blue-btn:hover{background:#32adbc;opacity:0.9}.opinionstage-sidebar-widget img{width:86px}.wp-admin .opinionstage-sidebar-widget input[type=checkbox]{margin:0 5px 0 0}.wp-admin .opinionstage-sidebar-widget input[type=checkbox],.wp-admin .opinionstage-sidebar-widget input input[type=radio]{border:1px solid #0085ba;height:20px;width:20px;box-shadow:none;border-radius:2px}.wp-admin .opinionstage-sidebar-widget input[type=checkbox]:checked:before{margin:-1px 0 0 -2px !important}h3.sidebar-widget-heading-label{color:#86939f;font-size:14px;font-weight:normal;margin-bottom:0;margin-top:10px}.opinionstage-selected-widget{display:flex;flex-direction:column;text-align:center;padding:10px;border:1px solid #40aacd;border-radius:3px;margin-bottom:10px;margin-top:10px}.opinionstage-selected-widget .opinionstage-widget-img-url-wrapper{position:relative}.opinionstage-selected-widget .opinionstage-widget-img-url-wrapper:hover .opinionstage-widget-overlay{opacity:0.8}.opinionstage-selected-widget .opinionstage-widget-img-url-wrapper img{width:100%}.opinionstage-selected-widget .opinionstage-widget-title{font-size:15px;padding-top:10px}.opinionstage-clearfix{clear:both}.opinionstage-widget-data{display:none}.opinionstage-widget-overlay{position:absolute;top:0;bottom:0;left:0;right:0;height:100%;width:100%;opacity:0;transition:.5s ease;background-color:#222120}.opinionstage-widget-overlay .opinionstage-inner{color:white;font-size:20px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);text-align:center}.opinionstage-widget-overlay .opinionstage-inner a{border-radius:5px;border:1px solid #fff;color:#fff;background:transparent;cursor:pointer;display:block;line-height:1;margin:10px auto;padding:10px 8px;text-align:center;text-decoration:none;text-transform:uppercase;width:140px}.opinionstage-widget-overlay .opinionstage-inner a:hover{color:#000 !important;background:#fff !important}
admin/images/welcome-to-opinioinstage.png DELETED
Binary file
admin/images/welcome-to-opinionstage.png ADDED
Binary file
admin/js/getting-started.js DELETED
@@ -1,21 +0,0 @@
1
- jQuery(document).ready(function ($){
2
- $('body').on('click', 'a:not([data-ignore-swal-js])', function(e){
3
- e.preventDefault()
4
- swal({
5
- title: opinionstageGettingStarted.swal.title,
6
- text: opinionstageGettingStarted.swal.text,
7
- icon: 'warning',
8
- buttons: [opinionstageGettingStarted.swal.ButtonCancel, opinionstageGettingStarted.swal.ButtonLeave],
9
- }).then((isLeave) => {
10
- var target = $(this).attr('target')
11
- var href = $(this).attr('href')
12
- if (isLeave) {
13
- if (target !== undefined) {
14
- window.open(href, target)
15
- } else {
16
- window.location.href = href
17
- }
18
- }
19
- })
20
- })
21
- })
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/js/sweetalert.min.js DELETED
@@ -1 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.swal=e():t.swal=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o="swal-button";e.CLASS_NAMES={MODAL:"swal-modal",OVERLAY:"swal-overlay",SHOW_MODAL:"swal-overlay--show-modal",MODAL_TITLE:"swal-title",MODAL_TEXT:"swal-text",ICON:"swal-icon",ICON_CUSTOM:"swal-icon--custom",CONTENT:"swal-content",FOOTER:"swal-footer",BUTTON_CONTAINER:"swal-button-container",BUTTON:o,CONFIRM_BUTTON:o+"--confirm",CANCEL_BUTTON:o+"--cancel",DANGER_BUTTON:o+"--danger",BUTTON_LOADING:o+"--loading",BUTTON_LOADER:o+"__loader"},e.default=e.CLASS_NAMES},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNode=function(t){var e="."+t;return document.querySelector(e)},e.stringToNode=function(t){var e=document.createElement("div");return e.innerHTML=t.trim(),e.firstChild},e.insertAfter=function(t,e){var n=e.nextSibling;e.parentNode.insertBefore(t,n)},e.removeNode=function(t){t.parentElement.removeChild(t)},e.throwErr=function(t){throw t=t.replace(/ +(?= )/g,""),"SweetAlert: "+(t=t.trim())},e.isPlainObject=function(t){if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype},e.ordinalSuffixOf=function(t){var e=t%10,n=t%100;return 1===e&&11!==n?t+"st":2===e&&12!==n?t+"nd":3===e&&13!==n?t+"rd":t+"th"}},function(t,e,n){"use strict";function o(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),o(n(25));var r=n(26);e.overlayMarkup=r.default,o(n(27)),o(n(28)),o(n(29));var i=n(0),a=i.default.MODAL_TITLE,s=i.default.MODAL_TEXT,c=i.default.ICON,l=i.default.FOOTER;e.iconMarkup='\n <div class="'+c+'"></div>',e.titleMarkup='\n <div class="'+a+'"></div>\n',e.textMarkup='\n <div class="'+s+'"></div>',e.footerMarkup='\n <div class="'+l+'"></div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1);e.CONFIRM_KEY="confirm",e.CANCEL_KEY="cancel";var r={visible:!0,text:null,value:null,className:"",closeModal:!0},i=Object.assign({},r,{visible:!1,text:"Cancel",value:null}),a=Object.assign({},r,{text:"OK",value:!0});e.defaultButtonList={cancel:i,confirm:a};var s=function(t){switch(t){case e.CONFIRM_KEY:return a;case e.CANCEL_KEY:return i;default:var n=t.charAt(0).toUpperCase()+t.slice(1);return Object.assign({},r,{text:n,value:t})}},c=function(t,e){var n=s(t);return!0===e?Object.assign({},n,{visible:!0}):"string"==typeof e?Object.assign({},n,{visible:!0,text:e}):o.isPlainObject(e)?Object.assign({visible:!0},n,e):Object.assign({},n,{visible:!1})},l=function(t){for(var e={},n=0,o=Object.keys(t);n<o.length;n++){var r=o[n],a=t[r],s=c(r,a);e[r]=s}return e.cancel||(e.cancel=i),e},u=function(t){var n={};switch(t.length){case 1:n[e.CANCEL_KEY]=Object.assign({},i,{visible:!1});break;case 2:n[e.CANCEL_KEY]=c(e.CANCEL_KEY,t[0]),n[e.CONFIRM_KEY]=c(e.CONFIRM_KEY,t[1]);break;default:o.throwErr("Invalid number of 'buttons' in array ("+t.length+").\n If you want more than 2 buttons, you need to use an object!")}return n};e.getButtonListOpts=function(t){var n=e.defaultButtonList;return"string"==typeof t?n[e.CONFIRM_KEY]=c(e.CONFIRM_KEY,t):Array.isArray(t)?n=u(t):o.isPlainObject(t)?n=l(t):!0===t?n=u([!0,!0]):!1===t?n=u([!1,!1]):void 0===t&&(n=e.defaultButtonList),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(2),i=n(0),a=i.default.MODAL,s=i.default.OVERLAY,c=n(30),l=n(31),u=n(32),f=n(33);e.injectElIntoModal=function(t){var e=o.getNode(a),n=o.stringToNode(t);return e.appendChild(n),n};var d=function(t){t.className=a,t.textContent=""},p=function(t,e){d(t);var n=e.className;n&&t.classList.add(n)};e.initModalContent=function(t){var e=o.getNode(a);p(e,t),c.default(t.icon),l.initTitle(t.title),l.initText(t.text),f.default(t.content),u.default(t.buttons,t.dangerMode)};var m=function(){var t=o.getNode(s),e=o.stringToNode(r.modalMarkup);t.appendChild(e)};e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),r={isOpen:!1,promise:null,actions:{},timer:null},i=Object.assign({},r);e.resetState=function(){i=Object.assign({},r)},e.setActionValue=function(t){if("string"==typeof t)return a(o.CONFIRM_KEY,t);for(var e in t)a(e,t[e])};var a=function(t,e){i.actions[t]||(i.actions[t]={}),Object.assign(i.actions[t],{value:e})};e.setActionOptionsFor=function(t,e){var n=(void 0===e?{}:e).closeModal,o=void 0===n||n;Object.assign(i.actions[t],{closeModal:o})},e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(3),i=n(0),a=i.default.OVERLAY,s=i.default.SHOW_MODAL,c=i.default.BUTTON,l=i.default.BUTTON_LOADING,u=n(5);e.openModal=function(){o.getNode(a).classList.add(s),u.default.isOpen=!0};var f=function(){o.getNode(a).classList.remove(s),u.default.isOpen=!1};e.onAction=function(t){void 0===t&&(t=r.CANCEL_KEY);var e=u.default.actions[t],n=e.value;if(!1===e.closeModal){var i=c+"--"+t;o.getNode(i).classList.add(l)}else f();u.default.promise.resolve(n)},e.getState=function(){var t=Object.assign({},u.default);return delete t.promise,delete t.timer,t},e.stopLoading=function(){for(var t=document.querySelectorAll("."+c),e=0;e<t.length;e++){t[e].classList.remove(l)}}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){(function(e){t.exports=e.sweetAlert=n(9)}).call(e,n(7))},function(t,e,n){(function(e){t.exports=e.swal=n(10)}).call(e,n(7))},function(t,e,n){"undefined"!=typeof window&&n(11),n(16);var o=n(23).default;t.exports=o},function(t,e,n){var o=n(12);"string"==typeof o&&(o=[[t.i,o,""]]);var r={insertAt:"top"};r.transform=void 0;n(14)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){e=t.exports=n(13)(void 0),e.push([t.i,'.swal-icon--error{border-color:#f27474;-webkit-animation:animateErrorIcon .5s;animation:animateErrorIcon .5s}.swal-icon--error__x-mark{position:relative;display:block;-webkit-animation:animateXMark .5s;animation:animateXMark .5s}.swal-icon--error__line{position:absolute;height:5px;width:47px;background-color:#f27474;display:block;top:37px;border-radius:2px}.swal-icon--error__line--left{-webkit-transform:rotate(45deg);transform:rotate(45deg);left:17px}.swal-icon--error__line--right{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);right:16px}@-webkit-keyframes animateErrorIcon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@keyframes animateErrorIcon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@-webkit-keyframes animateXMark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}to{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}@keyframes animateXMark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}to{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}.swal-icon--warning{border-color:#f8bb86;-webkit-animation:pulseWarning .75s infinite alternate;animation:pulseWarning .75s infinite alternate}.swal-icon--warning__body{width:5px;height:47px;top:10px;border-radius:2px;margin-left:-2px}.swal-icon--warning__body,.swal-icon--warning__dot{position:absolute;left:50%;background-color:#f8bb86}.swal-icon--warning__dot{width:7px;height:7px;border-radius:50%;margin-left:-4px;bottom:-11px}@-webkit-keyframes pulseWarning{0%{border-color:#f8d486}to{border-color:#f8bb86}}@keyframes pulseWarning{0%{border-color:#f8d486}to{border-color:#f8bb86}}.swal-icon--success{border-color:#a5dc86}.swal-icon--success:after,.swal-icon--success:before{content:"";border-radius:50%;position:absolute;width:60px;height:120px;background:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal-icon--success:before{border-radius:120px 0 0 120px;top:-7px;left:-33px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:60px 60px;transform-origin:60px 60px}.swal-icon--success:after{border-radius:0 120px 120px 0;top:-11px;left:30px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 60px;transform-origin:0 60px;-webkit-animation:rotatePlaceholder 4.25s ease-in;animation:rotatePlaceholder 4.25s ease-in}.swal-icon--success__ring{width:80px;height:80px;border:4px solid hsla(98,55%,69%,.2);border-radius:50%;box-sizing:content-box;position:absolute;left:-4px;top:-4px;z-index:2}.swal-icon--success__hide-corners{width:5px;height:90px;background-color:#fff;padding:1px;position:absolute;left:28px;top:8px;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal-icon--success__line{height:5px;background-color:#a5dc86;display:block;border-radius:2px;position:absolute;z-index:2}.swal-icon--success__line--tip{width:25px;left:14px;top:46px;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:animateSuccessTip .75s;animation:animateSuccessTip .75s}.swal-icon--success__line--long{width:47px;right:8px;top:38px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-animation:animateSuccessLong .75s;animation:animateSuccessLong .75s}@-webkit-keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes animateSuccessTip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessTip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@-webkit-keyframes animateSuccessLong{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes animateSuccessLong{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}.swal-icon--info{border-color:#c9dae1}.swal-icon--info:before{width:5px;height:29px;bottom:17px;border-radius:2px;margin-left:-2px}.swal-icon--info:after,.swal-icon--info:before{content:"";position:absolute;left:50%;background-color:#c9dae1}.swal-icon--info:after{width:7px;height:7px;border-radius:50%;margin-left:-3px;top:19px}.swal-icon{width:80px;height:80px;border-width:4px;border-style:solid;border-radius:50%;padding:0;position:relative;box-sizing:content-box;margin:20px auto}.swal-icon:first-child{margin-top:32px}.swal-icon--custom{width:auto;height:auto;max-width:100%;border:none;border-radius:0}.swal-icon img{max-width:100%;max-height:100%}.swal-title{color:rgba(0,0,0,.65);font-weight:600;text-transform:none;position:relative;display:block;padding:13px 16px;font-size:27px;line-height:normal;text-align:center;margin-bottom:0}.swal-title:first-child{margin-top:26px}.swal-title:not(:first-child){padding-bottom:0}.swal-title:not(:last-child){margin-bottom:13px}.swal-text{font-size:16px;position:relative;float:none;line-height:normal;vertical-align:top;text-align:left;display:inline-block;margin:0;padding:0 10px;font-weight:400;color:rgba(0,0,0,.64);max-width:calc(100% - 20px);overflow-wrap:break-word;box-sizing:border-box}.swal-text:first-child{margin-top:45px}.swal-text:last-child{margin-bottom:45px}.swal-footer{text-align:right;padding-top:13px;margin-top:13px;padding:13px 16px;border-radius:inherit;border-top-left-radius:0;border-top-right-radius:0}.swal-button-container{margin:5px;display:inline-block;position:relative}.swal-button{background-color:#7cd1f9;color:#fff;border:none;box-shadow:none;border-radius:5px;font-weight:600;font-size:14px;padding:10px 24px;margin:0;cursor:pointer}.swal-button:not([disabled]):hover{background-color:#78cbf2}.swal-button:active{background-color:#70bce0}.swal-button:focus{outline:none;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(43,114,165,.29)}.swal-button[disabled]{opacity:.5;cursor:default}.swal-button::-moz-focus-inner{border:0}.swal-button--cancel{color:#555;background-color:#efefef}.swal-button--cancel:not([disabled]):hover{background-color:#e8e8e8}.swal-button--cancel:active{background-color:#d7d7d7}.swal-button--cancel:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(116,136,150,.29)}.swal-button--danger{background-color:#e64942}.swal-button--danger:not([disabled]):hover{background-color:#df4740}.swal-button--danger:active{background-color:#cf423b}.swal-button--danger:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(165,43,43,.29)}.swal-content{padding:0 20px;margin-top:20px;font-size:medium}.swal-content:last-child{margin-bottom:20px}.swal-content__input,.swal-content__textarea{-webkit-appearance:none;background-color:#fff;border:none;font-size:14px;display:block;box-sizing:border-box;width:100%;border:1px solid rgba(0,0,0,.14);padding:10px 13px;border-radius:2px;transition:border-color .2s}.swal-content__input:focus,.swal-content__textarea:focus{outline:none;border-color:#6db8ff}.swal-content__textarea{resize:vertical}.swal-button--loading{color:transparent}.swal-button--loading~.swal-button__loader{opacity:1}.swal-button__loader{position:absolute;height:auto;width:43px;z-index:2;left:50%;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);text-align:center;pointer-events:none;opacity:0}.swal-button__loader div{display:inline-block;float:none;vertical-align:baseline;width:9px;height:9px;padding:0;border:none;margin:2px;opacity:.4;border-radius:7px;background-color:hsla(0,0%,100%,.9);transition:background .2s;-webkit-animation:swal-loading-anim 1s infinite;animation:swal-loading-anim 1s infinite}.swal-button__loader div:nth-child(3n+2){-webkit-animation-delay:.15s;animation-delay:.15s}.swal-button__loader div:nth-child(3n+3){-webkit-animation-delay:.3s;animation-delay:.3s}@-webkit-keyframes swal-loading-anim{0%{opacity:.4}20%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes swal-loading-anim{0%{opacity:.4}20%{opacity:.4}50%{opacity:1}to{opacity:.4}}.swal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center;font-size:0;overflow-y:auto;background-color:rgba(0,0,0,.4);z-index:10000;pointer-events:none;opacity:0;transition:opacity .3s}.swal-overlay:before{content:" ";display:inline-block;vertical-align:middle;height:100%}.swal-overlay--show-modal{opacity:1;pointer-events:auto}.swal-overlay--show-modal .swal-modal{opacity:1;pointer-events:auto;box-sizing:border-box;-webkit-animation:showSweetAlert .3s;animation:showSweetAlert .3s;will-change:transform}.swal-modal{width:478px;opacity:0;pointer-events:none;background-color:#fff;text-align:center;border-radius:5px;position:static;margin:20px auto;display:inline-block;vertical-align:middle;-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;z-index:10001;transition:opacity .2s,-webkit-transform .3s;transition:transform .3s,opacity .2s;transition:transform .3s,opacity .2s,-webkit-transform .3s}@media (max-width:500px){.swal-modal{width:calc(100% - 20px)}}@-webkit-keyframes showSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1)}1%{-webkit-transform:scale(.5);transform:scale(.5)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes showSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1)}1%{-webkit-transform:scale(.5);transform:scale(.5)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}',""])},function(t,e){function n(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=o(r);return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function o(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var o=n(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){function o(t,e){for(var n=0;n<t.length;n++){var o=t[n],r=m[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(u(o.parts[i],e))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(u(o.parts[i],e));m[o.id]={id:o.id,refs:1,parts:a}}}}function r(t,e){for(var n=[],o={},r=0;r<t.length;r++){var i=t[r],a=e.base?i[0]+e.base:i[0],s=i[1],c=i[2],l=i[3],u={css:s,media:c,sourceMap:l};o[a]?o[a].parts.push(u):n.push(o[a]={id:a,parts:[u]})}return n}function i(t,e){var n=v(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=w[w.length-1];if("top"===t.insertAt)o?o.nextSibling?n.insertBefore(e,o.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),w.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=w.indexOf(t);e>=0&&w.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",l(e,t.attrs),i(t,e),e}function c(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",l(e,t.attrs),i(t,e),e}function l(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function u(t,e){var n,o,r,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var l=h++;n=g||(g=s(e)),o=f.bind(null,n,l,!1),r=f.bind(null,n,l,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(e),o=p.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),o=d.bind(null,n),r=function(){a(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}function f(t,e,n,o){var r=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=x(e,r);else{var i=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e){var n=e.css,o=e.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function p(t,e,n){var o=n.css,r=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(o=y(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var m={},b=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),v=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}(function(t){return document.querySelector(t)}),g=null,h=0,w=[],y=n(15);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=b()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return o(n,e),function(t){for(var i=[],a=0;a<n.length;a++){var s=n[a],c=m[s.id];c.refs--,i.push(c)}if(t){o(r(t,e),e)}for(var a=0;a<i.length;a++){var c=i[a];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete m[c.id]}}}};var x=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,o=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var r=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return t;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:o+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(t,e,n){var o=n(17);"undefined"==typeof window||window.Promise||(window.Promise=o),n(21),String.prototype.includes||(String.prototype.includes=function(t,e){"use strict";return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,e){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),o=n.length>>>0;if(0===o)return!1;for(var r=0|e,i=Math.max(r>=0?r:o-Math.abs(r),0);i<o;){if(function(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}(n[i],t))return!0;i++}return!1}}),"undefined"!=typeof window&&function(t){t.forEach(function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})})}([Element.prototype,CharacterData.prototype,DocumentType.prototype])},function(t,e,n){(function(e){!function(n){function o(){}function r(t,e){return function(){t.apply(e,arguments)}}function i(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(t,this)}function a(t,e){for(;3===t._state;)t=t._value;if(0===t._state)return void t._deferreds.push(e);t._handled=!0,i._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null===n)return void(1===t._state?s:c)(e.promise,t._value);var o;try{o=n(t._value)}catch(t){return void c(e.promise,t)}s(e.promise,o)})}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof i)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void f(r(n,e),t)}t._state=1,t._value=e,l(t)}catch(e){c(t,e)}}function c(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&i._immediateFn(function(){t._handled||i._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)a(t,t._deferreds[e]);t._deferreds=null}function u(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function f(t,e){var n=!1;try{t(function(t){n||(n=!0,s(e,t))},function(t){n||(n=!0,c(e,t))})}catch(t){if(n)return;n=!0,c(e,t)}}var d=setTimeout;i.prototype.catch=function(t){return this.then(null,t)},i.prototype.then=function(t,e){var n=new this.constructor(o);return a(this,new u(t,e,n)),n},i.all=function(t){var e=Array.prototype.slice.call(t);return new i(function(t,n){function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(t){o(i,t)},n)}e[i]=a,0==--r&&t(e)}catch(t){n(t)}}if(0===e.length)return t([]);for(var r=e.length,i=0;i<e.length;i++)o(i,e[i])})},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i(function(e){e(t)})},i.reject=function(t){return new i(function(e,n){n(t)})},i.race=function(t){return new i(function(e,n){for(var o=0,r=t.length;o<r;o++)t[o].then(e,n)})},i._immediateFn="function"==typeof e&&function(t){e(t)}||function(t){d(t,0)},i._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},i._setImmediateFn=function(t){i._immediateFn=t},i._setUnhandledRejectionFn=function(t){i._unhandledRejectionFn=t},void 0!==t&&t.exports?t.exports=i:n.Promise||(n.Promise=i)}(this)}).call(e,n(18).setImmediate)},function(t,e,n){function o(t,e){this._id=t,this._clearFn=e}var r=Function.prototype.apply;e.setTimeout=function(){return new o(r.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new o(r.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(19),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){(function(t,e){!function(t,n){"use strict";function o(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return l[c]=o,s(c),c++}function r(t){delete l[t]}function i(t){var e=t.callback,o=t.args;switch(o.length){case 0:e();break;case 1:e(o[0]);break;case 2:e(o[0],o[1]);break;case 3:e(o[0],o[1],o[2]);break;default:e.apply(n,o)}}function a(t){if(u)setTimeout(a,0,t);else{var e=l[t];if(e){u=!0;try{i(e)}finally{r(t),u=!1}}}}if(!t.setImmediate){var s,c=1,l={},u=!1,f=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?function(){s=function(t){e.nextTick(function(){a(t)})}}():function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&a(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),s=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){a(t.data)},s=function(e){t.port2.postMessage(e)}}():f&&"onreadystatechange"in f.createElement("script")?function(){var t=f.documentElement;s=function(e){var n=f.createElement("script");n.onreadystatechange=function(){a(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():function(){s=function(t){setTimeout(a,0,t)}}(),d.setImmediate=o,d.clearImmediate=r}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(7),n(20))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(t){if(u===setTimeout)return setTimeout(t,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function i(t){if(f===clearTimeout)return clearTimeout(t);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){b&&p&&(b=!1,p.length?m=p.concat(m):v=-1,m.length&&s())}function s(){if(!b){var t=r(a);b=!0;for(var e=m.length;e;){for(p=m,m=[];++v<e;)p&&p[v].run();v=-1,e=m.length}p=null,b=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function l(){}var u,f,d=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(t){u=n}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(t){f=o}}();var p,m=[],b=!1,v=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];m.push(new c(t,e)),1!==m.length||b||r(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.prependListener=l,d.prependOnceListener=l,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(t,e,n){"use strict";n(22).polyfill()},function(t,e,n){"use strict";function o(t,e){if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),o=1;o<arguments.length;o++){var r=arguments[o];if(void 0!==r&&null!==r)for(var i=Object.keys(Object(r)),a=0,s=i.length;a<s;a++){var c=i[a],l=Object.getOwnPropertyDescriptor(r,c);void 0!==l&&l.enumerable&&(n[c]=r[c])}}return n}function r(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:o})}t.exports={assign:o,polyfill:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(24),r=n(6),i=n(5),a=n(36),s=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if("undefined"!=typeof window){var n=a.getOpts.apply(void 0,t);return new Promise(function(t,e){i.default.promise={resolve:t,reject:e},o.default(n),setTimeout(function(){r.openModal()})})}};s.close=r.onAction,s.getState=r.getState,s.setActionValue=i.setActionValue,s.stopLoading=r.stopLoading,s.setDefaults=a.setDefaults,e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(0),i=r.default.MODAL,a=n(4),s=n(34),c=n(35),l=n(1);e.init=function(t){o.getNode(i)||(document.body||l.throwErr("You can only use SweetAlert AFTER the DOM has loaded!"),s.default(),a.default()),a.initModalContent(t),c.default(t)},e.default=e.init},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=o.default.MODAL;e.modalMarkup='\n <div class="'+r+'" role="dialog" aria-modal="true"></div>',e.default=e.modalMarkup},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=o.default.OVERLAY,i='<div \n class="'+r+'"\n tabIndex="-1">\n </div>';e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=o.default.ICON;e.errorIconMarkup=function(){var t=r+"--error",e=t+"__line";return'\n <div class="'+t+'__x-mark">\n <span class="'+e+" "+e+'--left"></span>\n <span class="'+e+" "+e+'--right"></span>\n </div>\n '},e.warningIconMarkup=function(){var t=r+"--warning";return'\n <span class="'+t+'__body">\n <span class="'+t+'__dot"></span>\n </span>\n '},e.successIconMarkup=function(){var t=r+"--success";return'\n <span class="'+t+"__line "+t+'__line--long"></span>\n <span class="'+t+"__line "+t+'__line--tip"></span>\n\n <div class="'+t+'__ring"></div>\n <div class="'+t+'__hide-corners"></div>\n '}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=o.default.CONTENT;e.contentMarkup='\n <div class="'+r+'">\n\n </div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=o.default.BUTTON_CONTAINER,i=o.default.BUTTON,a=o.default.BUTTON_LOADER;e.buttonMarkup='\n <div class="'+r+'">\n\n <button\n class="'+i+'"\n ></button>\n\n <div class="'+a+'">\n <div></div>\n <div></div>\n <div></div>\n </div>\n\n </div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),r=n(2),i=n(0),a=i.default.ICON,s=i.default.ICON_CUSTOM,c=["error","warning","success","info"],l={error:r.errorIconMarkup(),warning:r.warningIconMarkup(),success:r.successIconMarkup()},u=function(t,e){var n=a+"--"+t;e.classList.add(n);var o=l[t];o&&(e.innerHTML=o)},f=function(t,e){e.classList.add(s);var n=document.createElement("img");n.src=t,e.appendChild(n)},d=function(t){if(t){var e=o.injectElIntoModal(r.iconMarkup);c.includes(t)?u(t,e):f(t,e)}};e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),r=n(4),i=function(t){navigator.userAgent.includes("AppleWebKit")&&(t.style.display="none",t.offsetHeight,t.style.display="")};e.initTitle=function(t){if(t){var e=r.injectElIntoModal(o.titleMarkup);e.textContent=t,i(e)}},e.initText=function(t){if(t){var e=document.createDocumentFragment();t.split("\n").forEach(function(t,n,o){e.appendChild(document.createTextNode(t)),n<o.length-1&&e.appendChild(document.createElement("br"))});var n=r.injectElIntoModal(o.textMarkup);n.appendChild(e),i(n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(4),i=n(0),a=i.default.BUTTON,s=i.default.DANGER_BUTTON,c=n(3),l=n(2),u=n(6),f=n(5),d=function(t,e,n){var r=e.text,i=e.value,d=e.className,p=e.closeModal,m=o.stringToNode(l.buttonMarkup),b=m.querySelector("."+a),v=a+"--"+t;if(b.classList.add(v),d){(Array.isArray(d)?d:d.split(" ")).filter(function(t){return t.length>0}).forEach(function(t){b.classList.add(t)})}n&&t===c.CONFIRM_KEY&&b.classList.add(s),b.textContent=r;var g={};return g[t]=i,f.setActionValue(g),f.setActionOptionsFor(t,{closeModal:p}),b.addEventListener("click",function(){return u.onAction(t)}),m},p=function(t,e){var n=r.injectElIntoModal(l.footerMarkup);for(var o in t){var i=t[o],a=d(o,i,e);i.visible&&n.appendChild(a)}0===n.children.length&&n.remove()};e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),r=n(4),i=n(2),a=n(5),s=n(6),c=n(0),l=c.default.CONTENT,u=function(t){t.addEventListener("input",function(t){var e=t.target,n=e.value;a.setActionValue(n)}),t.addEventListener("keyup",function(t){if("Enter"===t.key)return s.onAction(o.CONFIRM_KEY)}),setTimeout(function(){t.focus(),a.setActionValue("")},0)},f=function(t,e,n){var o=document.createElement(e),r=l+"__"+e;o.classList.add(r);for(var i in n){var a=n[i];o[i]=a}"input"===e&&u(o),t.appendChild(o)},d=function(t){if(t){var e=r.injectElIntoModal(i.contentMarkup),n=t.element,o=t.attributes;"string"==typeof n?f(e,n,o):e.appendChild(n)}};e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(2),i=function(){var t=o.stringToNode(r.overlayMarkup);document.body.appendChild(t)};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(5),r=n(6),i=n(1),a=n(3),s=n(0),c=s.default.MODAL,l=s.default.BUTTON,u=s.default.OVERLAY,f=function(t){t.preventDefault(),v()},d=function(t){t.preventDefault(),g()},p=function(t){if(o.default.isOpen)switch(t.key){case"Escape":return r.onAction(a.CANCEL_KEY)}},m=function(t){if(o.default.isOpen)switch(t.key){case"Tab":return f(t)}},b=function(t){if(o.default.isOpen)return"Tab"===t.key&&t.shiftKey?d(t):void 0},v=function(){var t=i.getNode(l);t&&(t.tabIndex=0,t.focus())},g=function(){var t=i.getNode(c),e=t.querySelectorAll("."+l),n=e.length-1,o=e[n];o&&o.focus()},h=function(t){t[t.length-1].addEventListener("keydown",m)},w=function(t){t[0].addEventListener("keydown",b)},y=function(){var t=i.getNode(c),e=t.querySelectorAll("."+l);e.length&&(h(e),w(e))},x=function(t){if(i.getNode(u)===t.target)return r.onAction(a.CANCEL_KEY)},_=function(t){var e=i.getNode(u);e.removeEventListener("click",x),t&&e.addEventListener("click",x)},k=function(t){o.default.timer&&clearTimeout(o.default.timer),t&&(o.default.timer=window.setTimeout(function(){return r.onAction(a.CANCEL_KEY)},t))},O=function(t){t.closeOnEsc?document.addEventListener("keyup",p):document.removeEventListener("keyup",p),t.dangerMode?v():g(),y(),_(t.closeOnClickOutside),k(t.timer)};e.default=O},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(3),i=n(37),a=n(38),s={title:null,text:null,icon:null,buttons:r.defaultButtonList,content:null,className:null,closeOnClickOutside:!0,closeOnEsc:!0,dangerMode:!1,timer:null},c=Object.assign({},s);e.setDefaults=function(t){c=Object.assign({},s,t)};var l=function(t){var e=t&&t.button,n=t&&t.buttons;return void 0!==e&&void 0!==n&&o.throwErr("Cannot set both 'button' and 'buttons' options!"),void 0!==e?{confirm:e}:n},u=function(t){return o.ordinalSuffixOf(t+1)},f=function(t,e){o.throwErr(u(e)+" argument ('"+t+"') is invalid")},d=function(t,e){var n=t+1,r=e[n];o.isPlainObject(r)||void 0===r||o.throwErr("Expected "+u(n)+" argument ('"+r+"') to be a plain object")},p=function(t,e){var n=t+1,r=e[n];void 0!==r&&o.throwErr("Unexpected "+u(n)+" argument ("+r+")")},m=function(t,e,n,r){var i=typeof e,a="string"===i,s=e instanceof Element;if(a){if(0===n)return{text:e};if(1===n)return{text:e,title:r[0]};if(2===n)return d(n,r),{icon:e};f(e,n)}else{if(s&&0===n)return d(n,r),{content:e};if(o.isPlainObject(e))return p(n,r),e;f(e,n)}};e.getOpts=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n={};t.forEach(function(e,o){var r=m(0,e,o,t);Object.assign(n,r)});var o=l(n);n.buttons=r.getButtonListOpts(o),delete n.button,n.content=i.getContentOpts(n.content);var u=Object.assign({},s,c,n);return Object.keys(u).forEach(function(t){a.DEPRECATED_OPTS[t]&&a.logDeprecation(t)}),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r={element:"input",attributes:{placeholder:""}};e.getContentOpts=function(t){var e={};return o.isPlainObject(t)?Object.assign(e,t):t instanceof Element?{element:t}:"input"===t?r:null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.logDeprecation=function(t){var n=e.DEPRECATED_OPTS[t],o=n.onlyRename,r=n.replacement,i=n.subOption,a=n.link,s=o?"renamed":"deprecated",c='SweetAlert warning: "'+t+'" option has been '+s+".";if(r){c+=" Please use"+(i?' "'+i+'" in ':" ")+'"'+r+'" instead.'}var l="https://sweetalert.js.org";c+=a?" More details: "+l+a:" More details: "+l+"/guides/#upgrading-from-1x",console.warn(c)},e.DEPRECATED_OPTS={type:{replacement:"icon",link:"/docs/#icon"},imageUrl:{replacement:"icon",link:"/docs/#icon"},customClass:{replacement:"className",onlyRename:!0,link:"/docs/#classname"},imageSize:{},showCancelButton:{replacement:"buttons",link:"/docs/#buttons"},showConfirmButton:{replacement:"button",link:"/docs/#button"},confirmButtonText:{replacement:"button",link:"/docs/#button"},confirmButtonColor:{},cancelButtonText:{replacement:"buttons",link:"/docs/#buttons"},closeOnConfirm:{replacement:"button",subOption:"closeModal",link:"/docs/#button"},closeOnCancel:{replacement:"buttons",subOption:"closeModal",link:"/docs/#buttons"},showLoaderOnConfirm:{replacement:"buttons"},animation:{},inputType:{replacement:"content",link:"/docs/#content"},inputValue:{replacement:"content",link:"/docs/#content"},inputPlaceholder:{replacement:"content",link:"/docs/#content"},html:{replacement:"content",link:"/docs/#content"},allowEscapeKey:{replacement:"closeOnEsc",onlyRename:!0,link:"/docs/#closeonesc"},allowClickOutside:{replacement:"closeOnClickOutside",onlyRename:!0,link:"/docs/#closeonclickoutside"}}}])});
 
admin/menu-page.php CHANGED
@@ -37,7 +37,7 @@ function opinionstage_register_menu_page() {
37
  plugins_url( 'admin/images/os-icon.png', plugin_dir_path( __FILE__ ) ),
38
  '25.234323221'
39
  );
40
- add_submenu_page( OPINIONSTAGE_GETTING_STARTED_SLUG, 'Getting Started', 'Getting Started', 'edit_posts', OPINIONSTAGE_GETTING_STARTED_SLUG, 'opinionstage_load_template' );
41
  add_submenu_page( OPINIONSTAGE_GETTING_STARTED_SLUG, 'Create...', 'Create...', 'edit_posts', OPINIONSTAGE_MENU_SLUG, 'opinionstage_load_template' );
42
  }
43
  }
37
  plugins_url( 'admin/images/os-icon.png', plugin_dir_path( __FILE__ ) ),
38
  '25.234323221'
39
  );
40
+ add_submenu_page( OPINIONSTAGE_GETTING_STARTED_SLUG, 'Get Started', 'Get Started', 'edit_posts', OPINIONSTAGE_GETTING_STARTED_SLUG, 'opinionstage_load_template' );
41
  add_submenu_page( OPINIONSTAGE_GETTING_STARTED_SLUG, 'Create...', 'Create...', 'edit_posts', OPINIONSTAGE_MENU_SLUG, 'opinionstage_load_template' );
42
  }
43
  }
admin/resources/getting-started.php CHANGED
@@ -7,31 +7,6 @@
7
 
8
  defined( 'ABSPATH' ) || die();
9
 
10
- /**
11
- * Load getting started page assets
12
- */
13
- function opinionstage_getting_started_load_resources() {
14
- opinionstage_register_javascript_asset( 'sweetalert', 'sweetalert.min.js', array( 'jquery' ) );
15
- opinionstage_register_javascript_asset( 'getting-started', 'getting-started.js', array( 'jquery', opinionstage_asset_name( 'sweetalert' ) ) );
16
-
17
- wp_localize_script(
18
- opinionstage_asset_name( 'getting-started' ),
19
- 'opinionstageGettingStarted',
20
- array(
21
- 'swal' => array(
22
- 'title' => __( 'Leave without connecting?', 'social-polls-by-opinionstage' ),
23
- 'text' => __( 'To use this plugin you need to first connect WordPress with Opinion Stage.', 'social-polls-by-opinionstage' ),
24
- 'ButtonCancel' => __( 'Cancel', 'social-polls-by-opinionstage' ),
25
- 'ButtonLeave' => __( 'Leave', 'social-polls-by-opinionstage' ),
26
- ),
27
- )
28
- );
29
-
30
- opinionstage_enqueue_js_asset( 'sweetalert' );
31
- opinionstage_enqueue_js_asset( 'getting-started' );
32
-
33
- }
34
-
35
  function opinionstage_getting_started_load_header() {
36
  }
37
 
7
 
8
  defined( 'ABSPATH' ) || die();
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  function opinionstage_getting_started_load_header() {
11
  }
12
 
admin/template-parts/signup-form.php CHANGED
@@ -11,5 +11,5 @@
11
  <input type="hidden" name="utm_medium" value="<?php echo esc_attr( OPINIONSTAGE_UTM_CONNECT_MEDIUM ); ?>">
12
  <input type="hidden" name="o" value="<?php echo esc_attr( OPINIONSTAGE_WIDGET_API_KEY ); ?>">
13
  <input type="hidden" name="callback" value="<?php echo esc_attr( opinionstage_callback_url() ); ?>">
14
- <button class="opinionstage-button opinionstage-button__pink" type="submit"><?php esc_html_e( 'Connect to Opinion Stage', 'social-polls-by-opinionstage' ); ?></button>
15
  </form>
11
  <input type="hidden" name="utm_medium" value="<?php echo esc_attr( OPINIONSTAGE_UTM_CONNECT_MEDIUM ); ?>">
12
  <input type="hidden" name="o" value="<?php echo esc_attr( OPINIONSTAGE_WIDGET_API_KEY ); ?>">
13
  <input type="hidden" name="callback" value="<?php echo esc_attr( opinionstage_callback_url() ); ?>">
14
+ <button class="opinionstage-button opinionstage-button__blue" type="submit"><?php esc_html_e( 'Connect to Get Started', 'social-polls-by-opinionstage' ); ?></button>
15
  </form>
admin/views/getting_started.php CHANGED
@@ -25,17 +25,32 @@ defined( 'ABSPATH' ) || die();
25
  </div>
26
  <div class="opinionstage-grey-bg">
27
  <div class="opinionstage-getting-started opinionstage-getting-started-section">
28
- <div class="opinionstage-getting-started__half">
29
- <h1 class="opinionstage-getting-started__title"><?php esc_html_e( 'Welcome to Opinion Stage!', 'social-polls-by-opinionstage' ); ?></h1>
30
- <p class="opinionstage-getting-started__text"><?php esc_html_e( 'Connect to Opinion Stage to start creating beautiful & top-performing polls, quizzes, surveys and forms. Start from scratch or from one of our templates.', 'social-polls-by-opinionstage' ); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
  <?php require_once plugin_dir_path( dirname( __FILE__ ) ) . 'template-parts/signup-form.php'; ?>
33
  <div>
34
- <a href="<?php echo esc_url( add_query_arg( OPINIONSTAGE_UTM_PARAMETERS, 'https://help.opinionstage.com/en/articles/2718244-why-do-i-need-to-create-an-account-on-opinion-stage-to-use-the-plugin' ) ); ?>" target="_blank" data-ignore-swal-js class="opinionstage-grey-link"><?php esc_html_e( 'Why connect?', 'social-polls-by-opinionstage' ); ?></a>
35
  </div>
36
  </div>
37
- <div class="opinionstage-getting-started__half">
38
- <img src="<?php echo esc_url( plugins_url( 'images/welcome-to-opinioinstage.png', dirname( __FILE__ ) ) ); ?>" alt="<?php esc_html_e( 'Welcome to Opinoin Stage', 'social-polls-by-opinionstage' ); ?>">
 
39
  </div>
40
  </div>
41
 
@@ -46,25 +61,25 @@ defined( 'ABSPATH' ) || die();
46
  array(
47
  'title' => __( 'Quiz', 'social-polls-by-opinionstage' ),
48
  'image_name' => 'trivia.png',
49
- 'text' => __( 'Create a knowledge test or assessment', 'social-polls-by-opinionstage' ),
50
  'view_templates_type' => 'quizzes',
51
  ),
52
  array(
53
  'title' => __( 'Poll', 'social-polls-by-opinionstage' ),
54
  'image_name' => 'poll.png',
55
- 'text' => __( 'Ask one question and define several answer choices', 'social-polls-by-opinionstage' ),
56
  'view_templates_type' => 'polls',
57
  ),
58
  array(
59
  'title' => __( 'Survey', 'social-polls-by-opinionstage' ),
60
  'image_name' => 'survey.png',
61
- 'text' => __( 'Ask multiple questions from a range of question types', 'social-polls-by-opinionstage' ),
62
  'view_templates_type' => 'surveys',
63
  ),
64
  array(
65
  'title' => __( 'Standard Form', 'social-polls-by-opinionstage' ),
66
  'image_name' => 'form.png',
67
- 'text' => __( 'Display all fields on one page', 'social-polls-by-opinionstage' ),
68
  'view_templates_type' => 'classic_forms',
69
  ),
70
  );
@@ -78,13 +93,12 @@ defined( 'ABSPATH' ) || die();
78
  <h3 class="opinionstage-template-item__title"><?php echo esc_html( $item['title'] ); ?></h3>
79
  <p class="opinionstage-template-item__text"><?php echo esc_html( $item['text'] ); ?></p>
80
 
81
- <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( $item['view_templates_type'] ) ); ?>" data-ignore-swal-js class="opinionstage-template-item__button" target="_blank"><?php esc_html_e( 'View Templates', 'social-polls-by-opinionstage' ); ?></a>
82
  </div>
83
  <?php
84
  }
85
  ?>
86
  </div>
87
- <a href="<?php echo esc_url( add_query_arg( OPINIONSTAGE_UTM_PARAMETERS, 'https://help.opinionstage.com/en/collections/1401239-wordpress-plugin' ) ); ?>" data-ignore-swal-js class="opinionstage-grey-link" target="_blank"><?php esc_html_e( 'Need help?', 'social-polls-by-opinionstage' ); ?></a>
88
  </div>
89
  </div>
90
  </div>
25
  </div>
26
  <div class="opinionstage-grey-bg">
27
  <div class="opinionstage-getting-started opinionstage-getting-started-section">
28
+ <div class="opinionstage-getting-started__text">
29
+ <h1 class="opinionstage-getting-started__title"><?php esc_html_e( 'Add Engaging Quizzes, Polls & Surveys to Your Site', 'social-polls-by-opinionstage' ); ?></h1>
30
+ <div>
31
+ <p>
32
+ <?php esc_html_e( 'Welcome to Opinion Stage! Create beautiful & top-performing', 'social-polls-by-opinionstage' ); ?>
33
+ <a href="<?php echo esc_url( add_query_arg( OPINIONSTAGE_UTM_PARAMETERS, 'https://www.opinionstage.com/poll' ) ); ?>"
34
+ target="_blank"><?php esc_html_e( 'polls', 'social-polls-by-opinionstage' ); ?></a>,
35
+ <a href="<?php echo esc_url( add_query_arg( OPINIONSTAGE_UTM_PARAMETERS, 'https://www.opinionstage.com/quiz' ) ); ?>"
36
+ target="_blank"><?php esc_html_e( 'quizzes', 'social-polls-by-opinionstage' ); ?></a>,
37
+ <?php esc_html_e( 'and', 'social-polls-by-opinionstage' ); ?>
38
+ <a href="<?php echo esc_url( add_query_arg( OPINIONSTAGE_UTM_PARAMETERS, 'https://www.opinionstage.com/survey' ) ); ?>"
39
+ target="_blank"><?php esc_html_e( 'surveys', 'social-polls-by-opinionstage' ); ?></a>
40
+ <?php esc_html_e( 'in seconds. Start from scratch or from one of our', 'social-polls-by-opinionstage' ); ?>
41
+ <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'home' ) ); ?>"
42
+ target="_blank"><?php esc_html_e( 'templates', 'social-polls-by-opinionstage' ); ?></a>.
43
+ </p>
44
+ <p><?php esc_html_e( 'Join 100,000+ sites, from small blogs to top publishers, brands & educators such as NBC, Warner Brothers, Pepsico & Harvard.', 'social-polls-by-opinionstage' ); ?></p>
45
+ </div>
46
 
47
  <?php require_once plugin_dir_path( dirname( __FILE__ ) ) . 'template-parts/signup-form.php'; ?>
48
  <div>
 
49
  </div>
50
  </div>
51
+ <div class="opinionstage-getting-started__img">
52
+ <img src="<?php echo esc_url( plugins_url( 'images/welcome-to-opinionstage.png', dirname( __FILE__ ) ) ); ?>"
53
+ alt="<?php esc_html_e( 'Welcome to Opinoin Stage', 'social-polls-by-opinionstage' ); ?>">
54
  </div>
55
  </div>
56
 
61
  array(
62
  'title' => __( 'Quiz', 'social-polls-by-opinionstage' ),
63
  'image_name' => 'trivia.png',
64
+ 'text' => __( 'Create a challenging knowledge quiz or a fun personality quiz', 'social-polls-by-opinionstage' ),
65
  'view_templates_type' => 'quizzes',
66
  ),
67
  array(
68
  'title' => __( 'Poll', 'social-polls-by-opinionstage' ),
69
  'image_name' => 'poll.png',
70
+ 'text' => __( 'Engage your audience and gather opinions with one question that matters', 'social-polls-by-opinionstage' ),
71
  'view_templates_type' => 'polls',
72
  ),
73
  array(
74
  'title' => __( 'Survey', 'social-polls-by-opinionstage' ),
75
  'image_name' => 'survey.png',
76
+ 'text' => __( 'Learn from your audience by asking multiple questions of different types', 'social-polls-by-opinionstage' ),
77
  'view_templates_type' => 'surveys',
78
  ),
79
  array(
80
  'title' => __( 'Standard Form', 'social-polls-by-opinionstage' ),
81
  'image_name' => 'form.png',
82
+ 'text' => __( 'Gather data simply and effectively with a multi-field form', 'social-polls-by-opinionstage' ),
83
  'view_templates_type' => 'classic_forms',
84
  ),
85
  );
93
  <h3 class="opinionstage-template-item__title"><?php echo esc_html( $item['title'] ); ?></h3>
94
  <p class="opinionstage-template-item__text"><?php echo esc_html( $item['text'] ); ?></p>
95
 
96
+ <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( $item['view_templates_type'] ) ); ?>" class="opinionstage-template-item__button" target="_blank"><?php esc_html_e( 'View Templates', 'social-polls-by-opinionstage' ); ?></a>
97
  </div>
98
  <?php
99
  }
100
  ?>
101
  </div>
 
102
  </div>
103
  </div>
104
  </div>
admin/views/help_resource.php CHANGED
@@ -1,19 +1,24 @@
1
  <?php
2
- // block direct access to plugin PHP files:
3
- defined( 'ABSPATH' ) or die();
 
 
 
 
 
4
  ?>
5
  <div id="opinionstage-content">
6
  <div class="opinionstage-header-wrapper">
7
  <div class="opinionstage-logo-wrapper">
8
  <div class="opinionstage-logo"></div>
9
- <div class="opinionstage-connectivity-status"><?php echo($os_options["email"]); ?>
10
- <form method="POST" action="<?php echo get_admin_url(null, 'admin.php?page='.OPINIONSTAGE_DISCONNECT_PAGE)?>" class="opinionstage-connect-form">
11
  <button class="opinionstage-disconnect" type="submit">Disconnect</button>
12
  </form>
13
  </div>
14
  </div>
15
  </div>
16
- <?php if( $os_client_logged_in ){ ?>
17
  <div class="gettingStartedSection">
18
  <div class="gettingStartedContainer">
19
  <div class="opinionstage-status-content-connected">
@@ -21,12 +26,12 @@ defined( 'ABSPATH' ) or die();
21
  </div>
22
  </div>
23
  <div class="gettingBlockContainer">
24
- <?php echo opinionstage_help_links('GETTING STARTED <br/>VIDEO TUTORIAL', 'https://help.opinionstage.com/wordpress-plugin/how-to-use-the-wordpress-plugin', 'gettingTemplateTutorial help-link'); ?>
25
- <?php echo opinionstage_link('TEMPLATES & <br/> EXAMPLES', 'dashboard/content/templates', 'gettingTemplateGallery help-link'); ?>
26
  </div>
27
  <div class="gettingBlockContainer">
28
- <?php echo opinionstage_help_links('HELP CENTER', 'https://help.opinionstage.com', 'gettingTemplateTutorial help-link','padding: 29px 0;'); ?>
29
- <?php echo opinionstage_link('LIVE CHAT HELP', 'live-chat/', 'help-center-os help-link'); ?>
30
  </div>
31
  </div>
32
  <?php } ?>
1
  <?php
2
+ /**
3
+ * Opinionstage Get Help Admin page
4
+ *
5
+ * @package OpinionStageWordPressPlugin
6
+ */
7
+
8
+ defined( 'ABSPATH' ) || die();
9
  ?>
10
  <div id="opinionstage-content">
11
  <div class="opinionstage-header-wrapper">
12
  <div class="opinionstage-logo-wrapper">
13
  <div class="opinionstage-logo"></div>
14
+ <div class="opinionstage-connectivity-status"><?php echo esc_html( $os_options['email'] ); ?>
15
+ <form method="POST" action="<?php echo esc_url( get_admin_url( null, 'admin.php?page=' . OPINIONSTAGE_DISCONNECT_PAGE ) ); ?>" class="opinionstage-connect-form">
16
  <button class="opinionstage-disconnect" type="submit">Disconnect</button>
17
  </form>
18
  </div>
19
  </div>
20
  </div>
21
+ <?php if ( $os_client_logged_in ) { ?>
22
  <div class="gettingStartedSection">
23
  <div class="gettingStartedContainer">
24
  <div class="opinionstage-status-content-connected">
26
  </div>
27
  </div>
28
  <div class="gettingBlockContainer">
29
+ <?php echo opinionstage_help_links( 'Getting Started <br/>Video Tutorial', 'https://help.opinionstage.com/wordpress-plugin/how-to-use-the-wordpress-plugin', 'gettingTemplateTutorial help-link' ); ?>
30
+ <?php echo opinionstage_link( 'Templates & <br/> Examples', 'dashboard/content/templates', 'gettingTemplateGallery help-link' ); ?>
31
  </div>
32
  <div class="gettingBlockContainer">
33
+ <?php echo opinionstage_help_links( 'Help Center', 'https://help.opinionstage.com', 'gettingTemplateTutorial help-link', 'padding: 29px 0;' ); ?>
34
+ <?php echo opinionstage_link( 'Live Chat Help', 'live-chat/', 'help-center-os help-link' ); ?>
35
  </div>
36
  </div>
37
  <?php } ?>
admin/views/settings.php CHANGED
@@ -15,24 +15,16 @@ defined( 'ABSPATH' ) || die();
15
  </style>
16
  <div id="opinionstage-content">
17
  <div class="opinionstage-header-wrapper">
18
- <?php if ( ! $os_client_logged_in ) { ?>
19
- <div class="opinionstage-logo-wrapper">
20
- <div class="opinionstage-logo"></div>
21
- </div>
22
- <div class="opinionstage-status-content">
23
- <div class='opinionstage-status-title'><b class="opinionstage-title"><?php esc_html_e( 'Connect WordPress with Opinion Stage to get started', 'social-polls-by-opinionstage' ); ?></b></div>
24
- <?php include_once plugin_dir_path( dirname( __FILE__ ) ) . 'template-parts/signup-form.php'; ?>
25
- </div>
26
- <?php } else { ?>
27
- <div class="opinionstage-logo-wrapper">
28
- <div class="opinionstage-logo"></div>
29
  <div class="opinionstage-connectivity-status"><?php echo esc_html( $os_options['email'] ); ?>
30
  <form method="POST" action="<?php echo esc_url( get_admin_url( null, 'admin.php?page=' . OPINIONSTAGE_DISCONNECT_PAGE ) ); ?>" class="opinionstage-connect-form">
31
  <button class="opinionstage-disconnect" type="submit"><?php esc_html_e( 'Disconnect', 'social-polls-by-opinionstage' ); ?></button>
32
  </form>
33
  </div>
34
- </div>
35
- <?php } ?>
36
  </div>
37
 
38
  <div id="container" class="opinionstage-dashboard">
@@ -113,7 +105,7 @@ defined( 'ABSPATH' ) || die();
113
  <?php
114
  if ( $os_client_logged_in ) {
115
  ?>
116
- style="display: none;" <?php } ?>>
117
  <div id="opinionstage-section-create" class="opinionstage-dashboard-section">
118
  <div class="opinionstage-section-header">
119
  <div class="opinionstage-section-title"><?php esc_html_e( 'Create', 'social-polls-by-opinionstage' ); ?></div>
@@ -128,8 +120,8 @@ defined( 'ABSPATH' ) || die();
128
  <div class="example"><?php esc_html_e( 'Ask one question and define several answer choices', 'social-polls-by-opinionstage' ); ?></div>
129
  </div>
130
  <div class="opinionstage-section-cell opinionstage-btn-cell">
131
- <?php echo opinionstage_create_poll_link( 'opinionstage-blue-btn', __( 'CREATE', 'social-polls-by-opinionstage' ) ); ?>
132
- <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'polls' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'View Templates' ); ?></a>
133
  </div>
134
  </div>
135
  <div class="opinionstage-section-raw">
@@ -141,8 +133,8 @@ defined( 'ABSPATH' ) || die();
141
  <div class="example"><?php esc_html_e( 'Ask multiple questions from a range of question types', 'social-polls-by-opinionstage' ); ?></div>
142
  </div>
143
  <div class="opinionstage-section-cell opinionstage-btn-cell">
144
- <?php echo opinionstage_create_survey_link( 'opinionstage-blue-btn', __( 'CREATE', 'social-polls-by-opinionstage' ) ); ?>
145
- <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'surveys' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'View Templates' ); ?></a>
146
  </div>
147
  </div>
148
  <div class="opinionstage-section-raw">
@@ -154,8 +146,8 @@ defined( 'ABSPATH' ) || die();
154
  <div class="example"><?php esc_html_e( 'Create a knowledge test or assessment', 'social-polls-by-opinionstage' ); ?></div>
155
  </div>
156
  <div class="opinionstage-section-cell opinionstage-btn-cell">
157
- <?php echo opinionstage_create_trivia_link( 'opinionstage-blue-btn', __( 'CREATE', 'social-polls-by-opinionstage' ) ); ?>
158
- <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'trivia_quizzes' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'View Templates' ); ?></a>
159
  </div>
160
  </div>
161
  <div class="opinionstage-section-raw">
@@ -167,8 +159,8 @@ defined( 'ABSPATH' ) || die();
167
  <div class="example"><?php esc_html_e( 'Create a personality test or a product/service selector', 'social-polls-by-opinionstage' ); ?></div>
168
  </div>
169
  <div class="opinionstage-section-cell opinionstage-btn-cell">
170
- <?php echo opinionstage_create_personality_link( 'opinionstage-blue-btn', __( 'CREATE', 'social-polls-by-opinionstage' ) ); ?>
171
- <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'personality_quizzes' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'View Templates' ); ?></a>
172
  </div>
173
  </div>
174
  <div class="opinionstage-section-raw">
@@ -180,8 +172,8 @@ defined( 'ABSPATH' ) || die();
180
  <div class="example"><?php esc_html_e( 'Display all fields on one page (use surveys for interactive forms)', 'social-polls-by-opinionstage' ); ?></div>
181
  </div>
182
  <div class="opinionstage-section-cell opinionstage-btn-cell">
183
- <?php echo opinionstage_create_form_link( 'opinionstage-blue-btn', __( 'CREATE', 'social-polls-by-opinionstage' ) ); ?>
184
- <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'classic_forms' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'View Templates' ); ?></a>
185
  </div>
186
  </div>
187
  </div>
15
  </style>
16
  <div id="opinionstage-content">
17
  <div class="opinionstage-header-wrapper">
18
+ <div class="opinionstage-logo-wrapper">
19
+ <div class="opinionstage-logo"></div>
20
+ <?php if ( $os_client_logged_in ) { ?>
 
 
 
 
 
 
 
 
21
  <div class="opinionstage-connectivity-status"><?php echo esc_html( $os_options['email'] ); ?>
22
  <form method="POST" action="<?php echo esc_url( get_admin_url( null, 'admin.php?page=' . OPINIONSTAGE_DISCONNECT_PAGE ) ); ?>" class="opinionstage-connect-form">
23
  <button class="opinionstage-disconnect" type="submit"><?php esc_html_e( 'Disconnect', 'social-polls-by-opinionstage' ); ?></button>
24
  </form>
25
  </div>
26
+ <?php } ?>
27
+ </div>
28
  </div>
29
 
30
  <div id="container" class="opinionstage-dashboard">
105
  <?php
106
  if ( $os_client_logged_in ) {
107
  ?>
108
+ style="display: none;" <?php } ?>>
109
  <div id="opinionstage-section-create" class="opinionstage-dashboard-section">
110
  <div class="opinionstage-section-header">
111
  <div class="opinionstage-section-title"><?php esc_html_e( 'Create', 'social-polls-by-opinionstage' ); ?></div>
120
  <div class="example"><?php esc_html_e( 'Ask one question and define several answer choices', 'social-polls-by-opinionstage' ); ?></div>
121
  </div>
122
  <div class="opinionstage-section-cell opinionstage-btn-cell">
123
+ <?php echo opinionstage_create_poll_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
124
+ <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'polls' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
125
  </div>
126
  </div>
127
  <div class="opinionstage-section-raw">
133
  <div class="example"><?php esc_html_e( 'Ask multiple questions from a range of question types', 'social-polls-by-opinionstage' ); ?></div>
134
  </div>
135
  <div class="opinionstage-section-cell opinionstage-btn-cell">
136
+ <?php echo opinionstage_create_survey_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
137
+ <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'surveys' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
138
  </div>
139
  </div>
140
  <div class="opinionstage-section-raw">
146
  <div class="example"><?php esc_html_e( 'Create a knowledge test or assessment', 'social-polls-by-opinionstage' ); ?></div>
147
  </div>
148
  <div class="opinionstage-section-cell opinionstage-btn-cell">
149
+ <?php echo opinionstage_create_trivia_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
150
+ <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'trivia_quizzes' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
151
  </div>
152
  </div>
153
  <div class="opinionstage-section-raw">
159
  <div class="example"><?php esc_html_e( 'Create a personality test or a product/service selector', 'social-polls-by-opinionstage' ); ?></div>
160
  </div>
161
  <div class="opinionstage-section-cell opinionstage-btn-cell">
162
+ <?php echo opinionstage_create_personality_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
163
+ <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'personality_quizzes' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
164
  </div>
165
  </div>
166
  <div class="opinionstage-section-raw">
172
  <div class="example"><?php esc_html_e( 'Display all fields on one page (use surveys for interactive forms)', 'social-polls-by-opinionstage' ); ?></div>
173
  </div>
174
  <div class="opinionstage-section-cell opinionstage-btn-cell">
175
+ <?php echo opinionstage_create_form_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
176
+ <a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'classic_forms' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
177
  </div>
178
  </div>
179
  </div>
assets/admin/src/menu-page.scss CHANGED
@@ -295,7 +295,7 @@ $light_red: #f46368;
295
 
296
  .opinionstage-blue-btn {
297
  padding: 12px 10px;
298
- text-transform: uppercase;
299
  min-width: 150px;
300
  &:not(:last-child) {
301
  margin-right: 10px;
@@ -326,22 +326,31 @@ $light_red: #f46368;
326
 
327
  .opinionstage-getting-started-section {
328
  padding: 25px;
329
- max-width: 800px;
330
  color: #6E6E6E;
331
  }
332
 
333
  .opinionstage-getting-started {
334
  color: #6E6E6E;
335
  display: flex;
336
- &__half {
337
- width: 50%;
338
- }
339
  &__title {
340
  font-size: 30px;
 
341
  }
342
  &__text {
343
- font-size: 16px;
344
- margin-bottom: 34px;
 
 
 
 
 
 
 
 
 
 
 
345
  }
346
 
347
  .opinionstage-grey-link {
295
 
296
  .opinionstage-blue-btn {
297
  padding: 12px 10px;
298
+ text-transform: capitalize;
299
  min-width: 150px;
300
  &:not(:last-child) {
301
  margin-right: 10px;
326
 
327
  .opinionstage-getting-started-section {
328
  padding: 25px;
329
+ max-width: 1024px;
330
  color: #6E6E6E;
331
  }
332
 
333
  .opinionstage-getting-started {
334
  color: #6E6E6E;
335
  display: flex;
 
 
 
336
  &__title {
337
  font-size: 30px;
338
+ line-height: 1.3;
339
  }
340
  &__text {
341
+ width: 37%;
342
+ p {
343
+ font-size: 16px;
344
+ &:last-child {
345
+ margin-bottom: 34px;
346
+ }
347
+ }
348
+ }
349
+ &__img {
350
+ width: 50%;
351
+ img {
352
+ width: 100%;
353
+ }
354
  }
355
 
356
  .opinionstage-grey-link {
assets/admin/src/parts/_button.scss CHANGED
@@ -20,6 +20,10 @@
20
  background-color: #F46368;
21
  }
22
 
 
 
 
 
23
  &__uppercase {
24
  text-transform: uppercase;
25
  }
20
  background-color: #F46368;
21
  }
22
 
23
+ &__blue {
24
+ background-color: #32adbc;
25
+ }
26
+
27
  &__uppercase {
28
  text-transform: uppercase;
29
  }
includes/class-opinionstagefeedback.php CHANGED
@@ -180,10 +180,12 @@ class OpinionstageFeedback {
180
  }
181
 
182
  $data = array(
183
- 'reason' => $reason,
184
- 'plugin_version' => OPINIONSTAGE_WIDGET_VERSION,
185
- 'wp_version' => get_bloginfo( 'version' ),
186
- 'site_lang' => get_bloginfo( 'language' ),
 
 
187
  );
188
 
189
  if ( '' !== $reason_text ) {
@@ -207,6 +209,51 @@ class OpinionstageFeedback {
207
  wp_send_json_error();
208
  }
209
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
  /**
211
  * Determine if current page is plugins page
212
  *
180
  }
181
 
182
  $data = array(
183
+ 'reason' => $reason,
184
+ 'plugin_version' => OPINIONSTAGE_WIDGET_VERSION,
185
+ 'wp_version' => get_bloginfo( 'version' ),
186
+ 'site_lang' => get_bloginfo( 'language' ),
187
+ 'plugin_was_active' => $this->plugin_active_time_pretty_string(),
188
+ 'is_connected' => $this->is_connected_pretty_string(),
189
  );
190
 
191
  if ( '' !== $reason_text ) {
209
  wp_send_json_error();
210
  }
211
 
212
+ /**
213
+ * Returns plugin active time pretty string
214
+ *
215
+ * @since 19.8.6
216
+ */
217
+ private function plugin_active_time_pretty_string() {
218
+ $activated_time = get_option( 'oswp_installation_date' );
219
+ if ( intval( $activated_time ) === 0 ) {
220
+ return 'no-activation-time';
221
+ }
222
+
223
+ $time_diff = time() - $activated_time;
224
+
225
+ $seconds_in_hour = 3600;
226
+ $seconds_in_day = $seconds_in_hour * 24;
227
+ $seconds_in_week = $seconds_in_day * 7;
228
+ $seconds_in_month = $seconds_in_day * 30;
229
+ $seconds_in_year = $seconds_in_day * 365;
230
+
231
+ if ( $time_diff < $seconds_in_hour ) {
232
+ $out = 'less than hour';
233
+ } elseif ( $time_diff < $seconds_in_day ) {
234
+ $out = 'less than day';
235
+ } elseif ( $time_diff < $seconds_in_week ) {
236
+ $out = 'less than week';
237
+ } elseif ( $time_diff < $seconds_in_month ) {
238
+ $out = 'less than month';
239
+ } elseif ( $time_diff < $seconds_in_year ) {
240
+ $out = 'less than year';
241
+ } else {
242
+ $out = 'more than year';
243
+ }
244
+
245
+ return $out;
246
+ }
247
+
248
+ /**
249
+ * Returns pretty string if opinionstage user connected
250
+ *
251
+ * @since 19.8.6
252
+ */
253
+ private function is_connected_pretty_string() {
254
+ return opinionstage_user_logged_in() ? 'yes' : 'no';
255
+ }
256
+
257
  /**
258
  * Determine if current page is plugins page
259
  *
opinionstage-polls.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage (Deprecated)
4
  Plugin URI: https://www.opinionstage.com
5
  Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
6
- Version: 19.8.5
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
3
  Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage (Deprecated)
4
  Plugin URI: https://www.opinionstage.com
5
  Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
6
+ Version: 19.8.6
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
plugin.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin Name: Quiz, Poll, Survey & Form by Opinion Stage
9
  * Plugin URI: https://www.opinionstage.com
10
  * Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
11
- * Version: 19.8.5
12
  * Author: OpinionStage.com
13
  * Author URI: https://www.opinionstage.com
14
  * Text Domain: social-polls-by-opinionstage
@@ -34,7 +34,7 @@ if ( defined( 'WP_DEBUG' ) && true === WP_DEBUG ) {
34
  }
35
  }
36
 
37
- define( 'OPINIONSTAGE_WIDGET_VERSION', '19.8.5' );
38
 
39
  define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
40
  define( 'OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8' );
@@ -60,11 +60,11 @@ define( 'OPINIONSTAGE_DEACTIVATE_FEEDBACK_API', OPINIONSTAGE_SERVER_BASE . '/api
60
  define( 'OPINIONSTAGE_MESSAGE_API', 'https://www.opinionstage.com/wp/msg-app/api/index.php' );
61
 
62
  define(
63
- 'OPINIONSTAGE_REDIRECT_TEMPLATES_API_UTM',
64
- add_query_arg(
65
- OPINIONSTAGE_UTM_PARAMETERS,
66
- OPINIONSTAGE_SERVER_BASE . '/api/wp/redirects/templates'
67
- )
68
  );
69
  define(
70
  'OPINIONSTAGE_REDIRECT_CREATE_WIDGET_API_UTM',
@@ -116,6 +116,9 @@ if ( ! version_compare( PHP_VERSION, '5.2', '>=' ) ) {
116
  if ( file_exists( $deprecated_file ) && is_writable( $deprecated_file ) ) {
117
  unlink( $deprecated_file );
118
  }
 
 
 
119
  }
120
  register_activation_hook( __FILE__, 'opinionstage_plugin_activate' );
121
  add_action( 'init', 'opinionstage_plugin_activate' );
@@ -146,6 +149,19 @@ if ( ! version_compare( PHP_VERSION, '5.2', '>=' ) ) {
146
  add_action( 'widgets_init', 'opinionstage_init_widget' );
147
  add_action( 'plugins_loaded', 'opinionstage_init' );
148
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  }
150
  /**
151
  * Opinionstage admin notice for minimum PHP version.
8
  * Plugin Name: Quiz, Poll, Survey & Form by Opinion Stage
9
  * Plugin URI: https://www.opinionstage.com
10
  * Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
11
+ * Version: 19.8.6
12
  * Author: OpinionStage.com
13
  * Author URI: https://www.opinionstage.com
14
  * Text Domain: social-polls-by-opinionstage
34
  }
35
  }
36
 
37
+ define( 'OPINIONSTAGE_WIDGET_VERSION', '19.8.6' );
38
 
39
  define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
40
  define( 'OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8' );
60
  define( 'OPINIONSTAGE_MESSAGE_API', 'https://www.opinionstage.com/wp/msg-app/api/index.php' );
61
 
62
  define(
63
+ 'OPINIONSTAGE_REDIRECT_TEMPLATES_API_UTM',
64
+ add_query_arg(
65
+ OPINIONSTAGE_UTM_PARAMETERS,
66
+ OPINIONSTAGE_SERVER_BASE . '/api/wp/redirects/templates'
67
+ )
68
  );
69
  define(
70
  'OPINIONSTAGE_REDIRECT_CREATE_WIDGET_API_UTM',
116
  if ( file_exists( $deprecated_file ) && is_writable( $deprecated_file ) ) {
117
  unlink( $deprecated_file );
118
  }
119
+ if ( ! get_option( 'oswp_installation_date' ) ) {
120
+ update_option( 'oswp_installation_date', time(), false );
121
+ }
122
  }
123
  register_activation_hook( __FILE__, 'opinionstage_plugin_activate' );
124
  add_action( 'init', 'opinionstage_plugin_activate' );
149
  add_action( 'widgets_init', 'opinionstage_init_widget' );
150
  add_action( 'plugins_loaded', 'opinionstage_init' );
151
  }
152
+
153
+ register_deactivation_hook( __FILE__, 'opinionstage_plugin_deactivate' );
154
+ function opinionstage_plugin_deactivate() {
155
+ if ( ! current_user_can( 'activate_plugins' ) ) {
156
+ return;
157
+ }
158
+
159
+ $plugin = isset( $_REQUEST['plugin'] ) ? $_REQUEST['plugin'] : '';
160
+
161
+ check_admin_referer( "deactivate-plugin_{$plugin}" );
162
+
163
+ delete_option( 'oswp_installation_date' );
164
+ }
165
  }
166
  /**
167
  * Opinionstage admin notice for minimum PHP version.
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.opinionstage.com
4
  Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
5
  Requires at least: 2.8
6
  Tested up to: 5.8
7
- Stable tag: 19.8.5
8
  Requires PHP: 7.0
9
 
10
  Add a Poll, Survey, or Quiz to your Wordpress site. Create a poll, quiz, or survey from scratch or based on templates.
@@ -139,6 +139,8 @@ Opinion Stage makes it easy for you to comply with the GDPR regulation. For more
139
  N/A
140
 
141
  == Changelog ==
 
 
142
  = 19.8.5 =
143
  * readme update
144
  = 19.8.4 =
4
  Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
5
  Requires at least: 2.8
6
  Tested up to: 5.8
7
+ Stable tag: 19.8.6
8
  Requires PHP: 7.0
9
 
10
  Add a Poll, Survey, or Quiz to your Wordpress site. Create a poll, quiz, or survey from scratch or based on templates.
139
  N/A
140
 
141
  == Changelog ==
142
+ = 19.8.6 =
143
+ * UI update for not connected users
144
  = 19.8.5 =
145
  * readme update
146
  = 19.8.4 =