Commit 3be89691 authored by Eric Windham's avatar Eric Windham Committed by GitHub

Merge pull request #3586 from wpninjas/cleanup-process

Cleanup process
parents 0a0d0a85 f336da41
This source diff could not be displayed because it is too large. You can view the blob instead.
html{overflow:auto!important}::-webkit-scrollbar{display:none}a{color:#1ea9ea;text-decoration:none;border:0}a,a:focus{outline:none!important}a:focus{box-shadow:unset}#wpcontent,#wpwrap{background-color:#fff}#wpcontent{padding:0}#wpcontent .wrap{margin:0}#wpbody-content>div:not(.wrap){display:none}#ninja-forms-dashboard{box-sizing:border-box}#ninja-forms-dashboard .nf-widget{background-color:#fff;border:1px solid #ccc;border-radius:4px;margin-bottom:20px}#ninja-forms-dashboard header.topbar{background-color:#ebedee}#ninja-forms-dashboard header .app-title{width:100%;max-width:50rem;margin:auto;background-image:url(../img/nf-logo-dashboard.png);background-size:315px 48px;background-position:0 100%;background-repeat:no-repeat;height:52px;margin-bottom:40px}#ninja-forms-dashboard header .app-title strong{display:block;text-indent:-9999px}#ninja-forms-dashboard nav{width:100%;max-width:50rem;margin:auto;margin-bottom:40px}#ninja-forms-dashboard nav ul{display:-ms-flexbox;display:flex;margin:0}#ninja-forms-dashboard nav ul li a{color:#424242;cursor:pointer;font-size:16px;margin:0 16px 10px;margin-bottom:10px;padding:16px 0 8px}#ninja-forms-dashboard nav ul li a.active{border-bottom:2px solid #424242}#ninja-forms-dashboard main{width:100%;max-width:50rem;margin:auto}#ninja-forms-dashboard .form-row-actions{display:none}#ninja-forms-dashboard .form-row-actions li{font-size:12px}#ninja-forms-dashboard .nf-table-display td:first-child{width:100%}#ninja-forms-dashboard .nf-table-display td:nth-child(2),#ninja-forms-dashboard .nf-table-display td:nth-child(3){width:250px;white-space:nowrap}#ninja-forms-dashboard tr.show-actions .title{display:block;margin-bottom:30px}#ninja-forms-dashboard tr.show-actions .form-row-actions{display:-ms-flexbox;display:flex;background:#ecedee;position:absolute;padding-top:6px;bottom:0;z-index:1;margin:0}#ninja-forms-dashboard tr.show-actions .form-row-actions li{padding:0 10px}#ninja-forms-dashboard .nf-search{border-bottom:1px solid #ecedee}#ninja-forms-dashboard .nf-search:before{top:16px}#ninja-forms-dashboard .nf-search input[type=search]{width:auto}#ninja-forms-dashboard .nf-item-controls .nf-item-control a{margin-left:20px;width:24px;cursor:pointer}@keyframes nf-connected{0%{box-shadow:0 0 2px hsla(0,0%,100%,0),inset 0 0 2px hsla(0,0%,100%,0)}50%{box-shadow:0 0 2px #84cc1e,inset 100vw 0 2px hsla(0,0%,100%,.2)}to{box-shadow:0 0 2px hsla(0,0%,100%,0),inset 100vw 0 2px hsla(0,0%,100%,0)}}.nf-notices--oauth{margin-top:-40px;padding-bottom:20px;text-align:center}.nf-oauth--checking{padding:5px}.nf-oauth--connect{display:block;background-color:#1ea9ea;color:#fff;padding:5px;text-decoration:none}.nf-oauth--connected{color:transparent;padding:0;line-height:.5;transition:all .4s;background-color:#84cc1e}.nf-oauth--connected:not(:hover){animation:nf-connected 8s ease infinite;animation-delay:2s}.nf-notices--oauth:hover .nf-oauth--connected{color:#fff;line-height:2;padding:5px}.widget{background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px}.widget,.widget header{margin-bottom:20px}.widget-memberships{border:0;padding:0}.pricing-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap}.pricing-container .pricing-block{width:30%}.pricing-container .pricing-block.highlight{background-color:#f1f1f1}.pricing-container .pricing-header{text-align:center}.pricing-container .pricing-header>div{margin-bottom:10px}.pricing-container .pricing-header .pricing-title{font-size:24px;margin-bottom:16px}.pricing-container .pricing-header .pricing-price{font-size:24px;font-weight:700}.pricing-container .pricing-body>div{padding:10px 0;position:relative}.pricing-container .pricing-body span{display:block;margin-left:40px}.pricing-container .pricing-body ul{list-style:disc;margin-left:20px}.pricing-container .pricing-body .fa{color:#aaa;font-size:24px;position:absolute;left:0}.pricing-container .pricing-body .pricing-body-title{font-weight:700;text-transform:uppercase}.widget-plan-notice{text-align:center}.widget-plan-notice .widget-title{font-size:26px;font-weight:700;margin:0 0 10px;text-align:center}.widget-plan-notice .nf-button{margin-bottom:20px}@keyframes nf-service-installing{to{transform:rotate(360deg)}}.dashicons-update-spin{animation:nf-service-installing 1s linear infinite}.services .nf-extend.full{-ms-flex-preferred-size:100%;flex-basis:100%}.services .nf-extend-buttons a{margin-top:20px}.services .nf-extend-buttons .nf-button{margin-top:auto;margin-bottom:10px}.jBox-Confirm-button{height:auto!important;font-size:17px!important;padding:10px 30px!important}.jBox-Confirm-button-submit{background:#1ea9ea!important;border:1px solid #fff!important;color:#fff!important}.jBox-Confirm-button-cancel{background:#fff!important;border:1px solid #1ea9ea!important;color:#1ea9ea!important}.promotion--wrapper{width:100%;max-width:50rem;margin:auto;margin-bottom:20px}.promotion--wrapper a:focus{box-shadow:unset}th{font-weight:700}.widget-forms .sortable{cursor:pointer;font-weight:700;margin-left:-5px}.widget-forms .sortable:hover:after{content:"\f0dc"}.widget-forms .sortable:after{font-family:FontAwesome;margin-left:5px;position:absolute}.widget-forms .sortable.sorted-asc:after{content:"\f0de"}.widget-forms .sortable.sorted-desc:after{content:"\f0dd"}.widget-forms header{display:-ms-flexbox;display:flex}.widget-forms header div{-ms-flex:1;flex:1}.widget-forms header div:first-of-type{-ms-flex:2;flex:2}.widget-forms .action{display:-ms-flexbox;display:flex}.widget-forms .form-row-actions a{cursor:pointer}.widget-forms .form-row-actions a.delete{color:#ff4136}.forms-collection>div{padding:10px}.forms-collection>div:nth-child(odd){background-color:#ebedee}.forms-collection .deleting{color:#ff4136;background-color:#ecedee}.forms-collection .deleting a{color:#ff4136}.forms-collection .deleting footer{display:none}.forms-collection main{display:-ms-flexbox;display:flex}.forms-collection main div{-ms-flex:1;flex:1}.forms-collection main div:first-of-type{-ms-flex:2;flex:2}.forms-collection footer ul{margin:0;padding-top:20px;display:-ms-flexbox;display:flex}.forms-collection footer ul li a.delete{color:red}.forms-collection footer ul li:after{content:" |";margin:auto 5px}.forms-collection footer ul li:last-child:after{content:""}.template-list{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap}.template-list>div{display:-ms-flexbox;display:flex;width:50%}.template-list .template{display:-ms-grid;display:grid;width:100%}.template-list .template a{color:#424242;display:block;margin:5px;padding:30px;border:1px solid #ccc;border-radius:4px;min-height:80px;cursor:pointer}.template-list .template a:hover{background:#1ea9ea;color:#fff}.template-list .template a .title{display:block;font-size:20px;margin-bottom:10px}.template-list .ad a{border-color:#ebedee}.template-list .default a{background:#ebedee;border-color:#ebedee}table .forms-table-row li{display:inline-block}.modal-template{padding:20px}.modal-template img{width:100%}.modal-template iframe{width:100%;height:214px}.modal-template p:first-of-type{font-size:16px;font-weight:700;line-height:20px;padding:16px 40px;text-align:center}.modal-template .actions{margin-top:30px}.modal-template .actions:after{display:block;clear:both;content:""}.modal-template .primary.nf-button{float:right}.jBox-Modal{background-color:#fff}.jBox-Modal .jBox-title{padding-top:10px;padding-bottom:10px;font-size:150%;font-weight:700;text-align:center;width:100%}.jBox-Modal .jBox-content{padding:10px;width:100%}.jBox-Modal .buttons:after{clear:none;content:"";display:block}.nf-loading-spinner{width:40px;height:40px;margin:15px auto;background-color:hsla(0,0%,82%,.5);border-radius:100%;animation:nf-scaleout 1.0s infinite ease-in-out}@keyframes nf-scaleout{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}.apps-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-flow:row wrap;flex-flow:row wrap;padding:10px}.apps-container .nf-box{background:#fff;-ms-flex-preferred-size:48%;flex-basis:48%}.apps-container .nf-box-inside{border:1px solid #ccc;border-radius:4px;padding:10px}.apps-container .nf-extend{float:left;margin:0 0 20px;width:300px;position:relative}.apps-container .nf-extend img{margin-bottom:10px;max-width:100%;height:auto}.apps-container .nf-extend h2{white-space:nowrap;overflow:hidden}.apps-container .nf-extend-content p{min-height:60px}.apps-container .nf-extend-buttons:after{clear:both;content:"";display:block}.apps-container .nf-extend .nf-button{float:right}.apps-container .nf-extend .nf-doc-button{float:left}.promotion--wrapper>div a{position:relative;display:block;background:#f1f1f1;padding:16px 80px;text-align:center;border-radius:4px;font-size:16px;color:#ef4748!important;overflow:hidden;line-height:24px}.promotion--wrapper>div a>.cta{font-size:22px}.promotion--wrapper>div a .dashicons-before:before,.promotion--wrapper>div a>.dashicons{position:absolute;left:0;top:-20px;font-size:90px;transform:rotate(20deg)}
html{overflow:auto!important}::-webkit-scrollbar{display:none}a{color:#1ea9ea;text-decoration:none;border:0}a,a:focus{outline:none!important}a:focus{box-shadow:unset}#wpcontent,#wpwrap{background-color:#fff}#wpcontent{padding:0}#wpcontent .wrap{margin:0}#wpbody-content>div:not(.wrap){display:none}#ninja-forms-dashboard{box-sizing:border-box}#ninja-forms-dashboard .nf-widget{background-color:#fff;border:1px solid #ccc;border-radius:4px;margin-bottom:20px}#ninja-forms-dashboard header.topbar{background-color:#ebedee}#ninja-forms-dashboard header .app-title{width:100%;max-width:50rem;margin:auto;background-image:url(../img/nf-logo-dashboard.png);background-size:315px 48px;background-position:0 100%;background-repeat:no-repeat;height:52px;margin-bottom:40px}#ninja-forms-dashboard header .app-title strong{display:block;text-indent:-9999px}#ninja-forms-dashboard nav{width:100%;max-width:50rem;margin:auto;margin-bottom:40px}#ninja-forms-dashboard nav ul{display:-ms-flexbox;display:flex;margin:0}#ninja-forms-dashboard nav ul li a{color:#424242;cursor:pointer;font-size:16px;margin:0 16px 10px;margin-bottom:10px;padding:16px 0 8px}#ninja-forms-dashboard nav ul li a.active{border-bottom:2px solid #424242}#ninja-forms-dashboard main{width:100%;max-width:50rem;margin:auto}#ninja-forms-dashboard .form-row-actions{display:none}#ninja-forms-dashboard .form-row-actions li{font-size:12px}#ninja-forms-dashboard .nf-table-display td:first-child{width:100%}#ninja-forms-dashboard .nf-table-display td:nth-child(2),#ninja-forms-dashboard .nf-table-display td:nth-child(3){width:250px;white-space:nowrap}#ninja-forms-dashboard tr.show-actions .title{display:block;margin-bottom:30px}#ninja-forms-dashboard tr.show-actions .form-row-actions{display:-ms-flexbox;display:flex;background:#ecedee;position:absolute;padding-top:6px;bottom:0;z-index:1;margin:0}#ninja-forms-dashboard tr.show-actions .form-row-actions li{padding:0 10px}#ninja-forms-dashboard .nf-search{border-bottom:1px solid #ecedee}#ninja-forms-dashboard .nf-search:before{top:16px}#ninja-forms-dashboard .nf-search input[type=search]{width:auto}#ninja-forms-dashboard .nf-item-controls .nf-item-control a{margin-left:20px;width:24px;cursor:pointer}@keyframes nf-connected{0%{box-shadow:0 0 2px hsla(0,0%,100%,0),inset 0 0 2px hsla(0,0%,100%,0)}50%{box-shadow:0 0 2px #84cc1e,inset 100vw 0 2px hsla(0,0%,100%,.2)}to{box-shadow:0 0 2px hsla(0,0%,100%,0),inset 100vw 0 2px hsla(0,0%,100%,0)}}.nf-notices--oauth{margin-top:-40px;padding-bottom:20px;text-align:center}.nf-oauth--checking{padding:5px}.nf-oauth--connect{display:block;background-color:#1ea9ea;color:#fff;padding:5px;text-decoration:none}.nf-oauth--connected{color:transparent;padding:0;line-height:.5;transition:all .4s;background-color:#84cc1e}.nf-oauth--connected:not(:hover){animation:nf-connected 8s ease infinite;animation-delay:2s}.nf-notices--oauth:hover .nf-oauth--connected{color:#fff;line-height:2;padding:5px}.widget{background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px}.widget,.widget header{margin-bottom:20px}.widget-memberships{border:0;padding:0}.pricing-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap}.pricing-container .pricing-block{width:30%}.pricing-container .pricing-block.highlight{background-color:#f1f1f1}.pricing-container .pricing-header{text-align:center}.pricing-container .pricing-header>div{margin-bottom:10px}.pricing-container .pricing-header .pricing-title{font-size:24px;margin-bottom:16px}.pricing-container .pricing-header .pricing-price{font-size:24px;font-weight:700}.pricing-container .pricing-body>div{padding:10px 0;position:relative}.pricing-container .pricing-body span{display:block;margin-left:40px}.pricing-container .pricing-body ul{list-style:disc;margin-left:20px}.pricing-container .pricing-body .fa{color:#aaa;font-size:24px;position:absolute;left:0}.pricing-container .pricing-body .pricing-body-title{font-weight:700;text-transform:uppercase}.widget-plan-notice{text-align:center}.widget-plan-notice .widget-title{font-size:26px;font-weight:700;margin:0 0 10px;text-align:center}.widget-plan-notice .nf-button{margin-bottom:20px}@keyframes nf-service-installing{to{transform:rotate(360deg)}}.dashicons-update-spin{animation:nf-service-installing 1s linear infinite}.services .nf-extend.full{-ms-flex-preferred-size:100%;flex-basis:100%}.services .nf-extend-buttons a{margin-top:20px}.services .nf-extend-buttons .nf-button{margin-top:auto;margin-bottom:10px}.jBox-Confirm-button{height:auto!important;font-size:17px!important;padding:10px 30px!important}.jBox-Confirm-button-submit{background:#1ea9ea!important;border:1px solid #fff!important;color:#fff!important}.jBox-Confirm-button-cancel{background:#fff!important;border:1px solid #1ea9ea!important;color:#1ea9ea!important}.promotion--wrapper{width:100%;max-width:50rem;margin:auto;margin-bottom:20px}.promotion--wrapper a:focus{box-shadow:unset}th{font-weight:700}.widget-forms .sortable{cursor:pointer;font-weight:700;margin-left:-5px}.widget-forms .sortable:hover:after{content:"\f0dc"}.widget-forms .sortable:after{font-family:FontAwesome;margin-left:5px;position:absolute}.widget-forms .sortable.sorted-asc:after{content:"\f0de"}.widget-forms .sortable.sorted-desc:after{content:"\f0dd"}.widget-forms header{display:-ms-flexbox;display:flex}.widget-forms header div{-ms-flex:1;flex:1}.widget-forms header div:first-of-type{-ms-flex:2;flex:2}.widget-forms .action{display:-ms-flexbox;display:flex}.widget-forms .form-row-actions a{cursor:pointer}.widget-forms .form-row-actions a.delete{color:#ff4136}.forms-collection>div{padding:10px}.forms-collection>div:nth-child(odd){background-color:#ebedee}.forms-collection .deleting{color:#ff4136;background-color:#ecedee}.forms-collection .deleting a{color:#ff4136}.forms-collection .deleting footer{display:none}.forms-collection main{display:-ms-flexbox;display:flex}.forms-collection main div{-ms-flex:1;flex:1}.forms-collection main div:first-of-type{-ms-flex:2;flex:2}.forms-collection footer ul{margin:0;padding-top:20px;display:-ms-flexbox;display:flex}.forms-collection footer ul li a.delete{color:red}.forms-collection footer ul li:after{content:" |";margin:auto 5px}.forms-collection footer ul li:last-child:after{content:""}.template-list{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap}.template-list>div{display:-ms-flexbox;display:flex;width:50%}.template-list .template{display:-ms-grid;display:grid;width:100%}.template-list .template a{color:#424242;display:block;margin:5px;padding:30px;border:1px solid #ccc;border-radius:4px;min-height:80px;cursor:pointer}.template-list .template a:hover{background:#1ea9ea;color:#fff}.template-list .template a .title{display:block;font-size:20px;margin-bottom:10px}.template-list .ad a{border-color:#ebedee}.template-list .default a{background:#ebedee;border-color:#ebedee}table .forms-table-row li{display:inline-block}.modal-template{padding:20px}.modal-template img{width:100%}.modal-template iframe{width:100%;height:214px}.modal-template p:first-of-type{font-size:16px;font-weight:700;line-height:20px;padding:16px 40px;text-align:center}.modal-template .actions{margin-top:30px}.modal-template .actions:after{display:block;clear:both;content:""}.modal-template .primary.nf-button{float:right}.jBox-Modal{background-color:#fff}.jBox-Modal .jBox-title{padding-top:10px;padding-bottom:10px;font-size:150%;font-weight:700;text-align:center;width:100%}.jBox-Modal .jBox-content{padding:10px;width:100%}.jBox-Modal .buttons:after{clear:none;content:"";display:block}.nf-progress-bar{height:20px;border-radius:3px;margin:25px 0px;border:1px solid #1ea9ea;position:relative;overflow:hidden}.nf-progress-bar .nf-progress-bar-slider{height:20px;width:0%;background-color:#1ea9ea;transition:width 0.3s}.nf-loading-spinner{width:40px;height:40px;margin:15px auto;background-color:hsla(0,0%,82%,.5);border-radius:100%;animation:nf-scaleout 1.0s infinite ease-in-out}@keyframes nf-scaleout{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}.apps-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-flow:row wrap;flex-flow:row wrap;padding:10px}.apps-container .nf-box{background:#fff;-ms-flex-preferred-size:48%;flex-basis:48%}.apps-container .nf-box-inside{border:1px solid #ccc;border-radius:4px;padding:10px}.apps-container .nf-extend{float:left;margin:0 0 20px;width:300px;position:relative}.apps-container .nf-extend img{margin-bottom:10px;max-width:100%;height:auto}.apps-container .nf-extend h2{white-space:nowrap;overflow:hidden}.apps-container .nf-extend-content p{min-height:60px}.apps-container .nf-extend-buttons:after{clear:both;content:"";display:block}.apps-container .nf-extend .nf-button{float:right}.apps-container .nf-extend .nf-doc-button{float:left}.promotion--wrapper>div a{position:relative;display:block;background:#f1f1f1;padding:16px 80px;text-align:center;border-radius:4px;font-size:16px;color:#ef4748!important;overflow:hidden;line-height:24px}.promotion--wrapper>div a>.cta{font-size:22px}.promotion--wrapper>div a .dashicons-before:before,.promotion--wrapper>div a>.dashicons{position:absolute;left:0;top:-20px;font-size:90px;transform:rotate(20deg)}
/*# sourceMappingURL=dashboard.min.css.map */
{"version":3,"sources":["dashboard.scss","notices/oauth.scss","sections/widgets.scss","sections/services.scss","sections/promotions.scss","widgets/forms.scss"],"names":[],"mappings":"AAAA,KACE,uBAAwB,CACzB,AAED,oBACI,YAAc,CACjB,AAMD,EACE,cAAe,AACf,qBAAsB,AAEtB,QAAU,CACX,AACD,UAHE,sBAAyB,CAG3B,AAGC,QADC,gBAAkB,CACnB,AAED,mBAEE,qBAAuB,CACxB,AAED,WACE,SAAW,CAKZ,AAND,iBAII,QAAU,CACX,AAIH,+BACE,YAAc,CACf,AAQD,uBAEE,qBAAuB,CAqIxB,AAvID,kCAKI,sBAAuB,AACvB,sBAAuB,AACvB,kBAAmB,AACnB,kBAAoB,CACrB,AATH,qCAcM,wBAA0B,CAC3B,AAfL,yCALE,WAAY,AACZ,gBAAiB,AACjB,YAAa,AAsBT,mDAAqB,AACrB,2BAA4B,AAC5B,2BAAiC,AACjC,4BAA6B,AAC7B,YAAa,AACb,kBAAoB,CAMrB,A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B,AApDH,0CAuDM,UAAY,CACf,AAQH,0BAGQ,kBAAmB,AACnB,cAAe,AACf,mBAAoB,AACpB,kBAAmB,AACnB,kBAAmB,AACnB,kBAAmB,AACnB,eAAgB,AAChB,wBAA0B,AAC1B,gBAAiB,AACjB,gBAAkB,CAWrB,AAvBL,+BAcU,cAAgB,CACnB,AAfP,wFAiBU,kBAAmB,AACnB,OAAQ,AACR,UAAW,AACX,eAAgB,AAChB,uBAAiB,CACpB","file":"dashboard.min.css","sourcesContent":["html {\n overflow: auto!important; /* Override normalize.scss */\n}\n\n::-webkit-scrollbar {\n display: none;\n}\n\n.ninja-forms-app {\n\n}\n\na {\n color: #1EA9EA;\n text-decoration: none;\n outline: none !important;\n border: 0;\n}\na:focus {\n outline: none !important;\n box-shadow: unset; // Override WP focus state.\n}\n\n#wpwrap,\n#wpcontent {\n background-color: #fff;\n}\n\n#wpcontent {\n padding: 0;\n\n .wrap {\n margin: 0;\n }\n}\n\n/** Hide anything that isn't our page wrap, ie Admin Notices */\n#wpbody-content > div:not(.wrap) {\n display: none;\n}\n\n@mixin wrap {\n width: 100%;\n max-width: 50rem;\n margin: auto;\n}\n\n#ninja-forms-dashboard {\n\n box-sizing: border-box;\n\n .nf-widget {\n background-color: #fff;\n border: 1px solid #ccc;\n border-radius: 4px;\n margin-bottom: 20px;\n }\n\n header {\n\n &.topbar {\n background-color: #EBEDEE;\n }\n\n .app-title {\n @include wrap;\n background-image: url(\"../img/nf-logo-dashboard.png\");\n background-size: 315px 48px;\n background-position: left bottom;\n background-repeat: no-repeat;\n height: 52px;\n margin-bottom: 40px;\n //padding: 10px;\n strong {\n display: block;\n text-indent: -9999px;\n }\n }\n }\n\n nav {\n @include wrap;\n margin-bottom: 40px;\n\n ul {\n display: flex;\n margin: 0;\n\n li {\n\n a {\n color: #424242;\n cursor: pointer;\n font-size: 16px;\n margin: 0 16px 10px 16px;\n margin-bottom: 10px;\n padding: 16px 0 8px;\n\n &.active {\n border-bottom: 2px solid #424242;\n }\n }\n }\n }\n }\n\n\n main {\n @include wrap;\n }\n\n .form-row-actions {\n\n display: none;\n\n li {\n font-size: 12px;\n }\n\n }\n .nf-table-display {\n\n td:nth-child(1) {\n width: 100%;\n }\n\n td:nth-child(2),\n td:nth-child(3) {\n width: 250px;\n white-space:nowrap;\n }\n\n .title {\n //white-space: normal;\n }\n\n }\n\n tr.show-actions {\n\n .title {\n display: block;\n margin-bottom: 30px;\n }\n\n .form-row-actions {\n\n display: flex;\n background: #ECEDEE;\n position: absolute;\n padding-top: 6px;\n bottom: 0;\n z-index: 1;\n margin: 0;\n\n li {\n padding: 0 10px;\n }\n\n }\n\n }\n\n .nf-search {\n\n border-bottom: 1px solid #ECEDEE;\n\n &::before {\n top: 16px;\n }\n\n input[type=search] {\n width: auto;\n }\n\n }\n\n .nf-item-controls .nf-item-control a {\n margin-left: 20px;\n width: 24px;\n cursor: pointer;\n }\n}\n\n/*\nNotices\n---------------------------------------------*/\n\n@import 'notices/oauth';\n\n/*\nSections\n---------------------------------------------*/\n\n@import 'sections/widgets';\n@import 'sections/services';\n@import 'sections/apps';\n@import 'sections/memberships';\n@import 'sections/promotions';\n\n/*\nWidgets\n---------------------------------------------*/\n\n@import 'widgets/forms';\n\n/*\njBox\n---------------------------------------------*/\n\n.jBox-Modal {\n\n background-color: white;\n\n .jBox-title {\n padding-top: 10px;\n padding-bottom: 10px;\n font-size: 150%;\n font-weight: bold;\n text-align: center;\n width: 100%;\n }\n .jBox-content {\n padding: 10px;\n width: 100%;\n }\n\n .buttons {\n &::after {\n clear: none;\n content: \"\";\n display: block;\n }\n }\n}\n\n/*\nLoading Spinner\n---------------------------------------------*/\n\n.nf-loading-spinner {\n width: 40px;\n height: 40px;\n margin: 15px auto;\n background-color: rgba(208,208,208,.5);\n\n border-radius: 100%;\n animation: nf-scaleout 1.0s infinite ease-in-out;\n}\n\n@-webkit-keyframes nf-scaleout {\n 0% { transform: scale(0) }\n 100% {\n transform: scale(1.0);\n opacity: 0;\n }\n}\n\n@keyframes nf-scaleout {\n 0% {\n transform: scale(0);\n } 100% {\n transform: scale(1.0);\n opacity: 0;\n }\n}\n\n.apps-container {\n display: flex;\n justify-content: space-between;\n flex-flow: row wrap;\n padding: 10px;\n\n .nf-box {\n background: #fff;\n flex-basis: 48%;\n }\n\n .nf-box-inside {\n border: 1px solid #ccc;\n border-radius: 4px;\n padding: 10px;\n }\n\n .nf-extend {\n float: left;\n margin: 0 0 20px 0;\n width: 300px;\n position: relative;\n }\n .nf-extend img {\n margin-bottom: 10px;\n max-width: 100%;\n height: auto;\n }\n\n .nf-extend h2 {\n white-space: nowrap;\n overflow: hidden;\n }\n\n .nf-extend-content p {\n min-height: 60px;\n }\n\n .nf-extend-buttons {\n\n &::after {\n\n clear: both;\n content: \"\";\n display: block;\n\n }\n\n }\n\n .nf-extend .nf-button {\n float: right;\n }\n\n .nf-extend .nf-doc-button {\n float: left;\n }\n\n}\n\n/*\nPromotions\n---------------------------------------------*/\n\n.promotion--wrapper {\n > div {\n a {\n position: relative;\n display: block;\n background: #f1f1f1;\n padding: 16px 80px;\n text-align: center;\n border-radius: 4px;\n font-size: 16px;\n color: #ef4748 !important;\n overflow: hidden;\n line-height: 24px;\n > .cta {\n font-size: 22px;\n }\n > .dashicons, .dashicons-before::before {\n position: absolute;\n left: 0;\n top: -20px;\n font-size: 90px;\n transform: rotate(20deg);\n }\n }\n }\n}","@keyframes nf-connected {\n 0% {\n box-shadow: 0 0 2px rgba(255, 255, 255, 0),\n inset 0 0 2px rgba(255, 255, 255, 0);\n }\n 50% {\n box-shadow: 0 0 2px #84cc1e,\n inset 100vw 0 2px rgba(255, 255, 255, .2);\n }\n 100% {\n box-shadow: 0 0 2px rgba(255, 255, 255, 0),\n inset 100vw 0 2px rgba(255, 255, 255, 0);\n }\n}\n\n.nf-notices--oauth {\n margin-top: -40px; // Account for the bottom margin on the topbar.\n padding-bottom: 20px; // Increase hover target, while maintaining whitespace.\n text-align:center;\n}\n\n.nf-oauth--checking {\n padding: 5px;\n}\n\n.nf-oauth--connect {\n display:block;\n background-color:#1EA9EA;\n color:white;\n padding: 5px;\n text-decoration:none;\n}\n\n.nf-oauth--connected {\n color: transparent;\n padding: 0;\n line-height: .5;\n transition: all .4s;\n background-color:#84CC1E;\n}\n.nf-oauth--connected:not(:hover) {\n animation: nf-connected 8s ease infinite;\n animation-delay: 2s;\n}\n.nf-notices--oauth:hover .nf-oauth--connected {\n color:white;\n line-height: 2;\n padding: 5px;\n}\n",".widget {\n background-color: #fff;\n border: 1px solid #ccc;\n border-radius: 4px;\n margin-bottom: 20px;\n padding: 20px;\n\n header {\n margin-bottom: 20px;\n }\n\n}\n\n.widget-memberships {\n border: 0;\n padding: 0;\n}\n.pricing-container {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n\n .pricing-block {\n width: 30%;\n\n &.highlight {\n background-color: #f1f1f1;\n }\n\n }\n\n .pricing-header {\n\n text-align: center;\n\n & > div {\n margin-bottom: 10px;\n }\n\n .pricing-title {\n font-size: 24px;\n margin-bottom: 16px;\n }\n\n .pricing-price {\n font-size: 24px;\n font-weight: bold;\n }\n\n }\n\n .pricing-body {\n\n & > div {\n padding: 10px 0;\n position: relative;\n }\n\n span {\n display: block;\n margin-left: 40px;\n }\n\n ul {\n list-style: disc;\n margin-left: 20px;\n }\n\n .fa {\n //color: #86CA32;\n color: #aaa;\n font-size: 24px;\n position: absolute;\n left: 0;\n }\n\n .pricing-body-title {\n font-weight: bold;\n text-transform: uppercase;\n }\n\n }\n\n}\n\n.widget-plan-notice {\n\n text-align: center;\n\n .widget-title {\n font-size: 26px;\n font-weight: bold;\n margin: 0 0 10px 0;\n text-align: center;\n }\n\n .nf-button {\n margin-bottom: 20px;\n }\n\n}\n","@keyframes nf-service-installing {\n 100% {\n transform:rotate(360deg);\n }\n}\n\n.dashicons-update-spin {\n animation: nf-service-installing 1s linear infinite;\n}\n\n.services {\n .nf-extend.full {\n flex-basis: 100%;\n }\n .nf-extend-buttons a {\n margin-top: 20px;\n }\n .nf-extend-buttons .nf-button {\n margin-top: auto; // Reset from anchor.\n margin-bottom: 10px; // Account for toggle.\n }\n}\n\n.jBox-Confirm-button {\n height: auto !important;\n font-size: 17px !important;\n padding: 10px 30px !important;\n}\n.jBox-Confirm-button-submit {\n background: #1ea9ea !important;\n border: 1px solid #fff !important;\n color: #fff !important;\n}\n.jBox-Confirm-button-cancel {\n background: #fff !important;\n border: 1px solid #1ea9ea !important;\n color: #1ea9ea !important;\n}\n",".promotion--wrapper {\n width: 100%;\n max-width: 50rem;\n margin: auto;\n margin-bottom: 20px; // Maintain whitespace.\n}\n\n.promotion--wrapper a:focus {\n box-shadow: unset; // Override WP focus state.\n}\n","th {\n font-weight: bold;\n}\n\n.widget-forms {\n .sortable {\n cursor: pointer;\n font-weight: bold;\n margin-left: -5px;\n &:hover {\n &:after {\n content: '\\f0dc';\n }\n }\n &:after {\n font-family: 'FontAwesome';\n margin-left: 5px;\n position: absolute;\n }\n &.sorted-asc:after {\n content: \"\\f0de\";\n }\n &.sorted-desc:after {\n content: \"\\f0dd\";\n }\n }\n header {\n display: flex;\n div {\n flex: 1;\n }\n div:first-of-type {\n flex: 2;\n }\n }\n\n .action {\n display: flex;\n }\n\n .form-row-actions a {\n cursor: pointer;\n\n &.delete {\n color: #FF4136;\n }\n }\n\n > div > main.content {\n /*max-height: 400px;*/\n }\n}\n\n.forms-collection {\n & > div {\n padding: 10px;\n }\n & > div:nth-child(odd){\n background-color: #EBEDEE;\n }\n .deleting {\n color: #FF4136;\n background-color: #ECEDEE;\n a {\n color: #FF4136;\n }\n footer {\n display: none;\n }\n }\n main {\n display: flex;\n div {\n flex: 1;\n }\n div:first-of-type {\n flex: 2;\n }\n }\n footer ul {\n margin: 0;\n padding-top: 20px;\n display: flex;\n li {\n a.delete {\n color: red;\n }\n &:after {\n content: ' |';\n margin: auto 5px;\n }\n &:last-child:after {\n content: '';\n }\n }\n }\n}\n\n.template-list {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n\n & > div {\n display: flex;\n width: 50%;\n }\n\n .template {\n display: grid;\n width: 100%;\n a {\n color: #424242;\n display: block;\n margin: 5px;\n padding: 30px;\n border: 1px solid #ccc;\n border-radius: 4px;\n min-height: 80px;\n cursor: pointer;\n\n &:hover {\n background: #1EA9EA;\n color: #fff;\n }\n\n .title {\n display: block;\n font-size: 20px;\n margin-bottom: 10px\n }\n }\n }\n\n .ad {\n a {\n border-color: #EBEDEE;\n }\n }\n\n .default {\n a {\n background: #EBEDEE;\n border-color: #EBEDEE;\n }\n }\n}\n\ntable .forms-table-row li {\n display: inline-block;\n}\n\n.modal-template {\n padding: 20px;\n img {\n width: 100%;\n }\n iframe {\n width: 100%;\n height: 214px;\n }\n p:first-of-type {\n font-size: 16px;\n font-weight: bold;\n line-height: 20px;\n padding: 16px 40px;\n text-align: center;\n }\n .actions {\n margin-top: 30px;\n &::after {\n display: block;\n clear: both;\n content: \"\";\n }\n }\n .primary.nf-button {\n float: right;\n }\n}\n"]}
\ No newline at end of file
{"version":3,"sources":["dashboard.scss","notices/oauth.scss","sections/widgets.scss","sections/services.scss","sections/promotions.scss","widgets/forms.scss"],"names":[],"mappings":"AAAA,KACE,uBAAwB,CACzB,AAED,oBACI,YAAc,CACjB,AAMD,EACE,cAAe,AACf,qBAAsB,AAEtB,QAAU,CACX,AACD,UAHE,sBAAyB,CAG3B,AAGC,QADC,gBAAkB,CACnB,AAED,mBAEE,qBAAuB,CACxB,AAED,WACE,SAAW,CAKZ,AAND,iBAII,QAAU,CACX,AAIH,+BACE,YAAc,CACf,AAQD,uBAEE,qBAAuB,CAqIxB,AAvID,kCAKI,sBAAuB,AACvB,sBAAuB,AACvB,kBAAmB,AACnB,kBAAoB,CACrB,AATH,qCAcM,wBAA0B,CAC3B,AAfL,yCALE,WAAY,AACZ,gBAAiB,AACjB,YAAa,AAsBT,mDAAqB,AACrB,2BAA4B,AAC5B,2BAAiC,AACjC,4BAA6B,AAC7B,YAAa,AACb,kBAAoB,CAMrB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,WAAa,CAChB,AA3BH,8BA8BM,mBAAoB,AACpB,eAAiB,CACpB,AAhCH,qCAmCM,eAAiB,CACpB,AApCH,yCA0CM,WAAmB,AACnB,WAAiB,AACjB,aAAoB,CAErB,AA9CL,sCAmDM,WAAa,CAChB,AApDH,0CAuDM,UAAY,CACf,AAQH,0BAGQ,kBAAmB,AACnB,cAAe,AACf,mBAAoB,AACpB,kBAAmB,AACnB,kBAAmB,AACnB,kBAAmB,AACnB,eAAgB,AAChB,wBAA0B,AAC1B,gBAAiB,AACjB,gBAAkB,CAWrB,AAvBL,+BAcU,cAAgB,CACnB,AAfP,wFAiBU,kBAAmB,AACnB,OAAQ,AACR,UAAW,AACX,eAAgB,AAChB,uBAAiB,CACpB","file":"dashboard.min.css","sourcesContent":["html {\n overflow: auto!important; /* Override normalize.scss */\n}\n\n::-webkit-scrollbar {\n display: none;\n}\n\n.ninja-forms-app {\n\n}\n\na {\n color: #1EA9EA;\n text-decoration: none;\n outline: none !important;\n border: 0;\n}\na:focus {\n outline: none !important;\n box-shadow: unset; // Override WP focus state.\n}\n\n#wpwrap,\n#wpcontent {\n background-color: #fff;\n}\n\n#wpcontent {\n padding: 0;\n\n .wrap {\n margin: 0;\n }\n}\n\n/** Hide anything that isn't our page wrap, ie Admin Notices */\n#wpbody-content > div:not(.wrap) {\n display: none;\n}\n\n@mixin wrap {\n width: 100%;\n max-width: 50rem;\n margin: auto;\n}\n\n#ninja-forms-dashboard {\n\n box-sizing: border-box;\n\n .nf-widget {\n background-color: #fff;\n border: 1px solid #ccc;\n border-radius: 4px;\n margin-bottom: 20px;\n }\n\n header {\n\n &.topbar {\n background-color: #EBEDEE;\n }\n\n .app-title {\n @include wrap;\n background-image: url(\"../img/nf-logo-dashboard.png\");\n background-size: 315px 48px;\n background-position: left bottom;\n background-repeat: no-repeat;\n height: 52px;\n margin-bottom: 40px;\n //padding: 10px;\n strong {\n display: block;\n text-indent: -9999px;\n }\n }\n }\n\n nav {\n @include wrap;\n margin-bottom: 40px;\n\n ul {\n display: flex;\n margin: 0;\n\n li {\n\n a {\n color: #424242;\n cursor: pointer;\n font-size: 16px;\n margin: 0 16px 10px 16px;\n margin-bottom: 10px;\n padding: 16px 0 8px;\n\n &.active {\n border-bottom: 2px solid #424242;\n }\n }\n }\n }\n }\n\n\n main {\n @include wrap;\n }\n\n .form-row-actions {\n\n display: none;\n\n li {\n font-size: 12px;\n }\n\n }\n .nf-table-display {\n\n td:nth-child(1) {\n width: 100%;\n }\n\n td:nth-child(2),\n td:nth-child(3) {\n width: 250px;\n white-space:nowrap;\n }\n\n .title {\n //white-space: normal;\n }\n\n }\n\n tr.show-actions {\n\n .title {\n display: block;\n margin-bottom: 30px;\n }\n\n .form-row-actions {\n\n display: flex;\n background: #ECEDEE;\n position: absolute;\n padding-top: 6px;\n bottom: 0;\n z-index: 1;\n margin: 0;\n\n li {\n padding: 0 10px;\n }\n\n }\n\n }\n\n .nf-search {\n\n border-bottom: 1px solid #ECEDEE;\n\n &::before {\n top: 16px;\n }\n\n input[type=search] {\n width: auto;\n }\n\n }\n\n .nf-item-controls .nf-item-control a {\n margin-left: 20px;\n width: 24px;\n cursor: pointer;\n }\n}\n\n/*\nNotices\n---------------------------------------------*/\n\n@import 'notices/oauth';\n\n/*\nSections\n---------------------------------------------*/\n\n@import 'sections/widgets';\n@import 'sections/services';\n@import 'sections/apps';\n@import 'sections/memberships';\n@import 'sections/promotions';\n\n/*\nWidgets\n---------------------------------------------*/\n\n@import 'widgets/forms';\n\n/*\njBox\n---------------------------------------------*/\n\n.jBox-Modal {\n\n background-color: white;\n\n .jBox-title {\n padding-top: 10px;\n padding-bottom: 10px;\n font-size: 150%;\n font-weight: bold;\n text-align: center;\n width: 100%;\n }\n .jBox-content {\n padding: 10px;\n width: 100%;\n }\n\n .buttons {\n &::after {\n clear: none;\n content: \"\";\n display: block;\n }\n }\n}\n\n/*\nProgress Bar\n---------------------------------------------*/\n\n.nf-progress-bar {\n height: 20px;\n border-radius: 3px;\n margin: 25px 0px;\n border: 1px solid #1ea9ea;\n position: relative;\n overflow: hidden;\n \n .nf-progress-bar-slider {\n height: 20px;\n width: 0%;\n background-color: #1ea9ea;\n transition: width 0.3s;\n }\n}\n\n/*\nLoading Spinner\n---------------------------------------------*/\n\n.nf-loading-spinner {\n width: 40px;\n height: 40px;\n margin: 15px auto;\n background-color: rgba(208,208,208,.5);\n\n border-radius: 100%;\n animation: nf-scaleout 1.0s infinite ease-in-out;\n}\n\n@-webkit-keyframes nf-scaleout {\n 0% { transform: scale(0) }\n 100% {\n transform: scale(1.0);\n opacity: 0;\n }\n}\n\n@keyframes nf-scaleout {\n 0% {\n transform: scale(0);\n } 100% {\n transform: scale(1.0);\n opacity: 0;\n }\n}\n\n.apps-container {\n display: flex;\n justify-content: space-between;\n flex-flow: row wrap;\n padding: 10px;\n\n .nf-box {\n background: #fff;\n flex-basis: 48%;\n }\n\n .nf-box-inside {\n border: 1px solid #ccc;\n border-radius: 4px;\n padding: 10px;\n }\n\n .nf-extend {\n float: left;\n margin: 0 0 20px 0;\n width: 300px;\n position: relative;\n }\n .nf-extend img {\n margin-bottom: 10px;\n max-width: 100%;\n height: auto;\n }\n\n .nf-extend h2 {\n white-space: nowrap;\n overflow: hidden;\n }\n\n .nf-extend-content p {\n min-height: 60px;\n }\n\n .nf-extend-buttons {\n\n &::after {\n\n clear: both;\n content: \"\";\n display: block;\n\n }\n\n }\n\n .nf-extend .nf-button {\n float: right;\n }\n\n .nf-extend .nf-doc-button {\n float: left;\n }\n\n}\n\n/*\nPromotions\n---------------------------------------------*/\n\n.promotion--wrapper {\n > div {\n a {\n position: relative;\n display: block;\n background: #f1f1f1;\n padding: 16px 80px;\n text-align: center;\n border-radius: 4px;\n font-size: 16px;\n color: #ef4748 !important;\n overflow: hidden;\n line-height: 24px;\n > .cta {\n font-size: 22px;\n }\n > .dashicons, .dashicons-before::before {\n position: absolute;\n left: 0;\n top: -20px;\n font-size: 90px;\n transform: rotate(20deg);\n }\n }\n }\n}","@keyframes nf-connected {\n 0% {\n box-shadow: 0 0 2px rgba(255, 255, 255, 0),\n inset 0 0 2px rgba(255, 255, 255, 0);\n }\n 50% {\n box-shadow: 0 0 2px #84cc1e,\n inset 100vw 0 2px rgba(255, 255, 255, .2);\n }\n 100% {\n box-shadow: 0 0 2px rgba(255, 255, 255, 0),\n inset 100vw 0 2px rgba(255, 255, 255, 0);\n }\n}\n\n.nf-notices--oauth {\n margin-top: -40px; // Account for the bottom margin on the topbar.\n padding-bottom: 20px; // Increase hover target, while maintaining whitespace.\n text-align:center;\n}\n\n.nf-oauth--checking {\n padding: 5px;\n}\n\n.nf-oauth--connect {\n display:block;\n background-color:#1EA9EA;\n color:white;\n padding: 5px;\n text-decoration:none;\n}\n\n.nf-oauth--connected {\n color: transparent;\n padding: 0;\n line-height: .5;\n transition: all .4s;\n background-color:#84CC1E;\n}\n.nf-oauth--connected:not(:hover) {\n animation: nf-connected 8s ease infinite;\n animation-delay: 2s;\n}\n.nf-notices--oauth:hover .nf-oauth--connected {\n color:white;\n line-height: 2;\n padding: 5px;\n}\n",".widget {\n background-color: #fff;\n border: 1px solid #ccc;\n border-radius: 4px;\n margin-bottom: 20px;\n padding: 20px;\n\n header {\n margin-bottom: 20px;\n }\n\n}\n\n.widget-memberships {\n border: 0;\n padding: 0;\n}\n.pricing-container {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n\n .pricing-block {\n width: 30%;\n\n &.highlight {\n background-color: #f1f1f1;\n }\n\n }\n\n .pricing-header {\n\n text-align: center;\n\n & > div {\n margin-bottom: 10px;\n }\n\n .pricing-title {\n font-size: 24px;\n margin-bottom: 16px;\n }\n\n .pricing-price {\n font-size: 24px;\n font-weight: bold;\n }\n\n }\n\n .pricing-body {\n\n & > div {\n padding: 10px 0;\n position: relative;\n }\n\n span {\n display: block;\n margin-left: 40px;\n }\n\n ul {\n list-style: disc;\n margin-left: 20px;\n }\n\n .fa {\n //color: #86CA32;\n color: #aaa;\n font-size: 24px;\n position: absolute;\n left: 0;\n }\n\n .pricing-body-title {\n font-weight: bold;\n text-transform: uppercase;\n }\n\n }\n\n}\n\n.widget-plan-notice {\n\n text-align: center;\n\n .widget-title {\n font-size: 26px;\n font-weight: bold;\n margin: 0 0 10px 0;\n text-align: center;\n }\n\n .nf-button {\n margin-bottom: 20px;\n }\n\n}\n","@keyframes nf-service-installing {\n 100% {\n transform:rotate(360deg);\n }\n}\n\n.dashicons-update-spin {\n animation: nf-service-installing 1s linear infinite;\n}\n\n.services {\n .nf-extend.full {\n flex-basis: 100%;\n }\n .nf-extend-buttons a {\n margin-top: 20px;\n }\n .nf-extend-buttons .nf-button {\n margin-top: auto; // Reset from anchor.\n margin-bottom: 10px; // Account for toggle.\n }\n}\n\n.jBox-Confirm-button {\n height: auto !important;\n font-size: 17px !important;\n padding: 10px 30px !important;\n}\n.jBox-Confirm-button-submit {\n background: #1ea9ea !important;\n border: 1px solid #fff !important;\n color: #fff !important;\n}\n.jBox-Confirm-button-cancel {\n background: #fff !important;\n border: 1px solid #1ea9ea !important;\n color: #1ea9ea !important;\n}\n",".promotion--wrapper {\n width: 100%;\n max-width: 50rem;\n margin: auto;\n margin-bottom: 20px; // Maintain whitespace.\n}\n\n.promotion--wrapper a:focus {\n box-shadow: unset; // Override WP focus state.\n}\n","th {\n font-weight: bold;\n}\n\n.widget-forms {\n .sortable {\n cursor: pointer;\n font-weight: bold;\n margin-left: -5px;\n &:hover {\n &:after {\n content: '\\f0dc';\n }\n }\n &:after {\n font-family: 'FontAwesome';\n margin-left: 5px;\n position: absolute;\n }\n &.sorted-asc:after {\n content: \"\\f0de\";\n }\n &.sorted-desc:after {\n content: \"\\f0dd\";\n }\n }\n header {\n display: flex;\n div {\n flex: 1;\n }\n div:first-of-type {\n flex: 2;\n }\n }\n\n .action {\n display: flex;\n }\n\n .form-row-actions a {\n cursor: pointer;\n\n &.delete {\n color: #FF4136;\n }\n }\n\n > div > main.content {\n /*max-height: 400px;*/\n }\n}\n\n.forms-collection {\n & > div {\n padding: 10px;\n }\n & > div:nth-child(odd){\n background-color: #EBEDEE;\n }\n .deleting {\n color: #FF4136;\n background-color: #ECEDEE;\n a {\n color: #FF4136;\n }\n footer {\n display: none;\n }\n }\n main {\n display: flex;\n div {\n flex: 1;\n }\n div:first-of-type {\n flex: 2;\n }\n }\n footer ul {\n margin: 0;\n padding-top: 20px;\n display: flex;\n li {\n a.delete {\n color: red;\n }\n &:after {\n content: ' |';\n margin: auto 5px;\n }\n &:last-child:after {\n content: '';\n }\n }\n }\n}\n\n.template-list {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n\n & > div {\n display: flex;\n width: 50%;\n }\n\n .template {\n display: grid;\n width: 100%;\n a {\n color: #424242;\n display: block;\n margin: 5px;\n padding: 30px;\n border: 1px solid #ccc;\n border-radius: 4px;\n min-height: 80px;\n cursor: pointer;\n\n &:hover {\n background: #1EA9EA;\n color: #fff;\n }\n\n .title {\n display: block;\n font-size: 20px;\n margin-bottom: 10px\n }\n }\n }\n\n .ad {\n a {\n border-color: #EBEDEE;\n }\n }\n\n .default {\n a {\n background: #EBEDEE;\n border-color: #EBEDEE;\n }\n }\n}\n\ntable .forms-table-row li {\n display: inline-block;\n}\n\n.modal-template {\n padding: 20px;\n img {\n width: 100%;\n }\n iframe {\n width: 100%;\n height: 214px;\n }\n p:first-of-type {\n font-size: 16px;\n font-weight: bold;\n line-height: 20px;\n padding: 16px 40px;\n text-align: center;\n }\n .actions {\n margin-top: 30px;\n &::after {\n display: block;\n clear: both;\n content: \"\";\n }\n }\n .primary.nf-button {\n float: right;\n }\n}\n"]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{"version":3,"sources":["op-spacing.scss","op-columns.scss","op-toggle.scss"],"names":[],"mappings":"AAAA,SACI,eAAiB,CACpB,AACD,sBACI,cAAgB,CACnB,AACD,iBACI,YAAa,AACb,iBAAkB,AAClB,aAAe,CAkHlB,AArHD,uBAKQ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mB,AACnB,SAAU,AACV,OAAQ,AACR,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,wBAA0B,CAC7B,AAhCL,6CAmCY,mBAAuB,AACvB,yBAA6B,AAC7B,wBAA0B,CAC7B,AAtCT,8CAwCY,SAAU,AACV,UAAW,AACX,wBAA0B,CAC7B,AA3CW,4CA8CZ,kBAAoB,CACvB,AA/Ce,2CAiDZ,UAAW,AACX,iBAAkB,AAClB,eAAiB,CACpB","file":"display-opinions.css","sourcesContent":[".nf-help {\r\n background: none;\r\n}\r\n.nf-field-description {\r\n font-size: 14px;\r\n}\r\n.nf-form-content {\r\n padding: 5px;\r\n max-width: 1000px;\r\n margin: 0 auto;\r\n label {\r\n font-size: 18px;\r\n line-height: 20px;\r\n }\r\n .ninja-forms-field,\r\n .listselect-wrap .nf-field-element div {\r\n font-size: 16px;\r\n margin: 0;\r\n padding: 12px;\r\n }\r\n input.ninja-forms-field,\r\n select.ninja-forms-field,\r\n .listselect-wrap .nf-field-element div {\r\n height: 50px;\r\n }\r\n textarea.ninja-forms-field {\r\n height: 200px;\r\n }\r\n hr.ninja-forms-field {\r\n padding: 0;\r\n }\r\n input[type=\"radio\"].ninja-forms-field,\r\n input[type=\"checkbox\"].ninja-forms-field {\r\n height: auto;\r\n }\r\n .listradio-wrap,\r\n .listcheckbox-wrap {\r\n li {\r\n margin-bottom: 12px !important;\r\n line-height: 0;\r\n }\r\n }\r\n .nf-product-field {\r\n &.ninja-forms-field {\r\n // background: transparent;\r\n // border: 0;\r\n // padding: 0;\r\n }\r\n span {\r\n padding-right: 16px;\r\n }\r\n .nf-field-qty {\r\n font-size: 16px;\r\n padding: 5px;\r\n width: 80px !important;\r\n }\r\n }\r\n .listselect-wrap,\r\n .liststate-wrap,\r\n .listcountry-wrap {\r\n select {\r\n //height: 50px;\r\n }\r\n }\r\n .nf-static {\r\n background: transparent;\r\n border: 0;\r\n font-weight: bold;\r\n padding: 0;\r\n }\r\n .label-above,\r\n .label-below,\r\n .label-hidden {\r\n .nf-field-label {\r\n margin-bottom: 10px;\r\n padding: 0;\r\n }\r\n }\r\n .label-below {\r\n .nf-field-label {\r\n margin-bottom: 0;\r\n margin-top: 10px;\r\n }\r\n }\r\n .label-right {\r\n .nf-field-label {\r\n margin: 0;\r\n }\r\n > input,\r\n textarea,\r\n select,\r\n .nf-product-field,\r\n .starrating,\r\n .nf-static,\r\n .pikaday__container {\r\n // margin-right: 1%;\r\n }\r\n > input[type=radio],\r\n input[type=checkbox] {\r\n margin-right: 1%;\r\n }\r\n ul {\r\n margin-right: 1%;\r\n }\r\n }\r\n .label-left {\r\n // > label {\r\n // margin: 0;\r\n // }\r\n // > input,\r\n // textarea,\r\n // select,\r\n // .pikaday__container {\r\n // // margin-left: 1%;\r\n // }\r\n // > input[type=radio],\r\n // input[type=checkbox] {\r\n // margin-left: 1%;\r\n // }\r\n // ul {\r\n // margin-left: 15px;\r\n // }\r\n }\r\n}\r\n","/* Column Classes\r\n Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css\r\n--------------------------------------------- */\r\n\r\n.five-sixths,\r\n.four-sixths,\r\n.one-fourth,\r\n.one-half,\r\n.one-sixth,\r\n.one-third,\r\n.three-fourths,\r\n.three-sixths,\r\n.two-fourths,\r\n.two-sixths,\r\n.two-thirds {\r\n clear: initial;\r\n float: left;\r\n margin-left: 2.564102564102564%;\r\n .inside {\r\n padding: 20px;\r\n }\r\n &::after {\r\n clear: both;\r\n content: \"\";\r\n display: block;\r\n }\r\n}\r\n\r\n.one-half,\r\n.three-sixths,\r\n.two-fourths {\r\n width: 48.717948717948715%;\r\n}\r\n\r\n.one-third,\r\n.two-sixths {\r\n width: 31.623931623931625%;\r\n}\r\n\r\n.four-sixths,\r\n.two-thirds {\r\n width: 65.81196581196582%;\r\n}\r\n\r\n.one-fourth {\r\n width: 23.076923076923077%;\r\n}\r\n\r\n.three-fourths {\r\n width: 74.35897435897436%;\r\n}\r\n\r\n.one-sixth {\r\n width: 14.52991452991453%;\r\n}\r\n\r\n.five-sixths {\r\n width: 82.90598290598291%;\r\n}\r\n\r\n.first {\r\n clear: both;\r\n margin-left: 0;\r\n}\r\n","input[type=checkbox].nf-toggle {\r\n background: transparent;\r\n border: 0;\r\n box-shadow: 0 0 0;\r\n margin: 10px;\r\n height: 18px;\r\n appearance: none;\r\n position: relative;\r\n cursor: pointer;\r\n &::after {\r\n background: #BCBDBF;\r\n border: 2px solid #BCBDBF;\r\n border-radius: 20px;\r\n content: \"\";\r\n position: absolute;\r\n top: -4px;\r\n left: -4px;\r\n width: 46px;\r\n height: 24px;\r\n transition: all 0.3s ease;\r\n }\r\n &::before {\r\n background: #fff;\r\n border-radius: 20px;\r\n content: \"\";\r\n position: absolute;\r\n top: -1px;\r\n left: 0;\r\n width: 18px;\r\n height: 18px;\r\n z-index: 99;\r\n transition: all 0.3s ease;\r\n }\r\n &:checked {\r\n &::after {\r\n background: lightgreen;\r\n border: 2px solid lightgreen;\r\n transition: all 0.3s ease;\r\n }\r\n &::before {\r\n top: -1px;\r\n left: 20px;\r\n transition: all 0.3s ease;\r\n }\r\n }\r\n .label-right & {\r\n padding: 0 50px 0 0;\r\n }\r\n .label-left & {\r\n padding: 0;\r\n margin-left: 22px;\r\n margin-top: 20px;\r\n }\r\n}\r\n"]}
\ No newline at end of file
{"version":3,"sources":["op-spacing.scss","op-columns.scss","op-toggle.scss"],"names":[],"mappings":"AAAA,SACI,eAAiB,CACpB,AACD,sBACI,cAAgB,CACnB,AACD,iBACI,YAAa,AACb,iBAAkB,AAClB,aAAe,CAkHlB,AArHD,uBAKQ,eAAgB,AAChB,gBAAkB,CACrB,AAPL,4FAUQ,eAAgB,AAChB,SAAU,AACV,YAAc,CACjB,AAbL,2IAiBQ,WAAa,CAChB,AAlBL,4CAoBQ,YAAc,CACjB,AArBL,sCAuBQ,SAAW,CACd,AAxBL,6GA2BQ,WAAa,CAChB,AA5BL,2EAgCY,6BAA+B,AAC/B,aAAe,CAClB,AAlCT,wCA2CY,kBAAoB,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BAAkB,AAClB,eAAiB,CACpB","file":"display-opinions.css","sourcesContent":[".nf-help {\n background: none;\n}\n.nf-field-description {\n font-size: 14px;\n}\n.nf-form-content {\n padding: 5px;\n max-width: 1000px;\n margin: 0 auto;\n label {\n font-size: 18px;\n line-height: 20px;\n }\n .ninja-forms-field,\n .listselect-wrap .nf-field-element div {\n font-size: 16px;\n margin: 0;\n padding: 12px;\n }\n input.ninja-forms-field,\n select.ninja-forms-field,\n .listselect-wrap .nf-field-element div {\n height: 50px;\n }\n textarea.ninja-forms-field {\n height: 200px;\n }\n hr.ninja-forms-field {\n padding: 0;\n }\n input[type=\"radio\"].ninja-forms-field,\n input[type=\"checkbox\"].ninja-forms-field {\n height: auto;\n }\n .listradio-wrap,\n .listcheckbox-wrap {\n li {\n margin-bottom: 12px !important;\n line-height: 0;\n }\n }\n .nf-product-field {\n &.ninja-forms-field {\n // background: transparent;\n // border: 0;\n // padding: 0;\n }\n span {\n padding-right: 16px;\n }\n .nf-field-qty {\n font-size: 16px;\n padding: 5px;\n width: 80px !important;\n }\n }\n .listselect-wrap,\n .liststate-wrap,\n .listcountry-wrap {\n select {\n //height: 50px;\n }\n }\n .nf-static {\n background: transparent;\n border: 0;\n font-weight: bold;\n padding: 0;\n }\n .label-above,\n .label-below,\n .label-hidden {\n .nf-field-label {\n margin-bottom: 10px;\n padding: 0;\n }\n }\n .label-below {\n .nf-field-label {\n margin-bottom: 0;\n margin-top: 10px;\n }\n }\n .label-right {\n .nf-field-label {\n margin: 0;\n }\n > input,\n textarea,\n select,\n .nf-product-field,\n .starrating,\n .nf-static,\n .pikaday__container {\n // margin-right: 1%;\n }\n > input[type=radio],\n input[type=checkbox] {\n margin-right: 1%;\n }\n ul {\n margin-right: 1%;\n }\n }\n .label-left {\n // > label {\n // margin: 0;\n // }\n // > input,\n // textarea,\n // select,\n // .pikaday__container {\n // // margin-left: 1%;\n // }\n // > input[type=radio],\n // input[type=checkbox] {\n // margin-left: 1%;\n // }\n // ul {\n // margin-left: 15px;\n // }\n }\n}\n","/* Column Classes\n Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css\n--------------------------------------------- */\n\n.five-sixths,\n.four-sixths,\n.one-fourth,\n.one-half,\n.one-sixth,\n.one-third,\n.three-fourths,\n.three-sixths,\n.two-fourths,\n.two-sixths,\n.two-thirds {\n clear: initial;\n float: left;\n margin-left: 2.564102564102564%;\n .inside {\n padding: 20px;\n }\n &::after {\n clear: both;\n content: \"\";\n display: block;\n }\n}\n\n.one-half,\n.three-sixths,\n.two-fourths {\n width: 48.717948717948715%;\n}\n\n.one-third,\n.two-sixths {\n width: 31.623931623931625%;\n}\n\n.four-sixths,\n.two-thirds {\n width: 65.81196581196582%;\n}\n\n.one-fourth {\n width: 23.076923076923077%;\n}\n\n.three-fourths {\n width: 74.35897435897436%;\n}\n\n.one-sixth {\n width: 14.52991452991453%;\n}\n\n.five-sixths {\n width: 82.90598290598291%;\n}\n\n.first {\n clear: both;\n margin-left: 0;\n}\n","input[type=checkbox].nf-toggle {\n background: transparent;\n border: 0;\n box-shadow: 0 0 0;\n margin: 10px;\n height: 18px;\n appearance: none;\n position: relative;\n cursor: pointer;\n &::after {\n background: #BCBDBF;\n border: 2px solid #BCBDBF;\n border-radius: 20px;\n content: \"\";\n position: absolute;\n top: -4px;\n left: -4px;\n width: 46px;\n height: 24px;\n transition: all 0.3s ease;\n }\n &::before {\n background: #fff;\n border-radius: 20px;\n content: \"\";\n position: absolute;\n top: -1px;\n left: 0;\n width: 18px;\n height: 18px;\n z-index: 99;\n transition: all 0.3s ease;\n }\n &:checked {\n &::after {\n background: lightgreen;\n border: 2px solid lightgreen;\n transition: all 0.3s ease;\n }\n &::before {\n top: -1px;\n left: 20px;\n transition: all 0.3s ease;\n }\n }\n .label-right & {\n padding: 0 50px 0 0;\n }\n .label-left & {\n padding: 0;\n margin-left: 22px;\n margin-top: 20px;\n }\n}\n"]}
\ No newline at end of file
{"version":3,"sources":["st-defaults.scss","editor.scss","st-loading.sc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Y,UAAY,CACf,AA3BT,6BA8BQ,SAAW,CACd,AAKL,kDAGQ,0BAAA,AAAuB,sBAAA,AACvB,mBAAA,AAAgB,cAAA,CACnB,AALL,8DAOQ,SAAU,AACV,UAAY,CACf,AAWL,+QAMY,qBAAA,AAAwB,sBAAA,CAC3B,AAPT,uFAWY,cAAgB,CACnB,AAZT,0FAgBQ,aAAe,CAMlB,AAtBL,kKAkBY,cAAe,AACf,SAAU,AACV,UAAY,CACf","file":"display-structure.css","sourcesContent":["/*\r\n * Ninja Forms - Form Display Structure\r\n */\r\n\r\n.ninja-forms-form-wrap *,\r\n.ninja-forms-form-wrap *:after,\r\n.ninja-forms-form-wrap *:before {\r\n -webkit-box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n -ms-box-sizing: border-box;\r\n box-sizing: border-box;\r\n}\r\n\r\n.nf-response-msg {\r\n display: none;\r\n}\r\n\r\n.nf-field-container,\r\n#ninja_forms_required_items {\r\n clear: both;\r\n position: relative;\r\n margin-bottom: 25px;\r\n &::after {\r\n clear: both;\r\n content: \"\";\r\n display: block;\r\n }\r\n &.hidden-container,\r\n &.hr-container {\r\n margin: 0;\r\n height: auto;\r\n .nf-field-label {\r\n display: none;\r\n }\r\n }\r\n &.html-container {\r\n .nf-field-label {\r\n display: none;\r\n }\r\n }\r\n}\r\n\r\n.nf-field-label {\r\n label {\r\n font-weight: bold;\r\n margin: 0;\r\n padding: 0;\r\n }\r\n}\r\n.nf-field-element {\r\n position: relative;\r\n input,\r\n select,\r\n textarea {\r\n margin: 0;\r\n width: auto;\r\n height: auto;\r\n vertical-align: inherit;\r\n }\r\n textarea {\r\n height: 200px;\r\n }\r\n}\r\n.nf-field-description {\r\n p:last-child {\r\n margin: 0;\r\n }\r\n}\r\n.nf-help {\r\n background: url( '../img/help-info.png' ) no-repeat;\r\n display: inline-block;\r\n width: 16px;\r\n height: 16px;\r\n}\r\n\r\n.nf-input-limit {\r\n font-size: 12px;\r\n margin-top: 5px;\r\n}\r\n.nf-static {\r\n padding: 0 10px;\r\n}\r\n.nf-after-field {\r\n .nf-error-msg {\r\n margin-right: 10px;\r\n //text-align: right;\r\n }\r\n}\r\n\r\n/* ---------------------------------\r\nCHECKBOX FIELD\r\n----------------------------------*/\r\n\r\n\r\n\r\n/* ---------------------------------\r\nRADIO & CHECKBOX LISTS\r\n----------------------------------*/\r\n\r\n.list-radio-wrap,\r\n.list-checkbox-wrap {\r\n .nf-field-element {\r\n ul, li {\r\n list-style: none !important;\r\n margin: 0 !important;\r\n padding: 0 !important;\r\n input {\r\n margin-right: 5px;\r\n }\r\n }\r\n li {\r\n padding-left: 10px;\r\n margin: 0 0 5px !important;\r\n text-indent: initial !important;\r\n label {\r\n //display: inline;\r\n display: block;\r\n float: initial;\r\n //margin: 0;\r\n width: auto;\r\n margin-left: 1.5em;\r\n }\r\n input {\r\n width: auto !important;\r\n float: left;\r\n margin-top: .25em;\r\n }\r\n }\r\n }\r\n}\r\n\r\n/* ---------------------------------\r\nPRODUCT FIELD\r\n----------------------------------*/\r\n.product-wrap {\r\n > div {\r\n input {\r\n width: 80px !important;\r\n }\r\n .nf-product-field {\r\n span {\r\n padding: 0 5px;\r\n }\r\n }\r\n }\r\n}\r\n\r\n/* ---------------------------------\r\nSTAR RATING\r\n----------------------------------*/\r\n.starrating-wrap .star {\r\n border-bottom: 0;\r\n}\r\n\r\n/* ---------------------------------\r\nHONEYPOT\r\n----------------------------------*/\r\n\r\n.nf-form-hp {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n\r\n/* ---------------------------------\r\nSELECT LIST\r\n----------------------------------*/\r\n.list-select-wrap {\r\n div div {\r\n display: none;\r\n }\r\n}\r\n\r\n\r\n/* ---------------------------------\r\nCOLORS\r\nAs minimal as possible\r\n----------------------------------*/\r\n.ninja-forms-req-symbol,\r\n.nf-error-msg, {\r\n color: #E80000;\r\n}\r\n.nf-error {\r\n .ninja-forms-field {\r\n border: 1px solid #E80000;\r\n }\r\n}\r\n.nf-field-submit-error {\r\n padding: 15px;\r\n}\r\n\r\n.ninja-forms-noscript-message {\r\n background: #f1f1f1;\r\n border: 4px dashed #ccc;\r\n color: #333;\r\n display: block;\r\n font-size: 20px;\r\n margin: 20px 0;\r\n padding: 40px;\r\n text-align: center;\r\n}\r\n\r\n/* ---------------------------------\r\nHELPER CLASSES\r\n----------------------------------*/\r\n.two-col-list {\r\n ul {\r\n li {\r\n float: left;\r\n width: 50%\r\n }\r\n }\r\n}\r\n.three-col-list {\r\n ul {\r\n li {\r\n float: left;\r\n width: 33.33%\r\n }\r\n }\r\n}\r\n.four-col-list {\r\n ul {\r\n li {\r\n float: left;\r\n width: 25%\r\n }\r\n }\r\n}\r\n.five-col-list {\r\n ul {\r\n li {\r\n float: left;\r\n width: 20%\r\n }\r\n }\r\n}\r\n.six-col-list {\r\n ul {\r\n li {\r\n float: left;\r\n width: 16.66%\r\n }\r\n }\r\n}\r\n\r\n\r\nbody {\r\n .pika-label {\r\n background: transparent;\r\n }\r\n}\r\n\r\n/* Column Classes\r\n Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css\r\n--------------------------------------------- */\r\n.nf-form-cont {\r\n .five-sixths,\r\n .four-sixths,\r\n .one-fourth,\r\n .one-half,\r\n .one-sixth,\r\n .one-third,\r\n .three-fourths,\r\n .three-sixths,\r\n .two-fourths,\r\n .two-sixths,\r\n .two-thirds {\r\n clear: initial;\r\n float: left;\r\n margin-left: 2.564102564102564%;\r\n .inside {\r\n padding: 20px;\r\n }\r\n &::after {\r\n clear: both;\r\n content: \"\";\r\n display: block;\r\n }\r\n }\r\n\r\n .one-half,\r\n .three-sixths,\r\n .two-fourths {\r\n width: 48.717948717948715%;\r\n }\r\n\r\n .one-third,\r\n .two-sixths {\r\n width: 31.623931623931625%;\r\n }\r\n\r\n .four-sixths,\r\n .two-thirds {\r\n width: 65.81196581196582%;\r\n }\r\n\r\n .one-fourth {\r\n width: 23.076923076923077%;\r\n }\r\n\r\n .three-fourths {\r\n width: 74.35897435897436%;\r\n }\r\n\r\n .one-sixth {\r\n width: 14.52991452991453%;\r\n }\r\n\r\n .five-sixths {\r\n width: 82.90598290598291%;\r\n }\r\n\r\n .first {\r\n clear: both;\r\n margin-left: 0;\r\n }\r\n}\r\n",".note-popover {\r\n display: none !important;\r\n}\r\n.nf-form-wrap {\r\n .note-editor {\r\n border: 0 !important;\r\n .note-toolbar {\r\n &::after {\r\n clear: both;\r\n content: \"\";\r\n display: block;\r\n }\r\n }\r\n .note-editable {\r\n background: #f9f9f9;\r\n border: 1px solid #f1f1f1;\r\n display: block;\r\n p {\r\n font-size: 16px;\r\n }\r\n ul {\r\n list-style-type: disc;\r\n margin-left: 2em;\r\n }\r\n table {\r\n td {\r\n border: 1px solid #ccc;\r\n width: auto;\r\n }\r\n }\r\n }\r\n .modal {\r\n display: none;\r\n }\r\n .btn-group {\r\n float: left;\r\n &.note-tools {\r\n float: right;\r\n }\r\n }\r\n .btn {\r\n background: #f9f9f9;\r\n border: 0;\r\n border-radius: 4px;\r\n color: #666;\r\n cursor: pointer;\r\n margin-right: 2px;\r\n padding-top: 4px;\r\n &.disabled {\r\n background: transparent;\r\n color: #aaa;\r\n .merge-tags {\r\n background: #f9f9f9;\r\n color: #666;\r\n }\r\n }\r\n }\r\n button[type=button] {\r\n padding: 4px;\r\n width: auto;\r\n height: auto;\r\n }\r\n .dropdown-toggle {\r\n position: relative;\r\n display: inline-block;\r\n top: 0;\r\n &::after {\r\n content: \"\";\r\n width: 0;\r\n }\r\n }\r\n }\r\n .tooltip {\r\n position: absolute;\r\n z-index: 1070;\r\n display: block;\r\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\r\n font-size: 12px;\r\n font-style: normal;\r\n font-weight: normal;\r\n line-height: 1.42857143;\r\n text-align: left;\r\n text-align: start;\r\n text-decoration: none;\r\n text-shadow: none;\r\n text-transform: none;\r\n letter-spacing: normal;\r\n word-break: normal;\r\n word-spacing: normal;\r\n word-wrap: normal;\r\n white-space: normal;\r\n filter: alpha(opacity=0);\r\n opacity: 0;\r\n\r\n line-break: auto;\r\n }\r\n .tooltip.in {\r\n filter: alpha(opacity=90);\r\n opacity: .9;\r\n }\r\n .tooltip.top {\r\n padding: 5px 0;\r\n margin-top: -3px;\r\n }\r\n .tooltip.right {\r\n padding: 0 5px;\r\n margin-left: 3px;\r\n }\r\n .tooltip.bottom {\r\n padding: 5px 0;\r\n margin-top: 3px;\r\n }\r\n .tooltip.left {\r\n padding: 0 5px;\r\n margin-left: -3px;\r\n }\r\n .tooltip-inner {\r\n max-width: 200px;\r\n padding: 3px 8px;\r\n color: #fff;\r\n text-align: center;\r\n background-color: #000;\r\n border-radius: 4px;\r\n }\r\n .tooltip-arrow {\r\n position: absolute;\r\n width: 0;\r\n height: 0;\r\n border-color: transparent;\r\n border-style: solid;\r\n }\r\n .tooltip.top .tooltip-arrow {\r\n bottom: 0;\r\n left: 50%;\r\n margin-left: -5px;\r\n border-width: 5px 5px 0;\r\n border-top-color: #000;\r\n }\r\n .tooltip.top-left .tooltip-arrow {\r\n right: 5px;\r\n bottom: 0;\r\n margin-bottom: -5px;\r\n border-width: 5px 5px 0;\r\n border-top-color: #000;\r\n }\r\n .tooltip.top-right .tooltip-arrow {\r\n bottom: 0;\r\n left: 5px;\r\n margin-bottom: -5px;\r\n border-width: 5px 5px 0;\r\n border-top-color: #000;\r\n }\r\n .tooltip.right .tooltip-arrow {\r\n top: 50%;\r\n left: 0;\r\n margin-top: -5px;\r\n border-width: 5px 5px 5px 0;\r\n border-right-color: #000;\r\n }\r\n .tooltip.left .tooltip-arrow {\r\n top: 50%;\r\n right: 0;\r\n margin-top: -5px;\r\n border-width: 5px 0 5px 5px;\r\n border-left-color: #000;\r\n }\r\n .tooltip.bottom .tooltip-arrow {\r\n top: 0;\r\n left: 50%;\r\n margin-left: -5px;\r\n border-width: 0 5px 5px;\r\n border-bottom-color: #000;\r\n }\r\n .tooltip.bottom-left .tooltip-arrow {\r\n top: 0;\r\n right: 5px;\r\n margin-top: -5px;\r\n border-width: 0 5px 5px;\r\n border-bottom-color: #000;\r\n }\r\n .tooltip.bottom-right .tooltip-arrow {\r\n top: 0;\r\n left: 5px;\r\n margin-top: -5px;\r\n border-width: 0 5px 5px;\r\n border-bottom-color: #000;\r\n }\r\n .dropdown-menu {\r\n position: absolute;\r\n // top: 100%;\r\n // left: 0;\r\n z-index: 1000;\r\n display: none;\r\n float: left;\r\n min-width: 160px;\r\n padding: 5px 0;\r\n margin: 2px 0 0;\r\n font-size: 14px;\r\n text-align: left;\r\n list-style: none;\r\n background-color: #fff;\r\n -webkit-background-clip: padding-box;\r\n background-clip: padding-box;\r\n border: 1px solid #ccc;\r\n border: 1px solid rgba(0, 0, 0, .15);\r\n border-radius: 4px;\r\n -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\r\n box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\r\n }\r\n .dropdown-menu.pull-right {\r\n right: 0;\r\n left: auto;\r\n }\r\n .dropdown-menu .divider {\r\n height: 1px;\r\n margin: 9px 0;\r\n overflow: hidden;\r\n background-color: #e5e5e5;\r\n }\r\n .dropdown-menu > li > a {\r\n display: block;\r\n padding: 3px 20px;\r\n clear: both;\r\n font-weight: normal;\r\n line-height: 1.42857143;\r\n color: #333;\r\n white-space: nowrap;\r\n }\r\n .dropdown-menu > li > a:hover,\r\n .dropdown-menu > li > a:focus {\r\n color: #262626;\r\n text-decoration: none;\r\n background-color: #f5f5f5;\r\n }\r\n .dropdown-menu > .active > a,\r\n .dropdown-menu > .active > a:hover,\r\n .dropdown-menu > .active > a:focus {\r\n color: #fff;\r\n text-decoration: none;\r\n background-color: #337ab7;\r\n outline: 0;\r\n }\r\n .dropdown-menu > .disabled > a,\r\n .dropdown-menu > .disabled > a:hover,\r\n .dropdown-menu > .disabled > a:focus {\r\n color: #777;\r\n }\r\n .dropdown-menu > .disabled > a:hover,\r\n .dropdown-menu > .disabled > a:focus {\r\n text-decoration: none;\r\n cursor: not-allowed;\r\n background-color: transparent;\r\n background-image: none;\r\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\r\n }\r\n .open > .dropdown-menu {\r\n display: block;\r\n }\r\n .open > a {\r\n outline: 0;\r\n }\r\n .dropdown-menu-right {\r\n right: 0;\r\n left: auto;\r\n }\r\n .dropdown-menu-left {\r\n right: auto;\r\n left: 0;\r\n }\r\n .dropdown-header {\r\n display: block;\r\n padding: 3px 20px;\r\n font-size: 12px;\r\n line-height: 1.42857143;\r\n color: #777;\r\n white-space: nowrap;\r\n }\r\n .dropdown-backdrop {\r\n position: fixed;\r\n top: 0;\r\n right: 0;\r\n bottom: 0;\r\n left: 0;\r\n z-index: 990;\r\n }\r\n .pull-right > .dropdown-menu {\r\n right: 0;\r\n left: auto;\r\n }\r\n .dropup .caret,\r\n .navbar-fixed-bottom .dropdown .caret {\r\n content: \"\";\r\n border-top: 0;\r\n border-bottom: 4px dashed;\r\n border-bottom: 4px solid \\9;\r\n }\r\n .dropup .dropdown-menu,\r\n .navbar-fixed-bottom .dropdown .dropdown-menu {\r\n top: auto;\r\n bottom: 100%;\r\n margin-bottom: 2px;\r\n }\r\n @media (min-width: 768px) {\r\n .navbar-right .dropdown-menu {\r\n right: 0;\r\n left: auto;\r\n }\r\n .navbar-right .dropdown-menu-left {\r\n right: auto;\r\n left: 0;\r\n }\r\n }\r\n .btn-group-justified > .btn-group .dropdown-menu {\r\n left: auto;\r\n }\r\n .nav-tabs.nav-justified > .dropdown .dropdown-menu {\r\n top: auto;\r\n left: auto;\r\n }\r\n .nav-justified > .dropdown .dropdown-menu {\r\n top: auto;\r\n left: auto;\r\n }\r\n .nav-tabs .dropdown-menu {\r\n margin-top: -1px;\r\n border-top-left-radius: 0;\r\n border-top-right-radius: 0;\r\n }\r\n @media (max-width: 767px) {\r\n .navbar-nav .open .dropdown-menu {\r\n position: static;\r\n float: none;\r\n width: auto;\r\n margin-top: 0;\r\n background-color: transparent;\r\n border: 0;\r\n -webkit-box-shadow: none;\r\n box-shadow: none;\r\n }\r\n .navbar-nav .open .dropdown-menu > li > a,\r\n .navbar-nav .open .dropdown-menu .dropdown-header {\r\n padding: 5px 15px 5px 25px;\r\n }\r\n .navbar-nav .open .dropdown-menu > li > a {\r\n line-height: 20px;\r\n }\r\n .navbar-nav .open .dropdown-menu > li > a:hover,\r\n .navbar-nav .open .dropdown-menu > li > a:focus {\r\n background-image: none;\r\n }\r\n }\r\n .navbar-nav > li > .dropdown-menu {\r\n margin-top: 0;\r\n border-top-left-radius: 0;\r\n border-top-right-radius: 0;\r\n }\r\n .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\r\n margin-bottom: 0;\r\n border-top-left-radius: 4px;\r\n border-top-right-radius: 4px;\r\n border-bottom-right-radius: 0;\r\n border-bottom-left-radius: 0;\r\n }\r\n @media (max-width: 767px) {\r\n .navbar-default .navbar-nav .open .dropdown-menu > li > a {\r\n color: #777;\r\n }\r\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\r\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\r\n color: #333;\r\n background-color: transparent;\r\n }\r\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\r\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\r\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\r\n color: #555;\r\n background-color: #e7e7e7;\r\n }\r\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\r\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\r\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\r\n color: #ccc;\r\n background-color: transparent;\r\n }\r\n }\r\n @media (max-width: 767px) {\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\r\n border-color: #080808;\r\n }\r\n .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\r\n background-color: #080808;\r\n }\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\r\n color: #9d9d9d;\r\n }\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\r\n color: #fff;\r\n background-color: transparent;\r\n }\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\r\n color: #fff;\r\n background-color: #080808;\r\n }\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\r\n color: #444;\r\n background-color: transparent;\r\n }\r\n }\r\n}\r\n",".nf-loading-spinner {\r\n width: 40px;\r\n height: 40px;\r\n margin: 100px auto;\r\n background-color: rgba(208,208,208,.5);\r\n\r\n border-radius: 100%;\r\n animation: nf-scaleout 1.0s infinite ease-in-out;\r\n}\r\n\r\n@-webkit-keyframes nf-scaleout {\r\n 0% { transform: scale(0) }\r\n 100% {\r\n transform: scale(1.0);\r\n opacity: 0;\r\n }\r\n}\r\n\r\n@keyframes nf-scaleout {\r\n 0% {\r\n transform: scale(0);\r\n } 100% {\r\n transform: scale(1.0);\r\n opacity: 0;\r\n }\r\n}","/* ---------------------------------\r\nSTANDARDIZE ALL FIELDS\r\n----------------------------------*/\r\n.field-wrap {\r\n display: flex;\r\n //flex-wrap:wrap;\r\n > label {\r\n display: block;\r\n }\r\n > div input,\r\n textarea,\r\n select,\r\n .pikaday__container,\r\n .pikaday__display {\r\n width: 100%;\r\n }\r\n > div input[type=\"checkbox\"] {\r\n width: auto;\r\n }\r\n input[type=\"submit\"],\r\n input[type=\"button\"],\r\n button {\r\n width: auto;\r\n }\r\n .nf-product-field {\r\n // .nf-element {\r\n // width: 100%;\r\n // }\r\n }\r\n}\r\n\r\n.nf-field-label {\r\n order: 5;\r\n}\r\n.nf-field-description {\r\n width: 100%;\r\n order: 10;\r\n}\r\n.nf-field-element {\r\n order: 15;\r\n}\r\n\r\n\r\n/* ---------------------------------\r\nLABEL ABOVE\r\n----------------------------------*/\r\n.label-above {\r\n .nf-field-label {\r\n margin-bottom: 10px;\r\n }\r\n}\r\n\r\n/* ---------------------------------\r\nLABEL BELOW\r\n----------------------------------*/\r\n.label-below {\r\n .nf-field-label {\r\n margin-top: 10px;\r\n order: 15;\r\n }\r\n .nf-field-element {\r\n order: 5;\r\n }\r\n}\r\n\r\n/* ---------------------------------\r\nLABEL HIDDEN\r\n----------------------------------*/\r\n.label-hidden {\r\n .field-wrap {\r\n flex-wrap: wrap;\r\n }\r\n .nf-field-label {\r\n height: 0;\r\n margin: 0 !important;\r\n width: 100%;\r\n visibility: hidden;\r\n }\r\n .nf-field-description {\r\n width: 100%;\r\n order: 20;\r\n }\r\n .nf-field-element {\r\n width: 100%;\r\n }\r\n}\r\n\r\n/* ---------------------------------\r\nLABEL LEFT\r\n----------------------------------*/\r\n.label-left {\r\n .field-wrap {\r\n flex-direction: row;\r\n flex-wrap: wrap;\r\n }\r\n .nf-field-label {\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n padding-right: 2%;\r\n text-align: right;\r\n width: 35%;\r\n order: 5;\r\n label {\r\n width: 100%;\r\n }\r\n }\r\n .nf-field-description {\r\n margin-left: 35%;\r\n }\r\n .nf-field-element {\r\n display: inline-block;\r\n width: 65%;\r\n order: 10;\r\n }\r\n .nf-after-field {\r\n margin-left: 36.5%;\r\n }\r\n}\r\n\r\n/* ---------------------------------\r\nLABEL RIGHT\r\n----------------------------------*/\r\n.label-right {\r\n .field-wrap {\r\n flex-direction: row;\r\n }\r\n .nf-field-label {\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n padding-left: 2%;\r\n width: 35%;\r\n order: 10;\r\n }\r\n .nf-field-description {\r\n margin-right: 35%;\r\n order: 15;\r\n }\r\n .nf-field-element {\r\n display: inline-block;\r\n width: 65%;\r\n order: 5;\r\n }\r\n .checkbox-wrap {\r\n .nf-field-label {\r\n width: auto;\r\n }\r\n .nf-field-element {\r\n width: 20px;\r\n }\r\n }\r\n .nf-after-field {\r\n width: 65%;\r\n }\r\n}\r\n/* ---------------------------------\r\nADJUST SOME LABEL ABOVE & BELOW ISSUES\r\n----------------------------------*/\r\n.label-below,\r\n.label-above {\r\n .field-wrap {\r\n flex-direction: column;\r\n flex-flow: wrap;\r\n }\r\n .nf-field-element {\r\n margin: 0;\r\n width: 100%;\r\n }\r\n .checkbox-wrap {\r\n .nf-field-label {\r\n //margin: 0;\r\n }\r\n }\r\n}\r\n\r\n/* ---------------------------------\r\nADJUST SOME LABEL LEFT & RIGHT ISSUES\r\n----------------------------------*/\r\n.label-left,\r\n.label-right {\r\n .textarea-wrap,\r\n .listradio-wrap,\r\n .listcheckbox-wrap {\r\n .nf-field-label {\r\n align-items: flex-start;\r\n }\r\n }\r\n .textarea-wrap {\r\n .nf-field-label {\r\n margin-top: 5px;\r\n }\r\n }\r\n .html-wrap,\r\n .hr-wrap {\r\n display: block;\r\n .nf-field-element {\r\n display: block;\r\n margin: 0;\r\n width: 100%;\r\n }\r\n }\r\n}\r\n\r\n/* ---------------------------------\r\nFIELD DESCRIPTION POSITIONS\r\n----------------------------------*/\r\n"]}
\ No newline at end of file
{"version":3,"sources":["st-defaults.scss","editor.scss","st-loading.scss","st-label-positions.scss"],"names":[],"mappings":"AAIA,sFAKI,0BAA2B,AAC3B,qBAAuB,CAC1B,AAED,iBACI,YAAc,CACjB,AAED,gDAEI,WAAY,AACZ,kBAAmB,AACnB,kBAAoB,CAmBvB,AAvBD,4DAMQ,WAAY,AACZ,WAAY,AACZ,aAAe,CAClB,AATL,4JAYQ,SAAU,AACV,WAAa,CAIhB,AAjBL,0UAoBY,YAAc,CACjB,AAIT,sBAEQ,gBAAkB,AAClB,SAAU,AACV,SAAW,CACd,AAEL,kBACI,iBAAmB,CAYtB,AAbD,4EAKQ,SAAU,AACV,WAAY,AACZ,YAAa,AACb,sBA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AAHL,8BAKQ,SAAU,AACV,mBAAqB,AACrB,WAAY,AACZ,iBAAmB,CACtB,AATL,oCAWQ,WAAY,AACZ,kBAAA,AAAU,QAAA,CACb,AAbL,gCAeQ,UAAY,CACf,AAML,wBAEQ,uBAAA,AAAoB,mBAAA,AACpB,mBAAA,AAAgB,cAAA,CACnB,AAJL,4BAMQ,oBAAA,AAAc,aAAA,AACd,uBAAA,AAAoB,mBAAA,AACpB,sBAAA,AAAoB,mBAAA,AACpB,iBAAkB,AAClB,iBAAkB,AAClB,UAAW,AACX,iBAAA,AAAS,OAAA,CAIZ,AAhBL,kCAcY,UAAY,CACf,AAfT,kCAkBQ,eAAiB,CACpB,AAnBL,8BAqBQ,qBAAsB,AACtB,UAAW,AACX,kBAAA,AAAU,QAAA,CACb,AAxBL,4BA0BQ,iBAAmB,CACtB,AAML,sDAEQ,uBAAA,AAAoB,kBAAA,CAF5B,AAWK,6BANG,oBAAA,AAAc,aAAA,AAEd,sBAAA,AAAoB,mBAAA,AACpB,gBAAiB,AACjB,UAAW,AACX,kBAAA,AAAU,QAAA,CACb,AAXL,mCAaQ,iBAAkB,AAClB,kBAAA,AAAU,QAAA,CACb,AAfL,+BAiBQ,qBAAsB,AACtB,UAAW,AACX,iBAAA,AAAS,OAAA,CACZ,AApBL,4CAuBY,UAAY,CACf,AAxBT,8CA0BY,UAAY,CACf,AA3BT,6BA8BQ,SAAW,CACd,AAKL,kDAGQ,0BAAA,AAAuB,sBAAA,AACvB,mBAAA,AAAgB,cAAA,CACnB,AALL,8DAOQ,SAAU,AACV,UAAY,CACf,AAWL,+QAMY,qBAAA,AAAwB,sBAAA,CAC3B,AAPT,uFAWY,cAAgB,CACnB,AAZT,0FAgBQ,aAAe,CAMlB,AAtBL,kKAkBY,cAAe,AACf,SAAU,AACV,UAAY,CACf","file":"display-structure.css","sourcesContent":["/*\n * Ninja Forms - Form Display Structure\n */\n\n.ninja-forms-form-wrap *,\n.ninja-forms-form-wrap *:after,\n.ninja-forms-form-wrap *:before {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n -ms-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n.nf-response-msg {\n display: none;\n}\n\n.nf-field-container,\n#ninja_forms_required_items {\n clear: both;\n position: relative;\n margin-bottom: 25px;\n &::after {\n clear: both;\n content: \"\";\n display: block;\n }\n &.hidden-container,\n &.hr-container {\n margin: 0;\n height: auto;\n .nf-field-label {\n display: none;\n }\n }\n &.html-container {\n .nf-field-label {\n display: none;\n }\n }\n}\n\n.nf-field-label {\n label {\n font-weight: bold;\n margin: 0;\n padding: 0;\n }\n}\n.nf-field-element {\n position: relative;\n input,\n select,\n textarea {\n margin: 0;\n width: auto;\n height: auto;\n vertical-align: inherit;\n }\n textarea {\n height: 200px;\n }\n}\n.nf-field-description {\n p:last-child {\n margin: 0;\n }\n}\n.nf-help {\n background: url( '../img/help-info.png' ) no-repeat;\n display: inline-block;\n width: 16px;\n height: 16px;\n}\n\n.nf-input-limit {\n font-size: 12px;\n margin-top: 5px;\n}\n.nf-static {\n padding: 0 10px;\n}\n.nf-after-field {\n .nf-error-msg {\n margin-right: 10px;\n //text-align: right;\n }\n}\n\n/* ---------------------------------\nCHECKBOX FIELD\n----------------------------------*/\n\n\n\n/* ---------------------------------\nRADIO & CHECKBOX LISTS\n----------------------------------*/\n\n.list-radio-wrap,\n.list-checkbox-wrap {\n .nf-field-element {\n ul, li {\n list-style: none !important;\n margin: 0 !important;\n padding: 0 !important;\n input {\n margin-right: 5px;\n }\n }\n li {\n padding-left: 10px;\n margin: 0 0 5px !important;\n text-indent: initial !important;\n label {\n //display: inline;\n display: block;\n float: initial;\n //margin: 0;\n width: auto;\n margin-left: 1.5em;\n }\n input {\n width: auto !important;\n float: left;\n margin-top: .25em;\n }\n }\n }\n}\n\n/* ---------------------------------\nPRODUCT FIELD\n----------------------------------*/\n.product-wrap {\n > div {\n input {\n width: 80px !important;\n }\n .nf-product-field {\n span {\n padding: 0 5px;\n }\n }\n }\n}\n\n/* ---------------------------------\nSTAR RATING\n----------------------------------*/\n.starrating-wrap .star {\n border-bottom: 0;\n}\n\n/* ---------------------------------\nHONEYPOT\n----------------------------------*/\n\n.nf-form-hp {\n position: absolute;\n visibility: hidden;\n}\n\n/* ---------------------------------\nSELECT LIST\n----------------------------------*/\n.list-select-wrap {\n div div {\n display: none;\n }\n}\n\n\n/* ---------------------------------\nCOLORS\nAs minimal as possible\n----------------------------------*/\n.ninja-forms-req-symbol,\n.nf-error-msg, {\n color: #E80000;\n}\n.nf-error {\n .ninja-forms-field {\n border: 1px solid #E80000;\n }\n}\n.nf-field-submit-error {\n padding: 15px;\n}\n\n.ninja-forms-noscript-message {\n background: #f1f1f1;\n border: 4px dashed #ccc;\n color: #333;\n display: block;\n font-size: 20px;\n margin: 20px 0;\n padding: 40px;\n text-align: center;\n}\n\n/* ---------------------------------\nHELPER CLASSES\n----------------------------------*/\n.two-col-list {\n ul {\n li {\n float: left;\n width: 50%\n }\n }\n}\n.three-col-list {\n ul {\n li {\n float: left;\n width: 33.33%\n }\n }\n}\n.four-col-list {\n ul {\n li {\n float: left;\n width: 25%\n }\n }\n}\n.five-col-list {\n ul {\n li {\n float: left;\n width: 20%\n }\n }\n}\n.six-col-list {\n ul {\n li {\n float: left;\n width: 16.66%\n }\n }\n}\n\n\nbody {\n .pika-label {\n background: transparent;\n }\n}\n\n/* Column Classes\n Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css\n--------------------------------------------- */\n.nf-form-cont {\n .five-sixths,\n .four-sixths,\n .one-fourth,\n .one-half,\n .one-sixth,\n .one-third,\n .three-fourths,\n .three-sixths,\n .two-fourths,\n .two-sixths,\n .two-thirds {\n clear: initial;\n float: left;\n margin-left: 2.564102564102564%;\n .inside {\n padding: 20px;\n }\n &::after {\n clear: both;\n content: \"\";\n display: block;\n }\n }\n\n .one-half,\n .three-sixths,\n .two-fourths {\n width: 48.717948717948715%;\n }\n\n .one-third,\n .two-sixths {\n width: 31.623931623931625%;\n }\n\n .four-sixths,\n .two-thirds {\n width: 65.81196581196582%;\n }\n\n .one-fourth {\n width: 23.076923076923077%;\n }\n\n .three-fourths {\n width: 74.35897435897436%;\n }\n\n .one-sixth {\n width: 14.52991452991453%;\n }\n\n .five-sixths {\n width: 82.90598290598291%;\n }\n\n .first {\n clear: both;\n margin-left: 0;\n }\n}\n",".note-popover {\n display: none !important;\n}\n.nf-form-wrap {\n .note-editor {\n border: 0 !important;\n .note-toolbar {\n &::after {\n clear: both;\n content: \"\";\n display: block;\n }\n }\n .note-editable {\n background: #f9f9f9;\n border: 1px solid #f1f1f1;\n display: block;\n p {\n font-size: 16px;\n }\n ul {\n list-style-type: disc;\n margin-left: 2em;\n }\n table {\n td {\n border: 1px solid #ccc;\n width: auto;\n }\n }\n }\n .modal {\n display: none;\n }\n .btn-group {\n float: left;\n &.note-tools {\n float: right;\n }\n }\n .btn {\n background: #f9f9f9;\n border: 0;\n border-radius: 4px;\n color: #666;\n cursor: pointer;\n margin-right: 2px;\n padding-top: 4px;\n &.disabled {\n background: transparent;\n color: #aaa;\n .merge-tags {\n background: #f9f9f9;\n color: #666;\n }\n }\n }\n button[type=button] {\n padding: 4px;\n width: auto;\n height: auto;\n }\n .dropdown-toggle {\n position: relative;\n display: inline-block;\n top: 0;\n &::after {\n content: \"\";\n width: 0;\n }\n }\n }\n .tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n filter: alpha(opacity=0);\n opacity: 0;\n\n line-break: auto;\n }\n .tooltip.in {\n filter: alpha(opacity=90);\n opacity: .9;\n }\n .tooltip.top {\n padding: 5px 0;\n margin-top: -3px;\n }\n .tooltip.right {\n padding: 0 5px;\n margin-left: 3px;\n }\n .tooltip.bottom {\n padding: 5px 0;\n margin-top: 3px;\n }\n .tooltip.left {\n padding: 0 5px;\n margin-left: -3px;\n }\n .tooltip-inner {\n max-width: 200px;\n padding: 3px 8px;\n color: #fff;\n text-align: center;\n background-color: #000;\n border-radius: 4px;\n }\n .tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n .tooltip.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n }\n .tooltip.top-left .tooltip-arrow {\n right: 5px;\n bottom: 0;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n }\n .tooltip.top-right .tooltip-arrow {\n bottom: 0;\n left: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n }\n .tooltip.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -5px;\n border-width: 5px 5px 5px 0;\n border-right-color: #000;\n }\n .tooltip.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -5px;\n border-width: 5px 0 5px 5px;\n border-left-color: #000;\n }\n .tooltip.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n }\n .tooltip.bottom-left .tooltip-arrow {\n top: 0;\n right: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n }\n .tooltip.bottom-right .tooltip-arrow {\n top: 0;\n left: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n }\n .dropdown-menu {\n position: absolute;\n // top: 100%;\n // left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0;\n font-size: 14px;\n text-align: left;\n list-style: none;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .15);\n border-radius: 4px;\n -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n }\n .dropdown-menu.pull-right {\n right: 0;\n left: auto;\n }\n .dropdown-menu .divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n }\n .dropdown-menu > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: 1.42857143;\n color: #333;\n white-space: nowrap;\n }\n .dropdown-menu > li > a:hover,\n .dropdown-menu > li > a:focus {\n color: #262626;\n text-decoration: none;\n background-color: #f5f5f5;\n }\n .dropdown-menu > .active > a,\n .dropdown-menu > .active > a:hover,\n .dropdown-menu > .active > a:focus {\n color: #fff;\n text-decoration: none;\n background-color: #337ab7;\n outline: 0;\n }\n .dropdown-menu > .disabled > a,\n .dropdown-menu > .disabled > a:hover,\n .dropdown-menu > .disabled > a:focus {\n color: #777;\n }\n .dropdown-menu > .disabled > a:hover,\n .dropdown-menu > .disabled > a:focus {\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n background-image: none;\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n }\n .open > .dropdown-menu {\n display: block;\n }\n .open > a {\n outline: 0;\n }\n .dropdown-menu-right {\n right: 0;\n left: auto;\n }\n .dropdown-menu-left {\n right: auto;\n left: 0;\n }\n .dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: 12px;\n line-height: 1.42857143;\n color: #777;\n white-space: nowrap;\n }\n .dropdown-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 990;\n }\n .pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n }\n .dropup .caret,\n .navbar-fixed-bottom .dropdown .caret {\n content: \"\";\n border-top: 0;\n border-bottom: 4px dashed;\n border-bottom: 4px solid \\9;\n }\n .dropup .dropdown-menu,\n .navbar-fixed-bottom .dropdown .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n }\n @media (min-width: 768px) {\n .navbar-right .dropdown-menu {\n right: 0;\n left: auto;\n }\n .navbar-right .dropdown-menu-left {\n right: auto;\n left: 0;\n }\n }\n .btn-group-justified > .btn-group .dropdown-menu {\n left: auto;\n }\n .nav-tabs.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n }\n .nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n }\n .nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n @media (max-width: 767px) {\n .navbar-nav .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-nav .open .dropdown-menu > li > a,\n .navbar-nav .open .dropdown-menu .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n .navbar-nav .open .dropdown-menu > li > a {\n line-height: 20px;\n }\n .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-nav .open .dropdown-menu > li > a:focus {\n background-image: none;\n }\n }\n .navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n }\n @media (max-width: 767px) {\n .navbar-default .navbar-nav .open .dropdown-menu > li > a {\n color: #777;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #333;\n background-color: transparent;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n }\n }\n @media (max-width: 767px) {\n .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\n border-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\n color: #9d9d9d;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #fff;\n background-color: transparent;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #fff;\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n }\n }\n}\n",".nf-loading-spinner {\n width: 40px;\n height: 40px;\n margin: 100px auto;\n background-color: rgba(208,208,208,.5);\n\n border-radius: 100%;\n animation: nf-scaleout 1.0s infinite ease-in-out;\n}\n\n@-webkit-keyframes nf-scaleout {\n 0% { transform: scale(0) }\n 100% {\n transform: scale(1.0);\n opacity: 0;\n }\n}\n\n@keyframes nf-scaleout {\n 0% {\n transform: scale(0);\n } 100% {\n transform: scale(1.0);\n opacity: 0;\n }\n}","/* ---------------------------------\nSTANDARDIZE ALL FIELDS\n----------------------------------*/\n.field-wrap {\n display: flex;\n //flex-wrap:wrap;\n > label {\n display: block;\n }\n > div input,\n textarea,\n select,\n .pikaday__container,\n .pikaday__display {\n width: 100%;\n }\n > div input[type=\"checkbox\"] {\n width: auto;\n }\n input[type=\"submit\"],\n input[type=\"button\"],\n button {\n width: auto;\n }\n .nf-product-field {\n // .nf-element {\n // width: 100%;\n // }\n }\n}\n\n.nf-field-label {\n order: 5;\n}\n.nf-field-description {\n width: 100%;\n order: 10;\n}\n.nf-field-element {\n order: 15;\n}\n\n\n/* ---------------------------------\nLABEL ABOVE\n----------------------------------*/\n.label-above {\n .nf-field-label {\n margin-bottom: 10px;\n }\n}\n\n/* ---------------------------------\nLABEL BELOW\n----------------------------------*/\n.label-below {\n .nf-field-label {\n margin-top: 10px;\n order: 15;\n }\n .nf-field-element {\n order: 5;\n }\n}\n\n/* ---------------------------------\nLABEL HIDDEN\n----------------------------------*/\n.label-hidden {\n .field-wrap {\n flex-wrap: wrap;\n }\n .nf-field-label {\n height: 0;\n margin: 0 !important;\n width: 100%;\n visibility: hidden;\n }\n .nf-field-description {\n width: 100%;\n order: 20;\n }\n .nf-field-element {\n width: 100%;\n }\n}\n\n/* ---------------------------------\nLABEL LEFT\n----------------------------------*/\n.label-left {\n .field-wrap {\n flex-direction: row;\n flex-wrap: wrap;\n }\n .nf-field-label {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-right: 2%;\n text-align: right;\n width: 35%;\n order: 5;\n label {\n width: 100%;\n }\n }\n .nf-field-description {\n margin-left: 35%;\n }\n .nf-field-element {\n display: inline-block;\n width: 65%;\n order: 10;\n }\n .nf-after-field {\n margin-left: 36.5%;\n }\n}\n\n/* ---------------------------------\nLABEL RIGHT\n----------------------------------*/\n.label-right {\n .field-wrap {\n flex-direction: row;\n }\n .nf-field-label {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-left: 2%;\n width: 35%;\n order: 10;\n }\n .nf-field-description {\n margin-right: 35%;\n order: 15;\n }\n .nf-field-element {\n display: inline-block;\n width: 65%;\n order: 5;\n }\n .checkbox-wrap {\n .nf-field-label {\n width: auto;\n }\n .nf-field-element {\n width: 20px;\n }\n }\n .nf-after-field {\n width: 65%;\n }\n}\n/* ---------------------------------\nADJUST SOME LABEL ABOVE & BELOW ISSUES\n----------------------------------*/\n.label-below,\n.label-above {\n .field-wrap {\n flex-direction: column;\n flex-flow: wrap;\n }\n .nf-field-element {\n margin: 0;\n width: 100%;\n }\n .checkbox-wrap {\n .nf-field-label {\n //margin: 0;\n }\n }\n}\n\n/* ---------------------------------\nADJUST SOME LABEL LEFT & RIGHT ISSUES\n----------------------------------*/\n.label-left,\n.label-right {\n .textarea-wrap,\n .listradio-wrap,\n .listcheckbox-wrap {\n .nf-field-label {\n align-items: flex-start;\n }\n }\n .textarea-wrap {\n .nf-field-label {\n margin-top: 5px;\n }\n }\n .html-wrap,\n .hr-wrap {\n display: block;\n .nf-field-element {\n display: block;\n margin: 0;\n width: 100%;\n }\n }\n}\n\n/* ---------------------------------\nFIELD DESCRIPTION POSITIONS\n----------------------------------*/\n"]}
\ No newline at end of file
!function(){var e,t,n;!function(i){function o(e,t){return y.call(e,t)}function s(e,t){var n,i,o,s,r,a,l,c,d,u,h,m=t&&t.split("/"),f=v.map,p=f&&f["*"]||{};if(e&&"."===e.charAt(0))if(t){for(e=e.split("/"),r=e.length-1,v.nodeIdCompat&&j.test(e[r])&&(e[r]=e[r].replace(j,"")),e=m.slice(0,m.length-1).concat(e),d=0;d<e.length;d+=1)if("."===(h=e[d]))e.splice(d,1),d-=1;else if(".."===h){if(1===d&&(".."===e[2]||".."===e[0]))break;d>0&&(e.splice(d-1,2),d-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((m||p)&&f){for(n=e.split("/"),d=n.length;d>0;d-=1){if(i=n.slice(0,d).join("/"),m)for(u=m.length;u>0;u-=1)if((o=f[m.slice(0,u).join("/")])&&(o=o[i])){s=o,a=d;break}if(s)break;!l&&p&&p[i]&&(l=p[i],c=d)}!s&&l&&(s=l,a=c),s&&(n.splice(0,a,s),e=n.join("/"))}return e}function r(e,t){return function(){var n=C.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),m.apply(i,n.concat([e,t]))}}function a(e){return function(t){return s(t,e)}}function l(e){return function(t){w[e]=t}}function c(e){if(o(g,e)){var t=g[e];delete g[e],b[e]=!0,h.apply(i,t)}if(!o(w,e)&&!o(b,e))throw new Error("No "+e);return w[e]}function d(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function u(e){return function(){return v&&v.config&&v.config[e]||{}}}var h,m,f,p,w={},g={},v={},b={},y=Object.prototype.hasOwnProperty,C=[].slice,j=/\.js$/;f=function(e,t){var n,i=d(e),o=i[0];return e=i[1],o&&(o=s(o,t),n=c(o)),o?e=n&&n.normalize?n.normalize(e,a(t)):s(e,t):(e=s(e,t),i=d(e),o=i[0],e=i[1],o&&(n=c(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},p={require:function(e){return r(e)},exports:function(e){var t=w[e];return void 0!==t?t:w[e]={}},module:function(e){return{id:e,uri:"",exports:w[e],config:u(e)}}},h=function(e,t,n,s){var a,d,u,h,m,v,y=[],C=typeof n;if(s=s||e,"undefined"===C||"function"===C){for(t=!t.length&&n.length?["require","exports","module"]:t,m=0;m<t.length;m+=1)if(h=f(t[m],s),"require"===(d=h.f))y[m]=p.require(e);else if("exports"===d)y[m]=p.exports(e),v=!0;else if("module"===d)a=y[m]=p.module(e);else if(o(w,d)||o(g,d)||o(b,d))y[m]=c(d);else{if(!h.p)throw new Error(e+" missing "+d);h.p.load(h.n,r(s,!0),l(d),{}),y[m]=w[d]}u=n?n.apply(w[e],y):void 0,e&&(a&&a.exports!==i&&a.exports!==w[e]?w[e]=a.exports:u===i&&v||(w[e]=u))}else e&&(w[e]=n)},e=t=m=function(e,t,n,o,s){if("string"==typeof e)return p[e]?p[e](t):c(f(e,t).f);if(!e.splice){if(v=e,v.deps&&m(v.deps,v.callback),!t)return;t.splice?(e=t,t=n,n=null):e=i}return t=t||function(){},"function"==typeof n&&(n=o,o=s),o?h(i,e,t,n):setTimeout(function(){h(i,e,t,n)},4),m},m.config=function(e){return m(e)},e._defined=w,n=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),o(w,e)||o(g,e)||(g[e]=[e,t,n])},n.amd={jQuery:!0}}(),n("../../assets/js/lib/almond",function(){}),n("models/formModel",[],function(){return Backbone.Model.extend({defaults:{objectType:"form",id:0,title:"unknown",created_at:"unknown"},url:function(){return ajaxurl+"?action=nf_forms&form_id="+this.get("id")},initialize:function(){this.set("id",Number(this.get("id"))),this.get("id")&&this.initShortcode(this.get("id")),this.get("title")&&this.set("title",this.get("title").replace(/<\/?[^>]+(>|$)/g,""))},initShortcode:function(e){var t="[ninja_form id="+e+"]";this.set("shortcode",t)},destroy:function(){var e=this;jQuery.ajax({type:"POST",url:ajaxurl+"?action=nf_forms&method_override=delete&form_id="+this.get("id"),success:function(t){var t=JSON.parse(t);e.collection.remove(e)}})}})}),n("models/formCollection",["models/formModel"],function(e){return Backbone.Collection.extend({model:e,comparator:"title",tmpNum:1,url:function(){return ajaxurl+"?action=nf_forms"},initialize:function(){this.newIDs=[],this.baseUrl=window.location.href.split("?")[0],this.listenTo(i.channel("dashboard"),"forms:delete",this.modalConfirm),this.listenTo(i.channel("dashboard"),"forms:duplicate",this.duplicate),this.modal=new jBox("Modal",{width:400,addClass:"dashboard-modal",overlay:!0,closeOnClick:"body"})},parse:function(e,t){return e.data},modalConfirm:function(e){var t,n,i,o,s,r,a,l=e.model.get("id"),c=e.model.get("title");n=document.createElement("div"),n.style.paddingRight="20px",n.style.paddingLeft="20px",n.style.paddingBottom="20px",i=document.createElement("p"),o=document.createElement("em"),s=document.createElement("div"),r=document.createElement("div"),a=document.createElement("div"),n.classList.add("message"),o.innerHTML=c,i.innerHTML+=nfi18n.deleteWarningA+" (<strong>"+c+"</strong>). "+nfi18n.deleteWarningB,i.appendChild(document.createElement("br")),i.appendChild(document.createElement("br"));var d=document.createElement("a");d.href=this.baseUrl+"?page=nf-import-export&exportFormId="+l,d.innerHTML='<i class="fa fa-download" style="padding:5px;"></i>'+nfi18n.deleteXForm,d.target="_blank",i.appendChild(d),i.appendChild(document.createElement("br"));var u=document.createElement("a");u.href=this.baseUrl+"?page=nf-processing&action=download_all_subs&form_id="+l+"&redirect="+encodeURIComponent(this.baseUrl.replace("admin.php","edit.php")+"?post_status=all&post_type=nf_sub&form_id="+l),u.target="_blank",u.innerHTML='<i class="fa fa-download" style="padding:5px;"></i>'+nfi18n.deleteXSubs,i.appendChild(u),i.appendChild(document.createElement("br")),n.appendChild(i);var h=document.createElement("label");h.for="confirmDeleteFormInput",h.innerHTML=nfi18n.deleteConfirmA+' <span style="color:red;">DELETE</span> '+nfi18n.deleteConfirmB;var m=document.createElement("input");m.type="text",m.id="confirmDeleteFormInput",m.style.marginTop="10px",m.style.width="100%",m.style.height="2.5em",m.style.fontSize="1em",n.appendChild(h),n.appendChild(document.createElement("br")),n.appendChild(m),n.appendChild(document.createElement("br")),n.appendChild(document.createElement("br")),r.innerHTML=nfi18n.delete,r.classList.add("confirm","nf-button","primary","pull-right"),a.innerHTML=nfi18n.cancel,a.classList.add("cancel","nf-button","secondary"),s.appendChild(a),s.appendChild(r),s.classList.add("buttons"),n.appendChild(s),t=document.createElement("div"),t.appendChild(n),this.modal.setContent(t.innerHTML),this.modal.setTitle(nfi18n.deleteTitle),this.modal.open();var f=this;this.modal.container[0].getElementsByClassName("cancel")[0].addEventListener("click",function(){f.modalClose()}),this.modal.container[0].getElementsByClassName("confirm")[0].addEventListener("click",function(){"DELETE"===document.getElementById("confirmDeleteFormInput").value?f.confirmDelete(e):f.modalClose()})},modalClose:function(){this.modal.close()},confirmDelete:function(e){jQuery(e.el).removeClass("show-actions"),jQuery(e.el).addClass("deleting"),jQuery(e.el).animate({opacity:0,"line-height":0,display:"none"},500),console.log(e),e.model.destroy(),this.modalClose()},duplicate:function(e){var t='<div class="message">Duplicating <em>'+e.model.get("title")+'</em>...<div class="nf-loading-spinner"></div></div>';this.modal.setContent(t),this.modal.setTitle("Please Wait"),this.modal.open();var n=this;jQuery.ajax({type:"POST",url:ajaxurl+"?action=nf_forms&clone_id="+e.model.get("id"),success:function(t){var t=JSON.parse(t),i=t.data.new_form_id,o=e.model.clone();o.set({id:i,title:o.get("title")+" - copy",created_at:new Date}),o.initShortcode(i),e.model.collection.add(o),n.modalClose()}})}})}),n("controllers/formsController",["models/formModel","models/formCollection"],function(e,t){return Marionette.Object.extend({initialize:function(){this.forms=new t,i.channel("dashboard").reply("get:forms",this.getForms,this),this.forms.fetch({success:function(e){i.channel("dashboard").trigger("fetch:forms",e)}})},getForms:function(){return this.forms}})}),n("models/oauthModel",[],function(){return Backbone.Model.extend({defaults:{connected:null,connect_url:""},url:function(){return ajaxurl+"?action=nf_oauth"},initialize:function(){},parse:function(e,t){return e.data}})}),n("controllers/oauthController",["models/oauthModel"],function(e){return Marionette.Object.extend({initialize:function(){this.oauth=new e,i.channel("dashboard").reply("get:oauth",this.getOAuth,this),i.channel("dashboard").reply("disconnect:oauth",this.disconnect,this),this.initOAuth()},getOAuth:function(){return this.oauth},initOAuth:function(){this.oauth.fetch({success:function(e){i.channel("dashboard").trigger("fetch:oauth")}})},disconnect:function(){var e=this;new jBox("Confirm",{width:750,content:"Disconnecting from my.ninjaforms.com will disrupt the functionality of all services.",confirmButton:"Disconnect",cancelButton:"Stay Connected",closeOnConfirm:!0,confirm:function(){jQuery.ajax({type:"POST",url:ajaxurl+"?action=nf_oauth_disconnect",success:function(t){console.log(t),e.initOAuth()}})}}).open()}})}),n("models/serviceModel",[],function(){return Backbone.Model.extend({defaults:{objectType:"service",name:"",slug:"",installPath:"",description:"",enabled:null,infoLink:null,serviceLink:null,is_installing:!1,classes:""},url:function(){return ajaxurl+"?action=nf_service_"+this.get("slug")},initialize:function(){this.get("slug")==serviceSuccess&&this.get("successMessage")&&new jBox("Modal",{width:300,addClass:"dashboard-modal",overlay:!0,closeOnClick:"body",content:this.get("successMessage")}).open();var e=this;i.channel("dashboard").reply("install:service:"+this.get("slug"),function(){if(e.get("serviceLink")&&e.get("serviceLink").href){var t=e.get("serviceLink").href;new jBox("Modal",{width:300,addClass:"dashboard-modal",overlay:!0,closeOnClick:"body",content:'<p style="text-align:center;">Redirecting to NinjaForms.com</p>'}).open();var n=i.channel("dashboard").request("get:oauth");if(n.get("connected"))window.location=t;else{if(e.get("connect_url"))return window.location=e.get("connect_url")+"&redirect="+t;window.location=n.get("connect_url")+"&redirect="+t}}})},save:function(){var e=this;jQuery.ajax({type:"POST",url:this.url(),data:this.toJSON()}).done(function(t){var n=JSON.parse(t);void 0!==n.error&&(alert("Unable to update the service. "+n.error),e.set("enabled",!e.get("enabled"))),i.channel("dashboard").trigger("save:service-"+e.get("slug"))})}})}),n("models/serviceCollection",["models/serviceModel"],function(e){return Backbone.Collection.extend({model:e,comparator:"name",url:function(){return ajaxurl+"?action=nf_services"},initialize:function(){},parse:function(e,t){return e.data}})}),n("controllers/servicesController",["models/serviceCollection"],function(e){return Marionette.Object.extend({initialize:function(){this.services=new e,i.channel("dashboard").reply("install:service",this.installService,this),i.channel("dashboard").reply("get:services",this.getServices,this),this.fetchServices()},getServices:function(){return this.services},fetchServices:function(e){this.services.fetch({success:function(t){e&&e(t),i.channel("dashboard").trigger("fetch:services")}})},installService:function(e){var t=this;if(!(e instanceof Backbone.Model))var e=this.services.find(function(t){return e==t.get("slug")});e.set("is_installing",!0);var n=e.get("slug"),o=e.get("installPath");jQuery.post(ajaxurl,{action:"nf_services_install",plugin:n,install_path:o},function(e){t.fetchServices(function(){i.channel("dashboard").request("install:service:"+n)})})}})}),n("views/widgets/forms/formsFilter",[],function(){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-filter",ui:{input:"input"},events:{"keyup @ui.input":"updateFilter"},initialize:function(){this.listenTo(i.channel("widget-forms"),"change:content",this.clearFilter)},updateFilter:function(){var e=this.getUI("input").val();i.channel("widget-forms").trigger("update:filter",e)},clearFilter:function(){this.getUI("input").val("")},updatePlaceholder:function(e){this.getUI("input").attr("placeholder",e)}})}),n("views/widgets/forms/formsTableRow",[],function(){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-table-row",tagName:"tr",replaceElement:!0,ui:{delete:".delete",duplicate:".duplicate",edit:".nf-item-edit"},events:{"click @ui.delete":function(){i.channel("dashboard").trigger("forms:delete",this)},"click @ui.duplicate":function(){i.channel("dashboard").trigger("forms:duplicate",this)},"click @ui.edit":function(e){this.$el.toggleClass("show-actions").siblings().removeClass("show-actions")}},templateContext:function(){var e=this.model;return{created_at:moment(e.get("created_at")).format("MM/DD/YY h:mm A")}}})}),n("views/widgets/forms/formsTableEmpty",[],function(){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-table-empty",tagName:"tr"})}),n("views/widgets/forms/formsTableBody",["views/widgets/forms/formsTableRow","views/widgets/forms/formsTableEmpty"],function(e,t){return Marionette.CollectionView.extend({childView:e,emptyView:t,className:"forms-collection",tagName:"tbody",initialize:function(){this.listenTo(i.channel("widget-forms"),"update:filter",this.updateFilter)},updateFilter:function(e){this.setFilter(function(t,n,i){return 0<=t.get("title").toLowerCase().indexOf(e.toLowerCase())})}})}),n("views/widgets/forms/formsTableLoading",[],function(){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-table-loading",tagName:"tr"})}),n("views/widgets/forms/formsTable",["views/widgets/forms/formsTableBody","views/widgets/forms/formsTableLoading","models/formCollection"],function(e,t,n){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-table",className:"nf-table-display",tagName:"table",initialize:function(){var t=this;this.listenTo(i.channel("dashboard"),"fetch:forms",function(n){t.showChildView("body",new e({collection:n}))})},regions:{body:{el:"tbody",replaceElement:!0}},ui:{sortable:".sortable",body:"tbody",action2:".action2",more:".more",less:".less"},onRender:function(){this.getUI("less").hide();var n=i.channel("dashboard").request("get:forms");void 0===n?this.showChildView("body",new t):this.showChildView("body",new e({collection:n})),this.maybeHideMoreButton()},events:{"click @ui.sortable":"sortFormsTable","click @ui.more":"showMore","click @ui.less":"showLess"},sortFormsTable:function(e){this.getUI("sortable").removeClass("sorted-asc"),this.getUI("sortable").removeClass("sorted-desc");var t=jQuery(e.target).data("sort"),n=jQuery(e.target).data("reverse")||0;n?(jQuery(e.target).addClass("sorted-desc"),jQuery(e.target).removeClass("sorted-asc")):(jQuery(e.target).addClass("sorted-asc"),jQuery(e.target).removeClass("sorted-desc"));var i=this.getChildView("body").collection;i.comparator=function(e,i){return name1=e.get(t).toLowerCase(),name2=i.get(t).toLowerCase(),name1<name2?ret=-1:name1>name2?ret=1:ret=0,n&&(ret=-ret),ret},i.sort(),n?(i.models.reverse(),jQuery(e.target).data("reverse",0)):jQuery(e.target).data("reverse",1)},showMore:function(){this.getUI("more").hide(),this.getUI("less").show(),this.getUI("body").addClass("more")},showLess:function(){this.getUI("less").hide(),this.getUI("more").show(),this.getUI("body").removeClass("more")},maybeHideMoreButton:function(){void 0!==this.collection&&10<this.collection.length||this.getUI("action2").hide()}})}),n("models/formTemplateModel",[],function(){return Backbone.Model.extend({defaults:{objectType:"template",id:"none",title:"unknown",type:""},initialize:function(){this.set("desc",this.get("template-desc")),this.set("modal-content",this.get("modal-content")),this.set("modal-title",this.get("modal-title"))}})}),n("models/formTemplateCollection",["models/formTemplateModel"],function(e){return Backbone.Collection.extend({model:e,tmpNum:1,url:function(){return ajaxurl+"?action=nf_new_form_templates"},parse:function(e,t){return e.data},initialize:function(){this.fetch({success:function(e){},error:function(e){}})}})}),n("views/widgets/forms/newFormTemplate",[],function(){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-template",events:{click:"maybeOpenModal"},maybeOpenModal:function(e){if("ad"!=this.model.get("type"))return!0;e.preventDefault(),new jBox("Modal",{width:450,title:this.model.get("modal-title"),content:this.model.get("modal-content"),closeButton:"box",blockScroll:!0}).open()}})}),n("views/widgets/forms/newFormGrid",["models/formTemplateCollection","views/widgets/forms/newFormTemplate"],function(e,t){return Marionette.CollectionView.extend({tagName:"div",className:"template-list",collection:new e,childView:t,initialize:function(){this.listenTo(i.channel("widget-forms"),"update:filter",this.updateFilter)},updateFilter:function(e){this.setFilter(function(t,n,i){return 0<=t.get("title").toLowerCase().indexOf(e.toLowerCase())})}})}),n("views/widgets/forms/forms",["views/widgets/forms/formsFilter","views/widgets/forms/formsTable","views/widgets/forms/newFormGrid"],function(e,t,n){return Marionette.View.extend({template:"#tmpl-nf-widget-forms",regions:{filter:".filter",content:".content"},ui:{add:".add",cancel:".cancel"},initialize:function(){i.channel("widget-forms").reply("show:newFormsGrid",this.showNewFormGrid,this),i.channel("widget-forms").reply("show:formsTable",this.showFormsTable,this)},onRender:function(){this.getUI("cancel").hide(),this.showChildView("filter",new e),"#new-form"==window.location.hash?(this.getUI("add").hide(),this.getUI("cancel").show(),this.showChildView("content",new n)):this.showChildView("content",new t)},events:{"click @ui.add":"showNewFormGrid","click @ui.cancel":"showFormsTable"},showNewFormGrid:function(){window.location.hash="new-form",this.showChildView("content",new n),i.channel("widget-forms").trigger("change:content"),this.getUI("add").hide(),this.getUI("cancel").show(),this.getChildView("filter").updatePlaceholder("Search Templates")},showFormsTable:function(){console.log(this),window.location.hash="forms",this.showChildView("content",new t),i.channel("widget-forms").trigger("change:content"),this.getUI("cancel").hide(),this.getUI("add").show(),this.getChildView("filter").updatePlaceholder("Search Forms")}})}),n("views/sections/widgets.js",["views/widgets/forms/forms"],function(e){return Marionette.View.extend({template:"#tmpl-nf-widgets",regions:{forms:".widget-forms"},onRender:function(){this.showChildView("forms",new e)}})}),n("views/services/service",[],function(){return Marionette.View.extend({template:"#tmpl-nf-service",className:function(){return"nf-extend nf-box "+this.model.get("classes")},ui:{install:".js--install",learnMore:".js--learn-more",enabled:".nf-toggle.setting",toggleEnable:".nf-toggle + label"},events:{"click @ui.install":function(){i.channel("dashboard").request("install:service",this.model)},"click @ui.learnMore":function(){this.showLearnMore()},"click @ui.toggleEnable":function(){if(null==this.model.get("enabled")&&this.model.get("link"))return window.location=this.model.get("link"),this.render();this.model.set("enabled",!this.model.get("enabled")),this.model.save("enabled"),this.render()}},initialize:function(e){this.updateOAuth(),this.listenTo(this.model,"change",this.render),i.channel("dashboard").reply("more:service:"+this.model.get("slug"),this.showLearnMore,this),this.listenTo(i.channel("dashboard"),"fetch:oauth",this.updateOAuth),this.listenTo(i.channel("dashboard"),"save:service-"+this.model.get("slug"),this.render)},showLearnMore:function(){var e=new jBox("Modal",{width:750,title:this.model.get("learnMoreTitle")||this.model.get("name"),content:this.model.get("learnMore"),closeButton:"box",blockScroll:!0});e.open(),i.channel("dashboard").reply("service:"+this.model.get("slug")+":modal",function(){return e})},updateOAuth:function(){var e=i.channel("dashboard").request("get:oauth");this.connected=e.get("connected"),this.render()},templateContext:function(){return{is_connected:this.connected}}})}),n("views/services/services",["views/services/service","models/serviceCollection"],function(e,t){return Marionette.CollectionView.extend({collection:new t,className:"wrap apps-container",childView:e,initialize:function(){this.updateCollection(),this.listenTo(i.channel("dashboard"),"fetch:services",this.updateCollection)},updateCollection:function(){this.collection=i.channel("dashboard").request("get:services"),this.render()}})}),n("views/sections/services.js",["views/services/services"],function(e){return Marionette.View.extend({template:"#tmpl-nf-services",regions:{services:".services"},onRender:function(){this.showChildView("services",new e)}})}),n("views/sections/apps.js",[],function(){return Marionette.View.extend({template:"#tmpl-nf-apps"})}),n("views/sections/memberships.js",[],function(){return Marionette.View.extend({template:"#tmpl-nf-memberships"})}),n("views/oauth.js",["models/oauthModel"],function(e){return Marionette.View.extend({model:new e,template:"#tmpl-nf-notices-oauth",className:"nf-notices--oauth",ui:{disconnect:".js--disconnect"},initialize:function(e){this.listenTo(i.channel("dashboard"),"fetch:oauth",this.updateModel)},updateModel:function(){this.model=i.channel("dashboard").request("get:oauth"),this.render()},events:{"click @ui.disconnect":function(){i.channel("dashboard").request("disconnect:oauth")}}})}),n("models/promotionModel",[],function(){return Backbone.Model.extend({defaults:{id:"",content:""},initialize:function(){}})}),n("views/promotion.js",["models/promotionModel"],function(e){return Marionette.View.extend({model:null,template:"#tmpl-nf-promotion",className:"nf-promotion",initialize:function(){var t=nfPromotions[Math.floor(Math.random()*nfPromotions.length)];this.model=new e(t)}})}),n("views/dashboardView",["views/sections/widgets.js","views/sections/services.js","views/sections/apps.js","views/sections/memberships.js","views/oauth.js","views/promotion.js"],function(e,t,n,o,s,r){return Marionette.View.extend({template:"#tmpl-nf-dashboard",currentView:"widgets",regions:{notices:".notices",promotions:".promotions",content:".content"},events:{"click .widgets a":function(t){this.showChildView("content",new e),jQuery("."+this.currentView).find("a").removeClass("active"),t.target.classList.add("active"),this.currentView="widgets"},"click .services a":function(e){this.showChildView("content",new t),jQuery("."+this.currentView).find("a").removeClass("active"),e.target.classList.add("active"),this.currentView="services"},"click .apps a":function(e){this.showChildView("content",new n),jQuery("."+this.currentView).find("a").removeClass("active"),e.target.classList.add("active"),this.currentView="apps"},"click .memberships a":function(e){this.showChildView("content",new o),jQuery("."+this.currentView).find("a").removeClass("active"),e.target.classList.add("active"),this.currentView="memberships"}},initialize:function(){switch(window.location.hash){case"#apps":this.currentView="apps";break;case"#services":this.currentView="services";break;case"#memberships":this.currentView="memberships";break;case"#widgets":default:this.currentView="widgets"}i.channel("dashboard").reply("show:widgets",function(){this.showChildView("content",new e),jQuery("nav.sections a.active").removeClass("active"),jQuery("nav.sections .widgets a").addClass("active"),this.currentView="widgets"},this),i.channel("dashboard").reply("show:services",function(){this.showChildView("content",new t),jQuery("nav.sections a.active").removeClass("active"),jQuery("nav.sections .services a").addClass("active"),this.currentView="services"},this),i.channel("dashboard").reply("show:apps",function(){this.showChildView("content",new n),jQuery("nav.sections a.active").removeClass("active"),jQuery("nav.sections .apps a").addClass("active"),this.currentView="apps"},this)},onRender:function(){switch(useServices&&this.showChildView("notices",new s),useServices&&this.showChildView("promotions",new r),window.location.hash){case"#apps":var i=new n;break;case"#memberships":var i=new o;break;case"#services":var i=new t;break;case"#widgets":default:var i=new e}if(this.showChildView("content",i),void 0!==nfAdmin.formTelemetry&&1==nfAdmin.formTelemetry){var a={action:"nf_form_telemetry",security:nfAdmin.ajaxNonce};jQuery.post(ajaxurl,a)}if("1"==nfAdmin.showOptin){var l=new jBox("Modal",{closeOnEsc:!1,closeOnClick:!1,width:400}),c=document.createElement("div");c.id="optin-modal-title";var d=document.createElement("h2");d.innerHTML="Help make Ninja Forms better!",c.appendChild(d);var u=document.createElement("div");u.classList.add("message"),u.style.padding="0px 20px 20px 20px",u.innerHTML=nfi18n.optinContent;var h=document.createElement("p");h.style.paddingBottom="10px";var m=document.createElement("input");m.id="optin-send-email",m.setAttribute("type","checkbox"),m.style.margin="7px";var f=document.createElement("label");f.setAttribute("for","optin-send-email"),f.innerHTML=nfi18n.optinYesplease,h.appendChild(m),h.appendChild(f),u.appendChild(h),h=document.createElement("p"),h.id="optin-block",h.style.padding="0px 5px 20px 5px",h.style.display="none";var p=document.createElement("input");p.id="optin-email-address",p.setAttribute("type","text"),p.setAttribute("value",nfAdmin.currentUserEmail),p.style.width="100%",p.style.fontSize="16px",h.appendChild(p),u.appendChild(h);var w=document.createElement("span");w.id="optin-spinner",w.classList.add("spinner"),w.style.display="none",u.appendChild(w);var g=document.createElement("div");g.id="optin-buttons",g.classList.add("buttons");var v=document.createElement("div");v.id="optout",v.classList.add("nf-button","secondary"),v.innerHTML=nfi18n.optinSecondary,g.appendChild(v);var b=document.createElement("button");b.id="optin",b.classList.add("nf-button","primary","pull-right"),b.innerHTML=nfi18n.optinPrimary,g.appendChild(b),u.appendChild(g);var y=document.createElement("h2");y.innerHTML=nfi18n.optinAwesome;var C=document.createElement("div");C.id="optin-thankyou",C.classList.add("message"),C.style.padding="20px",C.innerHTML=nfi18n.optinThanks,l.setContent(document.createElement("div").appendChild(u).innerHTML),l.setTitle(document.createElement("div").appendChild(c).innerHTML),l.open(),jQuery("#optin-send-email").click(function(e){jQuery(this).is(":checked")?jQuery("#optin-block").show():jQuery("#optin-block").hide()}),jQuery("#optin").click(function(e){var t;jQuery("#optin-send-email").attr("checked")?(t=1,userEmail=jQuery("#optin-email-address").val()):(t=0,userEmail=""),jQuery("#optin-spinner").css("visibility","visible"),jQuery("#optin-spinner").css("display","inline-block"),jQuery("#optin-buttons").css("visibility","hidden"),jQuery.post(ajaxurl,{action:"nf_optin",ninja_forms_opt_in:1,send_email:t,user_email:userEmail},function(e){jQuery("#optin-spinner").css("visibility","hidden"),jQuery("#optin-spinner").css("display","none"),l.setTitle(document.createElement("div").appendChild(y).innerHTML),l.setContent(document.createElement("div").appendChild(C).innerHTML),setTimeout(function(){l.close()},2e3)})}),jQuery("#optout").click(function(e){jQuery("#optin-spinner").css("visibility","visible"),jQuery("#optin-buttons").css("visibility","hidden"),jQuery.post(ajaxurl,{action:"nf_optin",ninja_forms_opt_in:0},function(e){jQuery("#optin-spinner").css("visibility","hidden"),l.close()})})}},templateContext:function(){var e=this;return{renderNav:function(){var t=document.createElement("div");return _.each(nfDashItems,function(n){var i=document.createElement("li"),o=document.createElement("a");o.href="#"+n.slug,e.currentView==n.slug&&o.classList.add("active"),o.innerHTML=n.niceName,i.classList.add(n.slug),i.appendChild(o),t.appendChild(i)}),t.innerHTML}}}})});var i=Backbone.Radio;useServices||(nfDashItems=nfDashItems.filter(function(e){return"services"!==e.slug})),jQuery(document).ready(function(e){t(["controllers/formsController","controllers/oauthController","controllers/servicesController","views/dashboardView"],function(t,n,i,o){(new(Marionette.Application.extend({region:"#ninja-forms-dashboard",controllers:{},initialize:function(e){var t=this;Marionette.Renderer.render=function(e,n){var e=t.template(e);return e(n)}},onStart:function(){this.showView(new o),this.controllers.forms=new t,useServices&&(this.controllers.oauth=new n),useServices&&(this.controllers.services=new i)},template:function(t){return _.template(e(t).html(),{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"})}}))).start()})}),jQuery('a[href="admin.php?page=ninja-forms#new-form"]').on("click",function(e){e.preventDefault(),window.location.hash="new-form",i.channel("dashboard").request("show:widgets"),i.channel("widget-forms").request("show:newFormsGrid")}),jQuery('a[href="admin.php?page=ninja-forms#apps"]').on("click",function(e){e.preventDefault(),window.location.hash="apps",i.channel("dashboard").request("show:apps")}),jQuery('a[href="admin.php?page=ninja-forms"]').on("click",function(e){e.preventDefault(),window.location.hash="forms",i.channel("dashboard").request("show:widgets"),i.channel("widget-forms").request("show:formsTable")}),jQuery(window).on("hashchange",function(){var e=window.location.hash.substr(1);i.channel("dashboard").request("show:"+e)}),n("main",function(){})}();
!function(){var e,t,n;!function(i){function o(e,t){return y.call(e,t)}function s(e,t){var n,i,o,s,r,a,l,c,d,u,h,m=t&&t.split("/"),f=v.map,p=f&&f["*"]||{};if(e&&"."===e.charAt(0))if(t){for(e=e.split("/"),r=e.length-1,v.nodeIdCompat&&j.test(e[r])&&(e[r]=e[r].replace(j,"")),e=m.slice(0,m.length-1).concat(e),d=0;d<e.length;d+=1)if("."===(h=e[d]))e.splice(d,1),d-=1;else if(".."===h){if(1===d&&(".."===e[2]||".."===e[0]))break;d>0&&(e.splice(d-1,2),d-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((m||p)&&f){for(n=e.split("/"),d=n.length;d>0;d-=1){if(i=n.slice(0,d).join("/"),m)for(u=m.length;u>0;u-=1)if((o=f[m.slice(0,u).join("/")])&&(o=o[i])){s=o,a=d;break}if(s)break;!l&&p&&p[i]&&(l=p[i],c=d)}!s&&l&&(s=l,a=c),s&&(n.splice(0,a,s),e=n.join("/"))}return e}function r(e,t){return function(){var n=C.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),m.apply(i,n.concat([e,t]))}}function a(e){return function(t){return s(t,e)}}function l(e){return function(t){w[e]=t}}function c(e){if(o(g,e)){var t=g[e];delete g[e],b[e]=!0,h.apply(i,t)}if(!o(w,e)&&!o(b,e))throw new Error("No "+e);return w[e]}function d(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function u(e){return function(){return v&&v.config&&v.config[e]||{}}}var h,m,f,p,w={},g={},v={},b={},y=Object.prototype.hasOwnProperty,C=[].slice,j=/\.js$/;f=function(e,t){var n,i=d(e),o=i[0];return e=i[1],o&&(o=s(o,t),n=c(o)),o?e=n&&n.normalize?n.normalize(e,a(t)):s(e,t):(e=s(e,t),i=d(e),o=i[0],e=i[1],o&&(n=c(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},p={require:function(e){return r(e)},exports:function(e){var t=w[e];return void 0!==t?t:w[e]={}},module:function(e){return{id:e,uri:"",exports:w[e],config:u(e)}}},h=function(e,t,n,s){var a,d,u,h,m,v,y=[],C=typeof n;if(s=s||e,"undefined"===C||"function"===C){for(t=!t.length&&n.length?["require","exports","module"]:t,m=0;m<t.length;m+=1)if(h=f(t[m],s),"require"===(d=h.f))y[m]=p.require(e);else if("exports"===d)y[m]=p.exports(e),v=!0;else if("module"===d)a=y[m]=p.module(e);else if(o(w,d)||o(g,d)||o(b,d))y[m]=c(d);else{if(!h.p)throw new Error(e+" missing "+d);h.p.load(h.n,r(s,!0),l(d),{}),y[m]=w[d]}u=n?n.apply(w[e],y):void 0,e&&(a&&a.exports!==i&&a.exports!==w[e]?w[e]=a.exports:u===i&&v||(w[e]=u))}else e&&(w[e]=n)},e=t=m=function(e,t,n,o,s){if("string"==typeof e)return p[e]?p[e](t):c(f(e,t).f);if(!e.splice){if(v=e,v.deps&&m(v.deps,v.callback),!t)return;t.splice?(e=t,t=n,n=null):e=i}return t=t||function(){},"function"==typeof n&&(n=o,o=s),o?h(i,e,t,n):setTimeout(function(){h(i,e,t,n)},4),m},m.config=function(e){return m(e)},e._defined=w,n=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),o(w,e)||o(g,e)||(g[e]=[e,t,n])},n.amd={jQuery:!0}}(),n("../../assets/js/lib/almond",function(){}),n("models/formModel",[],function(){return Backbone.Model.extend({defaults:{objectType:"form",id:0,title:"unknown",created_at:"unknown"},url:function(){return ajaxurl+"?action=nf_forms&form_id="+this.get("id")},initialize:function(){this.set("id",Number(this.get("id"))),this.get("id")&&this.initShortcode(this.get("id")),this.get("title")&&this.set("title",this.get("title").replace(/<\/?[^>]+(>|$)/g,""))},initShortcode:function(e){var t="[ninja_form id="+e+"]";this.set("shortcode",t)},destroy:function(){var e=this;jQuery.ajax({type:"POST",url:ajaxurl+"?action=nf_forms&method_override=delete&form_id="+this.get("id"),success:function(t){var t=JSON.parse(t);e.collection.remove(e)}})}})}),n("models/formCollection",["models/formModel"],function(e){return Backbone.Collection.extend({model:e,comparator:"title",tmpNum:1,url:function(){return ajaxurl+"?action=nf_forms"},initialize:function(){this.newIDs=[],this.baseUrl=window.location.href.split("?")[0],this.listenTo(i.channel("dashboard"),"forms:delete",this.modalConfirm),this.listenTo(i.channel("dashboard"),"forms:duplicate",this.duplicate),this.modal=new jBox("Modal",{width:400,addClass:"dashboard-modal",overlay:!0,closeOnClick:"body"})},parse:function(e,t){return e.data},modalConfirm:function(e){var t,n,i,o,s,r,a,l=e.model.get("id"),c=e.model.get("title");n=document.createElement("div"),n.style.paddingRight="20px",n.style.paddingLeft="20px",n.style.paddingBottom="20px",i=document.createElement("p"),o=document.createElement("em"),s=document.createElement("div"),r=document.createElement("div"),a=document.createElement("div"),n.classList.add("message"),o.innerHTML=c,i.innerHTML+=nfi18n.deleteWarningA+" (<strong>"+c+"</strong>). "+nfi18n.deleteWarningB,i.appendChild(document.createElement("br")),i.appendChild(document.createElement("br"));var d=document.createElement("a");d.href=this.baseUrl+"?page=nf-import-export&exportFormId="+l,d.innerHTML='<i class="fa fa-download" style="padding:5px;"></i>'+nfi18n.deleteXForm,d.target="_blank",i.appendChild(d),i.appendChild(document.createElement("br"));var u=document.createElement("a");u.href=this.baseUrl+"?page=nf-processing&action=download_all_subs&form_id="+l+"&redirect="+encodeURIComponent(this.baseUrl.replace("admin.php","edit.php")+"?post_status=all&post_type=nf_sub&form_id="+l),u.target="_blank",u.innerHTML='<i class="fa fa-download" style="padding:5px;"></i>'+nfi18n.deleteXSubs,i.appendChild(u),i.appendChild(document.createElement("br")),n.appendChild(i);var h=document.createElement("label");h.for="confirmDeleteFormInput",h.innerHTML=nfi18n.deleteConfirmA+' <span style="color:red;">DELETE</span> '+nfi18n.deleteConfirmB;var m=document.createElement("input");m.type="text",m.id="confirmDeleteFormInput",m.style.marginTop="10px",m.style.width="100%",m.style.height="2.5em",m.style.fontSize="1em",n.appendChild(h),n.appendChild(document.createElement("br")),n.appendChild(m),n.appendChild(document.createElement("br")),n.appendChild(document.createElement("br")),r.innerHTML=nfi18n.delete,r.classList.add("confirm","nf-button","primary","pull-right"),a.innerHTML=nfi18n.cancel,a.classList.add("cancel","nf-button","secondary"),s.appendChild(a),s.appendChild(r),s.classList.add("buttons"),n.appendChild(s),t=document.createElement("div"),t.appendChild(n),this.modal.setContent(t.innerHTML),this.modal.setTitle(nfi18n.deleteTitle),this.modal.open();var f=this;this.modal.container[0].getElementsByClassName("cancel")[0].addEventListener("click",function(){f.modalClose()}),this.modal.container[0].getElementsByClassName("confirm")[0].addEventListener("click",function(){"DELETE"===document.getElementById("confirmDeleteFormInput").value?f.confirmDelete(e):f.modalClose()})},modalClose:function(){this.modal.close()},confirmDelete:function(e){jQuery(e.el).removeClass("show-actions"),jQuery(e.el).addClass("deleting"),jQuery(e.el).animate({opacity:0,"line-height":0,display:"none"},500),console.log(e),e.model.destroy(),this.modalClose()},duplicate:function(e){var t='<div class="message">Duplicating <em>'+e.model.get("title")+'</em>...<div class="nf-loading-spinner"></div></div>';this.modal.setContent(t),this.modal.setTitle("Please Wait"),this.modal.open();var n=this;jQuery.ajax({type:"POST",url:ajaxurl+"?action=nf_forms&clone_id="+e.model.get("id"),success:function(t){var t=JSON.parse(t),i=t.data.new_form_id,o=e.model.clone();o.set({id:i,title:o.get("title")+" - copy",created_at:new Date}),o.initShortcode(i),e.model.collection.add(o),n.modalClose()}})}})}),n("controllers/formsController",["models/formModel","models/formCollection"],function(e,t){return Marionette.Object.extend({initialize:function(){this.forms=new t,i.channel("dashboard").reply("get:forms",this.getForms,this),this.forms.fetch({success:function(e){i.channel("dashboard").trigger("fetch:forms",e)}})},getForms:function(){return this.forms}})}),n("models/oauthModel",[],function(){return Backbone.Model.extend({defaults:{connected:null,connect_url:""},url:function(){return ajaxurl+"?action=nf_oauth"},initialize:function(){},parse:function(e,t){return e.data}})}),n("controllers/oauthController",["models/oauthModel"],function(e){return Marionette.Object.extend({initialize:function(){this.oauth=new e,i.channel("dashboard").reply("get:oauth",this.getOAuth,this),i.channel("dashboard").reply("disconnect:oauth",this.disconnect,this),this.initOAuth()},getOAuth:function(){return this.oauth},initOAuth:function(){this.oauth.fetch({success:function(e){i.channel("dashboard").trigger("fetch:oauth")}})},disconnect:function(){var e=this;new jBox("Confirm",{width:750,content:"Disconnecting from my.ninjaforms.com will disrupt the functionality of all services.",confirmButton:"Disconnect",cancelButton:"Stay Connected",closeOnConfirm:!0,confirm:function(){jQuery.ajax({type:"POST",url:ajaxurl+"?action=nf_oauth_disconnect",success:function(t){console.log(t),e.initOAuth()}})}}).open()}})}),n("models/serviceModel",[],function(){return Backbone.Model.extend({defaults:{objectType:"service",name:"",slug:"",installPath:"",description:"",enabled:null,infoLink:null,serviceLink:null,is_installing:!1,classes:""},url:function(){return ajaxurl+"?action=nf_service_"+this.get("slug")},initialize:function(){this.get("slug")==serviceSuccess&&this.get("successMessage")&&new jBox("Modal",{width:300,addClass:"dashboard-modal",overlay:!0,closeOnClick:"body",content:this.get("successMessage")}).open();var e=this;i.channel("dashboard").reply("install:service:"+this.get("slug"),function(){if(e.get("serviceLink")&&e.get("serviceLink").href){var t=e.get("serviceLink").href;new jBox("Modal",{width:300,addClass:"dashboard-modal",overlay:!0,closeOnClick:"body",content:'<p style="text-align:center;">Redirecting to NinjaForms.com</p>'}).open();var n=i.channel("dashboard").request("get:oauth");if(n.get("connected"))window.location=t;else{if(e.get("connect_url"))return window.location=e.get("connect_url")+"&redirect="+t;window.location=n.get("connect_url")+"&redirect="+t}}})},save:function(){var e=this;jQuery.ajax({type:"POST",url:this.url(),data:this.toJSON()}).done(function(t){var n=JSON.parse(t);void 0!==n.error&&(alert("Unable to update the service. "+n.error),e.set("enabled",!e.get("enabled"))),i.channel("dashboard").trigger("save:service-"+e.get("slug"))})}})}),n("models/serviceCollection",["models/serviceModel"],function(e){return Backbone.Collection.extend({model:e,comparator:"name",url:function(){return ajaxurl+"?action=nf_services"},initialize:function(){},parse:function(e,t){return e.data}})}),n("controllers/servicesController",["models/serviceCollection"],function(e){return Marionette.Object.extend({initialize:function(){this.services=new e,i.channel("dashboard").reply("install:service",this.installService,this),i.channel("dashboard").reply("get:services",this.getServices,this),this.fetchServices()},getServices:function(){return this.services},fetchServices:function(e){this.services.fetch({success:function(t){e&&e(t),i.channel("dashboard").trigger("fetch:services")}})},installService:function(e){var t=this;if(!(e instanceof Backbone.Model))var e=this.services.find(function(t){return e==t.get("slug")});e.set("is_installing",!0);var n=e.get("slug"),o=e.get("installPath");jQuery.post(ajaxurl,{action:"nf_services_install",plugin:n,install_path:o},function(e){t.fetchServices(function(){i.channel("dashboard").request("install:service:"+n)})})}})}),n("views/widgets/forms/formsFilter",[],function(){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-filter",ui:{input:"input"},events:{"keyup @ui.input":"updateFilter"},initialize:function(){this.listenTo(i.channel("widget-forms"),"change:content",this.clearFilter)},updateFilter:function(){var e=this.getUI("input").val();i.channel("widget-forms").trigger("update:filter",e)},clearFilter:function(){this.getUI("input").val("")},updatePlaceholder:function(e){this.getUI("input").attr("placeholder",e)}})}),n("views/widgets/forms/formsTableRow",[],function(){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-table-row",tagName:"tr",replaceElement:!0,ui:{delete:".delete",duplicate:".duplicate",edit:".nf-item-edit"},events:{"click @ui.delete":function(){i.channel("dashboard").trigger("forms:delete",this)},"click @ui.duplicate":function(){i.channel("dashboard").trigger("forms:duplicate",this)},"click @ui.edit":function(e){this.$el.toggleClass("show-actions").siblings().removeClass("show-actions")}},templateContext:function(){var e=this.model;return{created_at:moment(e.get("created_at")).format("MM/DD/YY h:mm A")}}})}),n("views/widgets/forms/formsTableEmpty",[],function(){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-table-empty",tagName:"tr"})}),n("views/widgets/forms/formsTableBody",["views/widgets/forms/formsTableRow","views/widgets/forms/formsTableEmpty"],function(e,t){return Marionette.CollectionView.extend({childView:e,emptyView:t,className:"forms-collection",tagName:"tbody",initialize:function(){this.listenTo(i.channel("widget-forms"),"update:filter",this.updateFilter)},updateFilter:function(e){this.setFilter(function(t,n,i){return 0<=t.get("title").toLowerCase().indexOf(e.toLowerCase())})}})}),n("views/widgets/forms/formsTableLoading",[],function(){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-table-loading",tagName:"tr"})}),n("views/widgets/forms/formsTable",["views/widgets/forms/formsTableBody","views/widgets/forms/formsTableLoading","models/formCollection"],function(e,t,n){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-table",className:"nf-table-display",tagName:"table",initialize:function(){var t=this;this.listenTo(i.channel("dashboard"),"fetch:forms",function(n){t.showChildView("body",new e({collection:n}))})},regions:{body:{el:"tbody",replaceElement:!0}},ui:{sortable:".sortable",body:"tbody",action2:".action2",more:".more",less:".less"},onRender:function(){this.getUI("less").hide();var n=i.channel("dashboard").request("get:forms");void 0===n?this.showChildView("body",new t):this.showChildView("body",new e({collection:n})),this.maybeHideMoreButton()},events:{"click @ui.sortable":"sortFormsTable","click @ui.more":"showMore","click @ui.less":"showLess"},sortFormsTable:function(e){this.getUI("sortable").removeClass("sorted-asc"),this.getUI("sortable").removeClass("sorted-desc");var t=jQuery(e.target).data("sort"),n=jQuery(e.target).data("reverse")||0;n?(jQuery(e.target).addClass("sorted-desc"),jQuery(e.target).removeClass("sorted-asc")):(jQuery(e.target).addClass("sorted-asc"),jQuery(e.target).removeClass("sorted-desc"));var i=this.getChildView("body").collection;i.comparator=function(e,i){return name1=e.get(t).toLowerCase(),name2=i.get(t).toLowerCase(),name1<name2?ret=-1:name1>name2?ret=1:ret=0,n&&(ret=-ret),ret},i.sort(),n?(i.models.reverse(),jQuery(e.target).data("reverse",0)):jQuery(e.target).data("reverse",1)},showMore:function(){this.getUI("more").hide(),this.getUI("less").show(),this.getUI("body").addClass("more")},showLess:function(){this.getUI("less").hide(),this.getUI("more").show(),this.getUI("body").removeClass("more")},maybeHideMoreButton:function(){void 0!==this.collection&&10<this.collection.length||this.getUI("action2").hide()}})}),n("models/formTemplateModel",[],function(){return Backbone.Model.extend({defaults:{objectType:"template",id:"none",title:"unknown",type:""},initialize:function(){this.set("desc",this.get("template-desc")),this.set("modal-content",this.get("modal-content")),this.set("modal-title",this.get("modal-title"))}})}),n("models/formTemplateCollection",["models/formTemplateModel"],function(e){return Backbone.Collection.extend({model:e,tmpNum:1,url:function(){return ajaxurl+"?action=nf_new_form_templates"},parse:function(e,t){return e.data},initialize:function(){this.fetch({success:function(e){},error:function(e){}})}})}),n("views/widgets/forms/newFormTemplate",[],function(){return Marionette.View.extend({template:"#tmpl-nf-widget-forms-template",events:{click:"maybeOpenModal"},maybeOpenModal:function(e){if("ad"!=this.model.get("type"))return!0;e.preventDefault(),new jBox("Modal",{width:450,title:this.model.get("modal-title"),content:this.model.get("modal-content"),closeButton:"box",blockScroll:!0}).open()}})}),n("views/widgets/forms/newFormGrid",["models/formTemplateCollection","views/widgets/forms/newFormTemplate"],function(e,t){return Marionette.CollectionView.extend({tagName:"div",className:"template-list",collection:new e,childView:t,initialize:function(){this.listenTo(i.channel("widget-forms"),"update:filter",this.updateFilter)},updateFilter:function(e){this.setFilter(function(t,n,i){return 0<=t.get("title").toLowerCase().indexOf(e.toLowerCase())})}})}),n("views/widgets/forms/forms",["views/widgets/forms/formsFilter","views/widgets/forms/formsTable","views/widgets/forms/newFormGrid"],function(e,t,n){return Marionette.View.extend({template:"#tmpl-nf-widget-forms",regions:{filter:".filter",content:".content"},ui:{add:".add",cancel:".cancel"},initialize:function(){i.channel("widget-forms").reply("show:newFormsGrid",this.showNewFormGrid,this),i.channel("widget-forms").reply("show:formsTable",this.showFormsTable,this)},onRender:function(){this.getUI("cancel").hide(),this.showChildView("filter",new e),"#new-form"==window.location.hash?(this.getUI("add").hide(),this.getUI("cancel").show(),this.showChildView("content",new n)):this.showChildView("content",new t)},events:{"click @ui.add":"showNewFormGrid","click @ui.cancel":"showFormsTable"},showNewFormGrid:function(){window.location.hash="new-form",this.showChildView("content",new n),i.channel("widget-forms").trigger("change:content"),this.getUI("add").hide(),this.getUI("cancel").show(),this.getChildView("filter").updatePlaceholder("Search Templates")},showFormsTable:function(){console.log(this),window.location.hash="forms",this.showChildView("content",new t),i.channel("widget-forms").trigger("change:content"),this.getUI("cancel").hide(),this.getUI("add").show(),this.getChildView("filter").updatePlaceholder("Search Forms")}})}),n("views/sections/widgets.js",["views/widgets/forms/forms"],function(e){return Marionette.View.extend({template:"#tmpl-nf-widgets",regions:{forms:".widget-forms"},onRender:function(){this.showChildView("forms",new e)}})}),n("views/services/service",[],function(){return Marionette.View.extend({template:"#tmpl-nf-service",className:function(){return"nf-extend nf-box "+this.model.get("classes")},ui:{install:".js--install",learnMore:".js--learn-more",enabled:".nf-toggle.setting",toggleEnable:".nf-toggle + label"},events:{"click @ui.install":function(){i.channel("dashboard").request("install:service",this.model)},"click @ui.learnMore":function(){this.showLearnMore()},"click @ui.toggleEnable":function(){if(null==this.model.get("enabled")&&this.model.get("link"))return window.location=this.model.get("link"),this.render();this.model.set("enabled",!this.model.get("enabled")),this.model.save("enabled"),this.render()}},initialize:function(e){this.updateOAuth(),this.listenTo(this.model,"change",this.render),i.channel("dashboard").reply("more:service:"+this.model.get("slug"),this.showLearnMore,this),this.listenTo(i.channel("dashboard"),"fetch:oauth",this.updateOAuth),this.listenTo(i.channel("dashboard"),"save:service-"+this.model.get("slug"),this.render)},showLearnMore:function(){var e=new jBox("Modal",{width:750,title:this.model.get("learnMoreTitle")||this.model.get("name"),content:this.model.get("learnMore"),closeButton:"box",blockScroll:!0});e.open(),i.channel("dashboard").reply("service:"+this.model.get("slug")+":modal",function(){return e})},updateOAuth:function(){var e=i.channel("dashboard").request("get:oauth");this.connected=e.get("connected"),this.render()},templateContext:function(){return{is_connected:this.connected}}})}),n("views/services/services",["views/services/service","models/serviceCollection"],function(e,t){return Marionette.CollectionView.extend({collection:new t,className:"wrap apps-container",childView:e,initialize:function(){this.updateCollection(),this.listenTo(i.channel("dashboard"),"fetch:services",this.updateCollection)},updateCollection:function(){this.collection=i.channel("dashboard").request("get:services"),this.render()}})}),n("views/sections/services.js",["views/services/services"],function(e){return Marionette.View.extend({template:"#tmpl-nf-services",regions:{services:".services"},onRender:function(){this.showChildView("services",new e)}})}),n("views/sections/apps.js",[],function(){return Marionette.View.extend({template:"#tmpl-nf-apps"})}),n("views/sections/memberships.js",[],function(){return Marionette.View.extend({template:"#tmpl-nf-memberships"})}),n("views/oauth.js",["models/oauthModel"],function(e){return Marionette.View.extend({model:new e,template:"#tmpl-nf-notices-oauth",className:"nf-notices--oauth",ui:{disconnect:".js--disconnect"},initialize:function(e){this.listenTo(i.channel("dashboard"),"fetch:oauth",this.updateModel)},updateModel:function(){this.model=i.channel("dashboard").request("get:oauth"),this.render()},events:{"click @ui.disconnect":function(){i.channel("dashboard").request("disconnect:oauth")}}})}),n("models/promotionModel",[],function(){return Backbone.Model.extend({defaults:{id:"",content:""},initialize:function(){}})}),n("views/promotion.js",["models/promotionModel"],function(e){return Marionette.View.extend({model:null,template:"#tmpl-nf-promotion",className:"nf-promotion",initialize:function(){var t=nfPromotions[Math.floor(Math.random()*nfPromotions.length)];this.model=new e(t)}})}),n("views/dashboardView",["views/sections/widgets.js","views/sections/services.js","views/sections/apps.js","views/sections/memberships.js","views/oauth.js","views/promotion.js"],function(e,t,n,o,s,r){return Marionette.View.extend({template:"#tmpl-nf-dashboard",currentView:"widgets",regions:{notices:".notices",promotions:".promotions",content:".content"},events:{"click .widgets a":function(t){this.showChildView("content",new e),jQuery("."+this.currentView).find("a").removeClass("active"),t.target.classList.add("active"),this.currentView="widgets"},"click .services a":function(e){this.showChildView("content",new t),jQuery("."+this.currentView).find("a").removeClass("active"),e.target.classList.add("active"),this.currentView="services"},"click .apps a":function(e){this.showChildView("content",new n),jQuery("."+this.currentView).find("a").removeClass("active"),e.target.classList.add("active"),this.currentView="apps"},"click .memberships a":function(e){this.showChildView("content",new o),jQuery("."+this.currentView).find("a").removeClass("active"),e.target.classList.add("active"),this.currentView="memberships"}},initialize:function(){switch(window.location.hash){case"#apps":this.currentView="apps";break;case"#services":this.currentView="services";break;case"#memberships":this.currentView="memberships";break;case"#widgets":default:this.currentView="widgets"}i.channel("dashboard").reply("show:widgets",function(){this.showChildView("content",new e),jQuery("nav.sections a.active").removeClass("active"),jQuery("nav.sections .widgets a").addClass("active"),this.currentView="widgets"},this),i.channel("dashboard").reply("show:services",function(){this.showChildView("content",new t),jQuery("nav.sections a.active").removeClass("active"),jQuery("nav.sections .services a").addClass("active"),this.currentView="services"},this),i.channel("dashboard").reply("show:apps",function(){this.showChildView("content",new n),jQuery("nav.sections a.active").removeClass("active"),jQuery("nav.sections .apps a").addClass("active"),this.currentView="apps"},this)},onRender:function(){switch(useServices&&this.showChildView("notices",new s),useServices&&this.showChildView("promotions",new r),window.location.hash){case"#apps":var i=new n;break;case"#memberships":var i=new o;break;case"#services":var i=new t;break;case"#widgets":default:var i=new e}if(this.showChildView("content",i),"1"==nfAdmin.showOptin){var a=new jBox("Modal",{closeOnEsc:!1,closeOnClick:!1,width:400}),l=document.createElement("div");l.id="optin-modal-title";var c=document.createElement("h2");c.innerHTML="Help make Ninja Forms better!",l.appendChild(c);var d=document.createElement("div");d.classList.add("message"),d.style.padding="0px 20px 20px 20px",d.innerHTML=nfi18n.optinContent;var u=document.createElement("p");u.style.paddingBottom="10px";var h=document.createElement("input");h.id="optin-send-email",h.setAttribute("type","checkbox"),h.style.margin="7px";var m=document.createElement("label");m.setAttribute("for","optin-send-email"),m.innerHTML=nfi18n.optinYesplease,u.appendChild(h),u.appendChild(m),d.appendChild(u),u=document.createElement("p"),u.id="optin-block",u.style.padding="0px 5px 20px 5px",u.style.display="none";var f=document.createElement("input");f.id="optin-email-address",f.setAttribute("type","text"),f.setAttribute("value",nfAdmin.currentUserEmail),f.style.width="100%",f.style.fontSize="16px",u.appendChild(f),d.appendChild(u);var p=document.createElement("span");p.id="optin-spinner",p.classList.add("spinner"),p.style.display="none",d.appendChild(p);var w=document.createElement("div");w.id="optin-buttons",w.classList.add("buttons");var g=document.createElement("div");g.id="optout",g.classList.add("nf-button","secondary"),g.innerHTML=nfi18n.optinSecondary,w.appendChild(g);var v=document.createElement("button");v.id="optin",v.classList.add("nf-button","primary","pull-right"),v.innerHTML=nfi18n.optinPrimary,w.appendChild(v),d.appendChild(w);var b=document.createElement("h2");b.innerHTML=nfi18n.optinAwesome;var y=document.createElement("div");y.id="optin-thankyou",y.classList.add("message"),y.style.padding="20px",y.innerHTML=nfi18n.optinThanks,a.setContent(document.createElement("div").appendChild(d).innerHTML),a.setTitle(document.createElement("div").appendChild(l).innerHTML),a.open(),jQuery("#optin-send-email").click(function(e){jQuery(this).is(":checked")?jQuery("#optin-block").show():jQuery("#optin-block").hide()}),jQuery("#optin").click(function(e){var t;jQuery("#optin-send-email").attr("checked")?(t=1,userEmail=jQuery("#optin-email-address").val()):(t=0,userEmail=""),jQuery("#optin-spinner").css("visibility","visible"),jQuery("#optin-spinner").css("display","inline-block"),jQuery("#optin-buttons").css("visibility","hidden"),jQuery.post(ajaxurl,{action:"nf_optin",ninja_forms_opt_in:1,send_email:t,user_email:userEmail},function(e){jQuery("#optin-spinner").css("visibility","hidden"),jQuery("#optin-spinner").css("display","none"),a.setTitle(document.createElement("div").appendChild(b).innerHTML),a.setContent(document.createElement("div").appendChild(y).innerHTML),setTimeout(function(){a.close()},2e3)})}),jQuery("#optout").click(function(e){jQuery("#optin-spinner").css("visibility","visible"),jQuery("#optin-buttons").css("visibility","hidden"),jQuery.post(ajaxurl,{action:"nf_optin",ninja_forms_opt_in:0},function(e){jQuery("#optin-spinner").css("visibility","hidden"),a.close()})})}else if("1"==nfAdmin.doingCleanup){var C=new jBox("Modal",{closeOnEsc:!1,closeOnClick:!1,width:400}),j=this,d=document.createElement("div");d.classList.add("message"),d.style.padding="0px 20px 20px 20px",d.innerHTML=nfi18n.cleanupContent;var x=document.createElement("div");x.id="nf-progress-bar",x.classList.add("nf-progress-bar"),x.style.display="none";var M=document.createElement("div");M.classList.add("nf-progress-bar-slider"),x.appendChild(M),d.appendChild(x);var T=document.createElement("p");T.id="nf-loading-text",T.style.color="#1ea9ea",T.style.fontWeight="bold",T.innerHTML=nfi18n.cleanupLoading,T.style.display="none",d.appendChild(T);var w=document.createElement("div");w.id="nf-action-buttons",w.classList.add("buttons");var g=document.createElement("div");g.id="nf-cancel",g.classList.add("nf-button","secondary"),g.innerHTML=nfi18n.cleanupSecondary,w.appendChild(g);var v=document.createElement("button");v.id="nf-confirm",v.classList.add("nf-button","primary","pull-right"),v.innerHTML=nfi18n.cleanupPrimary,w.appendChild(v),d.appendChild(w),C.setContent(document.createElement("div").appendChild(d).innerHTML),C.open(),jQuery("#nf-cancel").click(function(e){C.close()}),jQuery("#nf-confirm").click(function(e){jQuery(window).bind("beforeunload",function(){return"Leaving could cause damage to your data."}),jQuery("#nf-cancel").hide(),jQuery("#nf-confirm").hide(),jQuery("#nf-progress-bar").show(),jQuery("#nf-loading-text").show(),j.cleanupProcess(j,-1,C)})}if(void 0!==nfAdmin.formTelemetry&&1==nfAdmin.formTelemetry){var k={action:"nf_form_telemetry",security:nfAdmin.ajaxNonce};jQuery.post(ajaxurl,k)}},templateContext:function(){var e=this;return{renderNav:function(){var t=document.createElement("div");return _.each(nfDashItems,function(n){var i=document.createElement("li"),o=document.createElement("a");o.href="#"+n.slug,e.currentView==n.slug&&o.classList.add("active"),o.innerHTML=n.niceName,i.classList.add(n.slug),i.appendChild(o),t.appendChild(i)}),t.innerHTML}}},cleanupProcess:function(e,t,n){var i={action:"nf_batch_process",batch_type:"data_cleanup",security:nfAdmin.ajaxNonce};jQuery.post(ajaxurl,i,function(i){if(i=JSON.parse(i),i.batch_complete)return jQuery(".nf-progress-bar-slider").css("width","100%"),jQuery(window).unbind("beforeunload"),n.close(),!1;-1==t&&(t=void 0!==i.step_total?i.step_total:i.step_remaining);var o=t-i.step_remaining,s=Math.round(o/t*100),r=Math.round(jQuery(".nf-progress-bar-slider").width()/jQuery(".nf-progress-bar-slider").parent().width()*100);s>r&&(r=Number(r)+1,jQuery(".nf-progress-bar-slider").css("width",r+"%")),e.cleanupProcess(e,t,n)})}})});var i=Backbone.Radio;useServices||(nfDashItems=nfDashItems.filter(function(e){return"services"!==e.slug})),jQuery(document).ready(function(e){t(["controllers/formsController","controllers/oauthController","controllers/servicesController","views/dashboardView"],function(t,n,i,o){(new(Marionette.Application.extend({region:"#ninja-forms-dashboard",controllers:{},initialize:function(e){var t=this;Marionette.Renderer.render=function(e,n){var e=t.template(e);return e(n)}},onStart:function(){this.showView(new o),this.controllers.forms=new t,useServices&&(this.controllers.oauth=new n),useServices&&(this.controllers.services=new i)},template:function(t){return _.template(e(t).html(),{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"})}}))).start()})}),jQuery('a[href="admin.php?page=ninja-forms#new-form"]').on("click",function(e){e.preventDefault(),window.location.hash="new-form",i.channel("dashboard").request("show:widgets"),i.channel("widget-forms").request("show:newFormsGrid")}),jQuery('a[href="admin.php?page=ninja-forms#apps"]').on("click",function(e){e.preventDefault(),window.location.hash="apps",i.channel("dashboard").request("show:apps")}),jQuery('a[href="admin.php?page=ninja-forms"]').on("click",function(e){e.preventDefault(),window.location.hash="forms",i.channel("dashboard").request("show:widgets"),i.channel("widget-forms").request("show:formsTable")}),jQuery(window).on("hashchange",function(){var e=window.location.hash.substr(1);i.channel("dashboard").request("show:"+e)}),n("main",function(){})}();
//# sourceMappingURL=dashboard.min.js.map
{"version":3,"names":[],"mappings":"","sources":["views/widgets/forms/newFormTemplate.js"],"sourcesContent":["!function(){var e,t,n;!function(i){function o(e,t){return y.call(e,t)}function s(e,t){var n,i,o,s,r,a,l,c,d,u,h,m=t&&t.split(\"/\"),f=v.map,p=f&&f[\"*\"]||{};if(e&&\".\"===e.charAt(0))if(t){for(e=e.split(\"/\"),r=e.length-1,v.nodeIdCompat&&j.test(e[r])&&(e[r]=e[r].replace(j,\"\")),e=m.slice(0,m.length-1).concat(e),d=0;d<e.length;d+=1)if(\".\"===(h=e[d]))e.splice(d,1),d-=1;else if(\"..\"===h){if(1===d&&(\"..\"===e[2]||\"..\"===e[0]))break;d>0&&(e.splice(d-1,2),d-=2)}e=e.join(\"/\")}else 0===e.indexOf(\"./\")&&(e=e.substring(2));if((m||p)&&f){for(n=e.split(\"/\"),d=n.length;d>0;d-=1){if(i=n.slice(0,d).join(\"/\"),m)for(u=m.length;u>0;u-=1)if((o=f[m.slice(0,u).join(\"/\")])&&(o=o[i])){s=o,a=d;break}if(s)break;!l&&p&&p[i]&&(l=p[i],c=d)}!s&&l&&(s=l,a=c),s&&(n.splice(0,a,s),e=n.join(\"/\"))}return e}function r(e,t){return function(){var n=C.call(arguments,0);return\"string\"!=typeof n[0]&&1===n.length&&n.push(null),m.apply(i,n.concat([e,t]))}}function a(e){return function(t){return s(t,e)}}function l(e){return function(t){w[e]=t}}function c(e){if(o(g,e)){var t=g[e];delete g[e],b[e]=!0,h.apply(i,t)}if(!o(w,e)&&!o(b,e))throw new Error(\"No \"+e);return w[e]}function d(e){var t,n=e?e.indexOf(\"!\"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function u(e){return function(){return v&&v.config&&v.config[e]||{}}}var h,m,f,p,w={},g={},v={},b={},y=Object.prototype.hasOwnProperty,C=[].slice,j=/\\.js$/;f=function(e,t){var n,i=d(e),o=i[0];return e=i[1],o&&(o=s(o,t),n=c(o)),o?e=n&&n.normalize?n.normalize(e,a(t)):s(e,t):(e=s(e,t),i=d(e),o=i[0],e=i[1],o&&(n=c(o))),{f:o?o+\"!\"+e:e,n:e,pr:o,p:n}},p={require:function(e){return r(e)},exports:function(e){var t=w[e];return void 0!==t?t:w[e]={}},module:function(e){return{id:e,uri:\"\",exports:w[e],config:u(e)}}},h=function(e,t,n,s){var a,d,u,h,m,v,y=[],C=typeof n;if(s=s||e,\"undefined\"===C||\"function\"===C){for(t=!t.length&&n.length?[\"require\",\"exports\",\"module\"]:t,m=0;m<t.length;m+=1)if(h=f(t[m],s),\"require\"===(d=h.f))y[m]=p.require(e);else if(\"exports\"===d)y[m]=p.exports(e),v=!0;else if(\"module\"===d)a=y[m]=p.module(e);else if(o(w,d)||o(g,d)||o(b,d))y[m]=c(d);else{if(!h.p)throw new Error(e+\" missing \"+d);h.p.load(h.n,r(s,!0),l(d),{}),y[m]=w[d]}u=n?n.apply(w[e],y):void 0,e&&(a&&a.exports!==i&&a.exports!==w[e]?w[e]=a.exports:u===i&&v||(w[e]=u))}else e&&(w[e]=n)},e=t=m=function(e,t,n,o,s){if(\"string\"==typeof e)return p[e]?p[e](t):c(f(e,t).f);if(!e.splice){if(v=e,v.deps&&m(v.deps,v.callback),!t)return;t.splice?(e=t,t=n,n=null):e=i}return t=t||function(){},\"function\"==typeof n&&(n=o,o=s),o?h(i,e,t,n):setTimeout(function(){h(i,e,t,n)},4),m},m.config=function(e){return m(e)},e._defined=w,n=function(e,t,n){if(\"string\"!=typeof e)throw new Error(\"See almond README: incorrect module build, no module name\");t.splice||(n=t,t=[]),o(w,e)||o(g,e)||(g[e]=[e,t,n])},n.amd={jQuery:!0}}(),n(\"../../assets/js/lib/almond\",function(){}),n(\"models/formModel\",[],function(){return Backbone.Model.extend({defaults:{objectType:\"form\",id:0,title:\"unknown\",created_at:\"unknown\"},url:function(){return ajaxurl+\"?action=nf_forms&form_id=\"+this.get(\"id\")},initialize:function(){this.set(\"id\",Number(this.get(\"id\"))),this.get(\"id\")&&this.initShortcode(this.get(\"id\")),this.get(\"title\")&&this.set(\"title\",this.get(\"title\").replace(/<\\/?[^>]+(>|$)/g,\"\"))},initShortcode:function(e){var t=\"[ninja_form id=\"+e+\"]\";this.set(\"shortcode\",t)},destroy:function(){var e=this;jQuery.ajax({type:\"POST\",url:ajaxurl+\"?action=nf_forms&method_override=delete&form_id=\"+this.get(\"id\"),success:function(t){var t=JSON.parse(t);e.collection.remove(e)}})}})}),n(\"models/formCollection\",[\"models/formModel\"],function(e){return Backbone.Collection.extend({model:e,comparator:\"title\",tmpNum:1,url:function(){return ajaxurl+\"?action=nf_forms\"},initialize:function(){this.newIDs=[],this.baseUrl=window.location.href.split(\"?\")[0],this.listenTo(i.channel(\"dashboard\"),\"forms:delete\",this.modalConfirm),this.listenTo(i.channel(\"dashboard\"),\"forms:duplicate\",this.duplicate),this.modal=new jBox(\"Modal\",{width:400,addClass:\"dashboard-modal\",overlay:!0,closeOnClick:\"body\"})},parse:function(e,t){return e.data},modalConfirm:function(e){var t,n,i,o,s,r,a,l=e.model.get(\"id\"),c=e.model.get(\"title\");n=document.createElement(\"div\"),n.style.paddingRight=\"20px\",n.style.paddingLeft=\"20px\",n.style.paddingBottom=\"20px\",i=document.createElement(\"p\"),o=document.createElement(\"em\"),s=document.createElement(\"div\"),r=document.createElement(\"div\"),a=document.createElement(\"div\"),n.classList.add(\"message\"),o.innerHTML=c,i.innerHTML+=nfi18n.deleteWarningA+\" (<strong>\"+c+\"</strong>). \"+nfi18n.deleteWarningB,i.appendChild(document.createElement(\"br\")),i.appendChild(document.createElement(\"br\"));var d=document.createElement(\"a\");d.href=this.baseUrl+\"?page=nf-import-export&exportFormId=\"+l,d.innerHTML='<i class=\"fa fa-download\" style=\"padding:5px;\"></i>'+nfi18n.deleteXForm,d.target=\"_blank\",i.appendChild(d),i.appendChild(document.createElement(\"br\"));var u=document.createElement(\"a\");u.href=this.baseUrl+\"?page=nf-processing&action=download_all_subs&form_id=\"+l+\"&redirect=\"+encodeURIComponent(this.baseUrl.replace(\"admin.php\",\"edit.php\")+\"?post_status=all&post_type=nf_sub&form_id=\"+l),u.target=\"_blank\",u.innerHTML='<i class=\"fa fa-download\" style=\"padding:5px;\"></i>'+nfi18n.deleteXSubs,i.appendChild(u),i.appendChild(document.createElement(\"br\")),n.appendChild(i);var h=document.createElement(\"label\");h.for=\"confirmDeleteFormInput\",h.innerHTML=nfi18n.deleteConfirmA+' <span style=\"color:red;\">DELETE</span> '+nfi18n.deleteConfirmB;var m=document.createElement(\"input\");m.type=\"text\",m.id=\"confirmDeleteFormInput\",m.style.marginTop=\"10px\",m.style.width=\"100%\",m.style.height=\"2.5em\",m.style.fontSize=\"1em\",n.appendChild(h),n.appendChild(document.createElement(\"br\")),n.appendChild(m),n.appendChild(document.createElement(\"br\")),n.appendChild(document.createElement(\"br\")),r.innerHTML=nfi18n.delete,r.classList.add(\"confirm\",\"nf-button\",\"primary\",\"pull-right\"),a.innerHTML=nfi18n.cancel,a.classList.add(\"cancel\",\"nf-button\",\"secondary\"),s.appendChild(a),s.appendChild(r),s.classList.add(\"buttons\"),n.appendChild(s),t=document.createElement(\"div\"),t.appendChild(n),this.modal.setContent(t.innerHTML),this.modal.setTitle(nfi18n.deleteTitle),this.modal.open();var f=this;this.modal.container[0].getElementsByClassName(\"cancel\")[0].addEventListener(\"click\",function(){f.modalClose()}),this.modal.container[0].getElementsByClassName(\"confirm\")[0].addEventListener(\"click\",function(){\"DELETE\"===document.getElementById(\"confirmDeleteFormInput\").value?f.confirmDelete(e):f.modalClose()})},modalClose:function(){this.modal.close()},confirmDelete:function(e){jQuery(e.el).removeClass(\"show-actions\"),jQuery(e.el).addClass(\"deleting\"),jQuery(e.el).animate({opacity:0,\"line-height\":0,display:\"none\"},500),console.log(e),e.model.destroy(),this.modalClose()},duplicate:function(e){var t='<div class=\"message\">Duplicating <em>'+e.model.get(\"title\")+'</em>...<div class=\"nf-loading-spinner\"></div></div>';this.modal.setContent(t),this.modal.setTitle(\"Please Wait\"),this.modal.open();var n=this;jQuery.ajax({type:\"POST\",url:ajaxurl+\"?action=nf_forms&clone_id=\"+e.model.get(\"id\"),success:function(t){var t=JSON.parse(t),i=t.data.new_form_id,o=e.model.clone();o.set({id:i,title:o.get(\"title\")+\" - copy\",created_at:new Date}),o.initShortcode(i),e.model.collection.add(o),n.modalClose()}})}})}),n(\"controllers/formsController\",[\"models/formModel\",\"models/formCollection\"],function(e,t){return Marionette.Object.extend({initialize:function(){this.forms=new t,i.channel(\"dashboard\").reply(\"get:forms\",this.getForms,this),this.forms.fetch({success:function(e){i.channel(\"dashboard\").trigger(\"fetch:forms\",e)}})},getForms:function(){return this.forms}})}),n(\"models/oauthModel\",[],function(){return Backbone.Model.extend({defaults:{connected:null,connect_url:\"\"},url:function(){return ajaxurl+\"?action=nf_oauth\"},initialize:function(){},parse:function(e,t){return e.data}})}),n(\"controllers/oauthController\",[\"models/oauthModel\"],function(e){return Marionette.Object.extend({initialize:function(){this.oauth=new e,i.channel(\"dashboard\").reply(\"get:oauth\",this.getOAuth,this),i.channel(\"dashboard\").reply(\"disconnect:oauth\",this.disconnect,this),this.initOAuth()},getOAuth:function(){return this.oauth},initOAuth:function(){this.oauth.fetch({success:function(e){i.channel(\"dashboard\").trigger(\"fetch:oauth\")}})},disconnect:function(){var e=this;new jBox(\"Confirm\",{width:750,content:\"Disconnecting from my.ninjaforms.com will disrupt the functionality of all services.\",confirmButton:\"Disconnect\",cancelButton:\"Stay Connected\",closeOnConfirm:!0,confirm:function(){jQuery.ajax({type:\"POST\",url:ajaxurl+\"?action=nf_oauth_disconnect\",success:function(t){console.log(t),e.initOAuth()}})}}).open()}})}),n(\"models/serviceModel\",[],function(){return Backbone.Model.extend({defaults:{objectType:\"service\",name:\"\",slug:\"\",installPath:\"\",description:\"\",enabled:null,infoLink:null,serviceLink:null,is_installing:!1,classes:\"\"},url:function(){return ajaxurl+\"?action=nf_service_\"+this.get(\"slug\")},initialize:function(){this.get(\"slug\")==serviceSuccess&&this.get(\"successMessage\")&&new jBox(\"Modal\",{width:300,addClass:\"dashboard-modal\",overlay:!0,closeOnClick:\"body\",content:this.get(\"successMessage\")}).open();var e=this;i.channel(\"dashboard\").reply(\"install:service:\"+this.get(\"slug\"),function(){if(e.get(\"serviceLink\")&&e.get(\"serviceLink\").href){var t=e.get(\"serviceLink\").href;new jBox(\"Modal\",{width:300,addClass:\"dashboard-modal\",overlay:!0,closeOnClick:\"body\",content:'<p style=\"text-align:center;\">Redirecting to NinjaForms.com</p>'}).open();var n=i.channel(\"dashboard\").request(\"get:oauth\");if(n.get(\"connected\"))window.location=t;else{if(e.get(\"connect_url\"))return window.location=e.get(\"connect_url\")+\"&redirect=\"+t;window.location=n.get(\"connect_url\")+\"&redirect=\"+t}}})},save:function(){var e=this;jQuery.ajax({type:\"POST\",url:this.url(),data:this.toJSON()}).done(function(t){var n=JSON.parse(t);void 0!==n.error&&(alert(\"Unable to update the service. \"+n.error),e.set(\"enabled\",!e.get(\"enabled\"))),i.channel(\"dashboard\").trigger(\"save:service-\"+e.get(\"slug\"))})}})}),n(\"models/serviceCollection\",[\"models/serviceModel\"],function(e){return Backbone.Collection.extend({model:e,comparator:\"name\",url:function(){return ajaxurl+\"?action=nf_services\"},initialize:function(){},parse:function(e,t){return e.data}})}),n(\"controllers/servicesController\",[\"models/serviceCollection\"],function(e){return Marionette.Object.extend({initialize:function(){this.services=new e,i.channel(\"dashboard\").reply(\"install:service\",this.installService,this),i.channel(\"dashboard\").reply(\"get:services\",this.getServices,this),this.fetchServices()},getServices:function(){return this.services},fetchServices:function(e){this.services.fetch({success:function(t){e&&e(t),i.channel(\"dashboard\").trigger(\"fetch:services\")}})},installService:function(e){var t=this;if(!(e instanceof Backbone.Model))var e=this.services.find(function(t){return e==t.get(\"slug\")});e.set(\"is_installing\",!0);var n=e.get(\"slug\"),o=e.get(\"installPath\");jQuery.post(ajaxurl,{action:\"nf_services_install\",plugin:n,install_path:o},function(e){t.fetchServices(function(){i.channel(\"dashboard\").request(\"install:service:\"+n)})})}})}),n(\"views/widgets/forms/formsFilter\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-filter\",ui:{input:\"input\"},events:{\"keyup @ui.input\":\"updateFilter\"},initialize:function(){this.listenTo(i.channel(\"widget-forms\"),\"change:content\",this.clearFilter)},updateFilter:function(){var e=this.getUI(\"input\").val();i.channel(\"widget-forms\").trigger(\"update:filter\",e)},clearFilter:function(){this.getUI(\"input\").val(\"\")},updatePlaceholder:function(e){this.getUI(\"input\").attr(\"placeholder\",e)}})}),n(\"views/widgets/forms/formsTableRow\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-table-row\",tagName:\"tr\",replaceElement:!0,ui:{delete:\".delete\",duplicate:\".duplicate\",edit:\".nf-item-edit\"},events:{\"click @ui.delete\":function(){i.channel(\"dashboard\").trigger(\"forms:delete\",this)},\"click @ui.duplicate\":function(){i.channel(\"dashboard\").trigger(\"forms:duplicate\",this)},\"click @ui.edit\":function(e){this.$el.toggleClass(\"show-actions\").siblings().removeClass(\"show-actions\")}},templateContext:function(){var e=this.model;return{created_at:moment(e.get(\"created_at\")).format(\"MM/DD/YY h:mm A\")}}})}),n(\"views/widgets/forms/formsTableEmpty\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-table-empty\",tagName:\"tr\"})}),n(\"views/widgets/forms/formsTableBody\",[\"views/widgets/forms/formsTableRow\",\"views/widgets/forms/formsTableEmpty\"],function(e,t){return Marionette.CollectionView.extend({childView:e,emptyView:t,className:\"forms-collection\",tagName:\"tbody\",initialize:function(){this.listenTo(i.channel(\"widget-forms\"),\"update:filter\",this.updateFilter)},updateFilter:function(e){this.setFilter(function(t,n,i){return 0<=t.get(\"title\").toLowerCase().indexOf(e.toLowerCase())})}})}),n(\"views/widgets/forms/formsTableLoading\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-table-loading\",tagName:\"tr\"})}),n(\"views/widgets/forms/formsTable\",[\"views/widgets/forms/formsTableBody\",\"views/widgets/forms/formsTableLoading\",\"models/formCollection\"],function(e,t,n){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-table\",className:\"nf-table-display\",tagName:\"table\",initialize:function(){var t=this;this.listenTo(i.channel(\"dashboard\"),\"fetch:forms\",function(n){t.showChildView(\"body\",new e({collection:n}))})},regions:{body:{el:\"tbody\",replaceElement:!0}},ui:{sortable:\".sortable\",body:\"tbody\",action2:\".action2\",more:\".more\",less:\".less\"},onRender:function(){this.getUI(\"less\").hide();var n=i.channel(\"dashboard\").request(\"get:forms\");void 0===n?this.showChildView(\"body\",new t):this.showChildView(\"body\",new e({collection:n})),this.maybeHideMoreButton()},events:{\"click @ui.sortable\":\"sortFormsTable\",\"click @ui.more\":\"showMore\",\"click @ui.less\":\"showLess\"},sortFormsTable:function(e){this.getUI(\"sortable\").removeClass(\"sorted-asc\"),this.getUI(\"sortable\").removeClass(\"sorted-desc\");var t=jQuery(e.target).data(\"sort\"),n=jQuery(e.target).data(\"reverse\")||0;n?(jQuery(e.target).addClass(\"sorted-desc\"),jQuery(e.target).removeClass(\"sorted-asc\")):(jQuery(e.target).addClass(\"sorted-asc\"),jQuery(e.target).removeClass(\"sorted-desc\"));var i=this.getChildView(\"body\").collection;i.comparator=function(e,i){return name1=e.get(t).toLowerCase(),name2=i.get(t).toLowerCase(),name1<name2?ret=-1:name1>name2?ret=1:ret=0,n&&(ret=-ret),ret},i.sort(),n?(i.models.reverse(),jQuery(e.target).data(\"reverse\",0)):jQuery(e.target).data(\"reverse\",1)},showMore:function(){this.getUI(\"more\").hide(),this.getUI(\"less\").show(),this.getUI(\"body\").addClass(\"more\")},showLess:function(){this.getUI(\"less\").hide(),this.getUI(\"more\").show(),this.getUI(\"body\").removeClass(\"more\")},maybeHideMoreButton:function(){void 0!==this.collection&&10<this.collection.length||this.getUI(\"action2\").hide()}})}),n(\"models/formTemplateModel\",[],function(){return Backbone.Model.extend({defaults:{objectType:\"template\",id:\"none\",title:\"unknown\",type:\"\"},initialize:function(){this.set(\"desc\",this.get(\"template-desc\")),this.set(\"modal-content\",this.get(\"modal-content\")),this.set(\"modal-title\",this.get(\"modal-title\"))}})}),n(\"models/formTemplateCollection\",[\"models/formTemplateModel\"],function(e){return Backbone.Collection.extend({model:e,tmpNum:1,url:function(){return ajaxurl+\"?action=nf_new_form_templates\"},parse:function(e,t){return e.data},initialize:function(){this.fetch({success:function(e){},error:function(e){}})}})}),n(\"views/widgets/forms/newFormTemplate\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-template\",events:{click:\"maybeOpenModal\"},maybeOpenModal:function(e){if(\"ad\"!=this.model.get(\"type\"))return!0;e.preventDefault(),new jBox(\"Modal\",{width:450,title:this.model.get(\"modal-title\"),content:this.model.get(\"modal-content\"),closeButton:\"box\",blockScroll:!0}).open()}})}),n(\"views/widgets/forms/newFormGrid\",[\"models/formTemplateCollection\",\"views/widgets/forms/newFormTemplate\"],function(e,t){return Marionette.CollectionView.extend({tagName:\"div\",className:\"template-list\",collection:new e,childView:t,initialize:function(){this.listenTo(i.channel(\"widget-forms\"),\"update:filter\",this.updateFilter)},updateFilter:function(e){this.setFilter(function(t,n,i){return 0<=t.get(\"title\").toLowerCase().indexOf(e.toLowerCase())})}})}),n(\"views/widgets/forms/forms\",[\"views/widgets/forms/formsFilter\",\"views/widgets/forms/formsTable\",\"views/widgets/forms/newFormGrid\"],function(e,t,n){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms\",regions:{filter:\".filter\",content:\".content\"},ui:{add:\".add\",cancel:\".cancel\"},initialize:function(){i.channel(\"widget-forms\").reply(\"show:newFormsGrid\",this.showNewFormGrid,this),i.channel(\"widget-forms\").reply(\"show:formsTable\",this.showFormsTable,this)},onRender:function(){this.getUI(\"cancel\").hide(),this.showChildView(\"filter\",new e),\"#new-form\"==window.location.hash?(this.getUI(\"add\").hide(),this.getUI(\"cancel\").show(),this.showChildView(\"content\",new n)):this.showChildView(\"content\",new t)},events:{\"click @ui.add\":\"showNewFormGrid\",\"click @ui.cancel\":\"showFormsTable\"},showNewFormGrid:function(){window.location.hash=\"new-form\",this.showChildView(\"content\",new n),i.channel(\"widget-forms\").trigger(\"change:content\"),this.getUI(\"add\").hide(),this.getUI(\"cancel\").show(),this.getChildView(\"filter\").updatePlaceholder(\"Search Templates\")},showFormsTable:function(){console.log(this),window.location.hash=\"forms\",this.showChildView(\"content\",new t),i.channel(\"widget-forms\").trigger(\"change:content\"),this.getUI(\"cancel\").hide(),this.getUI(\"add\").show(),this.getChildView(\"filter\").updatePlaceholder(\"Search Forms\")}})}),n(\"views/sections/widgets.js\",[\"views/widgets/forms/forms\"],function(e){return Marionette.View.extend({template:\"#tmpl-nf-widgets\",regions:{forms:\".widget-forms\"},onRender:function(){this.showChildView(\"forms\",new e)}})}),n(\"views/services/service\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-service\",className:function(){return\"nf-extend nf-box \"+this.model.get(\"classes\")},ui:{install:\".js--install\",learnMore:\".js--learn-more\",enabled:\".nf-toggle.setting\",toggleEnable:\".nf-toggle + label\"},events:{\"click @ui.install\":function(){i.channel(\"dashboard\").request(\"install:service\",this.model)},\"click @ui.learnMore\":function(){this.showLearnMore()},\"click @ui.toggleEnable\":function(){if(null==this.model.get(\"enabled\")&&this.model.get(\"link\"))return window.location=this.model.get(\"link\"),this.render();this.model.set(\"enabled\",!this.model.get(\"enabled\")),this.model.save(\"enabled\"),this.render()}},initialize:function(e){this.updateOAuth(),this.listenTo(this.model,\"change\",this.render),i.channel(\"dashboard\").reply(\"more:service:\"+this.model.get(\"slug\"),this.showLearnMore,this),this.listenTo(i.channel(\"dashboard\"),\"fetch:oauth\",this.updateOAuth),this.listenTo(i.channel(\"dashboard\"),\"save:service-\"+this.model.get(\"slug\"),this.render)},showLearnMore:function(){var e=new jBox(\"Modal\",{width:750,title:this.model.get(\"learnMoreTitle\")||this.model.get(\"name\"),content:this.model.get(\"learnMore\"),closeButton:\"box\",blockScroll:!0});e.open(),i.channel(\"dashboard\").reply(\"service:\"+this.model.get(\"slug\")+\":modal\",function(){return e})},updateOAuth:function(){var e=i.channel(\"dashboard\").request(\"get:oauth\");this.connected=e.get(\"connected\"),this.render()},templateContext:function(){return{is_connected:this.connected}}})}),n(\"views/services/services\",[\"views/services/service\",\"models/serviceCollection\"],function(e,t){return Marionette.CollectionView.extend({collection:new t,className:\"wrap apps-container\",childView:e,initialize:function(){this.updateCollection(),this.listenTo(i.channel(\"dashboard\"),\"fetch:services\",this.updateCollection)},updateCollection:function(){this.collection=i.channel(\"dashboard\").request(\"get:services\"),this.render()}})}),n(\"views/sections/services.js\",[\"views/services/services\"],function(e){return Marionette.View.extend({template:\"#tmpl-nf-services\",regions:{services:\".services\"},onRender:function(){this.showChildView(\"services\",new e)}})}),n(\"views/sections/apps.js\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-apps\"})}),n(\"views/sections/memberships.js\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-memberships\"})}),n(\"views/oauth.js\",[\"models/oauthModel\"],function(e){return Marionette.View.extend({model:new e,template:\"#tmpl-nf-notices-oauth\",className:\"nf-notices--oauth\",ui:{disconnect:\".js--disconnect\"},initialize:function(e){this.listenTo(i.channel(\"dashboard\"),\"fetch:oauth\",this.updateModel)},updateModel:function(){this.model=i.channel(\"dashboard\").request(\"get:oauth\"),this.render()},events:{\"click @ui.disconnect\":function(){i.channel(\"dashboard\").request(\"disconnect:oauth\")}}})}),n(\"models/promotionModel\",[],function(){return Backbone.Model.extend({defaults:{id:\"\",content:\"\"},initialize:function(){}})}),n(\"views/promotion.js\",[\"models/promotionModel\"],function(e){return Marionette.View.extend({model:null,template:\"#tmpl-nf-promotion\",className:\"nf-promotion\",initialize:function(){var t=nfPromotions[Math.floor(Math.random()*nfPromotions.length)];this.model=new e(t)}})}),n(\"views/dashboardView\",[\"views/sections/widgets.js\",\"views/sections/services.js\",\"views/sections/apps.js\",\"views/sections/memberships.js\",\"views/oauth.js\",\"views/promotion.js\"],function(e,t,n,o,s,r){return Marionette.View.extend({template:\"#tmpl-nf-dashboard\",currentView:\"widgets\",regions:{notices:\".notices\",promotions:\".promotions\",content:\".content\"},events:{\"click .widgets a\":function(t){this.showChildView(\"content\",new e),jQuery(\".\"+this.currentView).find(\"a\").removeClass(\"active\"),t.target.classList.add(\"active\"),this.currentView=\"widgets\"},\"click .services a\":function(e){this.showChildView(\"content\",new t),jQuery(\".\"+this.currentView).find(\"a\").removeClass(\"active\"),e.target.classList.add(\"active\"),this.currentView=\"services\"},\"click .apps a\":function(e){this.showChildView(\"content\",new n),jQuery(\".\"+this.currentView).find(\"a\").removeClass(\"active\"),e.target.classList.add(\"active\"),this.currentView=\"apps\"},\"click .memberships a\":function(e){this.showChildView(\"content\",new o),jQuery(\".\"+this.currentView).find(\"a\").removeClass(\"active\"),e.target.classList.add(\"active\"),this.currentView=\"memberships\"}},initialize:function(){switch(window.location.hash){case\"#apps\":this.currentView=\"apps\";break;case\"#services\":this.currentView=\"services\";break;case\"#memberships\":this.currentView=\"memberships\";break;case\"#widgets\":default:this.currentView=\"widgets\"}i.channel(\"dashboard\").reply(\"show:widgets\",function(){this.showChildView(\"content\",new e),jQuery(\"nav.sections a.active\").removeClass(\"active\"),jQuery(\"nav.sections .widgets a\").addClass(\"active\"),this.currentView=\"widgets\"},this),i.channel(\"dashboard\").reply(\"show:services\",function(){this.showChildView(\"content\",new t),jQuery(\"nav.sections a.active\").removeClass(\"active\"),jQuery(\"nav.sections .services a\").addClass(\"active\"),this.currentView=\"services\"},this),i.channel(\"dashboard\").reply(\"show:apps\",function(){this.showChildView(\"content\",new n),jQuery(\"nav.sections a.active\").removeClass(\"active\"),jQuery(\"nav.sections .apps a\").addClass(\"active\"),this.currentView=\"apps\"},this)},onRender:function(){switch(useServices&&this.showChildView(\"notices\",new s),useServices&&this.showChildView(\"promotions\",new r),window.location.hash){case\"#apps\":var i=new n;break;case\"#memberships\":var i=new o;break;case\"#services\":var i=new t;break;case\"#widgets\":default:var i=new e}if(this.showChildView(\"content\",i),void 0!==nfAdmin.formTelemetry&&1==nfAdmin.formTelemetry){var a={action:\"nf_form_telemetry\",security:nfAdmin.ajaxNonce};jQuery.post(ajaxurl,a)}if(\"1\"==nfAdmin.showOptin){var l=new jBox(\"Modal\",{closeOnEsc:!1,closeOnClick:!1,width:400}),c=document.createElement(\"div\");c.id=\"optin-modal-title\";var d=document.createElement(\"h2\");d.innerHTML=\"Help make Ninja Forms better!\",c.appendChild(d);var u=document.createElement(\"div\");u.classList.add(\"message\"),u.style.padding=\"0px 20px 20px 20px\",u.innerHTML=nfi18n.optinContent;var h=document.createElement(\"p\");h.style.paddingBottom=\"10px\";var m=document.createElement(\"input\");m.id=\"optin-send-email\",m.setAttribute(\"type\",\"checkbox\"),m.style.margin=\"7px\";var f=document.createElement(\"label\");f.setAttribute(\"for\",\"optin-send-email\"),f.innerHTML=nfi18n.optinYesplease,h.appendChild(m),h.appendChild(f),u.appendChild(h),h=document.createElement(\"p\"),h.id=\"optin-block\",h.style.padding=\"0px 5px 20px 5px\",h.style.display=\"none\";var p=document.createElement(\"input\");p.id=\"optin-email-address\",p.setAttribute(\"type\",\"text\"),p.setAttribute(\"value\",nfAdmin.currentUserEmail),p.style.width=\"100%\",p.style.fontSize=\"16px\",h.appendChild(p),u.appendChild(h);var w=document.createElement(\"span\");w.id=\"optin-spinner\",w.classList.add(\"spinner\"),w.style.display=\"none\",u.appendChild(w);var g=document.createElement(\"div\");g.id=\"optin-buttons\",g.classList.add(\"buttons\");var v=document.createElement(\"div\");v.id=\"optout\",v.classList.add(\"nf-button\",\"secondary\"),v.innerHTML=nfi18n.optinSecondary,g.appendChild(v);var b=document.createElement(\"button\");b.id=\"optin\",b.classList.add(\"nf-button\",\"primary\",\"pull-right\"),b.innerHTML=nfi18n.optinPrimary,g.appendChild(b),u.appendChild(g);var y=document.createElement(\"h2\");y.innerHTML=nfi18n.optinAwesome;var C=document.createElement(\"div\");C.id=\"optin-thankyou\",C.classList.add(\"message\"),C.style.padding=\"20px\",C.innerHTML=nfi18n.optinThanks,l.setContent(document.createElement(\"div\").appendChild(u).innerHTML),l.setTitle(document.createElement(\"div\").appendChild(c).innerHTML),l.open(),jQuery(\"#optin-send-email\").click(function(e){jQuery(this).is(\":checked\")?jQuery(\"#optin-block\").show():jQuery(\"#optin-block\").hide()}),jQuery(\"#optin\").click(function(e){var t;jQuery(\"#optin-send-email\").attr(\"checked\")?(t=1,userEmail=jQuery(\"#optin-email-address\").val()):(t=0,userEmail=\"\"),jQuery(\"#optin-spinner\").css(\"visibility\",\"visible\"),jQuery(\"#optin-spinner\").css(\"display\",\"inline-block\"),jQuery(\"#optin-buttons\").css(\"visibility\",\"hidden\"),jQuery.post(ajaxurl,{action:\"nf_optin\",ninja_forms_opt_in:1,send_email:t,user_email:userEmail},function(e){jQuery(\"#optin-spinner\").css(\"visibility\",\"hidden\"),jQuery(\"#optin-spinner\").css(\"display\",\"none\"),l.setTitle(document.createElement(\"div\").appendChild(y).innerHTML),l.setContent(document.createElement(\"div\").appendChild(C).innerHTML),setTimeout(function(){l.close()},2e3)})}),jQuery(\"#optout\").click(function(e){jQuery(\"#optin-spinner\").css(\"visibility\",\"visible\"),jQuery(\"#optin-buttons\").css(\"visibility\",\"hidden\"),jQuery.post(ajaxurl,{action:\"nf_optin\",ninja_forms_opt_in:0},function(e){jQuery(\"#optin-spinner\").css(\"visibility\",\"hidden\"),l.close()})})}},templateContext:function(){var e=this;return{renderNav:function(){var t=document.createElement(\"div\");return _.each(nfDashItems,function(n){var i=document.createElement(\"li\"),o=document.createElement(\"a\");o.href=\"#\"+n.slug,e.currentView==n.slug&&o.classList.add(\"active\"),o.innerHTML=n.niceName,i.classList.add(n.slug),i.appendChild(o),t.appendChild(i)}),t.innerHTML}}}})});var i=Backbone.Radio;useServices||(nfDashItems=nfDashItems.filter(function(e){return\"services\"!==e.slug})),jQuery(document).ready(function(e){t([\"controllers/formsController\",\"controllers/oauthController\",\"controllers/servicesController\",\"views/dashboardView\"],function(t,n,i,o){(new(Marionette.Application.extend({region:\"#ninja-forms-dashboard\",controllers:{},initialize:function(e){var t=this;Marionette.Renderer.render=function(e,n){var e=t.template(e);return e(n)}},onStart:function(){this.showView(new o),this.controllers.forms=new t,useServices&&(this.controllers.oauth=new n),useServices&&(this.controllers.services=new i)},template:function(t){return _.template(e(t).html(),{evaluate:/<#([\\s\\S]+?)#>/g,interpolate:/\\{\\{\\{([\\s\\S]+?)\\}\\}\\}/g,escape:/\\{\\{([^\\}]+?)\\}\\}(?!\\})/g,variable:\"data\"})}}))).start()})}),jQuery('a[href=\"admin.php?page=ninja-forms#new-form\"]').on(\"click\",function(e){e.preventDefault(),window.location.hash=\"new-form\",i.channel(\"dashboard\").request(\"show:widgets\"),i.channel(\"widget-forms\").request(\"show:newFormsGrid\")}),jQuery('a[href=\"admin.php?page=ninja-forms#apps\"]').on(\"click\",function(e){e.preventDefault(),window.location.hash=\"apps\",i.channel(\"dashboard\").request(\"show:apps\")}),jQuery('a[href=\"admin.php?page=ninja-forms\"]').on(\"click\",function(e){e.preventDefault(),window.location.hash=\"forms\",i.channel(\"dashboard\").request(\"show:widgets\"),i.channel(\"widget-forms\").request(\"show:formsTable\")}),jQuery(window).on(\"hashchange\",function(){var e=window.location.hash.substr(1);i.channel(\"dashboard\").request(\"show:\"+e)}),n(\"main\",function(){})}();"],"file":"dashboard.min.js"}
\ No newline at end of file
{"version":3,"names":[],"mappings":"","sources":["views/widgets/forms/newFormTemplate.js"],"sourcesContent":["!function(){var e,t,n;!function(i){function o(e,t){return y.call(e,t)}function s(e,t){var n,i,o,s,r,a,l,c,d,u,h,m=t&&t.split(\"/\"),f=v.map,p=f&&f[\"*\"]||{};if(e&&\".\"===e.charAt(0))if(t){for(e=e.split(\"/\"),r=e.length-1,v.nodeIdCompat&&j.test(e[r])&&(e[r]=e[r].replace(j,\"\")),e=m.slice(0,m.length-1).concat(e),d=0;d<e.length;d+=1)if(\".\"===(h=e[d]))e.splice(d,1),d-=1;else if(\"..\"===h){if(1===d&&(\"..\"===e[2]||\"..\"===e[0]))break;d>0&&(e.splice(d-1,2),d-=2)}e=e.join(\"/\")}else 0===e.indexOf(\"./\")&&(e=e.substring(2));if((m||p)&&f){for(n=e.split(\"/\"),d=n.length;d>0;d-=1){if(i=n.slice(0,d).join(\"/\"),m)for(u=m.length;u>0;u-=1)if((o=f[m.slice(0,u).join(\"/\")])&&(o=o[i])){s=o,a=d;break}if(s)break;!l&&p&&p[i]&&(l=p[i],c=d)}!s&&l&&(s=l,a=c),s&&(n.splice(0,a,s),e=n.join(\"/\"))}return e}function r(e,t){return function(){var n=C.call(arguments,0);return\"string\"!=typeof n[0]&&1===n.length&&n.push(null),m.apply(i,n.concat([e,t]))}}function a(e){return function(t){return s(t,e)}}function l(e){return function(t){w[e]=t}}function c(e){if(o(g,e)){var t=g[e];delete g[e],b[e]=!0,h.apply(i,t)}if(!o(w,e)&&!o(b,e))throw new Error(\"No \"+e);return w[e]}function d(e){var t,n=e?e.indexOf(\"!\"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function u(e){return function(){return v&&v.config&&v.config[e]||{}}}var h,m,f,p,w={},g={},v={},b={},y=Object.prototype.hasOwnProperty,C=[].slice,j=/\\.js$/;f=function(e,t){var n,i=d(e),o=i[0];return e=i[1],o&&(o=s(o,t),n=c(o)),o?e=n&&n.normalize?n.normalize(e,a(t)):s(e,t):(e=s(e,t),i=d(e),o=i[0],e=i[1],o&&(n=c(o))),{f:o?o+\"!\"+e:e,n:e,pr:o,p:n}},p={require:function(e){return r(e)},exports:function(e){var t=w[e];return void 0!==t?t:w[e]={}},module:function(e){return{id:e,uri:\"\",exports:w[e],config:u(e)}}},h=function(e,t,n,s){var a,d,u,h,m,v,y=[],C=typeof n;if(s=s||e,\"undefined\"===C||\"function\"===C){for(t=!t.length&&n.length?[\"require\",\"exports\",\"module\"]:t,m=0;m<t.length;m+=1)if(h=f(t[m],s),\"require\"===(d=h.f))y[m]=p.require(e);else if(\"exports\"===d)y[m]=p.exports(e),v=!0;else if(\"module\"===d)a=y[m]=p.module(e);else if(o(w,d)||o(g,d)||o(b,d))y[m]=c(d);else{if(!h.p)throw new Error(e+\" missing \"+d);h.p.load(h.n,r(s,!0),l(d),{}),y[m]=w[d]}u=n?n.apply(w[e],y):void 0,e&&(a&&a.exports!==i&&a.exports!==w[e]?w[e]=a.exports:u===i&&v||(w[e]=u))}else e&&(w[e]=n)},e=t=m=function(e,t,n,o,s){if(\"string\"==typeof e)return p[e]?p[e](t):c(f(e,t).f);if(!e.splice){if(v=e,v.deps&&m(v.deps,v.callback),!t)return;t.splice?(e=t,t=n,n=null):e=i}return t=t||function(){},\"function\"==typeof n&&(n=o,o=s),o?h(i,e,t,n):setTimeout(function(){h(i,e,t,n)},4),m},m.config=function(e){return m(e)},e._defined=w,n=function(e,t,n){if(\"string\"!=typeof e)throw new Error(\"See almond README: incorrect module build, no module name\");t.splice||(n=t,t=[]),o(w,e)||o(g,e)||(g[e]=[e,t,n])},n.amd={jQuery:!0}}(),n(\"../../assets/js/lib/almond\",function(){}),n(\"models/formModel\",[],function(){return Backbone.Model.extend({defaults:{objectType:\"form\",id:0,title:\"unknown\",created_at:\"unknown\"},url:function(){return ajaxurl+\"?action=nf_forms&form_id=\"+this.get(\"id\")},initialize:function(){this.set(\"id\",Number(this.get(\"id\"))),this.get(\"id\")&&this.initShortcode(this.get(\"id\")),this.get(\"title\")&&this.set(\"title\",this.get(\"title\").replace(/<\\/?[^>]+(>|$)/g,\"\"))},initShortcode:function(e){var t=\"[ninja_form id=\"+e+\"]\";this.set(\"shortcode\",t)},destroy:function(){var e=this;jQuery.ajax({type:\"POST\",url:ajaxurl+\"?action=nf_forms&method_override=delete&form_id=\"+this.get(\"id\"),success:function(t){var t=JSON.parse(t);e.collection.remove(e)}})}})}),n(\"models/formCollection\",[\"models/formModel\"],function(e){return Backbone.Collection.extend({model:e,comparator:\"title\",tmpNum:1,url:function(){return ajaxurl+\"?action=nf_forms\"},initialize:function(){this.newIDs=[],this.baseUrl=window.location.href.split(\"?\")[0],this.listenTo(i.channel(\"dashboard\"),\"forms:delete\",this.modalConfirm),this.listenTo(i.channel(\"dashboard\"),\"forms:duplicate\",this.duplicate),this.modal=new jBox(\"Modal\",{width:400,addClass:\"dashboard-modal\",overlay:!0,closeOnClick:\"body\"})},parse:function(e,t){return e.data},modalConfirm:function(e){var t,n,i,o,s,r,a,l=e.model.get(\"id\"),c=e.model.get(\"title\");n=document.createElement(\"div\"),n.style.paddingRight=\"20px\",n.style.paddingLeft=\"20px\",n.style.paddingBottom=\"20px\",i=document.createElement(\"p\"),o=document.createElement(\"em\"),s=document.createElement(\"div\"),r=document.createElement(\"div\"),a=document.createElement(\"div\"),n.classList.add(\"message\"),o.innerHTML=c,i.innerHTML+=nfi18n.deleteWarningA+\" (<strong>\"+c+\"</strong>). \"+nfi18n.deleteWarningB,i.appendChild(document.createElement(\"br\")),i.appendChild(document.createElement(\"br\"));var d=document.createElement(\"a\");d.href=this.baseUrl+\"?page=nf-import-export&exportFormId=\"+l,d.innerHTML='<i class=\"fa fa-download\" style=\"padding:5px;\"></i>'+nfi18n.deleteXForm,d.target=\"_blank\",i.appendChild(d),i.appendChild(document.createElement(\"br\"));var u=document.createElement(\"a\");u.href=this.baseUrl+\"?page=nf-processing&action=download_all_subs&form_id=\"+l+\"&redirect=\"+encodeURIComponent(this.baseUrl.replace(\"admin.php\",\"edit.php\")+\"?post_status=all&post_type=nf_sub&form_id=\"+l),u.target=\"_blank\",u.innerHTML='<i class=\"fa fa-download\" style=\"padding:5px;\"></i>'+nfi18n.deleteXSubs,i.appendChild(u),i.appendChild(document.createElement(\"br\")),n.appendChild(i);var h=document.createElement(\"label\");h.for=\"confirmDeleteFormInput\",h.innerHTML=nfi18n.deleteConfirmA+' <span style=\"color:red;\">DELETE</span> '+nfi18n.deleteConfirmB;var m=document.createElement(\"input\");m.type=\"text\",m.id=\"confirmDeleteFormInput\",m.style.marginTop=\"10px\",m.style.width=\"100%\",m.style.height=\"2.5em\",m.style.fontSize=\"1em\",n.appendChild(h),n.appendChild(document.createElement(\"br\")),n.appendChild(m),n.appendChild(document.createElement(\"br\")),n.appendChild(document.createElement(\"br\")),r.innerHTML=nfi18n.delete,r.classList.add(\"confirm\",\"nf-button\",\"primary\",\"pull-right\"),a.innerHTML=nfi18n.cancel,a.classList.add(\"cancel\",\"nf-button\",\"secondary\"),s.appendChild(a),s.appendChild(r),s.classList.add(\"buttons\"),n.appendChild(s),t=document.createElement(\"div\"),t.appendChild(n),this.modal.setContent(t.innerHTML),this.modal.setTitle(nfi18n.deleteTitle),this.modal.open();var f=this;this.modal.container[0].getElementsByClassName(\"cancel\")[0].addEventListener(\"click\",function(){f.modalClose()}),this.modal.container[0].getElementsByClassName(\"confirm\")[0].addEventListener(\"click\",function(){\"DELETE\"===document.getElementById(\"confirmDeleteFormInput\").value?f.confirmDelete(e):f.modalClose()})},modalClose:function(){this.modal.close()},confirmDelete:function(e){jQuery(e.el).removeClass(\"show-actions\"),jQuery(e.el).addClass(\"deleting\"),jQuery(e.el).animate({opacity:0,\"line-height\":0,display:\"none\"},500),console.log(e),e.model.destroy(),this.modalClose()},duplicate:function(e){var t='<div class=\"message\">Duplicating <em>'+e.model.get(\"title\")+'</em>...<div class=\"nf-loading-spinner\"></div></div>';this.modal.setContent(t),this.modal.setTitle(\"Please Wait\"),this.modal.open();var n=this;jQuery.ajax({type:\"POST\",url:ajaxurl+\"?action=nf_forms&clone_id=\"+e.model.get(\"id\"),success:function(t){var t=JSON.parse(t),i=t.data.new_form_id,o=e.model.clone();o.set({id:i,title:o.get(\"title\")+\" - copy\",created_at:new Date}),o.initShortcode(i),e.model.collection.add(o),n.modalClose()}})}})}),n(\"controllers/formsController\",[\"models/formModel\",\"models/formCollection\"],function(e,t){return Marionette.Object.extend({initialize:function(){this.forms=new t,i.channel(\"dashboard\").reply(\"get:forms\",this.getForms,this),this.forms.fetch({success:function(e){i.channel(\"dashboard\").trigger(\"fetch:forms\",e)}})},getForms:function(){return this.forms}})}),n(\"models/oauthModel\",[],function(){return Backbone.Model.extend({defaults:{connected:null,connect_url:\"\"},url:function(){return ajaxurl+\"?action=nf_oauth\"},initialize:function(){},parse:function(e,t){return e.data}})}),n(\"controllers/oauthController\",[\"models/oauthModel\"],function(e){return Marionette.Object.extend({initialize:function(){this.oauth=new e,i.channel(\"dashboard\").reply(\"get:oauth\",this.getOAuth,this),i.channel(\"dashboard\").reply(\"disconnect:oauth\",this.disconnect,this),this.initOAuth()},getOAuth:function(){return this.oauth},initOAuth:function(){this.oauth.fetch({success:function(e){i.channel(\"dashboard\").trigger(\"fetch:oauth\")}})},disconnect:function(){var e=this;new jBox(\"Confirm\",{width:750,content:\"Disconnecting from my.ninjaforms.com will disrupt the functionality of all services.\",confirmButton:\"Disconnect\",cancelButton:\"Stay Connected\",closeOnConfirm:!0,confirm:function(){jQuery.ajax({type:\"POST\",url:ajaxurl+\"?action=nf_oauth_disconnect\",success:function(t){console.log(t),e.initOAuth()}})}}).open()}})}),n(\"models/serviceModel\",[],function(){return Backbone.Model.extend({defaults:{objectType:\"service\",name:\"\",slug:\"\",installPath:\"\",description:\"\",enabled:null,infoLink:null,serviceLink:null,is_installing:!1,classes:\"\"},url:function(){return ajaxurl+\"?action=nf_service_\"+this.get(\"slug\")},initialize:function(){this.get(\"slug\")==serviceSuccess&&this.get(\"successMessage\")&&new jBox(\"Modal\",{width:300,addClass:\"dashboard-modal\",overlay:!0,closeOnClick:\"body\",content:this.get(\"successMessage\")}).open();var e=this;i.channel(\"dashboard\").reply(\"install:service:\"+this.get(\"slug\"),function(){if(e.get(\"serviceLink\")&&e.get(\"serviceLink\").href){var t=e.get(\"serviceLink\").href;new jBox(\"Modal\",{width:300,addClass:\"dashboard-modal\",overlay:!0,closeOnClick:\"body\",content:'<p style=\"text-align:center;\">Redirecting to NinjaForms.com</p>'}).open();var n=i.channel(\"dashboard\").request(\"get:oauth\");if(n.get(\"connected\"))window.location=t;else{if(e.get(\"connect_url\"))return window.location=e.get(\"connect_url\")+\"&redirect=\"+t;window.location=n.get(\"connect_url\")+\"&redirect=\"+t}}})},save:function(){var e=this;jQuery.ajax({type:\"POST\",url:this.url(),data:this.toJSON()}).done(function(t){var n=JSON.parse(t);void 0!==n.error&&(alert(\"Unable to update the service. \"+n.error),e.set(\"enabled\",!e.get(\"enabled\"))),i.channel(\"dashboard\").trigger(\"save:service-\"+e.get(\"slug\"))})}})}),n(\"models/serviceCollection\",[\"models/serviceModel\"],function(e){return Backbone.Collection.extend({model:e,comparator:\"name\",url:function(){return ajaxurl+\"?action=nf_services\"},initialize:function(){},parse:function(e,t){return e.data}})}),n(\"controllers/servicesController\",[\"models/serviceCollection\"],function(e){return Marionette.Object.extend({initialize:function(){this.services=new e,i.channel(\"dashboard\").reply(\"install:service\",this.installService,this),i.channel(\"dashboard\").reply(\"get:services\",this.getServices,this),this.fetchServices()},getServices:function(){return this.services},fetchServices:function(e){this.services.fetch({success:function(t){e&&e(t),i.channel(\"dashboard\").trigger(\"fetch:services\")}})},installService:function(e){var t=this;if(!(e instanceof Backbone.Model))var e=this.services.find(function(t){return e==t.get(\"slug\")});e.set(\"is_installing\",!0);var n=e.get(\"slug\"),o=e.get(\"installPath\");jQuery.post(ajaxurl,{action:\"nf_services_install\",plugin:n,install_path:o},function(e){t.fetchServices(function(){i.channel(\"dashboard\").request(\"install:service:\"+n)})})}})}),n(\"views/widgets/forms/formsFilter\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-filter\",ui:{input:\"input\"},events:{\"keyup @ui.input\":\"updateFilter\"},initialize:function(){this.listenTo(i.channel(\"widget-forms\"),\"change:content\",this.clearFilter)},updateFilter:function(){var e=this.getUI(\"input\").val();i.channel(\"widget-forms\").trigger(\"update:filter\",e)},clearFilter:function(){this.getUI(\"input\").val(\"\")},updatePlaceholder:function(e){this.getUI(\"input\").attr(\"placeholder\",e)}})}),n(\"views/widgets/forms/formsTableRow\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-table-row\",tagName:\"tr\",replaceElement:!0,ui:{delete:\".delete\",duplicate:\".duplicate\",edit:\".nf-item-edit\"},events:{\"click @ui.delete\":function(){i.channel(\"dashboard\").trigger(\"forms:delete\",this)},\"click @ui.duplicate\":function(){i.channel(\"dashboard\").trigger(\"forms:duplicate\",this)},\"click @ui.edit\":function(e){this.$el.toggleClass(\"show-actions\").siblings().removeClass(\"show-actions\")}},templateContext:function(){var e=this.model;return{created_at:moment(e.get(\"created_at\")).format(\"MM/DD/YY h:mm A\")}}})}),n(\"views/widgets/forms/formsTableEmpty\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-table-empty\",tagName:\"tr\"})}),n(\"views/widgets/forms/formsTableBody\",[\"views/widgets/forms/formsTableRow\",\"views/widgets/forms/formsTableEmpty\"],function(e,t){return Marionette.CollectionView.extend({childView:e,emptyView:t,className:\"forms-collection\",tagName:\"tbody\",initialize:function(){this.listenTo(i.channel(\"widget-forms\"),\"update:filter\",this.updateFilter)},updateFilter:function(e){this.setFilter(function(t,n,i){return 0<=t.get(\"title\").toLowerCase().indexOf(e.toLowerCase())})}})}),n(\"views/widgets/forms/formsTableLoading\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-table-loading\",tagName:\"tr\"})}),n(\"views/widgets/forms/formsTable\",[\"views/widgets/forms/formsTableBody\",\"views/widgets/forms/formsTableLoading\",\"models/formCollection\"],function(e,t,n){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-table\",className:\"nf-table-display\",tagName:\"table\",initialize:function(){var t=this;this.listenTo(i.channel(\"dashboard\"),\"fetch:forms\",function(n){t.showChildView(\"body\",new e({collection:n}))})},regions:{body:{el:\"tbody\",replaceElement:!0}},ui:{sortable:\".sortable\",body:\"tbody\",action2:\".action2\",more:\".more\",less:\".less\"},onRender:function(){this.getUI(\"less\").hide();var n=i.channel(\"dashboard\").request(\"get:forms\");void 0===n?this.showChildView(\"body\",new t):this.showChildView(\"body\",new e({collection:n})),this.maybeHideMoreButton()},events:{\"click @ui.sortable\":\"sortFormsTable\",\"click @ui.more\":\"showMore\",\"click @ui.less\":\"showLess\"},sortFormsTable:function(e){this.getUI(\"sortable\").removeClass(\"sorted-asc\"),this.getUI(\"sortable\").removeClass(\"sorted-desc\");var t=jQuery(e.target).data(\"sort\"),n=jQuery(e.target).data(\"reverse\")||0;n?(jQuery(e.target).addClass(\"sorted-desc\"),jQuery(e.target).removeClass(\"sorted-asc\")):(jQuery(e.target).addClass(\"sorted-asc\"),jQuery(e.target).removeClass(\"sorted-desc\"));var i=this.getChildView(\"body\").collection;i.comparator=function(e,i){return name1=e.get(t).toLowerCase(),name2=i.get(t).toLowerCase(),name1<name2?ret=-1:name1>name2?ret=1:ret=0,n&&(ret=-ret),ret},i.sort(),n?(i.models.reverse(),jQuery(e.target).data(\"reverse\",0)):jQuery(e.target).data(\"reverse\",1)},showMore:function(){this.getUI(\"more\").hide(),this.getUI(\"less\").show(),this.getUI(\"body\").addClass(\"more\")},showLess:function(){this.getUI(\"less\").hide(),this.getUI(\"more\").show(),this.getUI(\"body\").removeClass(\"more\")},maybeHideMoreButton:function(){void 0!==this.collection&&10<this.collection.length||this.getUI(\"action2\").hide()}})}),n(\"models/formTemplateModel\",[],function(){return Backbone.Model.extend({defaults:{objectType:\"template\",id:\"none\",title:\"unknown\",type:\"\"},initialize:function(){this.set(\"desc\",this.get(\"template-desc\")),this.set(\"modal-content\",this.get(\"modal-content\")),this.set(\"modal-title\",this.get(\"modal-title\"))}})}),n(\"models/formTemplateCollection\",[\"models/formTemplateModel\"],function(e){return Backbone.Collection.extend({model:e,tmpNum:1,url:function(){return ajaxurl+\"?action=nf_new_form_templates\"},parse:function(e,t){return e.data},initialize:function(){this.fetch({success:function(e){},error:function(e){}})}})}),n(\"views/widgets/forms/newFormTemplate\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms-template\",events:{click:\"maybeOpenModal\"},maybeOpenModal:function(e){if(\"ad\"!=this.model.get(\"type\"))return!0;e.preventDefault(),new jBox(\"Modal\",{width:450,title:this.model.get(\"modal-title\"),content:this.model.get(\"modal-content\"),closeButton:\"box\",blockScroll:!0}).open()}})}),n(\"views/widgets/forms/newFormGrid\",[\"models/formTemplateCollection\",\"views/widgets/forms/newFormTemplate\"],function(e,t){return Marionette.CollectionView.extend({tagName:\"div\",className:\"template-list\",collection:new e,childView:t,initialize:function(){this.listenTo(i.channel(\"widget-forms\"),\"update:filter\",this.updateFilter)},updateFilter:function(e){this.setFilter(function(t,n,i){return 0<=t.get(\"title\").toLowerCase().indexOf(e.toLowerCase())})}})}),n(\"views/widgets/forms/forms\",[\"views/widgets/forms/formsFilter\",\"views/widgets/forms/formsTable\",\"views/widgets/forms/newFormGrid\"],function(e,t,n){return Marionette.View.extend({template:\"#tmpl-nf-widget-forms\",regions:{filter:\".filter\",content:\".content\"},ui:{add:\".add\",cancel:\".cancel\"},initialize:function(){i.channel(\"widget-forms\").reply(\"show:newFormsGrid\",this.showNewFormGrid,this),i.channel(\"widget-forms\").reply(\"show:formsTable\",this.showFormsTable,this)},onRender:function(){this.getUI(\"cancel\").hide(),this.showChildView(\"filter\",new e),\"#new-form\"==window.location.hash?(this.getUI(\"add\").hide(),this.getUI(\"cancel\").show(),this.showChildView(\"content\",new n)):this.showChildView(\"content\",new t)},events:{\"click @ui.add\":\"showNewFormGrid\",\"click @ui.cancel\":\"showFormsTable\"},showNewFormGrid:function(){window.location.hash=\"new-form\",this.showChildView(\"content\",new n),i.channel(\"widget-forms\").trigger(\"change:content\"),this.getUI(\"add\").hide(),this.getUI(\"cancel\").show(),this.getChildView(\"filter\").updatePlaceholder(\"Search Templates\")},showFormsTable:function(){console.log(this),window.location.hash=\"forms\",this.showChildView(\"content\",new t),i.channel(\"widget-forms\").trigger(\"change:content\"),this.getUI(\"cancel\").hide(),this.getUI(\"add\").show(),this.getChildView(\"filter\").updatePlaceholder(\"Search Forms\")}})}),n(\"views/sections/widgets.js\",[\"views/widgets/forms/forms\"],function(e){return Marionette.View.extend({template:\"#tmpl-nf-widgets\",regions:{forms:\".widget-forms\"},onRender:function(){this.showChildView(\"forms\",new e)}})}),n(\"views/services/service\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-service\",className:function(){return\"nf-extend nf-box \"+this.model.get(\"classes\")},ui:{install:\".js--install\",learnMore:\".js--learn-more\",enabled:\".nf-toggle.setting\",toggleEnable:\".nf-toggle + label\"},events:{\"click @ui.install\":function(){i.channel(\"dashboard\").request(\"install:service\",this.model)},\"click @ui.learnMore\":function(){this.showLearnMore()},\"click @ui.toggleEnable\":function(){if(null==this.model.get(\"enabled\")&&this.model.get(\"link\"))return window.location=this.model.get(\"link\"),this.render();this.model.set(\"enabled\",!this.model.get(\"enabled\")),this.model.save(\"enabled\"),this.render()}},initialize:function(e){this.updateOAuth(),this.listenTo(this.model,\"change\",this.render),i.channel(\"dashboard\").reply(\"more:service:\"+this.model.get(\"slug\"),this.showLearnMore,this),this.listenTo(i.channel(\"dashboard\"),\"fetch:oauth\",this.updateOAuth),this.listenTo(i.channel(\"dashboard\"),\"save:service-\"+this.model.get(\"slug\"),this.render)},showLearnMore:function(){var e=new jBox(\"Modal\",{width:750,title:this.model.get(\"learnMoreTitle\")||this.model.get(\"name\"),content:this.model.get(\"learnMore\"),closeButton:\"box\",blockScroll:!0});e.open(),i.channel(\"dashboard\").reply(\"service:\"+this.model.get(\"slug\")+\":modal\",function(){return e})},updateOAuth:function(){var e=i.channel(\"dashboard\").request(\"get:oauth\");this.connected=e.get(\"connected\"),this.render()},templateContext:function(){return{is_connected:this.connected}}})}),n(\"views/services/services\",[\"views/services/service\",\"models/serviceCollection\"],function(e,t){return Marionette.CollectionView.extend({collection:new t,className:\"wrap apps-container\",childView:e,initialize:function(){this.updateCollection(),this.listenTo(i.channel(\"dashboard\"),\"fetch:services\",this.updateCollection)},updateCollection:function(){this.collection=i.channel(\"dashboard\").request(\"get:services\"),this.render()}})}),n(\"views/sections/services.js\",[\"views/services/services\"],function(e){return Marionette.View.extend({template:\"#tmpl-nf-services\",regions:{services:\".services\"},onRender:function(){this.showChildView(\"services\",new e)}})}),n(\"views/sections/apps.js\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-apps\"})}),n(\"views/sections/memberships.js\",[],function(){return Marionette.View.extend({template:\"#tmpl-nf-memberships\"})}),n(\"views/oauth.js\",[\"models/oauthModel\"],function(e){return Marionette.View.extend({model:new e,template:\"#tmpl-nf-notices-oauth\",className:\"nf-notices--oauth\",ui:{disconnect:\".js--disconnect\"},initialize:function(e){this.listenTo(i.channel(\"dashboard\"),\"fetch:oauth\",this.updateModel)},updateModel:function(){this.model=i.channel(\"dashboard\").request(\"get:oauth\"),this.render()},events:{\"click @ui.disconnect\":function(){i.channel(\"dashboard\").request(\"disconnect:oauth\")}}})}),n(\"models/promotionModel\",[],function(){return Backbone.Model.extend({defaults:{id:\"\",content:\"\"},initialize:function(){}})}),n(\"views/promotion.js\",[\"models/promotionModel\"],function(e){return Marionette.View.extend({model:null,template:\"#tmpl-nf-promotion\",className:\"nf-promotion\",initialize:function(){var t=nfPromotions[Math.floor(Math.random()*nfPromotions.length)];this.model=new e(t)}})}),n(\"views/dashboardView\",[\"views/sections/widgets.js\",\"views/sections/services.js\",\"views/sections/apps.js\",\"views/sections/memberships.js\",\"views/oauth.js\",\"views/promotion.js\"],function(e,t,n,o,s,r){return Marionette.View.extend({template:\"#tmpl-nf-dashboard\",currentView:\"widgets\",regions:{notices:\".notices\",promotions:\".promotions\",content:\".content\"},events:{\"click .widgets a\":function(t){this.showChildView(\"content\",new e),jQuery(\".\"+this.currentView).find(\"a\").removeClass(\"active\"),t.target.classList.add(\"active\"),this.currentView=\"widgets\"},\"click .services a\":function(e){this.showChildView(\"content\",new t),jQuery(\".\"+this.currentView).find(\"a\").removeClass(\"active\"),e.target.classList.add(\"active\"),this.currentView=\"services\"},\"click .apps a\":function(e){this.showChildView(\"content\",new n),jQuery(\".\"+this.currentView).find(\"a\").removeClass(\"active\"),e.target.classList.add(\"active\"),this.currentView=\"apps\"},\"click .memberships a\":function(e){this.showChildView(\"content\",new o),jQuery(\".\"+this.currentView).find(\"a\").removeClass(\"active\"),e.target.classList.add(\"active\"),this.currentView=\"memberships\"}},initialize:function(){switch(window.location.hash){case\"#apps\":this.currentView=\"apps\";break;case\"#services\":this.currentView=\"services\";break;case\"#memberships\":this.currentView=\"memberships\";break;case\"#widgets\":default:this.currentView=\"widgets\"}i.channel(\"dashboard\").reply(\"show:widgets\",function(){this.showChildView(\"content\",new e),jQuery(\"nav.sections a.active\").removeClass(\"active\"),jQuery(\"nav.sections .widgets a\").addClass(\"active\"),this.currentView=\"widgets\"},this),i.channel(\"dashboard\").reply(\"show:services\",function(){this.showChildView(\"content\",new t),jQuery(\"nav.sections a.active\").removeClass(\"active\"),jQuery(\"nav.sections .services a\").addClass(\"active\"),this.currentView=\"services\"},this),i.channel(\"dashboard\").reply(\"show:apps\",function(){this.showChildView(\"content\",new n),jQuery(\"nav.sections a.active\").removeClass(\"active\"),jQuery(\"nav.sections .apps a\").addClass(\"active\"),this.currentView=\"apps\"},this)},onRender:function(){switch(useServices&&this.showChildView(\"notices\",new s),useServices&&this.showChildView(\"promotions\",new r),window.location.hash){case\"#apps\":var i=new n;break;case\"#memberships\":var i=new o;break;case\"#services\":var i=new t;break;case\"#widgets\":default:var i=new e}if(this.showChildView(\"content\",i),\"1\"==nfAdmin.showOptin){var a=new jBox(\"Modal\",{closeOnEsc:!1,closeOnClick:!1,width:400}),l=document.createElement(\"div\");l.id=\"optin-modal-title\";var c=document.createElement(\"h2\");c.innerHTML=\"Help make Ninja Forms better!\",l.appendChild(c);var d=document.createElement(\"div\");d.classList.add(\"message\"),d.style.padding=\"0px 20px 20px 20px\",d.innerHTML=nfi18n.optinContent;var u=document.createElement(\"p\");u.style.paddingBottom=\"10px\";var h=document.createElement(\"input\");h.id=\"optin-send-email\",h.setAttribute(\"type\",\"checkbox\"),h.style.margin=\"7px\";var m=document.createElement(\"label\");m.setAttribute(\"for\",\"optin-send-email\"),m.innerHTML=nfi18n.optinYesplease,u.appendChild(h),u.appendChild(m),d.appendChild(u),u=document.createElement(\"p\"),u.id=\"optin-block\",u.style.padding=\"0px 5px 20px 5px\",u.style.display=\"none\";var f=document.createElement(\"input\");f.id=\"optin-email-address\",f.setAttribute(\"type\",\"text\"),f.setAttribute(\"value\",nfAdmin.currentUserEmail),f.style.width=\"100%\",f.style.fontSize=\"16px\",u.appendChild(f),d.appendChild(u);var p=document.createElement(\"span\");p.id=\"optin-spinner\",p.classList.add(\"spinner\"),p.style.display=\"none\",d.appendChild(p);var w=document.createElement(\"div\");w.id=\"optin-buttons\",w.classList.add(\"buttons\");var g=document.createElement(\"div\");g.id=\"optout\",g.classList.add(\"nf-button\",\"secondary\"),g.innerHTML=nfi18n.optinSecondary,w.appendChild(g);var v=document.createElement(\"button\");v.id=\"optin\",v.classList.add(\"nf-button\",\"primary\",\"pull-right\"),v.innerHTML=nfi18n.optinPrimary,w.appendChild(v),d.appendChild(w);var b=document.createElement(\"h2\");b.innerHTML=nfi18n.optinAwesome;var y=document.createElement(\"div\");y.id=\"optin-thankyou\",y.classList.add(\"message\"),y.style.padding=\"20px\",y.innerHTML=nfi18n.optinThanks,a.setContent(document.createElement(\"div\").appendChild(d).innerHTML),a.setTitle(document.createElement(\"div\").appendChild(l).innerHTML),a.open(),jQuery(\"#optin-send-email\").click(function(e){jQuery(this).is(\":checked\")?jQuery(\"#optin-block\").show():jQuery(\"#optin-block\").hide()}),jQuery(\"#optin\").click(function(e){var t;jQuery(\"#optin-send-email\").attr(\"checked\")?(t=1,userEmail=jQuery(\"#optin-email-address\").val()):(t=0,userEmail=\"\"),jQuery(\"#optin-spinner\").css(\"visibility\",\"visible\"),jQuery(\"#optin-spinner\").css(\"display\",\"inline-block\"),jQuery(\"#optin-buttons\").css(\"visibility\",\"hidden\"),jQuery.post(ajaxurl,{action:\"nf_optin\",ninja_forms_opt_in:1,send_email:t,user_email:userEmail},function(e){jQuery(\"#optin-spinner\").css(\"visibility\",\"hidden\"),jQuery(\"#optin-spinner\").css(\"display\",\"none\"),a.setTitle(document.createElement(\"div\").appendChild(b).innerHTML),a.setContent(document.createElement(\"div\").appendChild(y).innerHTML),setTimeout(function(){a.close()},2e3)})}),jQuery(\"#optout\").click(function(e){jQuery(\"#optin-spinner\").css(\"visibility\",\"visible\"),jQuery(\"#optin-buttons\").css(\"visibility\",\"hidden\"),jQuery.post(ajaxurl,{action:\"nf_optin\",ninja_forms_opt_in:0},function(e){jQuery(\"#optin-spinner\").css(\"visibility\",\"hidden\"),a.close()})})}else if(\"1\"==nfAdmin.doingCleanup){var C=new jBox(\"Modal\",{closeOnEsc:!1,closeOnClick:!1,width:400}),j=this,d=document.createElement(\"div\");d.classList.add(\"message\"),d.style.padding=\"0px 20px 20px 20px\",d.innerHTML=nfi18n.cleanupContent;var x=document.createElement(\"div\");x.id=\"nf-progress-bar\",x.classList.add(\"nf-progress-bar\"),x.style.display=\"none\";var M=document.createElement(\"div\");M.classList.add(\"nf-progress-bar-slider\"),x.appendChild(M),d.appendChild(x);var T=document.createElement(\"p\");T.id=\"nf-loading-text\",T.style.color=\"#1ea9ea\",T.style.fontWeight=\"bold\",T.innerHTML=nfi18n.cleanupLoading,T.style.display=\"none\",d.appendChild(T);var w=document.createElement(\"div\");w.id=\"nf-action-buttons\",w.classList.add(\"buttons\");var g=document.createElement(\"div\");g.id=\"nf-cancel\",g.classList.add(\"nf-button\",\"secondary\"),g.innerHTML=nfi18n.cleanupSecondary,w.appendChild(g);var v=document.createElement(\"button\");v.id=\"nf-confirm\",v.classList.add(\"nf-button\",\"primary\",\"pull-right\"),v.innerHTML=nfi18n.cleanupPrimary,w.appendChild(v),d.appendChild(w),C.setContent(document.createElement(\"div\").appendChild(d).innerHTML),C.open(),jQuery(\"#nf-cancel\").click(function(e){C.close()}),jQuery(\"#nf-confirm\").click(function(e){jQuery(window).bind(\"beforeunload\",function(){return\"Leaving could cause damage to your data.\"}),jQuery(\"#nf-cancel\").hide(),jQuery(\"#nf-confirm\").hide(),jQuery(\"#nf-progress-bar\").show(),jQuery(\"#nf-loading-text\").show(),j.cleanupProcess(j,-1,C)})}if(void 0!==nfAdmin.formTelemetry&&1==nfAdmin.formTelemetry){var k={action:\"nf_form_telemetry\",security:nfAdmin.ajaxNonce};jQuery.post(ajaxurl,k)}},templateContext:function(){var e=this;return{renderNav:function(){var t=document.createElement(\"div\");return _.each(nfDashItems,function(n){var i=document.createElement(\"li\"),o=document.createElement(\"a\");o.href=\"#\"+n.slug,e.currentView==n.slug&&o.classList.add(\"active\"),o.innerHTML=n.niceName,i.classList.add(n.slug),i.appendChild(o),t.appendChild(i)}),t.innerHTML}}},cleanupProcess:function(e,t,n){var i={action:\"nf_batch_process\",batch_type:\"data_cleanup\",security:nfAdmin.ajaxNonce};jQuery.post(ajaxurl,i,function(i){if(i=JSON.parse(i),i.batch_complete)return jQuery(\".nf-progress-bar-slider\").css(\"width\",\"100%\"),jQuery(window).unbind(\"beforeunload\"),n.close(),!1;-1==t&&(t=void 0!==i.step_total?i.step_total:i.step_remaining);var o=t-i.step_remaining,s=Math.round(o/t*100),r=Math.round(jQuery(\".nf-progress-bar-slider\").width()/jQuery(\".nf-progress-bar-slider\").parent().width()*100);s>r&&(r=Number(r)+1,jQuery(\".nf-progress-bar-slider\").css(\"width\",r+\"%\")),e.cleanupProcess(e,t,n)})}})});var i=Backbone.Radio;useServices||(nfDashItems=nfDashItems.filter(function(e){return\"services\"!==e.slug})),jQuery(document).ready(function(e){t([\"controllers/formsController\",\"controllers/oauthController\",\"controllers/servicesController\",\"views/dashboardView\"],function(t,n,i,o){(new(Marionette.Application.extend({region:\"#ninja-forms-dashboard\",controllers:{},initialize:function(e){var t=this;Marionette.Renderer.render=function(e,n){var e=t.template(e);return e(n)}},onStart:function(){this.showView(new o),this.controllers.forms=new t,useServices&&(this.controllers.oauth=new n),useServices&&(this.controllers.services=new i)},template:function(t){return _.template(e(t).html(),{evaluate:/<#([\\s\\S]+?)#>/g,interpolate:/\\{\\{\\{([\\s\\S]+?)\\}\\}\\}/g,escape:/\\{\\{([^\\}]+?)\\}\\}(?!\\})/g,variable:\"data\"})}}))).start()})}),jQuery('a[href=\"admin.php?page=ninja-forms#new-form\"]').on(\"click\",function(e){e.preventDefault(),window.location.hash=\"new-form\",i.channel(\"dashboard\").request(\"show:widgets\"),i.channel(\"widget-forms\").request(\"show:newFormsGrid\")}),jQuery('a[href=\"admin.php?page=ninja-forms#apps\"]').on(\"click\",function(e){e.preventDefault(),window.location.hash=\"apps\",i.channel(\"dashboard\").request(\"show:apps\")}),jQuery('a[href=\"admin.php?page=ninja-forms\"]').on(\"click\",function(e){e.preventDefault(),window.location.hash=\"forms\",i.channel(\"dashboard\").request(\"show:widgets\"),i.channel(\"widget-forms\").request(\"show:formsTable\")}),jQuery(window).on(\"hashchange\",function(){var e=window.location.hash.substr(1);i.channel(\"dashboard\").request(\"show:\"+e)}),n(\"main\",function(){})}();"],"file":"dashboard.min.js"}
\ No newline at end of file
......@@ -234,6 +234,26 @@ jBox
}
}
/*
Progress Bar
---------------------------------------------*/
.nf-progress-bar {
height: 20px;
border-radius: 3px;
margin: 25px 0px;
border: 1px solid #1ea9ea;
position: relative;
overflow: hidden;
.nf-progress-bar-slider {
height: 20px;
width: 0%;
background-color: #1ea9ea;
transition: width 0.3s;
}
}
/*
Loading Spinner
---------------------------------------------*/
......
......@@ -106,17 +106,6 @@ define( [ 'views/sections/widgets.js', 'views/sections/services.js', 'views/sect
var childView = new WidgetView();
}
this.showChildView('content', childView );
// If form telemetry is defined...
// AND if we should run it...
if ( 'undefined' !== typeof nfAdmin.formTelemetry && 1 == nfAdmin.formTelemetry ) {
// Make our AJAX call.
var data = {
action: 'nf_form_telemetry',
security: nfAdmin.ajaxNonce
}
// Make our AJAX call.
jQuery.post( ajaxurl, data );
}
// If the user has not seen the opt-in modal yet...
if ( '1' == nfAdmin.showOptin ) {
// Declare all of our opt-in code here.
......@@ -247,6 +236,81 @@ define( [ 'views/sections/widgets.js', 'views/sections/services.js', 'views/sect
optinModal.close();
} );
} );
} // If we've been told to run cleanup...
else if ( '1' == nfAdmin.doingCleanup ) {
var cleanupModal = new jBox( 'Modal', {
closeOnEsc: false,
closeOnClick: false,
width: 400
} );
var that = this;
// Define the modal content.
var content = document.createElement( 'div' );
content.classList.add( 'message' );
content.style.padding = '0px 20px 20px 20px';
content.innerHTML = nfi18n.cleanupContent;
var bar = document.createElement( 'div' );
bar.id = 'nf-progress-bar';
bar.classList.add( 'nf-progress-bar' );
bar.style.display = 'none';
var progress = document.createElement( 'div' );
progress.classList.add( 'nf-progress-bar-slider' );
bar.appendChild( progress );
content.appendChild( bar );
var loading = document.createElement( 'p' );
loading.id = 'nf-loading-text';
loading.style.color = '#1ea9ea';
loading.style.fontWeight = 'bold';
loading.innerHTML = nfi18n.cleanupLoading;
loading.style.display = 'none';
content.appendChild( loading );
var actions = document.createElement( 'div' );
actions.id = 'nf-action-buttons';
actions.classList.add( 'buttons' );