Popup Maker – Popup Forms, Optins & More - Version 1.4.10

Version Description

Download this release

Release Info

Developer danieliser
Plugin Icon 128x128 Popup Maker – Popup Forms, Optins & More
Version 1.4.10
Comparing to
See all releases

Code changes from version 1.4.9 to 1.4.10

assets/css/site.css CHANGED
@@ -79,7 +79,7 @@
79
  top: 100px;
80
  position: absolute;
81
  margin-bottom: 3em;
82
- z-index: 1;
83
  }
84
 
85
  .pum-container.pum-responsive {
@@ -261,6 +261,6 @@ body div#ui-datepicker-div[style] {
261
  cursor: pointer;
262
  }
263
 
264
- /*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2l0ZS5jc3MiLCJzb3VyY2VzIjpbInNpdGUuc2NzcyIsInBhcnRpYWxzL19wdW1fc3R5bGVzLnNjc3MiLCJwYXJ0aWFscy9fY29tcGF0aWJpbGl0eS5zY3NzIiwicGFydGlhbHMvX3Bvd2VyZWRfYnkuc2NzcyIsInBhcnRpYWxzL19zaXRlX2JhY2t3YXJkX2NvbXBhdGliaWxpdHkuc2NzcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvL0BpbXBvcnQgJ3BhcnRpYWxzL3BvcG1ha2Vfc3R5bGVzJztcbkBpbXBvcnQgJ3BhcnRpYWxzL3B1bV9zdHlsZXMnO1xuQGltcG9ydCAncGFydGlhbHMvY29tcGF0aWJpbGl0eSc7XG5AaW1wb3J0ICdwYXJ0aWFscy9wb3dlcmVkX2J5JztcbkBpbXBvcnQgJ3BhcnRpYWxzL3NpdGVfYmFja3dhcmRfY29tcGF0aWJpbGl0eSc7IiwiLyogUmVzZXQgT3ZlcmxheSwgQ29udGFpbmVyLCBUaXRsZSwgQ29udGVudChkaXYpICYgQ2xvc2UgYnV0dG9uICovXG4ucHVtLW92ZXJsYXksXG4ucHVtLWNvbnRhaW5lcixcbi5wdW0tdGl0bGUsXG4ucHVtLWNvbnRlbnQsXG4ucHVtLWNvbnRlbnQgKyAucHVtLWNsb3NlLFxuLnB1bS1jb250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tBQU07Q0FNZjs7QUEzQkgsbUJBQW1CLEFBbUJoQixNQUFNLEdBSUgsQ0FBQyxDQUFDO0VBQ0YsU0FBUyxFQUFFLEtBQU07Q0FDbEI7O0FBekJMLG1CQUFtQixBQTZCaEIsTUFBTSxDQUFDO0VBRU4sTUFBTSxFQUFFLEtBQU07Q0FNZjs7QUFyQ0gsbUJBQW1CLEFBNkJoQixNQUFNLEdBSUgsQ0FBQyxDQUFDO0VBQ0YsU0FBUyxFQUFFLEtBQU07Q0FDbEI7O0FDakNMLGNBQWMsQ0FBQztFQUNiLE1BQU0sRUFBRSxPQUFRO0NBQ2pCIiwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ== */
265
 
266
  /*# sourceMappingURL=site.css.map */
79
  top: 100px;
80
  position: absolute;
81
  margin-bottom: 3em;
82
+ z-index: 1999999999;
83
  }
84
 
85
  .pum-container.pum-responsive {
261
  cursor: pointer;
262
  }
263
 
264
+ /*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2l0ZS5jc3MiLCJzb3VyY2VzIjpbInNpdGUuc2NzcyIsInBhcnRpYWxzL19wdW1fc3R5bGVzLnNjc3MiLCJwYXJ0aWFscy9fY29tcGF0aWJpbGl0eS5zY3NzIiwicGFydGlhbHMvX3Bvd2VyZWRfYnkuc2NzcyIsInBhcnRpYWxzL19zaXRlX2JhY2t3YXJkX2NvbXBhdGliaWxpdHkuc2NzcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvL0BpbXBvcnQgJ3BhcnRpYWxzL3BvcG1ha2Vfc3R5bGVzJztcbkBpbXBvcnQgJ3BhcnRpYWxzL3B1bV9zdHlsZXMnO1xuQGltcG9ydCAncGFydGlhbHMvY29tcGF0aWJpbGl0eSc7XG5AaW1wb3J0ICdwYXJ0aWFscy9wb3dlcmVkX2J5JztcbkBpbXBvcnQgJ3BhcnRpYWxzL3NpdGVfYmFja3dhcmRfY29tcGF0aWJpbGl0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QUMsQ0FBQztFQUNGLE9BQU8sRUFBRSxZQUFhO0VBQ3RCLFNBQVMsRUFBRSxLQUFNO0NBQ2xCOztBQVpILG1CQUFtQixDQWNqQixHQUFHLENBQUM7RUFDRixTQUFTLEVBQUUsSUFBSztFQUNoQixLQUFLLEVBQUUsSUFBSztDQUNiOztBQWpCSCxtQkFBbUIsQUFtQmhCLE1BQU0sQ0FBQztFQUVOLE1BQU0sRUFBRSxLQUFNO0NBTWY7O0FBM0JILG1CQUFtQixBQW1CaEIsTUFBTSxHQUlILENBQUMsQ0FBQztFQUNGLFNBQVMsRUFBRSxLQUFNO0NBQ2xCOztBQXpCTCxtQkFBbUIsQUE2QmhCLE1BQU0sQ0FBQztFQUVOLE1BQU0sRUFBRSxLQUFNO0NBTWY7O0FBckNILG1CQUFtQixBQTZCaEIsTUFBTSxHQUlILENBQUMsQ0FBQztFQUNGLFNBQVMsRUFBRSxLQUFNO0NBQ2xCOztBQ2pDTCxjQUFjLENBQUM7RUFDYixNQUFNLEVBQUUsT0FBUTtDQUNqQiIsIm5hbWVzIjpbXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0= */
265
 
266
  /*# sourceMappingURL=site.css.map */
assets/css/site.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/source/partials/_pum_styles.scss","site.css","/source/partials/_compatibility.scss","/source/partials/_powered_by.scss","/source/partials/_site_backward_compatibility.scss"],"names":[],"mappings":"AAAA,kEAAkE;AAClE;;;;;;;;EAQE,iBAAiB;EACjB,aAAa;EACb,aAAa;EACb,YAAY;EACZ,gBAAgB;EAChB,8DAA8D;EAC9D,mBAAmB;EACnB,YAAY;EACZ,qBAAqB;EACrB,kBAAkB;EAClB,mBAAmB;EACnB,oBAAoB;EACpB,aAAa;EACb,WAAW;EACX,uBAAuB;EACvB,oBAAoB;EACpB,iBAAiB;EACjB,gBAAgB;EAChB,cAAc;EACd,aAAa;EACb,kBAAkB;EAClB,iBAAiB;EACjB,YAAY;EACZ,iB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W;CACZ;;AApGP;EA4GM,eAAe;EACf,mBAAmB;EACnB,gBAAgB;CAEjB;;AAOJ;EACC,mBAAmB;CASpB;;AAVA;EAIG,eAAe;CAChB;;AALF;EAQG,oBAAoB;CACrB;;AAGH;EAGI,iBAAiB;CAyBlB;;AA5BH;EAQQ,iBAAiB;CAClB;;AATP;EAYQ,gBAAgB;CACjB;;AAbP;EAmBQ,oBAAoB;CACrB;;AApBP;EAuBQ,mBAAmB;CACpB;;AAxBP;EAkCQ,gBAAgB;CACjB;;AAnCP;EAwCQ,iBAAiB;EACjB,aAAa;EACb,YAAY;CACb;;AE9PP;EAEI,YAAY;EACZ,kBAAkB;CACnB;;AAIH;EACE,+BAA+B;CAChC;;ACVD;EACE,cAAc;EACd,eAAe;EACf,QAAQ;EACR,eAAe;EACf,mBAAmB;EACnB,mBAAmB;EACnB,YAAY;CAgCb;;AAvCD;EAUI,sBAAsB;EACtB,iBAAiB;CAClB;;AAZH;EAeI,gBAAgB;EAChB,YAAY;CACb;;AAjBH;EAqBI,cAAc;CAMf;;AA3BH;EAwBM,iBAAiB;CAClB;;AAzBL;EA+BI,cAAc;CAMf;;AArCH;EAkCM,iBAAiB;CAClB;;ACjCL;EACE,gBAAgB;CACjB;;AHqQD,itbAAitb","file":"site.css","sourcesContent":["/* Reset Overlay, Container, Title, Content(div) & Close button */\n.pum-overlay,\n.pum-container,\n.pum-title,\n.pum-content,\n.pum-content + .pum-close,\n.pum-content + .pum-close:hover,\n.pum-content + .pum-close:focus,\n.pum-content + .pum-close:active {\n background: none;\n border: none;\n bottom: auto;\n clear: none;\n cursor: default;\n /* didn't really know what the default for display should be*/\n /*display:inline;*/\n float: none;\n font-family: inherit;\n font-size: medium;\n font-style: normal;\n font-weight: normal;\n height: auto;\n left: auto;\n letter-spacing: normal;\n line-height: normal;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n overflow: visible;\n position: static;\n right: auto;\n text-align: left;\n text-decoration: none;\n text-indent: 0;\n text-transform: none;\n top: auto;\n visibility: visible;\n white-space: normal;\n width: auto;\n z-index: auto;\n}\n\n.pum-title,\n.pum-content {\n position: relative;\n z-index: 1;\n}\n\n\n.pum-overlay {\n position: fixed;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1999999999;\n overflow: auto;\n overflow: initial;\n display: none;\n\n &.pum-preview,\n &.pum-form-submission-detected {\n display: block;\n }\n\n /**\n * Use border-box for all popup content. Providing more precise sizing.\n */\n &, &:before, &:after,\n & *, & *:before, & *:after {\n -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */\n -moz-box-sizing: border-box; /* Firefox, other Gecko */\n box-sizing: border-box;\n }\n\n}\n\n.pum-container {\n top: 100px;\n position: absolute;\n margin-bottom: 3em;\n z-index: 1;\n\n &.pum-responsive {\n\n left: 50%;\n margin-left: -47.5%;\n width: 95%;\n height: auto;\n overflow: visible;\n\n // Add Responsive Image Handling.\n img {\n max-width: 100%;\n height: auto;\n }\n\n @media only screen and (min-width: 1024px) {\n &.pum-responsive-nano {\n margin-left: -5%;\n width: 10%;\n }\n\n &.pum-responsive-micro {\n margin-left: -10%;\n width: 20%;\n }\n\n &.pum-responsive-tiny {\n margin-left: -15%;\n width: 30%;\n }\n\n &.pum-responsive-small {\n margin-left: -20%;\n width: 40%;\n }\n\n &.pum-responsive-medium {\n margin-left: -30%;\n width: 60%;\n }\n\n &.pum-responsive-normal {\n margin-left: -30%;\n width: 70%;\n }\n\n &.pum-responsive-large {\n margin-left: -35%;\n width: 80%;\n }\n\n &.pum-responsive-xlarge {\n margin-left: -47.5%;\n width: 95%;\n }\n\n &.pum-position-fixed {\n position: fixed;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n &.pum-position-fixed {\n position: absolute;\n }\n }\n\n }\n\n &.custom-position {\n left: auto;\n top: auto;\n margin-left: inherit;\n }\n\n .pum-title {}\n\n .pum-content {\n\n > :last-child {\n margin-bottom: 0;\n }\n\n + .pum-close {\n text-decoration: none;\n text-align: center;\n line-height: 1;\n position: absolute;\n cursor: pointer;\n min-width: 1em;\n z-index: 2;\n\n > span {\n position: relative;\n z-index: 1;\n }\n }\n }\n\n &.pum-scrollable {\n\n .pum-content {\n\n overflow: auto;\n overflow-y: scroll;\n max-height: 95%;\n\n }\n\n }\n\n\n}\n\n&.pum-overlay-disabled {\n visibility: hidden;\n\n &::-webkit-scrollbar {\n display: block;\n }\n\n .pum-container {\n visibility: visible;\n }\n}\n\nhtml.pum-open {\n\n &.pum-open-overlay {\n overflow: hidden;\n\n &.pum-open-fixed {\n\n .pum-overlay {\n overflow: hidden;\n }\n\n .pum-container {\n position: fixed;\n }\n }\n\n &.pum-open-scrollable {\n\n body > *[aria-hidden] {\n padding-right: 15px;\n }\n\n .pum-overlay.pum-active {\n overflow-y: scroll;\n }\n\n }\n\n }\n\n &.pum-open-overlay-disabled {\n\n &.pum-open-fixed {\n .pum-container {\n position: fixed;\n }\n }\n\n &.pum-open-scrollable {\n .pum-overlay.pum-active {\n position: static;\n height: auto;\n width: auto;\n }\n }\n\n }\n\n\n\n}\n","/* Reset Overlay, Container, Title, Content(div) & Close button */\n.pum-overlay,\n.pum-container,\n.pum-title,\n.pum-content,\n.pum-content + .pum-close,\n.pum-content + .pum-close:hover,\n.pum-content + .pum-close:focus,\n.pum-content + .pum-close:active {\n background: none;\n border: none;\n bottom: auto;\n clear: none;\n cursor: default;\n /* didn't really know what the default for display should be*/\n /*display:inline;*/\n float: none;\n font-family: inherit;\n font-size: medium;\n font-style: normal;\n font-weight: normal;\n height: auto;\n left: auto;\n letter-spacing: normal;\n line-height: normal;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n overflow: visible;\n position: static;\n right: auto;\n text-align: left;\n text-decoration: none;\n text-indent: 0;\n text-transform: none;\n top: auto;\n visibility: visible;\n white-space: normal;\n width: auto;\n z-index: auto;\n}\n\n.pum-title,\n.pum-content {\n position: relative;\n z-index: 1;\n}\n\n.pum-overlay {\n position: fixed;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1999999999;\n overflow: auto;\n overflow: initial;\n display: none;\n /**\n * Use border-box for all popup content. Providing more precise sizing.\n */\n}\n\n.pum-overlay.pum-preview, .pum-overlay.pum-form-submission-detected {\n display: block;\n}\n\n.pum-overlay, .pum-overlay:before, .pum-overlay:after,\n.pum-overlay *, .pum-overlay *:before, .pum-overlay *:after {\n -webkit-box-sizing: border-box;\n /* Safari/Chrome, other WebKit */\n -moz-box-sizing: border-box;\n /* Firefox, other Gecko */\n box-sizing: border-box;\n}\n\n.pum-container {\n top: 100px;\n position: absolute;\n margin-bottom: 3em;\n z-index: 1;\n}\n\n.pum-container.pum-responsive {\n left: 50%;\n margin-left: -47.5%;\n width: 95%;\n height: auto;\n overflow: visible;\n}\n\n.pum-container.pum-responsive img {\n max-width: 100%;\n height: auto;\n}\n\n@media only screen and (min-width: 1024px) {\n .pum-container.pum-responsive.pum-responsive-nano {\n margin-left: -5%;\n width: 10%;\n }\n .pum-container.pum-responsive.pum-responsive-micro {\n margin-left: -10%;\n width: 20%;\n }\n .pum-container.pum-responsive.pum-responsive-tiny {\n margin-left: -15%;\n width: 30%;\n }\n .pum-container.pum-responsive.pum-responsive-small {\n margin-left: -20%;\n width: 40%;\n }\n .pum-container.pum-responsive.pum-responsive-medium {\n margin-left: -30%;\n width: 60%;\n }\n .pum-container.pum-responsive.pum-responsive-normal {\n margin-left: -30%;\n width: 70%;\n }\n .pum-container.pum-responsive.pum-responsive-large {\n margin-left: -35%;\n width: 80%;\n }\n .pum-container.pum-responsive.pum-responsive-xlarge {\n margin-left: -47.5%;\n width: 95%;\n }\n .pum-container.pum-responsive.pum-position-fixed {\n position: fixed;\n }\n}\n\n@media only screen and (max-width: 1024px) {\n .pum-container.pum-responsive.pum-position-fixed {\n position: absolute;\n }\n}\n\n.pum-container.custom-position {\n left: auto;\n top: auto;\n margin-left: inherit;\n}\n\n.pum-container .pum-content > :last-child {\n margin-bottom: 0;\n}\n\n.pum-container .pum-content + .pum-close {\n text-decoration: none;\n text-align: center;\n line-height: 1;\n position: absolute;\n cursor: pointer;\n min-width: 1em;\n z-index: 2;\n}\n\n.pum-container .pum-content + .pum-close > span {\n position: relative;\n z-index: 1;\n}\n\n.pum-container.pum-scrollable .pum-content {\n overflow: auto;\n overflow-y: scroll;\n max-height: 95%;\n}\n\n.pum-overlay-disabled {\n visibility: hidden;\n}\n\n.pum-overlay-disabled::-webkit-scrollbar {\n display: block;\n}\n\n.pum-overlay-disabled .pum-container {\n visibility: visible;\n}\n\nhtml.pum-open.pum-open-overlay {\n overflow: hidden;\n}\n\nhtml.pum-open.pum-open-overlay.pum-open-fixed .pum-overlay {\n overflow: hidden;\n}\n\nhtml.pum-open.pum-open-overlay.pum-open-fixed .pum-container {\n position: fixed;\n}\n\nhtml.pum-open.pum-open-overlay.pum-open-scrollable body > *[aria-hidden] {\n padding-right: 15px;\n}\n\nhtml.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active {\n overflow-y: scroll;\n}\n\nhtml.pum-open.pum-open-overlay-disabled.pum-open-fixed .pum-container {\n position: fixed;\n}\n\nhtml.pum-open.pum-open-overlay-disabled.pum-open-scrollable .pum-overlay.pum-active {\n position: static;\n height: auto;\n width: auto;\n}\n\n.pum-container iframe.formidable {\n width: 100%;\n overflow: visible;\n}\n\nbody div#ui-datepicker-div[style] {\n z-index: 9999999999 !important;\n}\n\n.powered-by-popmake {\n bottom: -28px;\n display: block;\n left: 0;\n margin: 0 auto;\n position: absolute;\n text-align: center;\n width: 100%;\n}\n\n.powered-by-popmake > a {\n display: inline-block;\n max-width: 205px;\n}\n\n.powered-by-popmake img {\n max-width: 100%;\n width: 100%;\n}\n\n.powered-by-popmake.small {\n bottom: -22px;\n}\n\n.powered-by-popmake.small > a {\n max-width: 125px;\n}\n\n.powered-by-popmake.large {\n bottom: -30px;\n}\n\n.powered-by-popmake.large > a {\n max-width: 285px;\n}\n\n.popmake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EI7O0FDakNMLGNBQWMsQ0FBQztFQUNiLE1BQU0sRUFBRSxPQUFRO0NBQ2pCIiwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ== */\n",".pum-container {\n iframe.formidable {\n width: 100%;\n overflow: visible;\n }\n}\n\n// jQuery UI Datepicker shows up behind the popups without this.\nbody div#ui-datepicker-div[style] {\n z-index: 9999999999 !important;\n}",".powered-by-popmake {\n bottom: -28px;\n display: block;\n left: 0;\n margin: 0 auto;\n position: absolute;\n text-align: center;\n width: 100%;\n\n > a {\n display: inline-block;\n max-width: 205px;\n }\n\n img {\n max-width: 100%;\n width: 100%;\n }\n\n &.small {\n\n bottom: -22px;\n\n > a {\n max-width: 125px;\n }\n\n }\n\n &.large {\n\n bottom: -30px;\n\n > a {\n max-width: 285px;\n }\n\n }\n\n}","\n\n.popmake-close {\n cursor: pointer;\n}"],"sourceRoot":"/source/"}
1
+ {"version":3,"sources":["/source/partials/_pum_styles.scss","site.css","/source/partials/_compatibility.scss","/source/partials/_powered_by.scss","/source/partials/_site_backward_compatibility.scss"],"names":[],"mappings":"AAAA,kEAAkE;AAClE;;;;;;;;EAQE,iBAAiB;EACjB,aAAa;EACb,aAAa;EACb,YAAY;EACZ,gBAAgB;EAChB,8DAA8D;EAC9D,mBAAmB;EACnB,YAAY;EACZ,qBAAqB;EACrB,kBAAkB;EAClB,mBAAmB;EACnB,oBAAoB;EACpB,aAAa;EACb,WAAW;EACX,uBAAuB;EACvB,oBAAoB;EACpB,iBAAiB;EACjB,gBAAgB;EAChB,cAAc;EACd,aAAa;EACb,kBAAkB;EAClB,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;EACjB,sBAAsB;EACtB,eAAe;EACf,qBAAqB;EACrB,UAAU;EACV,oBAAoB;EACpB,oBAAoB;EACpB,YAAY;EACZ,cAAc;CACf;;AAED;;EAEE,mBAAmB;EACnB,WAAW;CACZ;;AAGD;EACE,gBAAgB;EAChB,aAAa;EACb,YAAY;EACZ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AClB;;AATP;EAYQ,gBAAgB;CACjB;;AAbP;EAmBQ,oBAAoB;CACrB;;AApBP;EAuBQ,mBAAmB;CACpB;;AAxBP;EAkCQ,gBAAgB;CACjB;;AAnCP;EAwCQ,iBAAiB;EACjB,aAAa;EACb,YAAY;CACb;;AE9PP;EAEI,YAAY;EACZ,kBAAkB;CACnB;;AAIH;EACE,+BAA+B;CAChC;;ACVD;EACE,cAAc;EACd,eAAe;EACf,QAAQ;EACR,eAAe;EACf,mBAAmB;EACnB,mBAAmB;EACnB,YAAY;CAgCb;;AAvCD;EAUI,sBAAsB;EACtB,iBAAiB;CAClB;;AAZH;EAeI,gBAAgB;EAChB,YAAY;CACb;;AAjBH;EAqBI,cAAc;CAMf;;AA3BH;EAwBM,iBAAiB;CAClB;;AAzBL;EA+BI,cAAc;CAMf;;AArCH;EAkCM,iBAAiB;CAClB;;ACjCL;EACE,gBAAgB;CACjB;;AHqQD,6tbAA6tb","file":"site.css","sourcesContent":["/* Reset Overlay, Container, Title, Content(div) & Close button */\n.pum-overlay,\n.pum-container,\n.pum-title,\n.pum-content,\n.pum-content + .pum-close,\n.pum-content + .pum-close:hover,\n.pum-content + .pum-close:focus,\n.pum-content + .pum-close:active {\n background: none;\n border: none;\n bottom: auto;\n clear: none;\n cursor: default;\n /* didn't really know what the default for display should be*/\n /*display:inline;*/\n float: none;\n font-family: inherit;\n font-size: medium;\n font-style: normal;\n font-weight: normal;\n height: auto;\n left: auto;\n letter-spacing: normal;\n line-height: normal;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n overflow: visible;\n position: static;\n right: auto;\n text-align: left;\n text-decoration: none;\n text-indent: 0;\n text-transform: none;\n top: auto;\n visibility: visible;\n white-space: normal;\n width: auto;\n z-index: auto;\n}\n\n.pum-title,\n.pum-content {\n position: relative;\n z-index: 1;\n}\n\n\n.pum-overlay {\n position: fixed;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1999999999;\n overflow: auto;\n overflow: initial;\n display: none;\n\n &.pum-preview,\n &.pum-form-submission-detected {\n display: block;\n }\n\n /**\n * Use border-box for all popup content. Providing more precise sizing.\n */\n &, &:before, &:after,\n & *, & *:before, & *:after {\n -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */\n -moz-box-sizing: border-box; /* Firefox, other Gecko */\n box-sizing: border-box;\n }\n\n}\n\n.pum-container {\n top: 100px;\n position: absolute;\n margin-bottom: 3em;\n z-index: 1999999999;\n\n &.pum-responsive {\n\n left: 50%;\n margin-left: -47.5%;\n width: 95%;\n height: auto;\n overflow: visible;\n\n // Add Responsive Image Handling.\n img {\n max-width: 100%;\n height: auto;\n }\n\n @media only screen and (min-width: 1024px) {\n &.pum-responsive-nano {\n margin-left: -5%;\n width: 10%;\n }\n\n &.pum-responsive-micro {\n margin-left: -10%;\n width: 20%;\n }\n\n &.pum-responsive-tiny {\n margin-left: -15%;\n width: 30%;\n }\n\n &.pum-responsive-small {\n margin-left: -20%;\n width: 40%;\n }\n\n &.pum-responsive-medium {\n margin-left: -30%;\n width: 60%;\n }\n\n &.pum-responsive-normal {\n margin-left: -30%;\n width: 70%;\n }\n\n &.pum-responsive-large {\n margin-left: -35%;\n width: 80%;\n }\n\n &.pum-responsive-xlarge {\n margin-left: -47.5%;\n width: 95%;\n }\n\n &.pum-position-fixed {\n position: fixed;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n &.pum-position-fixed {\n position: absolute;\n }\n }\n\n }\n\n &.custom-position {\n left: auto;\n top: auto;\n margin-left: inherit;\n }\n\n .pum-title {}\n\n .pum-content {\n\n > :last-child {\n margin-bottom: 0;\n }\n\n + .pum-close {\n text-decoration: none;\n text-align: center;\n line-height: 1;\n position: absolute;\n cursor: pointer;\n min-width: 1em;\n z-index: 2;\n\n > span {\n position: relative;\n z-index: 1;\n }\n }\n }\n\n &.pum-scrollable {\n\n .pum-content {\n\n overflow: auto;\n overflow-y: scroll;\n max-height: 95%;\n\n }\n\n }\n\n\n}\n\n&.pum-overlay-disabled {\n visibility: hidden;\n\n &::-webkit-scrollbar {\n display: block;\n }\n\n .pum-container {\n visibility: visible;\n }\n}\n\nhtml.pum-open {\n\n &.pum-open-overlay {\n overflow: hidden;\n\n &.pum-open-fixed {\n\n .pum-overlay {\n overflow: hidden;\n }\n\n .pum-container {\n position: fixed;\n }\n }\n\n &.pum-open-scrollable {\n\n body > *[aria-hidden] {\n padding-right: 15px;\n }\n\n .pum-overlay.pum-active {\n overflow-y: scroll;\n }\n\n }\n\n }\n\n &.pum-open-overlay-disabled {\n\n &.pum-open-fixed {\n .pum-container {\n position: fixed;\n }\n }\n\n &.pum-open-scrollable {\n .pum-overlay.pum-active {\n position: static;\n height: auto;\n width: auto;\n }\n }\n\n }\n\n\n\n}\n","/* Reset Overlay, Container, Title, Content(div) & Close button */\n.pum-overlay,\n.pum-container,\n.pum-title,\n.pum-content,\n.pum-content + .pum-close,\n.pum-content + .pum-close:hover,\n.pum-content + .pum-close:focus,\n.pum-content + .pum-close:active {\n background: none;\n border: none;\n bottom: auto;\n clear: none;\n cursor: default;\n /* didn't really know what the default for display should be*/\n /*display:inline;*/\n float: none;\n font-family: inherit;\n font-size: medium;\n font-style: normal;\n font-weight: normal;\n height: auto;\n left: auto;\n letter-spacing: normal;\n line-height: normal;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n overflow: visible;\n position: static;\n right: auto;\n text-align: left;\n text-decoration: none;\n text-indent: 0;\n text-transform: none;\n top: auto;\n visibility: visible;\n white-space: normal;\n width: auto;\n z-index: auto;\n}\n\n.pum-title,\n.pum-content {\n position: relative;\n z-index: 1;\n}\n\n.pum-overlay {\n position: fixed;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1999999999;\n overflow: auto;\n overflow: initial;\n display: none;\n /**\n * Use border-box for all popup content. Providing more precise sizing.\n */\n}\n\n.pum-overlay.pum-preview, .pum-overlay.pum-form-submission-detected {\n display: block;\n}\n\n.pum-overlay, .pum-overlay:before, .pum-overlay:after,\n.pum-overlay *, .pum-overlay *:before, .pum-overlay *:after {\n -webkit-box-sizing: border-box;\n /* Safari/Chrome, other WebKit */\n -moz-box-sizing: border-box;\n /* Firefox, other Gecko */\n box-sizing: border-box;\n}\n\n.pum-container {\n top: 100px;\n position: absolute;\n margin-bottom: 3em;\n z-index: 1999999999;\n}\n\n.pum-container.pum-responsive {\n left: 50%;\n margin-left: -47.5%;\n width: 95%;\n height: auto;\n overflow: visible;\n}\n\n.pum-container.pum-responsive img {\n max-width: 100%;\n height: auto;\n}\n\n@media only screen and (min-width: 1024px) {\n .pum-container.pum-responsive.pum-responsive-nano {\n margin-left: -5%;\n width: 10%;\n }\n .pum-container.pum-responsive.pum-responsive-micro {\n margin-left: -10%;\n width: 20%;\n }\n .pum-container.pum-responsive.pum-responsive-tiny {\n margin-left: -15%;\n width: 30%;\n }\n .pum-container.pum-responsive.pum-responsive-small {\n margin-left: -20%;\n width: 40%;\n }\n .pum-container.pum-responsive.pum-responsive-medium {\n margin-left: -30%;\n width: 60%;\n }\n .pum-container.pum-responsive.pum-responsive-normal {\n margin-left: -30%;\n width: 70%;\n }\n .pum-container.pum-responsive.pum-responsive-large {\n margin-left: -35%;\n width: 80%;\n }\n .pum-container.pum-responsive.pum-responsive-xlarge {\n margin-left: -47.5%;\n width: 95%;\n }\n .pum-container.pum-responsive.pum-position-fixed {\n position: fixed;\n }\n}\n\n@media only screen and (max-width: 1024px) {\n .pum-container.pum-responsive.pum-position-fixed {\n position: absolute;\n }\n}\n\n.pum-container.custom-position {\n left: auto;\n top: auto;\n margin-left: inherit;\n}\n\n.pum-container .pum-content > :last-child {\n margin-bottom: 0;\n}\n\n.pum-container .pum-content + .pum-close {\n text-decoration: none;\n text-align: center;\n line-height: 1;\n position: absolute;\n cursor: pointer;\n min-width: 1em;\n z-index: 2;\n}\n\n.pum-container .pum-content + .pum-close > span {\n position: relative;\n z-index: 1;\n}\n\n.pum-container.pum-scrollable .pum-content {\n overflow: auto;\n overflow-y: scroll;\n max-height: 95%;\n}\n\n.pum-overlay-disabled {\n visibility: hidden;\n}\n\n.pum-overlay-disabled::-webkit-scrollbar {\n display: block;\n}\n\n.pum-overlay-disabled .pum-container {\n visibility: visible;\n}\n\nhtml.pum-open.pum-open-overlay {\n overflow: hidden;\n}\n\nhtml.pum-open.pum-open-overlay.pum-open-fixed .pum-overlay {\n overflow: hidden;\n}\n\nhtml.pum-open.pum-open-overlay.pum-open-fixed .pum-container {\n position: fixed;\n}\n\nhtml.pum-open.pum-open-overlay.pum-open-scrollable body > *[aria-hidden] {\n padding-right: 15px;\n}\n\nhtml.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active {\n overflow-y: scroll;\n}\n\nhtml.pum-open.pum-open-overlay-disabled.pum-open-fixed .pum-container {\n position: fixed;\n}\n\nhtml.pum-open.pum-open-overlay-disabled.pum-open-scrollable .pum-overlay.pum-active {\n position: static;\n height: auto;\n width: auto;\n}\n\n.pum-container iframe.formidable {\n width: 100%;\n overflow: visible;\n}\n\nbody div#ui-datepicker-div[style] {\n z-index: 9999999999 !important;\n}\n\n.powered-by-popmake {\n bottom: -28px;\n display: block;\n left: 0;\n margin: 0 auto;\n position: absolute;\n text-align: center;\n width: 100%;\n}\n\n.powered-by-popmake > a {\n display: inline-block;\n max-width: 205px;\n}\n\n.powered-by-popmake img {\n max-width: 100%;\n width: 100%;\n}\n\n.powered-by-popmake.small {\n bottom: -22px;\n}\n\n.powered-by-popmake.small > a {\n max-width: 125px;\n}\n\n.powered-by-popmake.large {\n bottom: -30px;\n}\n\n.powered-by-popmake.large > a {\n max-width: 285px;\n}\n\n.popmake-close {\n cursor: pointer;\n}\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2l0ZS5jc3MiLCJzb3VyY2VzIjpbInNpdGUuc2NzcyIsInBhcnRpYWxzL19wdW1fc3R5bGVzLnNjc3MiLCJwYXJ0a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Query UI Datepicker shows up behind the popups without this.\nbody div#ui-datepicker-div[style] {\n z-index: 9999999999 !important;\n}",".powered-by-popmake {\n bottom: -28px;\n display: block;\n left: 0;\n margin: 0 auto;\n position: absolute;\n text-align: center;\n width: 100%;\n\n > a {\n display: inline-block;\n max-width: 205px;\n }\n\n img {\n max-width: 100%;\n width: 100%;\n }\n\n &.small {\n\n bottom: -22px;\n\n > a {\n max-width: 125px;\n }\n\n }\n\n &.large {\n\n bottom: -30px;\n\n > a {\n max-width: 285px;\n }\n\n }\n\n}","\n\n.popmake-close {\n cursor: pointer;\n}"],"sourceRoot":"/source/"}
assets/css/site.min.css CHANGED
@@ -1 +1 @@
1
- .pum-container,.pum-content,.pum-content+.pum-close,.pum-content+.pum-close:active,.pum-content+.pum-close:focus,.pum-content+.pum-close:hover,.pum-overlay,.pum-title{background:0 0;border:none;bottom:auto;clear:none;cursor:default;float:none;font-family:inherit;font-size:medium;font-style:normal;font-weight:400;height:auto;left:auto;letter-spacing:normal;line-height:normal;max-height:none;max-width:none;min-height:0;min-width:0;overflow:visible;position:static;right:auto;text-align:left;text-decoration:none;text-indent:0;text-transform:none;top:auto;visibility:visible;white-space:normal;width:auto;z-index:auto}.pum-container .pum-content+.pum-close>span,.pum-content,.pum-title{position:relative;z-index:1}.pum-overlay{position:fixed;height:100%;width:100%;top:0;left:0;right:0;bottom:0;z-index:1999999999;overflow:initial;display:none}.pum-overlay.pum-form-submission-detected,.pum-overlay.pum-preview{display:block}.pum-overlay,.pum-overlay *,.pum-overlay :after,.pum-overlay :before,.pum-overlay:after,.pum-overlay:before{box-sizing:border-box}.pum-container{top:100px;position:absolute;margin-bottom:3em;z-index:1}.pum-container.pum-responsive{left:50%;margin-left:-47.5%;width:95%;height:auto;overflow:visible}.pum-container.pum-responsive img{max-width:100%;height:auto}.pum-container.custom-position{left:auto;top:auto;margin-left:inherit}.pum-container .pum-content>:last-child{margin-bottom:0}.pum-container .pum-content+.pum-close{text-decoration:none;text-align:center;line-height:1;position:absolute;cursor:pointer;min-width:1em;z-index:2}.pum-container.pum-scrollable .pum-content{overflow:auto;overflow-y:scroll;max-height:95%}.pum-overlay-disabled{visibility:hidden}.pum-overlay-disabled::-webkit-scrollbar{display:block}.pum-overlay-disabled .pum-container{visibility:visible}html.pum-open.pum-open-overlay,html.pum-open.pum-open-overlay.pum-open-fixed .pum-overlay{overflow:hidden}html.pum-open.pum-open-overlay-disabled.pum-open-fixed .pum-container,html.pum-open.pum-open-overlay.pum-open-fixed .pum-container{position:fixed}html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden]{padding-right:15px}html.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active{overflow-y:scroll}html.pum-open.pum-open-overlay-disabled.pum-open-scrollable .pum-overlay.pum-active{position:static;height:auto;width:auto}.pum-container iframe.formidable{width:100%;overflow:visible}body div#ui-datepicker-div[style]{z-index:9999999999!important}.powered-by-popmake{bottom:-28px;display:block;left:0;margin:0 auto;position:absolute;text-align:center;width:100%}.powered-by-popmake>a{display:inline-block;max-width:205px}.powered-by-popmake img{max-width:100%;width:100%}.powered-by-popmake.small{bottom:-22px}.powered-by-popmake.small>a{max-width:125px}.powered-by-popmake.large{bottom:-30px}.powered-by-popmake.large>a{max-width:285px}.popmake-close{cursor:pointer}@media only screen and (min-width:1024px){.pum-container.pum-responsive.pum-responsive-nano{margin-left:-5%;width:10%}.pum-container.pum-responsive.pum-responsive-micro{margin-left:-10%;width:20%}.pum-container.pum-responsive.pum-responsive-tiny{margin-left:-15%;width:30%}.pum-container.pum-responsive.pum-responsive-small{margin-left:-20%;width:40%}.pum-container.pum-responsive.pum-responsive-medium{margin-left:-30%;width:60%}.pum-container.pum-responsive.pum-responsive-normal{margin-left:-30%;width:70%}.pum-container.pum-responsive.pum-responsive-large{margin-left:-35%;width:80%}.pum-container.pum-responsive.pum-responsive-xlarge{margin-left:-47.5%;width:95%}.pum-container.pum-responsive.pum-position-fixed{position:fixed}}@media only screen and (max-width:1024px){.pum-container.pum-responsive.pum-position-fixed{position:absolute}}
1
+ .pum-container,.pum-content,.pum-content+.pum-close,.pum-content+.pum-close:active,.pum-content+.pum-close:focus,.pum-content+.pum-close:hover,.pum-overlay,.pum-title{background:0 0;border:none;bottom:auto;clear:none;cursor:default;float:none;font-family:inherit;font-size:medium;font-style:normal;font-weight:400;height:auto;left:auto;letter-spacing:normal;line-height:normal;max-height:none;max-width:none;min-height:0;min-width:0;overflow:visible;position:static;right:auto;text-align:left;text-decoration:none;text-indent:0;text-transform:none;top:auto;visibility:visible;white-space:normal;width:auto;z-index:auto}.pum-container .pum-content+.pum-close>span,.pum-content,.pum-title{position:relative;z-index:1}.pum-overlay{position:fixed;height:100%;width:100%;top:0;left:0;right:0;bottom:0;z-index:1999999999;overflow:initial;display:none}.pum-overlay.pum-form-submission-detected,.pum-overlay.pum-preview{display:block}.pum-overlay,.pum-overlay *,.pum-overlay :after,.pum-overlay :before,.pum-overlay:after,.pum-overlay:before{box-sizing:border-box}.pum-container{top:100px;position:absolute;margin-bottom:3em;z-index:1999999999}.pum-container.pum-responsive{left:50%;margin-left:-47.5%;width:95%;height:auto;overflow:visible}.pum-container.pum-responsive img{max-width:100%;height:auto}.pum-container.custom-position{left:auto;top:auto;margin-left:inherit}.pum-container .pum-content>:last-child{margin-bottom:0}.pum-container .pum-content+.pum-close{text-decoration:none;text-align:center;line-height:1;position:absolute;cursor:pointer;min-width:1em;z-index:2}.pum-container.pum-scrollable .pum-content{overflow:auto;overflow-y:scroll;max-height:95%}.pum-overlay-disabled{visibility:hidden}.pum-overlay-disabled::-webkit-scrollbar{display:block}.pum-overlay-disabled .pum-container{visibility:visible}html.pum-open.pum-open-overlay,html.pum-open.pum-open-overlay.pum-open-fixed .pum-overlay{overflow:hidden}html.pum-open.pum-open-overlay-disabled.pum-open-fixed .pum-container,html.pum-open.pum-open-overlay.pum-open-fixed .pum-container{position:fixed}html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden]{padding-right:15px}html.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active{overflow-y:scroll}html.pum-open.pum-open-overlay-disabled.pum-open-scrollable .pum-overlay.pum-active{position:static;height:auto;width:auto}.pum-container iframe.formidable{width:100%;overflow:visible}body div#ui-datepicker-div[style]{z-index:9999999999!important}.powered-by-popmake{bottom:-28px;display:block;left:0;margin:0 auto;position:absolute;text-align:center;width:100%}.powered-by-popmake>a{display:inline-block;max-width:205px}.powered-by-popmake img{max-width:100%;width:100%}.powered-by-popmake.small{bottom:-22px}.powered-by-popmake.small>a{max-width:125px}.powered-by-popmake.large{bottom:-30px}.powered-by-popmake.large>a{max-width:285px}.popmake-close{cursor:pointer}@media only screen and (min-width:1024px){.pum-container.pum-responsive.pum-responsive-nano{margin-left:-5%;width:10%}.pum-container.pum-responsive.pum-responsive-micro{margin-left:-10%;width:20%}.pum-container.pum-responsive.pum-responsive-tiny{margin-left:-15%;width:30%}.pum-container.pum-responsive.pum-responsive-small{margin-left:-20%;width:40%}.pum-container.pum-responsive.pum-responsive-medium{margin-left:-30%;width:60%}.pum-container.pum-responsive.pum-responsive-normal{margin-left:-30%;width:70%}.pum-container.pum-responsive.pum-responsive-large{margin-left:-35%;width:80%}.pum-container.pum-responsive.pum-responsive-xlarge{margin-left:-47.5%;width:95%}.pum-container.pum-responsive.pum-position-fixed{position:fixed}}@media only screen and (max-width:1024px){.pum-container.pum-responsive.pum-position-fixed{position:absolute}}
assets/css/wp-editor.css ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ .wpview-wrap[data-wpview-text^="%5Bpopup_trigger"] {
2
+ display: inline-block;
3
+ }
4
+
5
+ /*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3AtZWRpdG9yLmNzcyIsInNvdXJjZXMiOlsid3AtZWRpdG9yLnNjc3MiXSwic291cmNlc0NvbnRlbnQiOlsiLndwdmlldy13cmFwW2RhdGEtd3B2aWV3LXRleHRePVwiJTVCcG9wdXBfdHJpZ2dlclwiXSB7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUEsWUFBWSxDQUFBLEFBQUEsZ0JBQUMsRUFBa0Isa0JBQWtCLEFBQXBDLEVBQXNDO0VBQ2pELE9BQU8sRUFBRSxZQUFhO0NBQ3ZCIiwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ== */
6
+
7
+ /*# sourceMappingURL=wp-editor.css.map */
assets/css/wp-editor.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["/source/wp-editor.scss","wp-editor.css"],"names":[],"mappings":"AAAA;EACE,sBAAsB;CACvB;;ACED,qcAAqc","file":"wp-editor.css","sourcesContent":[".wpview-wrap[data-wpview-text^=\"%5Bpopup_trigger\"] {\n display: inline-block;\n}\n",".wpview-wrap[data-wpview-text^=\"%5Bpopup_trigger\"] {\n display: inline-block;\n}\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3AtZWRpdG9yLmNzcyIsInNvdXJjZXMiOlsid3AtZWRpdG9yLnNjc3MiXSwic291cmNlc0NvbnRlbnQiOlsiLndwdmlldy13cmFwW2RhdGEtd3B2aWV3LXRleHRePVwiJTVCcG9wdXBfdHJpZ2dlclwiXSB7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUEsWUFBWSxDQUFBLEFBQUEsZ0JBQUMsRUFBa0Isa0JBQWtCLEFBQXBDLEVBQXNDO0VBQ2pELE9BQU8sRUFBRSxZQUFhO0NBQ3ZCIiwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ== */\n"],"sourceRoot":"/source/"}
assets/css/wp-editor.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .wpview-wrap[data-wpview-text^="%5Bpopup_trigger"]{display:inline-block}
assets/js/admin.js CHANGED
@@ -8205,6 +8205,13 @@ var PopMakeAdmin, PUM_Admin;
8205
  $('#title').prop('required', true);
8206
 
8207
  $(document)
 
 
 
 
 
 
 
8208
  .on('keydown', '#popuptitle', function (event) {
8209
  var keyCode = event.keyCode || event.which;
8210
  if (9 === keyCode) {
8205
  $('#title').prop('required', true);
8206
 
8207
  $(document)
8208
+ .on('change', '#popup_theme', function () {
8209
+ var $this = $(this),
8210
+ $link = $('#edit_theme_link'),
8211
+ val = $this.val();
8212
+
8213
+ $link.attr('href', $link.data('baseurl')+val);
8214
+ })
8215
  .on('keydown', '#popuptitle', function (event) {
8216
  var keyCode = event.keyCode || event.which;
8217
  if (9 === keyCode) {
assets/js/admin.min.js CHANGED
@@ -1,4 +1,4 @@
1
  function pumSelected(e,t,n){"use strict";var i=!1;return"object"==typeof e&&"string"==typeof t&&-1!==jQuery.inArray(t,e)?i=!0:"object"==typeof t&&"string"==typeof e&&-1!==jQuery.inArray(e,t)?i=!0:e===t&&(i=!0),void 0!==n&&n?i?' selected="selected"':"":i}function pumChecked(e,t,n){"use strict";var i=!1;return"object"==typeof e&&"string"==typeof t&&-1!==jQuery.inArray(t,e)?i=!0:"object"==typeof t&&"string"==typeof e&&-1!==jQuery.inArray(e,t)?i=!0:e===t&&(i=!0),void 0!==n&&n?i?' checked="checked"':"":i}!function(e){"function"==typeof define&&void 0!==define.amd&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.pumselect2&&e.fn.pumselect2.amd)var t=e.fn.pumselect2.amd;var t;return function(){if(!t||!t.requirejs){t?n=t:t={};var e,n,i;!function(t){function o(e,t){return b.call(e,t)}function r(e,t){var n,i,o,r,s,a,l,c,p,u,d,h=t&&t.split("/"),f=_.map,m=f&&f["*"]||{};if(e&&"."===e.charAt(0))if(t){for(e=e.split("/"),s=e.length-1,_.nodeIdCompat&&x.test(e[s])&&(e[s]=e[s].replace(x,"")),e=h.slice(0,h.length-1).concat(e),p=0;p<e.length;p+=1)if(d=e[p],"."===d)e.splice(p,1),p-=1;else if(".."===d){if(1===p&&(".."===e[2]||".."===e[0]))break;p>0&&(e.splice(p-1,2),p-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((h||m)&&f){for(n=e.split("/"),p=n.length;p>0;p-=1){if(i=n.slice(0,p).join("/"),h)for(u=h.length;u>0;u-=1)if(o=f[h.slice(0,u).join("/")],o&&(o=o[i])){r=o,a=p;break}if(r)break;!l&&m&&m[i]&&(l=m[i],c=p)}!r&&l&&(r=l,a=c),r&&(n.splice(0,a,r),e=n.join("/"))}return e}function s(e,n){return function(){var i=w.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),h.apply(t,i.concat([e,n]))}}function a(e){return function(t){return r(t,e)}}function l(e){return function(t){g[e]=t}}function c(e){if(o(v,e)){var n=v[e];delete v[e],y[e]=!0,d.apply(t,n)}if(!o(g,e)&&!o(y,e))throw new Error("No "+e);return g[e]}function p(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 _&&_.config&&_.config[e]||{}}}var d,h,f,m,g={},v={},_={},y={},b=Object.prototype.hasOwnProperty,w=[].slice,x=/\.js$/;f=function(e,t){var n,i=p(e),o=i[0];return e=i[1],o&&(o=r(o,t),n=c(o)),o?e=n&&n.normalize?n.normalize(e,a(t)):r(e,t):(e=r(e,t),i=p(e),o=i[0],e=i[1],o&&(n=c(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},m={require:function(e){return s(e)},exports:function(e){var t=g[e];return"undefined"!=typeof t?t:g[e]={}},module:function(e){return{id:e,uri:"",exports:g[e],config:u(e)}}},d=function(e,n,i,r){var a,p,u,d,h,_,b=[],w=typeof i;if(r=r||e,"undefined"===w||"function"===w){for(n=!n.length&&i.length?["require","exports","module"]:n,h=0;h<n.length;h+=1)if(d=f(n[h],r),p=d.f,"require"===p)b[h]=m.require(e);else if("exports"===p)b[h]=m.exports(e),_=!0;else if("module"===p)a=b[h]=m.module(e);else if(o(g,p)||o(v,p)||o(y,p))b[h]=c(p);else{if(!d.p)throw new Error(e+" missing "+p);d.p.load(d.n,s(r,!0),l(p),{}),b[h]=g[p]}u=i?i.apply(g[e],b):void 0,e&&(a&&a.exports!==t&&a.exports!==g[e]?g[e]=a.exports:u===t&&_||(g[e]=u))}else e&&(g[e]=i)},e=n=h=function(e,n,i,o,r){if("string"==typeof e)return m[e]?m[e](n):c(f(e,n).f);if(!e.splice){if(_=e,_.deps&&h(_.deps,_.callback),!n)return;n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=o,o=r),o?d(t,e,n,i):setTimeout(function(){d(t,e,n,i)},4),h},h.config=function(e){return h(e)},e._defined=g,i=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(g,e)||o(v,e)||(v[e]=[e,t,n])},i.amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=i}}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("pumselect2/utils",["jquery"],function(e){function t(e){var t=e.prototype,n=[];for(var i in t){var o=t[i];"function"==typeof o&&"constructor"!==i&&n.push(i)}return n}var n={};n.Extend=function(e,t){function n(){this.constructor=e}var i={}.hasOwnProperty;for(var o in t)i.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},n.Decorate=function(e,n){function i(){var t=Array.prototype.unshift,i=n.prototype.constructor.length,o=e.prototype.constructor;i>0&&(t.call(arguments,e.prototype.constructor),o=n.prototype.constructor),o.apply(this,arguments)}function o(){this.constructor=i}var r=t(n),s=t(e);n.displayName=e.displayName,i.prototype=new o;for(var a=0;a<s.length;a++){var l=s[a];i.prototype[l]=e.prototype[l]}for(var c=(function(e){var t=function(){};e in i.prototype&&(t=i.prototype[e]);var o=n.prototype[e];return function(){var e=Array.prototype.unshift;return e.call(arguments,t),o.apply(this,arguments)}}),p=0;p<r.length;p++){var u=r[p];i.prototype[u]=c(u)}return i};var i=function(){this.listeners={}};return i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.prototype.trigger=function(e){var t=Array.prototype.slice;this.listeners=this.listeners||{},e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;i>n;n++)e[n].apply(this,t)},n.Observable=i,n.generateChars=function(e){for(var t="",n=0;e>n;n++){var i=Math.floor(36*Math.random());t+=i.toString(36)}return t},n.bind=function(e,t){return function(){e.apply(t,arguments)}},n._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var o=0;o<n.length;o++){var r=n[o];r=r.substring(0,1).toLowerCase()+r.substring(1),r in i||(i[r]={}),o==n.length-1&&(i[r]=e[t]),i=i[r]}delete e[t]}}return e},n.hasScroll=function(t,n){var i=e(n),o=n.style.overflowX,r=n.style.overflowY;return o!==r||"hidden"!==r&&"visible"!==r?"scroll"===o||"scroll"===r?!0:i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth:!1},n.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},n.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var i=e();e.map(n,function(e){i=i.add(e)}),n=i}t.append(n)},n}),t.define("pumselect2/results",["jquery","./utils"],function(e,t){function n(e,t,i){this.$element=e,this.data=i,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="pumselect2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=e('<li role="treeitem" aria-live="assertive" class="pumselect2-results__option"></li>'),o=this.options.get("translations").get(t.message);i.append(n(o(t.args))),i[0].className+=" pumselect2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".pumselect2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null==e.results||0===e.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],o=this.option(i);t.push(o)}this.$results.append(t)},n.prototype.position=function(e,t){var n=t.find(".pumselect2-results");n.append(e)},n.prototype.sort=function(e){var t=this.options.get("sorter");return t(e)},n.prototype.setClasses=function(){var t=this;this.data.current(function(n){var i=e.map(n,function(e){return e.id.toString()}),o=t.$results.find(".pumselect2-results__option[aria-selected]");o.each(function(){var t=e(this),n=e.data(this,"data"),o=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(o,i)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")});var r=o.filter("[aria-selected=true]");r.length>0?r.first().trigger("mouseenter"):o.first().trigger("mouseenter")})},n.prototype.showLoading=function(e){this.hideLoading();var t=this.options.get("translations").get("searching"),n={disabled:!0,loading:!0,text:t(e)},i=this.option(n);i.className+=" loading-results",this.$results.prepend(i)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(t){var n=document.createElement("li");n.className="pumselect2-results__option";var i={role:"treeitem","aria-selected":"false"};t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]);for(var o in i){var r=i[o];n.setAttribute(o,r)}if(t.children){var s=e(n),a=document.createElement("strong");a.className="pumselect2-results__group";e(a);this.template(t,a);for(var l=[],c=0;c<t.children.length;c++){var p=t.children[c],u=this.option(p);l.push(u)}var d=e("<ul></ul>",{"class":"pumselect2-results__options pumselect2-results__options--nested"});d.append(l),s.append(a),s.append(d)}else this.template(t,n);return e.data(n,"data",t),n},n.prototype.bind=function(t,n){var i=this,o=t.id+"-results";this.$results.attr("id",o),t.on("results:all",function(e){i.clear(),i.append(e.data),t.isOpen()&&i.setClasses()}),t.on("results:append",function(e){i.append(e.data),t.isOpen()&&i.setClasses()}),t.on("query",function(e){i.hideMessages(),i.showLoading(e)}),t.on("select",function(){t.isOpen()&&i.setClasses()}),t.on("unselect",function(){t.isOpen()&&i.setClasses()}),t.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),t.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=i.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e);if(0!==n){var o=n-1;0===e.length&&(o=0);var r=t.eq(o);r.trigger("mouseenter");var s=i.$results.offset().top,a=r.offset().top,l=i.$results.scrollTop()+(a-s);0===o?i.$results.scrollTop(0):0>a-s&&i.$results.scrollTop(l)}}),t.on("results:next",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e),o=n+1;if(!(o>=t.length)){var r=t.eq(o);r.trigger("mouseenter");var s=i.$results.offset().top+i.$results.outerHeight(!1),a=r.offset().top+r.outerHeight(!1),l=i.$results.scrollTop()+a-s;0===o?i.$results.scrollTop(0):a>s&&i.$results.scrollTop(l)}}),t.on("results:focus",function(e){e.element.addClass("pumselect2-results__option--highlighted")}),t.on("results:message",function(e){i.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,o=e.deltaY>0&&t-e.deltaY<=0,r=e.deltaY<0&&n<=i.$results.height();o?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".pumselect2-results__option[aria-selected]",function(t){var n=e(this),o=n.data("data");return"true"===n.attr("aria-selected")?void(i.options.get("multiple")?i.trigger("unselect",{originalEvent:t,data:o}):i.trigger("close",{})):void i.trigger("select",{originalEvent:t,data:o})}),this.$results.on("mouseenter",".pumselect2-results__option[aria-selected]",function(t){var n=e(this).data("data");i.getHighlightedResults().removeClass("pumselect2-results__option--highlighted"),i.trigger("results:focus",{data:n,element:e(this)})})},n.prototype.getHighlightedResults=function(){var e=this.$results.find(".pumselect2-results__option--highlighted");return e},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]"),n=t.index(e),i=this.$results.offset().top,o=e.offset().top,r=this.$results.scrollTop()+(o-i),s=o-i;r-=2*e.outerHeight(!1),2>=n?this.$results.scrollTop(0):(s>this.$results.outerHeight()||0>s)&&this.$results.scrollTop(r)}},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),r=i(t,n);null==r?n.style.display="none":"string"==typeof r?n.innerHTML=o(r):e(n).append(r)},n}),t.define("pumselect2/keys",[],function(){var e={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return e}),t.define("pumselect2/selection/base",["jquery","../utils","../keys"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="pumselect2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},i.prototype.bind=function(e,t){var i=this,o=(e.id+"-container",e.id+"-results");this.container=e,this.$selection.on("focus",function(e){i.trigger("focus",e)}),this.$selection.on("blur",function(e){i._handleBlur(e)}),this.$selection.on("keydown",function(e){i.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){i.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){i.update(e.data)}),e.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",o),i._attachCloseHandler(e)}),e.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.focus(),i._detachCloseHandler(e)}),e.on("enable",function(){i.$selection.attr("tabindex",i._tabindex)}),e.on("disable",function(){i.$selection.attr("tabindex","-1")})},i.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)},1)},i.prototype._attachCloseHandler=function(t){e(document.body).on("mousedown.pumselect2."+t.id,function(t){var n=e(t.target),i=n.closest(".pumselect2"),o=e(".pumselect2.pumselect2-container--open");o.each(function(){var t=e(this);if(this!=i[0]){var n=t.data("element");n.pumselect2("close")}})})},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.pumselect2."+t.id)},i.prototype.position=function(e,t){var n=t.find(".selection");n.append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},i}),t.define("pumselect2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,t),o.prototype.render=function(){var e=o.__super__.render.call(this);return e.addClass("pumselect2-selection--single"),e.html('<span class="pumselect2-selection__rendered"></span><span class="pumselect2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},o.prototype.bind=function(e,t){var n=this;o.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".pumselect2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),e.on("selection:update",function(e){n.update(e.data)})},o.prototype.clear=function(){this.$selection.find(".pumselect2-selection__rendered").empty()},o.prototype.display=function(e,t){var n=this.options.get("templateSelection"),i=this.options.get("escapeMarkup");return i(n(e,t))},o.prototype.selectionContainer=function(){return e("<span></span>")},o.prototype.update=function(e){if(0===e.length)return void this.clear();var t=e[0],n=this.$selection.find(".pumselect2-selection__rendered"),i=this.display(t,n);n.empty().append(i),n.prop("title",t.title||t.text)},o}),t.define("pumselect2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function i(e,t){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("pumselect2-selection--multiple"),e.html('<ul class="pumselect2-selection__rendered"></ul>'),e},i.prototype.bind=function(t,n){var o=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){o.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".pumselect2-selection__choice__remove",function(t){if(!o.options.get("disabled")){var n=e(this),i=n.parent(),r=i.data("data");o.trigger("unselect",{originalEvent:t,data:r})}})},i.prototype.clear=function(){this.$selection.find(".pumselect2-selection__rendered").empty()},i.prototype.display=function(e,t){var n=this.options.get("templateSelection"),i=this.options.get("escapeMarkup");return i(n(e,t))},i.prototype.selectionContainer=function(){var t=e('<li class="pumselect2-selection__choice"><span class="pumselect2-selection__choice__remove" role="presentation">&times;</span></li>');return t},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=0;i<e.length;i++){var o=e[i],r=this.selectionContainer(),s=this.display(o,r);r.append(s),r.prop("title",o.title||o.text),r.data("data",o),t.push(r)}var a=this.$selection.find(".pumselect2-selection__rendered");n.appendMany(a,t)}},i}),t.define("pumselect2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("pumselect2-selection__placeholder").removeClass("pumselect2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id,i=t.length>1;if(i||n)return e.call(this,t);this.clear();var o=this.createPlaceholder(this.placeholder);this.$selection.find(".pumselect2-selection__rendered").append(o)},t}),t.define("pumselect2/selection/allowClear",["jquery","../keys"],function(e,t){function n(){}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".pumselect2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".pumselect2-selection__clear");if(0!==n.length){t.stopPropagation();for(var i=n.data("data"),o=0;o<i.length;o++){var r={data:i[o]};if(this.trigger("unselect",r),r.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(".pumselect2-selection__placeholder").length>0||0===n.length)){var i=e('<span class="pumselect2-selection__clear">&times;</span>');i.data("data",n),this.$selection.find(".pumselect2-selection__rendered").prepend(i)}},n}),t.define("pumselect2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.prototype.render=function(t){var n=e('<li class="pumselect2-search pumselect2-search--inline"><input class="pumselect2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=t.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(e,t,i){var o=this;e.call(this,t,i),t.on("open",function(){o.$search.trigger("focus")}),t.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),t.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),t.on("disable",function(){o.$search.prop("disabled",!0)}),t.on("focus",function(e){o.$search.trigger("focus")}),t.on("results:focus",function(e){o.$search.attr("aria-activedescendant",e.id)}),this.$selection.on("focusin",".pumselect2-search--inline",function(e){o.trigger("focus",e)}),this.$selection.on("focusout",".pumselect2-search--inline",function(e){o._handleBlur(e)}),this.$selection.on("keydown",".pumselect2-search--inline",function(e){e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented();var t=e.which;if(t===n.BACKSPACE&&""===o.$search.val()){var i=o.$searchContainer.prev(".pumselect2-selection__choice");if(i.length>0){var r=i.data("data");o.searchRemoveChoice(r),e.preventDefault()}}});var r=document.documentMode,s=r&&11>=r;this.$selection.on("input.searchcheck",".pumselect2-search--inline",function(e){return s?void o.$selection.off("input.search input.searchcheck"):void o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".pumselect2-search--inline",function(e){if(s&&"input"===e.type)return void o.$selection.off("input.search input.searchcheck");var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&o.handleSearch(e)})},i.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},i.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".pumselect2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";if(""!==this.$search.attr("placeholder"))e=this.$selection.find(".pumselect2-selection__rendered").innerWidth();else{var t=this.$search.val().length+1;e=.75*t+"em"}this.$search.css("width",e)},i}),t.define("pumselect2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,i){var o=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting"],s=["opening","closing","selecting","unselecting"];t.call(this,n,i),n.on("*",function(t,n){if(-1!==e.inArray(t,r)){n=n||{};var i=e.Event("pumselect2:"+t,{params:n});o.$element.trigger(i),-1!==e.inArray(t,s)&&(n.prevented=i.isDefaultPrevented())}})},t}),t.define("pumselect2/translation",["jquery","require"],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])},n}),t.define("pumselect2/diacritics",[],function(){var e={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return e}),t.define("pumselect2/data/base",["../utils"],function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var i=t.id+"-result-";return i+=e.generateChars(4),i+=null!=n.id?"-"+n.id.toString():"-"+e.generateChars(4)},t}),t.define("pumselect2/data/select",["./base","../utils","jquery"],function(e,t,n){
2
  function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=[],i=this;this.$element.find(":selected").each(function(){var e=n(this),o=i.item(e);t.push(o)}),e(t)},i.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var o=[];e=[e],e.push.apply(e,i);for(var r=0;r<e.length;r++){var s=e[r].id;-1===n.inArray(s,o)&&o.push(s)}t.$element.val(o),t.$element.trigger("change")});else{var i=e.id;this.$element.val(i),this.$element.trigger("change")}},i.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple"))return e.selected=!1,n(e.element).is("option")?(e.element.selected=!1,void this.$element.trigger("change")):void this.current(function(i){for(var o=[],r=0;r<i.length;r++){var s=i[r].id;s!==e.id&&-1===n.inArray(s,o)&&o.push(s)}t.$element.val(o),t.$element.trigger("change")})},i.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){n.removeData(this,"data")})},i.prototype.query=function(e,t){var i=[],o=this,r=this.$element.children();r.each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var r=o.item(t),s=o.matches(e,r);null!==s&&i.push(s)}}),t({results:i})},i.prototype.addOptions=function(e){t.appendMany(this.$element,e)},i.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup"),t.label=e.text):(t=document.createElement("option"),void 0!==t.textContent?t.textContent=e.text:t.innerText=e.text),e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var i=n(t),o=this._normalizeItem(e);return o.element=t,n.data(t,"data",o),i},i.prototype.item=function(e){var t={};if(t=n.data(e[0],"data"),null!=t)return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),o=[],r=0;r<i.length;r++){var s=n(i[r]),a=this.item(s);o.push(a)}t.children=o}return t=this._normalizeItem(t),t.element=e[0],n.data(e[0],"data",t),t},i.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e}),e=n.extend({},{text:""},e);var t={selected:!1,disabled:!1};return null!=e.id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},t,e)},i.prototype.matches=function(e,t){var n=this.options.get("matcher");return n(e,t)},i}),t.define("pumselect2/data/array",["./select","../utils","jquery"],function(e,t,n){function i(e,t){var n=t.get("data")||[];i.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(i,e),i.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){function i(e){return function(){return n(this).val()==e.id}}for(var o=this,r=this.$element.find("option"),s=r.map(function(){return o.item(n(this)).id}).get(),a=[],l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,s)>=0){var p=r.filter(i(c)),u=this.item(p),d=n.extend(!0,{},c,u),h=this.option(d);p.replaceWith(h)}else{var f=this.option(c);if(c.children){var m=this.convertToOptions(c.children);t.appendMany(f,m)}a.push(f)}}return a},i}),t.define("pumselect2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function i(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,i){var o=n.ajax(e);return o.then(t),o.fail(i),o}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){function i(){var i=r.transport(r,function(i){var r=o.processResults(i,e);o.options.get("debug")&&window.console&&console.error&&(r&&r.results&&n.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(r)},function(){o.trigger("results:message",{message:"errorLoading"})});o._request=i}var o=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var r=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof r.url&&(r.url=r.url.call(this.$element,e)),"function"==typeof r.data&&(r.data=r.data.call(this.$element,e)),this.ajaxOptions.delay&&""!==e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),t.define("pumselect2/data/tags",["jquery"],function(e){function t(t,n,i){var o=i.get("tags"),r=i.get("createTag");void 0!==r&&(this.createTag=r);var s=i.get("insertTag");if(void 0!==s&&(this.insertTag=s),t.call(this,n,i),e.isArray(o))for(var a=0;a<o.length;a++){var l=o[a],c=this._normalizeItem(l),p=this.option(c);this.$element.append(p)}}return t.prototype.query=function(e,t,n){function i(e,r){for(var s=e.results,a=0;a<s.length;a++){var l=s[a],c=null!=l.children&&!i({results:l.children},!0),p=l.text===t.term;if(p||c)return r?!1:(e.data=s,void n(e))}if(r)return!0;var u=o.createTag(t);if(null!=u){var d=o.option(u);d.attr("data-pumselect2-tag",!0),o.addOptions([d]),o.insertTag(s,u)}e.results=s,n(e)}var o=this;return this._removeOldTags(),null==t.term||null!=t.page?void e.call(this,t,n):void e.call(this,t,i)},t.prototype.createTag=function(t,n){var i=e.trim(n.term);return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){var n=(this._lastTag,this.$element.find("option[data-pumselect2-tag]"));n.each(function(){this.selected||e(this).remove()})},t}),t.define("pumselect2/data/tokenizer",["jquery"],function(e){function t(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".pumselect2-search__field")},t.prototype.query=function(e,t,n){function i(e){o.trigger("select",{data:e})}var o=this;t.term=t.term||"";var r=this.tokenizer(t,this.options,i);r.term!==t.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.focus()),t.term=r.term),e.call(this,t,n)},t.prototype.tokenizer=function(t,n,i,o){for(var r=i.get("tokenSeparators")||[],s=n.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<s.length;){var c=s[a];if(-1!==e.inArray(c,r)){var p=s.substr(0,a),u=e.extend({},n,{term:p}),d=l(u);null!=d?(o(d),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},t}),t.define("pumselect2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){return t.term=t.term||"",t.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):void e.call(this,t,n)},e}),t.define("pumselect2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){return t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):void e.call(this,t,n)},e}),t.define("pumselect2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){var i=this;this.current(function(o){var r=null!=o?o.length:0;return i.maximumSelectionLength>0&&r>=i.maximumSelectionLength?void i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):void e.call(i,t,n)})},e}),t.define("pumselect2/dropdown",["jquery","./utils"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="pumselect2-dropdown"><span class="pumselect2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("pumselect2/dropdown/search",["jquery","../utils"],function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),i=e('<span class="pumselect2-search pumselect2-search--dropdown"><input class="pumselect2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),this.$search.on("keydown",function(e){o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(t){e(this).off("keyup")}),this.$search.on("keyup input",function(e){o.handleSearch(e)}),n.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),n.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}),n.on("results:all",function(e){if(null==e.query.term||""===e.query.term){var t=o.showSearch(e);t?o.$searchContainer.removeClass("pumselect2-search--hide"):o.$searchContainer.addClass("pumselect2-search--hide")}})},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.showSearch=function(e,t){return!0},n}),t.define("pumselect2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var o=t[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},e}),t.define("pumselect2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),n.on("query",function(e){o.lastParams=e,o.loading=!0}),n.on("query:append",function(e){o.lastParams=e,o.loading=!0}),this.$results.on("scroll",function(){var t=e.contains(document.documentElement,o.$loadingMore[0]);if(!o.loading&&t){var n=o.$results.offset().top+o.$results.outerHeight(!1),i=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1);n+50>=i&&o.loadMore()}})},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="pumselect2-results__option pumselect2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t}),t.define("pumselect2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(t,n,i){this.$dropdownParent=i.get("dropdownParent")||e(document.body),t.call(this,n,i)}return n.prototype.bind=function(e,t,n){var i=this,o=!1;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),o||(o=!0,t.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),t.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("pumselect2"),t.addClass("pumselect2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,i){var o=this,r="scroll.pumselect2."+i.id,s="resize.pumselect2."+i.id,a="orientationchange.pumselect2."+i.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){e(this).data("pumselect2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),l.on(r,function(t){var n=e(this).data("pumselect2-scroll-position");e(this).scrollTop(n.y)}),e(window).on(r+" "+s+" "+a,function(e){o._positionDropdown(),o._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var o="scroll.pumselect2."+i.id,r="resize.pumselect2."+i.id,s="orientationchange.pumselect2."+i.id,a=this.$container.parents().filter(t.hasScroll);a.off(o),e(window).off(o+" "+r+" "+s)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("pumselect2-dropdown--above"),i=this.$dropdown.hasClass("pumselect2-dropdown--below"),o=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=r.top,s.bottom=r.top+s.height;var a={height:this.$dropdown.outerHeight(!1)},l={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},c=l.top<r.top-a.height,p=l.bottom>r.bottom+a.height,u={left:r.left,top:s.bottom},d=this.$dropdownParent;"static"===d.css("position")&&(d=d.offsetParent());var h=d.offset();u.top-=h.top,u.left-=h.left,n||i||(o="below"),p||!c||n?!c&&p&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(u.top=s.top-a.height),null!=o&&(this.$dropdown.removeClass("pumselect2-dropdown--below pumselect2-dropdown--above").addClass("pumselect2-dropdown--"+o),this.$container.removeClass("pumselect2-container--below pumselect2-container--above").addClass("pumselect2-container--"+o)),this.$dropdownContainer.css(u)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define("pumselect2/dropdown/minimumResultsForSearch",[],function(){function e(t){for(var n=0,i=0;i<t.length;i++){var o=t[i];o.children?n+=e(o.children):n++}return n}function t(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return t.prototype.showSearch=function(t,n){return e(n.data.results)<this.minimumResultsForSearch?!1:t.call(this,n)},t}),t.define("pumselect2/dropdown/selectOnClose",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(){i._handleSelectOnClose()})},e.prototype._handleSelectOnClose=function(){var e=this.getHighlightedResults();if(!(e.length<1)){var t=e.data("data");null!=t.element&&t.element.selected||null==t.element&&t.selected||this.trigger("select",{data:t})}},e}),t.define("pumselect2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&n.ctrlKey||this.trigger("close",{})},e}),t.define("pumselect2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Please enter "+t+" or more characters";return n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),t.define("pumselect2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(e,t,n,i,o,r,s,a,l,c,p,u,d,h,f,m,g,v,_,y,b,w,x,k,$,C,P,A,M){function S(){this.reset()}S.prototype.apply=function(u){if(u=e.extend(!0,{},this.defaults,u),null==u.dataAdapter){if(null!=u.ajax?u.dataAdapter=f:null!=u.data?u.dataAdapter=h:u.dataAdapter=d,u.minimumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,_)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null!=u.query){var M=t(u.amdBase+"compat/query");u.dataAdapter=c.Decorate(u.dataAdapter,M)}if(null!=u.initSelection){var S=t(u.amdBase+"compat/initSelection");u.dataAdapter=c.Decorate(u.dataAdapter,S)}}if(null==u.resultsAdapter&&(u.resultsAdapter=n,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,k)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,x)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,P))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=b;else{var U=c.Decorate(b,w);u.dropdownAdapter=U}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,C)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,A)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var T=t(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=c.Decorate(u.dropdownAdapter,T)}u.dropdownAdapter=c.Decorate(u.dropdownAdapter,$)}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=o:u.selectionAdapter=i,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,r)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var j=t(u.amdBase+"compat/containerCss");u.selectionAdapter=c.Decorate(u.selectionAdapter,j)}u.selectionAdapter=c.Decorate(u.selectionAdapter,l)}if("string"==typeof u.language)if(u.language.indexOf("-")>0){var O=u.language.split("-"),D=O[0];u.language=[u.language,D]}else u.language=[u.language];if(e.isArray(u.language)){var E=new p;u.language.push("en");for(var q=u.language,I=0;I<q.length;I++){var z=q[I],L={};try{L=p.loadPath(z)}catch(R){try{z=this.defaults.amdLanguageBase+z,L=p.loadPath(z)}catch(H){u.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+z+'" could not be automatically loaded. A fallback will be used instead.');continue}}E.extend(L)}u.translations=E}else{var F=p.loadPath(this.defaults.amdLanguageBase+"en"),N=new p(u.language);N.extend(F),u.translations=N}return u},S.prototype.reset=function(){function t(e){function t(e){return u[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(i,o){if(""===e.trim(i.term))return o;if(o.children&&o.children.length>0){for(var r=e.extend(!0,{},o),s=o.children.length-1;s>=0;s--){var a=o.children[s],l=n(i,a);null==l&&r.children.splice(s,1)}return r.children.length>0?r:n(i,r)}var c=t(o.text).toUpperCase(),p=t(i.term).toUpperCase();return c.indexOf(p)>-1?o:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:M,matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},S.prototype.set=function(t,n){var i=e.camelCase(t),o={};o[i]=n;var r=c._convertData(o);e.extend(this.defaults,r)};var U=new S;return U}),t.define("pumselect2/options",["require","jquery","./defaults","./utils"],function(e,t,n,i){function o(t,o){if(this.options=t,null!=o&&this.fromElement(o),this.options=n.apply(this.options),o&&o.is("input")){var r=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,r)}}return o.prototype.fromElement=function(e){var n=["pumselect2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),e.data("pumselect2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-pumselect2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),e.data("data",e.data("pumselect2Tags")),e.data("tags",!0)),e.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",e.data("ajaxUrl")),e.data("ajax--url",e.data("ajaxUrl")));var o={};o=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var r=t.extend(!0,{},o);r=i._convertData(r);for(var s in r)t.inArray(s,n)>-1||(t.isPlainObject(this.options[s])?t.extend(this.options[s],r[s]):this.options[s]=r[s]);return this},o.prototype.get=function(e){return this.options[e]},o.prototype.set=function(e,t){this.options[e]=t},o}),t.define("pumselect2/core",["jquery","./options","./utils","./keys"],function(e,t,n,i){var o=function(e,n){null!=e.data("pumselect2")&&e.data("pumselect2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),o.__super__.constructor.call(this);var i=e.attr("tabindex")||0;e.data("old-tabindex",i),e.attr("tabindex","-1");var r=this.options.get("dataAdapter");this.dataAdapter=new r(e,this.options);var s=this.render();this._placeContainer(s);var a=this.options.get("selectionAdapter");this.selection=new a(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var p=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){p.trigger("selection:update",{data:e})}),e.addClass("pumselect2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),e.data("pumselect2",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(e){var t="";return t=null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4),t=t.replace(/(:|\.|\[|\]|,)/g,""),t="pumselect2-"+t},o.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},o.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var o=e.outerWidth(!1);return 0>=o?"auto":o+"px"}if("style"==t){var r=e.attr("style");if("string"!=typeof r)return null;for(var s=r.split(";"),a=0,l=s.length;l>a;a+=1){var c=s[a].replace(/\s/g,""),p=c.match(n);if(null!==p&&p.length>=1)return p[1]}return null}return t},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.pumselect2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this._sync=n.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){e.each(n,t._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",t._sync,!1)},o.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("focus",function(e){t.focus(e)}),this.selection.on("*",function(i,o){-1===e.inArray(i,n)&&t.trigger(i,o)})},o.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("pumselect2-container--open")}),this.on("close",function(){e.$container.removeClass("pumselect2-container--open")}),this.on("enable",function(){e.$container.removeClass("pumselect2-container--disabled")}),this.on("disable",function(){e.$container.addClass("pumselect2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("pumselect2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&t.altKey?(e.close(),t.preventDefault()):n===i.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===i.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===i.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===i.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype.trigger=function(e,t){var n=o.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===t&&(t={}),e in i){var r=i[e],s={prevented:!1,name:e,args:t};if(n.call(this,r,s),s.prevented)return void(t.prevented=!0)}n.call(this,e,t)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.trigger("query",{})},o.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},o.prototype.isOpen=function(){return this.$container.hasClass("pumselect2-container--open")},o.prototype.hasFocus=function(){return this.$container.hasClass("pumselect2-container--focus")},o.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("pumselect2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `pumselect2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `pumselect2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},o.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `pumselect2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,function(e){return e.toString()})),this.$element.val(n).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".pumselect2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("pumselect2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("pumselect2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var t=e('<span class="pumselect2 pumselect2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("pumselect2-container--"+this.options.get("theme")),t.data("element",this.$element),t},o}),t.define("pumselect2/compat/utils",["jquery"],function(e){function t(t,n,i){var o,r,s=[];o=e.trim(t.attr("class")),o&&(o=""+o,e(o.split(/\s+/)).each(function(){0===this.indexOf("pumselect2-")&&s.push(this)})),o=e.trim(n.attr("class")),o&&(o=""+o,e(o.split(/\s+/)).each(function(){0!==this.indexOf("pumselect2-")&&(r=i(this),null!=r&&s.push(r))})),t.attr("class",s.join(" "));
3
  }return{syncCssClasses:t}}),t.define("pumselect2/compat/containerCss",["jquery","./utils"],function(e,t){function n(e){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),r=this.options.get("containerCssClass")||"";e.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptContainerCssClass");if(s=s||n,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var a=s;s=function(e){var t=a(e);return null!=t?t+" "+e:e}}var l=this.options.get("containerCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(o,this.$element,s),o.css(l),o.addClass(r),o},i}),t.define("pumselect2/compat/dropdownCss",["jquery","./utils"],function(e,t){function n(e){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),r=this.options.get("dropdownCssClass")||"";e.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptDropdownCssClass");if(s=s||n,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var a=s;s=function(e){var t=a(e);return null!=t?t+" "+e:e}}var l=this.options.get("dropdownCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(o,this.$element,s),o.css(l),o.addClass(r),o},i}),t.define("pumselect2/compat/initSelection",["jquery"],function(e){function t(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return t.prototype.current=function(t,n){var i=this;return this._isInitialized?void t.call(this,n):void this.initSelection.call(null,this.$element,function(t){i._isInitialized=!0,e.isArray(t)||(t=[t]),n(t)})},t}),t.define("pumselect2/compat/inputData",["jquery"],function(e){function t(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return t.prototype.current=function(t,n){function i(t,n){var o=[];return t.selected||-1!==e.inArray(t.id,n)?(t.selected=!0,o.push(t)):t.selected=!1,t.children&&o.push.apply(o,i(t.children,n)),o}for(var o=[],r=0;r<this._currentData.length;r++){var s=this._currentData[r];o.push.apply(o,i(s,this.$element.val().split(this._valueSeparator)))}n(o)},t.prototype.select=function(t,n){if(this.options.get("multiple")){var i=this.$element.val();i+=this._valueSeparator+n.id,this.$element.val(i),this.$element.trigger("change")}else this.current(function(t){e.map(t,function(e){e.selected=!1})}),this.$element.val(n.id),this.$element.trigger("change")},t.prototype.unselect=function(e,t){var n=this;t.selected=!1,this.current(function(e){for(var i=[],o=0;o<e.length;o++){var r=e[o];t.id!=r.id&&i.push(r.id)}n.$element.val(i.join(n._valueSeparator)),n.$element.trigger("change")})},t.prototype.query=function(e,t,n){for(var i=[],o=0;o<this._currentData.length;o++){var r=this._currentData[o],s=this.matches(t,r);null!==s&&i.push(s)}n({results:i})},t.prototype.addOptions=function(t,n){var i=e.map(n,function(t){return e.data(t[0],"data")});this._currentData.push.apply(this._currentData,i)},t}),t.define("pumselect2/compat/matcher",["jquery"],function(e){function t(t){function n(n,i){var o=e.extend(!0,{},i);if(null==n.term||""===e.trim(n.term))return o;if(i.children){for(var r=i.children.length-1;r>=0;r--){var s=i.children[r],a=t(n.term,s.text,s);a||o.children.splice(r,1)}if(o.children.length>0)return o}return t(n.term,i.text,i)?o:null}return n}return t}),t.define("pumselect2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n;var i=this.options.get("query");i.call(null,t)},e}),t.define("pumselect2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){var i=n.find(".dropdown-wrapper");i.append(t),t.addClass("pumselect2-dropdown--below"),n.addClass("pumselect2-container--below")},e}),t.define("pumselect2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);var i=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(i.join(" "),function(e){e.stopPropagation()})},e}),t.define("pumselect2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);var i=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(i.join(" "),function(e){e.stopPropagation()})},e}),function(n){"function"==typeof t.define&&t.define.amd?t.define("jquery-mousewheel",["jquery"],n):"object"==typeof exports?module.exports=n:n(e)}(function(e){function t(t){var s=t||window.event,a=l.call(arguments,1),c=0,u=0,d=0,h=0,f=0,m=0;if(t=e.event.fix(s),t.type="mousewheel","detail"in s&&(d=-1*s.detail),"wheelDelta"in s&&(d=s.wheelDelta),"wheelDeltaY"in s&&(d=s.wheelDeltaY),"wheelDeltaX"in s&&(u=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(u=-1*d,d=0),c=0===d?u:d,"deltaY"in s&&(d=-1*s.deltaY,c=d),"deltaX"in s&&(u=s.deltaX,0===d&&(c=-1*u)),0!==d||0!==u){if(1===s.deltaMode){var g=e.data(this,"mousewheel-line-height");c*=g,d*=g,u*=g}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");c*=v,d*=v,u*=v}if(h=Math.max(Math.abs(d),Math.abs(u)),(!r||r>h)&&(r=h,i(s,h)&&(r/=40)),i(s,h)&&(c/=40,u/=40,d/=40),c=Math[c>=1?"floor":"ceil"](c/r),u=Math[u>=1?"floor":"ceil"](u/r),d=Math[d>=1?"floor":"ceil"](d/r),p.settings.normalizeOffset&&this.getBoundingClientRect){var _=this.getBoundingClientRect();f=t.clientX-_.left,m=t.clientY-_.top}return t.deltaX=u,t.deltaY=d,t.deltaFactor=r,t.offsetX=f,t.offsetY=m,t.deltaMode=0,a.unshift(t,c,u,d),o&&clearTimeout(o),o=setTimeout(n,200),(e.event.dispatch||e.event.handle).apply(this,a)}}function n(){r=null}function i(e,t){return p.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var o,r,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var c=s.length;c;)e.event.fixHooks[s[--c]]=e.event.mouseHooks;var p=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=a.length;n;)this.addEventListener(a[--n],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",p.getLineHeight(this)),e.data(this,"mousewheel-page-height",p.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=a.length;n;)this.removeEventListener(a[--n],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),t.define("jquery.pumselect2",["jquery","jquery-mousewheel","./pumselect2/core","./pumselect2/defaults"],function(e,t,n,i){if(null==e.fn.pumselect2){var o=["open","close","destroy"];e.fn.pumselect2=function(t){if(t=t||{},"object"==typeof t)return this.each(function(){var i=e.extend(!0,{},t);new n(e(this),i)}),this;if("string"==typeof t){var i;return this.each(function(){var n=e(this).data("pumselect2");null==n&&window.console&&console.error&&console.error("The pumselect2('"+t+"') method was called on an element that is not using Select2.");var o=Array.prototype.slice.call(arguments,1);i=n[t].apply(n,o)}),e.inArray(t,o)>-1?this:i}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.pumselect2.defaults&&(e.fn.pumselect2.defaults=i),n}),{define:t.define,require:t.require}}(),n=t.require("jquery.pumselect2");return e.fn.pumselect2.amd=t,n}),function(e,t,n){"use strict";e(t).on("click","#popup_reset_open_count",function(){var t=e(this);t.is(":checked")&&!confirm(pum_admin.I10n.confirm_count_reset)&&t.prop("checked",!1)})}(jQuery,document);var PUMColorPickers;!function(e,t,n){"use strict";PUMColorPickers={init:function(){e(".color-picker").filter(":not(.initialized)").addClass("initialized").wpColorPicker({change:function(t){var n=e(this),i=e(t.currentTarget);i.hasClass("background-color")&&i.parents("table").find(".background-opacity").show(),n.trigger("change.update"),"popup_theme"===e("form#post input#post_type").val()&&PopMakeAdmin.update_theme()},clear:function(t){var n=e(t.currentTarget).prev();n.hasClass("background-color")&&n.parents("table").find(".background-opacity").hide(),e(this).prev("input").trigger("change.clear").wpColorPicker("close"),"popup_theme"===e("form#post input#post_type").val()&&PopMakeAdmin.update_theme()}})}},e(t).on("click",".iris-palette",function(){e(this).parents(".wp-picker-active").find("input.color-picker").trigger("change"),setTimeout(PopMakeAdmin.update_theme,500)}).on("pum_init",PUMColorPickers.init)}(jQuery,document);var PUMConditions;!function(e,t,n){"use strict";PUMConditions={templates:{},addGroup:function(n,i){var o=e("#pum-popup-conditions"),r={index:o.find(".facet-group-wrap").length,conditions:[{target:n||null,not_operand:i||!1,settings:{}}]};o.find(".facet-groups").append(PUMConditions.templates.group(r)),o.find(".facet-builder").addClass("has-conditions"),e(t).trigger("pum_init")},renumber:function(){e("#pum-popup-conditions .facet-group-wrap").each(function(){var t=e(this),n=t.parent().children().index(t);t.data("index",n).find(".facet").each(function(){var t=e(this),i=t.parent().children().index(t);t.data("index",i).find("[name]").each(function(){var e="popup_conditions["+n+"]["+i+"]";this.name=this.name.replace(/popup_conditions\[\d*?\]\[\d*?\]/,e),this.id=this.name})})})}},e(t).on("pum_init",PUMConditions.renumber).ready(function(){e("body.post-type-popup form#post").length&&(PUMConditions.templates.group=wp.template("pum-condition-group"),PUMConditions.templates.facet=wp.template("pum-condition-facet"),PUMConditions.templates.settings={},e("script.tmpl.pum-condition-settings").each(function(){var t=e(this),n=t.attr("id").replace("tmpl-","");PUMConditions.templates.settings[t.data("condition")]=wp.template(n)}),PUMConditions.renumber())}).on("select2:select pumselect2:select","#pum-first-condition",function(){var t=e(this),n=t.val(),i=e("#pum-first-condition-operand"),o=i.is(":checked")?i.val():null;PUMConditions.addGroup(n,o),t.val(null).trigger("change"),i.prop("checked",!1).parents(".pum-condition-target").removeClass("not-operand-checked")}).on("click","#pum-popup-conditions .pum-not-operand",function(){var t=e(this),n=t.find("input"),i=t.parents(".pum-condition-target");n.is(":checked")?(i.removeClass("not-operand-checked"),n.prop("checked",!1)):(i.addClass("not-operand-checked"),n.prop("checked",!0))}).on("change","#pum-popup-conditions select.target",function(){var i=e(this),o=i.val(),r={index:i.parents(".facet-group").find(".facet").length,target:o,settings:{}};""!==o&&o!==i.parents(".facet").data("target")&&PUMConditions.templates.settings[o]!==n&&(i.parents(".facet").data("target",o).find(".facet-settings").html(PUMConditions.templates.settings[o](r)),e(t).trigger("pum_init"))}).on("click","#pum-popup-conditions .facet-group-wrap:last-child .and .add-facet",PUMConditions.addGroup).on("click","#pum-popup-conditions .add-or .add-facet:not(.disabled)",function(){var n=e(this),i=n.parents(".facet-group-wrap"),o={group:i.data("index"),index:i.find(".facet").length,target:null,settings:{}};i.find(".facet-list").append(PUMConditions.templates.facet(o)),e(t).trigger("pum_init")}).on("click","#pum-popup-conditions .remove-facet",function(){var t=e(this),n=e("#pum-popup-conditions"),i=t.parents(".facet"),o=t.parents(".facet-group-wrap");i.remove(),0===o.find(".facet").length&&(o.prev(".facet-group-wrap").find(".and .add-facet").removeClass("disabled"),o.remove(),0===n.find(".facet-group-wrap").length&&n.find(".facet-builder").removeClass("has-conditions")),PUMConditions.renumber()})}(jQuery,document);var PUMCookies;!function(e,t,n){"use strict";var i=pum_admin.I10n,o=pum_admin.defaults;PUMCookies={getLabel:function(e){return i.labels.cookies[e].name},getSettingsDesc:function(e,t){var n={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"},o=_.template(i.labels.cookies[e].settings_column,null,n);return t.I10n=i,o(t)},renumber:function(){e("#pum_popup_cookies_list tbody tr").each(function(){var t=e(this),n=t.parent().children().index(t),i=t.data("index");t.data("index",n),t.find("[name]").each(function(){var e="["+n+"]";this.name=this.name.replace("["+i+"]",e).replace("[]",e)})})},refreshDescriptions:function(){e("#pum_popup_cookies_list tbody tr").each(function(){var t=e(this),n=t.find(".popup_cookies_field_event").val(),i=JSON.parse(t.find(".popup_cookies_field_settings:first").val());t.find("td.settings-column").html(PUMCookies.getSettingsDesc(n,i))})},initEditForm:function(){PUMCookies.updateSessionsCheckbox()},updateSessionsCheckbox:function(){var t=e(".cookie-editor .pum-form"),n=t.find('.field.checkbox.session input[type="checkbox"]').is(":checked"),i=t.find(".field").filter(".time");n?i.hide():i.show()},resetCookieKey:function(){var t=e(this),n=(new Date).getTime().toString(16);t.parents(".pum-form").find(".field.text.name").data("cookiekey",n),t.siblings('input[type="text"]:first').val(n)}},e(t).on("select2:select pumselect2:select","#pum-first-cookie",function(){var t=e(this),r=t.val(),s="pum-cookie-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={};c.cookie_settings=o.cookies[r]!==n?o.cookies[r]:{},c.cookie_settings.name="pum-"+e("#post_ID").val(),c.save_button_text=i.add,c.index=null,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMCookies.initEditForm(),t.val(null).trigger("change")}).on("click",".field.cookiekey button.reset",PUMCookies.resetCookieKey).on("click",".cookie-editor .pum-form .field.checkbox.session",PUMCookies.updateSessionsCheckbox).on("click","#pum_popup_cookies .add-new",function(){var e=wp.template("pum-cookie-add-event");PUMModals.reload("#pum_cookie_add_event_modal",e())}).on("click","#pum_popup_cookies_list .edit",function(t){var n=e(this),o=n.parents("tr:first"),r=o.find(".popup_cookies_field_event").val(),s="pum-cookie-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={index:o.parent().children().index(o),event:r,cookie_settings:JSON.parse(o.find(".popup_cookies_field_settings:first").val())};t.preventDefault(),c.save_button_text=i.save,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMCookies.initEditForm()}).on("click","#pum_popup_cookies_list .remove",function(t){var n=e(this),o=n.parents("tr:first");t.preventDefault(),window.confirm(i.confirm_delete_cookie)&&(o.remove(),e("#pum_popup_cookies_list tbody tr").length||(e("#pum-first-cookie").val(null).trigger("change"),e("#pum_popup_cookie_fields").removeClass("has-cookies")),PUMCookies.renumber())}).on("submit","#pum_cookie_add_event_modal .pum-form",function(t){var r=e("#popup_cookie_add_event").val(),s="pum-cookie-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={};t.preventDefault(),c.cookie_settings=o.cookies[r]!==n?o.cookies[r]:{},c.cookie_settings.name="pum-"+e("#post_ID").val(),c.save_button_text=i.add,c.index=null,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMCookies.initEditForm()}).on("submit",".cookie-editor .pum-form",function(t){var n,o,r,s=e(this),a=(s.find("input.event").val(),s.serializeObject()),l=parseInt(a.index),c=l>=0?e("#pum_popup_cookies_list tbody tr").eq(l):null,p=wp.template("pum-cookie-row");t.preventDefault(),(!l||0>l)&&(a.index=e("#pum_popup_cookies_list tbody tr").length),a.I10n=i,n=p(a),c?c.replaceWith(n):e("#pum_popup_cookies_list tbody").append(n),PUMModals.closeAll(),PUMCookies.renumber(),e("#pum_popup_cookie_fields").addClass("has-cookies"),PUMTriggers.new_cookie&&PUMTriggers.new_cookie>=0&&(o=e("#pum_popup_triggers_list tbody tr").eq(PUMTriggers.new_cookie).find(".popup_triggers_field_settings:first"),r=JSON.parse(o.val()),r.cookie.name[r.cookie.name.indexOf("add_new")]=a.cookie_settings.name,o.val(JSON.stringify(r)),PUMTriggers.new_cookie=-1,PUMTriggers.refreshDescriptions())}).ready(function(){PUMCookies.refreshDescriptions(),e("#pum-first-cookie").val(null).trigger("change")})}(jQuery,document),function(e,t,n){"use strict";var i={init:function(){e("#popmake_popup_auto_open_fields, #popmake_popup_targeting_condition_fields").length&&(i.initialize_popup_page(),i.attachQuickSearchListeners(),i.attachTabsPanelListeners())},attachTabsPanelListeners:function(){e("#poststuff").bind("click",function(t){var n,i,o,r,s,a,l,c,p,u,d,h,f,m,g=e(t.target);if(g.hasClass("nav-tab-link"))i=g.data("type"),o=g.parents(".posttypediv, .taxonomydiv").first(),e("input",o).removeAttr("checked"),e(".tabs-panel-active",o).removeClass("tabs-panel-active").addClass("tabs-panel-inactive"),e("#"+i,o).removeClass("tabs-panel-inactive").addClass("tabs-panel-active"),e(".tabs",o).removeClass("tabs"),g.parent().addClass("tabs"),e(".quick-search",o).focus(),t.preventDefault();else if(g.hasClass("select-all"))n=/#(.*)$/.exec(t.target.href),n&&n[1]&&(r=e("#"+n[1]+" .tabs-panel-active .menu-item-title input"),r.length===r.filter(":checked").length?r.removeAttr("checked"):r.prop("checked",!0));else if(g.hasClass("submit-add-to-menu")){for(s=g.parents(".options"),a=e('.tabs-panel-active input[type="checkbox"]:checked',s),l=e("textarea",s),c=e(".tagchecklist",s),p=l.val().split(","),u=0;u<p.length;u+=1)p[u]=parseInt(p[u],10);a.each(function(){d=e(this),h=parseInt(d.val(),10),f=d.parent("label").siblings(".menu-item-title").val(),-1===e.inArray(h,p)&&p.push(h),c.append('<span><a class="ntdelbutton" data-id="'+h+'">X</a> '+f+"</span>")}),l.text(p.join(",")),t.preventDefault()}else g.hasClass("ntdelbutton")&&(d=g,m=parseInt(d.data("id"),10),s=g.parents(".options"),l=e("textarea",s),c=e(".tagchecklist",s),p=l.val().split(","),p=e.grep(p,function(e){return parseInt(e,10)!==parseInt(m,10)}),d.parent("span").remove(),l.text(p.join(",")))})},attachQuickSearchListeners:function(){var t;e(".quick-search").keypress(function(n){var o=e(this);return 13===n.which?(i.updateQuickSearchResults(o),!1):(t&&clearTimeout(t),void(t=setTimeout(function(){i.updateQuickSearchResults(o)},400)))}).attr("autocomplete","off")},updateQuickSearchResults:function(t){var n,o,r=2,s=t.val();s.length<r||(n=t.parents(".tabs-panel"),o={action:"menu-quick-search","response-format":"markup",menu:null,"menu-settings-column-nonce":e("#menu-settings-column-nonce").val(),q:s,type:t.attr("name")},e(".spinner",n).show(),e.post(ajaxurl,o,function(e){i.processQuickSearchQueryResponse(e,o,n)}))},processQuickSearchQueryResponse:function(t,n,i){var o,r,s,a=e("form#post"),l={},c=/menu-item[(\[\^]\]*/,p=e("<div>").html(t).find("li");return p.length?(p.each(function(){if(s=e(this),o=c.exec(s.html()),o&&o[1]){for(r=o[1];a.elements["menu-item["+r+"][menu-item-type]"]||l[r];)r-=1;l[r]=!0,r!==o[1]&&s.html(s.html().replace(new RegExp("menu-item\\["+o[1]+"\\]","g"),"menu-item["+r+"]"))}}),e(".categorychecklist",i).html(p),e(".spinner",i).hide(),void e('[name^="menu-item"]').removeAttr("name")):(e(".categorychecklist",i).html("<li><p>noResultsFound</p></li>"),void e(".spinner",i).hide())},initialize_popup_page:function(){var n=function(t){var n,i,o=t.siblings(".options");t.is(":checked")?(o.show(),"popup_targeting_condition_on_entire_site"===t.attr("id")?(n=t.parents("#popmake_popup_targeting_condition_fields").find('[id^="targeting_condition-exclude_on_"]'),i=t.parents(".targeting_condition").siblings(".targeting_condition"),i.hide(),e("> *",i).prop("disabled",!0),n.show(),e("> *",n).prop("disabled",!1)):e("*",o).prop("disabled",!1)):(o.hide(),"popup_targeting_condition_on_entire_site"===t.attr("id")?(n=t.parents("#popmake_popup_targeting_condition_fields").find('[id^="targeting_condition-exclude_on_"]'),i=t.parents(".targeting_condition").siblings(".targeting_condition"),i.show(),e("> *",i).prop("disabled",!1),n.hide(),e("> *",n).prop("disabled",!0)):e("*",o).prop("disabled",!0))},i=function(t){var n=t.parents(".options").find('input[type="checkbox"]:eq(0)'),i=n.attr("name").indexOf("exclude")>=0,o=i?n.attr("name").replace("popup_targeting_condition_exclude_on_specific_",""):n.attr("name").replace("popup_targeting_condition_on_specific_",""),r=e(i?"#exclude_on_specific_"+o:"#on_specific_"+o);t.is(":checked")&&("true"===t.val()?(n.prop("checked",!0),r.show(),e("*",r).prop("disabled",!1)):""===t.val()&&(n.prop("checked",!1),r.hide(),e("*",r).prop("disabled",!0)))},o=function(){e("#popup_auto_open_session_cookie").is(":checked")?e(".not-session-cookie").hide():e(".not-session-cookie").show()},r=function(){e("#popup_auto_open_enabled").is(":checked")?(e(".auto-open-enabled").show(),o()):e(".auto-open-enabled").hide()},s=function(){e("#popup_auto_open_cookie_key").val((new Date).getTime().toString(16))};e('[name^="menu-item"]').removeAttr("name"),e("#title").prop("required",!0),e(t).on("click","#popup_auto_open_session_cookie",function(){o()}).on("click","#popup_auto_open_enabled",function(){r()}).on("click",".popmake-reset-auto-open-cookie-key",function(){s()}),e('#popmake_popup_targeting_condition_fields .targeting_condition > input[type="checkbox"]').on("click",function(){n(e(this))}).each(function(){n(e(this))}),e('input[type="radio"][id*="popup_targeting_condition_"]').on("click",function(){i(e(this))}).each(function(){i(e(this))}),e(".posttypediv, .taxonomydiv").each(function(){var t=e(this),n=e("> ul li"),i=e(".tabs-panel",t);n.removeClass("tabs"),n.eq(0).addClass("tabs"),i.removeClass("tabs-panel-active").addClass("tabs-panel-inactive").removeAttr("style"),i.eq(0).removeClass("tabs-panel-inactive").addClass("tabs-panel-active")}),r(),""===e("#popup_auto_open_cookie_key").val()&&s()}};e(t).ready(function(){i.init(),e(t).trigger("pum_init")})}(jQuery,document);var PUMMarketing;!function(e,t,n){"use strict";PUMMarketing={init:function(){e('#menu-posts-popup ul li a[href="edit.php?post_type=popup&page=extensions"]').css({color:"#9aba27"})}},e(t).ready(PUMMarketing.init)}(jQuery,document);var PUMModals;!function(e,t,n){"use strict";var i,o,r,s=e("html"),a=e(t),l="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]";PUMModals={forceFocus:function(e){r&&!r.contains(e.target)&&(e.stopPropagation(),r.focus())},trapEscapeKey:function(e){27===e.keyCode&&(PUMModals.closeAll(),e.preventDefault())},trapTabKey:function(t){if(9===t.keyCode){var n=r.find("*").filter(l).filter(":visible"),i=e(":focus"),o=n.length,s=n.index(i);t.shiftKey?0===s&&(n.get(o-1).focus(),t.preventDefault()):s===o-1&&(n.get(0).focus(),t.preventDefault())}},setFocusToFirstItem:function(){r.find(".pum-modal-content *").filter(l).filter(":visible").first().focus()},closeAll:function(t){e(".pum-modal-background").off("keydown.pum_modal").hide(0,function(){e("html").css({overflow:"visible",width:"auto"}),i&&(i.attr("aria-hidden","false"),i=null),o.length&&o.focus(),r=null,a.off("focus.pum_modal"),n!==t&&t()}).attr("aria-hidden","true")},show:function(t,a){e(".pum-modal-background").off("keydown.pum_modal").hide(0).attr("aria-hidden","true"),s.data("origwidth",s.innerWidth()).css({overflow:"hidden",width:s.innerWidth()});var l=e(":focus");l.parents(".pum-modal-wrap").length||(o=l),r=e(t),r.on("keydown.pum_modal",function(e){PUMModals.trapEscapeKey(e),PUMModals.trapTabKey(e)}).show(0,function(){i=e("body > *").filter(":visible").not(r),i.attr("aria-hidden","true"),r.trigger("pum_init").on("focus.pum_modal",PUMModals.forceFocus),PUMModals.setFocusToFirstItem(),n!==a&&a()}).attr("aria-hidden","false")},remove:function(t){e(t).remove()},replace:function(t,n){PUMModals.remove(e.trim(t)),e("body").append(e.trim(n))},reload:function(e,t,n){PUMModals.replace(e,t),PUMModals.show(e,n)}},e(t).on("click",".pum-modal-background, .pum-modal-wrap .cancel, .pum-modal-wrap .pum-modal-close",function(t){var n=e(t.target);(n.hasClass("pum-modal-background")||n.hasClass("cancel")||n.hasClass("pum-modal-close")||n.hasClass("submitdelete"))&&(PUMModals.closeAll(),t.preventDefault(),t.stopPropagation())})}(jQuery,document);var PUMRangeSLiders;!function(e,t,n){"use strict";PUMRangeSLiders={init:function(){var n,i,o,r,s,a=e('<input type="range"/>'),l=e('<button type="button" class="popmake-range-plus">+</button>'),c=e('<button type="button" class="popmake-range-minus">-</button>');e(".popmake-range-manual").filter(":not(.initialized)").each(function(){var p=e(this).addClass("initialized"),u=p.data("force-minmax"),d=parseInt(p.prop("min"),0),h=parseInt(p.prop("max"),0),f=parseInt(p.prop("step"),0),m=parseInt(p.val(),0);o=a.clone(),r=l.clone(),s=c.clone(),u&&m>h&&(m=h,p.val(m)),o.prop({min:d||0,max:u||h&&h>m?h:1.5*m,step:f||1.5*m/100,value:m}).on("change input",function(){p.trigger("input")}),p.next().after(s,r),p.before(o),n=t.createElement("input"),n.setAttribute("type","range"),"text"===n.type&&e("input[type=range]").each(function(t,n){i=e(n),o=e("<div />").slider({min:parseInt(i.attr("min"),10)||0,max:parseInt(i.attr("max"),10)||100,value:parseInt(i.attr("value"),10)||0,step:parseInt(i.attr("step"),10)||1,slide:function(t,n){e(this).prev("input").val(n.value)}}),i.after(o).hide()})})}},e(t).on("pum_init",PUMRangeSLiders.init).on("input",'input[type="range"]',function(){var t=e(this);t.siblings(".popmake-range-manual").val(t.val())}).on("click",".popmake-range-manual",function(){var t=e(this);t.prop("readonly",!1)}).on("focusout",".popmake-range-manual",function(){var t=e(this);t.prop("readonly",!0)}).on("change",".popmake-range-manual",function(){var t=e(this),n=parseInt(t.prop("max"),0),i=parseInt(t.prop("step"),0),o=t.data("force-minmax"),r=parseInt(t.val(),0),s=t.prev();o&&r>n&&(r=n,t.val(r)),s.prop({max:o||n&&n>r?n:1.5*r,step:i||1.5*r/100,value:r})}).on("click",".popmake-range-plus",function(t){var n=e(this).siblings(".popmake-range-manual"),i=parseInt(n.prop("step"),0),o=parseInt(n.val(),0),r=o+i,s=n.prev();t.preventDefault(),n.val(r).trigger("input"),s.val(r)}).on("click",".popmake-range-minus",function(t){var n=e(this).siblings(".popmake-range-manual"),i=parseInt(n.prop("step"),0),o=parseInt(n.val(),0),r=o-i,s=n.prev();t.preventDefault(),n.val(r).trigger("input"),s.val(r)})}(jQuery,document);var PUMSelect2Fields;!function(e,t,n){"use strict";e.fn.pumselect2=e.fn.pumselect2||e.fn.select2,PUMSelect2Fields={init:function(){e(".pum-select2 select").filter(":not(.initialized)").each(function(){var t=e(this),i=t.data("current"),o=t.data("objecttype"),r=t.data("objectkey"),s={multiple:!1,dropdownParent:t.parent()};t.attr("multiple")&&(s.multiple=!0),o&&r&&(s=e.extend(s,{ajax:{url:ajaxurl,dataType:"json",delay:250,data:function(e){return{s:e.term,page:e.page,action:"pum_object_search",object_type:o,object_key:r}},processResults:function(e,t){return t.page=t.page||1,{results:e.items,pagination:{more:10*t.page<e.total_count}}},cache:!0},cache:!0,escapeMarkup:function(e){return e},minimumInputLength:1,templateResult:PUMSelect2Fields.formatObject,templateSelection:PUMSelect2Fields.formatObjectSelection})),t.addClass("initialized").pumselect2(s),i!==n&&("object"!=typeof i&&(i=[i]),o&&r?e.ajax({url:ajaxurl,data:{action:"pum_object_search",object_type:o,object_key:r,include:i},dataType:"json",success:function(n){e.each(n.items,function(e,n){t.find('option[value="'+n.id+'"]').length||t.prepend('<option value="'+n.id+'">'+n.text+"</option>")}),t.val(i).trigger("change")}}):t.val(i).trigger("change"))})},formatObject:function(e){return e.text},formatObjectSelection:function(e){return e.text||e.text}},e(t).on("pum_init",PUMSelect2Fields.init)}(jQuery,document),function(e,t,n){function i(t,n){return-1!==e.inArray(n,t)}function o(e,t,n){var i=t[0];t.length>1?(e[i]||(e[i]=t[1]?{}:[]),o(e[i],t.slice(1),n)):(i||(i=e.length),e[i]=n)}var r="color,date,datetime,datetime-local,email,hidden,month,number,password,range,search,tel,text,time,url,week".split(","),s="select,textarea".split(","),a=/\[([^\]]*)\]/g;e.fn.serializeObject=function(t){e.extend({},t);var n={},l=e.extend(!0,{include:[],exclude:[],includeByClass:""},t);return this.find(":input").each(function(){var t;!this.name||this.disabled||i(l.exclude,this.name)||l.include.length&&!i(l.include,this.name)||-1===this.className.indexOf(l.includeByClass)||(t=this.name.replace(a,"[$1").split("["),t[0]&&(this.checked||i(r,this.type)||i(s,this.nodeName.toLowerCase()))&&("checkbox"===this.type&&t.push(""),o(n,t,e(this).val())))}),n}}(jQuery,document);var PUMTabs;!function(e,t,n){"use strict";PUMTabs={init:function(){e(".pum-tabs-container").filter(":not(.initialized)").each(function(){var t=e(this),n=t.find(".tab:first");t.hasClass("vertical-tabs")&&t.css({minHeight:t.find(".tabs").eq(0).outerHeight(!0)}),t.find(".active").removeClass("active"),n.addClass("active"),e(n.find("a").attr("href")).addClass("active"),t.addClass("initialized")})}},e(t).on("pum_init",PUMTabs.init).on("click",".pum-tabs-container .tab",function(t){var n=e(this),i=n.parents(".pum-tabs-container:first"),o=n.find("a").attr("href");i.find(".active").removeClass("active"),n.addClass("active"),e(o).addClass("active"),t.preventDefault()})}(jQuery,document);var PUM_Templates;!function(e,t,n){"use strict";var i=pum_admin.I10n;PUM_Templates={render:function(e,t){var n=wp.template(e);return"object"==typeof t.classes&&(t.classes=t.classes.join(" ")),t=PUM_Templates.prepareMeta(t),n(t)},shortcode:function(t){var n=e.extend(!0,{},{tag:"",meta:{},has_content:!1,content:""},t),i=n.has_content?"pum-shortcode-w-content":"pum-shortcode";return PUM_Templates.render(i,n)},modal:function(t){var n=e.extend(!0,{},{id:"",title:"",description:"",classes:"",save_button:i.save,cancel_button:i.cancel,content:""},t);return PUM_Templates.render("pum-modal",n)},tabs:function(t){var n=t.classes||[],i=e.extend(!0,{},{id:"",vertical:!0,form:!0,classes:"",tabs:{general:{label:"General",content:""}}},t);return i.form&&n.push("tabbed-form"),i.vertical&&n.push("vertical-tabs"),i.classes=i.classes+" "+n.join(" "),PUM_Templates.render("pum-tabs",i)},section:function(t){var n=e.extend(!0,{},{classes:[],fields:[]},t);return PUM_Templates.render("pum-field-section",n)},field:function(t){var i="pum-field-"+t.type,o=[],r=e.extend(!0,{},{type:"text",id:"",id_prefix:"",name:"",label:null,placeholder:"",desc:null,size:"regular",classes:[],value:null,select2:!1,multiple:!1,as_array:!1,options:[],object_type:null,object_key:null,std:null,min:0,max:50,step:1,unit:"px",required:!1,meta:{}},t);if(!e("#tmpl-"+i).length&&("objectselect"!==t.type&&"postselect"!==t.type&&"taxonomyselect"!==t.type||(i="pum-field-select"),!e("#tmpl-"+i).length))return"";
4
- switch(r.value||t.std===n||(r.value=t.std),"string"==typeof r.classes&&(r.classes=r.classes.split(" ")),t["class"]!==n&&r.classes.push(t["class"]),r.required&&(r.meta.required=!0,r.classes.push("pum-required")),t.type){case"select":case"objectselect":case"postselect":case"taxonomyselect":r.options!==n&&(_.each(r.options,function(e,t){var n=!1;r.multiple&&r.value.indexOf(e)!==!1?n="selected":r.multiple||r.value!=e||(n="selected"),o.push(PUM_Templates.prepareMeta({label:t,value:e,meta:{selected:n}}))}),r.options=o),r.multiple&&(r.meta.multiple=!0,r.as_array&&(r.name+="[]"),r.value&&r.value.length||(r.value=[]),"string"==typeof r.value&&(r.value=[r.value])),"select"!==t.type&&(r.select2=!0,r.classes.push("pum-field-objectselect"),r.classes.push("postselect"===t.type?"pum-field-postselect":"pum-field-taxonomyselect"),r.meta["data-objecttype"]="postselect"===t.type?"post_type":"taxonomy",r.meta["data-objectkey"]="postselect"===t.type?t.post_type:t.taxonomy,r.meta["data-current"]=r.value),r.select2&&(r.classes.push("pum-select2"),r.placeholder&&(r.meta["data-placeholder"]=r.placeholder));break;case"multicheck":r.options!==n&&(_.each(r.options,function(e,t){o.push({label:t,value:e,meta:{checked:r.value.indexOf(e)>=0}})}),r.options=o);break;case"checkbox":1===parseInt(r.value,10)&&(r.meta.checked=!0);break;case"rangeslider":r.meta.readonly=!0,r.meta.step=r.step,r.meta.min=r.min,r.meta.max=r.max;break;case"textarea":r.meta.cols=r.cols,r.meta.rows=r.rows}return r.field=PUM_Templates.render(i,r),PUM_Templates.render("pum-field-wrapper",r)},prepareMeta:function(e){var t,n=[];for(t in e.meta)e.meta.hasOwnProperty(t)&&("boolean"==typeof e.meta[t]?e.meta[t]&&n.push(_.escape(t)):n.push(_.escape(t)+'="'+_.escape(e.meta[t])+'"'));return e.meta=n.join(" "),e}}}(jQuery,document);var PUMTriggers;!function(e,t,n){"use strict";var i=pum_admin.I10n,o=pum_admin.defaults;PUMTriggers={new_cookie:null,getLabel:function(e){return i.labels.triggers[e].name},getSettingsDesc:function(e,t){var n={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"},o=_.template(i.labels.triggers[e].settings_column,null,n);return t.I10n=i,o(t)},renumber:function(){e("#pum_popup_triggers_list tbody tr").each(function(){var t=e(this),n=t.parent().children().index(t),i=t.data("index");t.data("index",n),t.find("input").each(function(){var e="["+n+"]";this.name=this.name.replace("["+i+"]",e).replace("[]",e)})})},refreshDescriptions:function(){e("#pum_popup_triggers_list tbody tr").each(function(){var t=e(this),n=t.find(".popup_triggers_field_type").val(),i=JSON.parse(t.find(".popup_triggers_field_settings:first").val()),o=PUMTriggers.cookie_column_value(i.cookie.name);t.find("td.settings-column").html(PUMTriggers.getSettingsDesc(n,i)),t.find("td.cookie-column code").text(o)})},initEditForm:function(t){var n=e(".trigger-editor .pum-form"),i=e("#name",n),o=t.trigger_settings;e("#pum_popup_cookies_list tbody tr").each(function(){var t=JSON.parse(e(this).find(".popup_cookies_field_settings:first").val());i.find('option[value="'+t.name+'"]').length||e('<option value="'+t.name+'">'+t.name+"</option>").appendTo(i)}),i.val(o.cookie.name),i.trigger("chosen:updated")},cookie_column_value:function(e){var t=i.no_cookie;return e instanceof Array?t=e.join(", "):null!==e&&(t=e),t}},PUMTriggers.refreshDescriptions(),e(t).on("select2:select pumselect2:select","#pum-first-trigger",function(){var t=e(this),r=t.val(),s="pum-trigger-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={};c.trigger_settings=o.triggers[r]!==n?o.triggers[r]:{},c.save_button_text=i.add,c.index=null,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMTriggers.initEditForm(c),t.val(null).trigger("change")}).on("click","#pum_popup_triggers .add-new",function(){var e=wp.template("pum-trigger-add-type");PUMModals.reload("#pum_trigger_add_type_modal",e())}).on("click","#pum_popup_triggers_list .edit",function(t){var n=e(this),o=n.parents("tr:first"),r=o.find(".popup_triggers_field_type").val(),s="pum-trigger-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={index:o.parent().children().index(o),type:r,trigger_settings:JSON.parse(o.find(".popup_triggers_field_settings:first").val())};t.preventDefault(),c.save_button_text=i.save,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMTriggers.initEditForm(c)}).on("click","#pum_popup_triggers_list .remove",function(t){var n=e(this),o=n.parents("tr:first");t.preventDefault(),window.confirm(i.confirm_delete_trigger)&&(o.remove(),e("#pum_popup_triggers_list tbody tr").length||(e("#pum-first-trigger").val(null).trigger("change"),e("#pum_popup_trigger_fields").removeClass("has-triggers")),PUMTriggers.renumber())}).on("submit","#pum_trigger_add_type_modal .pum-form",function(t){var r=e("#popup_trigger_add_type").val(),s="pum-trigger-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={};t.preventDefault(),c.trigger_settings=o.triggers[r]!==n?o.triggers[r]:{},c.save_button_text=i.add,c.index=null,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMTriggers.initEditForm(c)}).on("submit",".trigger-editor .pum-form",function(t){var n,o=e(this),r=(o.find("input.type").val(),o.serializeObject()),s=parseInt(r.index),a=s>=0?e("#pum_popup_triggers_list tbody tr").eq(s):null,l=wp.template("pum-trigger-row");t.preventDefault(),(!s||0>s)&&(r.index=e("#pum_popup_triggers_list tbody tr").length),r.I10n=i,n=l(r),a?a.replaceWith(n):e("#pum_popup_triggers_list tbody").append(n),PUMModals.closeAll(),PUMTriggers.renumber(),PUMTriggers.refreshDescriptions(),e("#pum_popup_trigger_fields").addClass("has-triggers"),null!==r.trigger_settings.cookie.name&&r.trigger_settings.cookie.name.indexOf("add_new")>=0&&(PUMTriggers.new_cookie=r.index,e("#pum_popup_cookie_fields button.add-new").trigger("click"))}).ready(function(){PUMTriggers.refreshDescriptions(),e("#pum-first-trigger").val(null).trigger("change")})}(jQuery,document);var PUMUtils;!function(e,t,n){"use strict";PUMUtils={convert_meta_to_object:function(e){var t,i,o,r={};for(o in e)e.hasOwnProperty(o)&&(t=o.split(/_(.+)?/)[0],i=o.split(/_(.+)?/)[1],r[t]===n&&(r[t]={}),r[t][i]=e[o]);return r},serialize_form:function(t){var n={};return e("[name]",t).each(function(){var t,i,o=e(this).attr("name"),r=e(this).val(),s=o.split("["),a=n,l=s.length;for(t=0;l>t;t+=1)i=s[t].replace("]",""),a[i]||(a[i]={}),t!==s.length-1?a=a[i]:t===s.length-1&&(a[i]=r)}),n},convert_hex:function(e,t){if(n===e)return"";n===t&&(t=100),e=e.replace("#","");var i=parseInt(e.substring(0,2),16),o=parseInt(e.substring(2,4),16),r=parseInt(e.substring(4,6),16),s="rgba("+i+","+o+","+r+","+t/100+")";return s},debounce:function(e,t){var n;return function(){var i=this,o=arguments;window.clearTimeout(n),n=window.setTimeout(function(){e.apply(i,o)},t)}},throttle:function(e,t){var n=!1,i=function(){n=!1};return function(){n||(e(),window.setTimeout(i,t),n=!0)}}},String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)}}(jQuery,document);var PopMakeAdmin,PUM_Admin;!function(e,t,n){"use strict";var i=e(t);pum_admin.I10n,pum_admin.defaults;PUM_Admin={},PopMakeAdmin={init:function(){e("body.post-type-popup form#post").length&&PopMakeAdmin.initialize_popup_page(),e("body.post-type-popup_theme form#post").length&&PopMakeAdmin.initialize_theme_page()},initialize_popup_page:function(){var n=function(){"custom"===e("#popup_display_size").val()?(e(".custom-size-only").show(),e(".responsive-size-only").hide(),e("#popup_display_custom_height_auto").is(":checked")?e(".custom-size-height-only").hide():e(".custom-size-height-only").show()):(e(".custom-size-only").hide(),"auto"!==e("#popup_display_size").val()?(e(".responsive-size-only").show(),e("#popup_display_custom_height_auto").prop("checked",!1)):e(".responsive-size-only").hide())},i=function(){e(".animation-speed, .animation-origin").hide(),"fade"===e("#popup_display_animation_type").val()?e(".animation-speed").show():"none"!==e("#popup_display_animation_type").val()&&e(".animation-speed, .animation-origin").show()},o=function(){var t=e("#popup_display_location"),n=t.parents("table"),i=t.val();e("tr.top, tr.right, tr.left, tr.bottom",n).hide(),i.indexOf("top")>=0&&e("tr.top").show(),i.indexOf("left")>=0&&e("tr.left").show(),i.indexOf("bottom")>=0&&e("tr.bottom").show(),i.indexOf("right")>=0&&e("tr.right").show()};e("#popuptitlediv").insertAfter("#titlediv"),e("#title").prop("required",!0),e(t).on("keydown","#popuptitle",function(t){var n=t.keyCode||t.which;9===n&&(t.preventDefault(),e("#title").focus())}).on("keydown","#title, #popuptitle",function(t){var n,i=t.keyCode||t.which;t.shiftKey||9!==i||(t.preventDefault(),n="title"===e(this).attr("id")?"#popuptitle":"#insert-media-button",e(n).focus())}).on("keydown","#popuptitle, #insert-media-button",function(t){var n,i=t.keyCode||t.which;t.shiftKey&&9===i&&(t.preventDefault(),n="popuptitle"===e(this).attr("id")?"#title":"#popuptitle",e(n).focus())}).on("click","#popup_display_custom_height_auto",function(){n()}).on("change","#popup_display_size",function(){"custom"!==e("#popup_display_size").val()&&"auto"!==e("#popup_display_size").val()&&e("#popup_display_position_fixed, #popup_display_scrollable_content").prop("checked",!1),n()}).on("change","#popup_display_animation_type",function(){i()}).on("change","#popup_display_location",function(){o()}),n(),i(),o()},theme_page_listeners:function(){var n=this;e(t).on("change","select.font-family",function(){e("select.font-weight option, select.font-style option",e(this).parents("table")).prop("selected",!1),n.update_font_selectboxes()}).on("change","select.font-weight, select.font-style",function(){n.update_font_selectboxes()}).on("change input focusout","select, input",function(){n.update_theme()}).on("change","select.border-style",function(){var t=e(this);"none"===t.val()?t.parents("table").find(".border-options").hide():t.parents("table").find(".border-options").show()}).on("change","#popup_theme_close_location",function(){var t=e(this),n=t.parents("table");e("tr.topleft, tr.topright, tr.bottomleft, tr.bottomright",n).hide(),e("tr."+t.val(),n).show()})},update_theme:function(){var t,n=e("[name^='popup_theme_']").serializeArray(),i={};for(t=0;n.length>t;t+=1)0===n[t].name.indexOf("popup_theme_")&&(i[n[t].name.replace("popup_theme_","")]=n[t].value);this.retheme_popup(i)},theme_preview_scroll:function(){var t=e("#popmake-theme-editor .empreview, body.post-type-popup_theme form#post #popmake_popup_theme_preview"),n=t.parent(),i=t.offset().top-50;e(window).on("scroll",function(){e("> .postbox:visible",n).index(t)===e("> .postbox:visible",n).length-1&&e(window).scrollTop()>=i?t.css({left:t.offset().left,width:t.width(),height:t.height(),position:"fixed",top:50}):t.removeAttr("style")})},update_font_selectboxes:function(){return e("select.font-family").each(function(){var t,i,o=e(this),r=o.parents("table").find("select.font-weight"),s=o.parents("table").find("select.font-style"),a=r.find("option"),l=s.find("option");if(popmake_google_fonts[o.val()]!==n){if(t=popmake_google_fonts[o.val()],a.hide(),l.hide(),t.variants.length)for(i=0;t.variants.length>i;i+=1)"regular"===t.variants[i]?(e('option[value=""]',r).show(),e('option[value=""]',s).show()):(t.variants[i].indexOf("italic")>=0&&e('option[value="italic"]',s).show(),e('option[value="'+parseInt(t.variants[i],10)+'"]',r).show())}else a.show(),l.show();r.parents("tr:first").show(),r.find("option:visible").length<=1?r.parents("tr:first").hide():r.parents("tr:first").show(),s.parents("tr:first").show(),s.find("option:visible").length<=1?s.parents("tr:first").hide():s.parents("tr:first").show()})},convert_theme_for_preview:function(e){},initialize_theme_page:function(){e("#popuptitlediv").insertAfter("#titlediv");var n=this,i=e("#popup_theme_close_location").parents("table");switch(n.update_theme(),n.theme_page_listeners(),n.theme_preview_scroll(),n.update_font_selectboxes(),e(t).on("click",".popmake-preview",function(t){t.preventDefault(),e("#popmake-preview, #popmake-overlay").css({visibility:"visible"}).show()}).on("click",".popmake-close",function(){e("#popmake-preview, #popmake-overlay").hide()}),e("select.border-style").each(function(){var t=e(this);"none"===t.val()?t.parents("table").find(".border-options").hide():t.parents("table").find(".border-options").show()}),e(".color-picker.background-color").each(function(){var t=e(this);""===t.val()?t.parents("table").find(".background-opacity").hide():t.parents("table").find(".background-opacity").show()}),e("tr.topleft, tr.topright, tr.bottomleft, tr.bottomright",i).hide(),e("#popup_theme_close_location").val()){case"topleft":e("tr.topleft",i).show();break;case"topright":e("tr.topright",i).show();break;case"bottomleft":e("tr.bottomleft",i).show();break;case"bottomright":e("tr.bottomright",i).show()}},retheme_popup:function(i){var o,r=e(".empreview .example-popup-overlay, #popmake-overlay"),s=e(".empreview .example-popup, #popmake-preview"),a=e(".title, .popmake-title",s),l=e(".content, .popmake-content",s),c=e(".close-popup, .popmake-close",s),p="yes"===i.container_boxshadow_inset?"inset ":"",u="yes"===i.close_boxshadow_inset?"inset ":"";switch(this.convert_theme_for_preview(i),popmake_google_fonts[i.title_font_family]!==n&&(o="//fonts.googleapis.com/css?family="+i.title_font_family,"normal"!==i.title_font_weight&&(o+=":"+i.title_font_weight),"italic"===i.title_font_style&&(-1===o.indexOf(":")&&(o+=":"),o+="italic"),e("body").append('<link href="'+o+'" rel="stylesheet" type="text/css">')),popmake_google_fonts[i.content_font_family]!==n&&(o="//fonts.googleapis.com/css?family="+i.content_font_family,"normal"!==i.content_font_weight&&(o+=":"+i.content_font_weight),"italic"===i.content_font_style&&(-1===o.indexOf(":")&&(o+=":"),o+="italic"),e("body").append('<link href="'+o+'" rel="stylesheet" type="text/css">')),popmake_google_fonts[i.close_font_family]!==n&&(o="//fonts.googleapis.com/css?family="+i.close_font_family,"normal"!==i.close_font_weight&&(o+=":"+i.close_font_weight),"italic"===i.close_font_style&&(-1===o.indexOf(":")&&(o+=":"),o+="italic"),e("body").append('<link href="'+o+'" rel="stylesheet" type="text/css">')),r.removeAttr("style").css({backgroundColor:PUMUtils.convert_hex(i.overlay_background_color,i.overlay_background_opacity)}),s.removeAttr("style").css({padding:i.container_padding+"px",backgroundColor:PUMUtils.convert_hex(i.container_background_color,i.container_background_opacity),borderStyle:i.container_border_style,borderColor:i.container_border_color,borderWidth:i.container_border_width+"px",borderRadius:i.container_border_radius+"px",boxShadow:p+i.container_boxshadow_horizontal+"px "+i.container_boxshadow_vertical+"px "+i.container_boxshadow_blur+"px "+i.container_boxshadow_spread+"px "+PUMUtils.convert_hex(i.container_boxshadow_color,i.container_boxshadow_opacity)}),a.removeAttr("style").css({color:i.title_font_color,lineHeight:i.title_line_height+"px",fontSize:i.title_font_size+"px",fontFamily:i.title_font_family,fontStyle:i.title_font_style,fontWeight:i.title_font_weight,textAlign:i.title_text_align,textShadow:i.title_textshadow_horizontal+"px "+i.title_textshadow_vertical+"px "+i.title_textshadow_blur+"px "+PUMUtils.convert_hex(i.title_textshadow_color,i.title_textshadow_opacity)}),l.removeAttr("style").css({color:i.content_font_color,fontFamily:i.content_font_family,fontStyle:i.content_font_style,fontWeight:i.content_font_weight}),c.html(i.close_text).removeAttr("style").css({padding:i.close_padding+"px",height:i.close_height>0?i.close_height+"px":"auto",width:i.close_width>0?i.close_width+"px":"auto",backgroundColor:PUMUtils.convert_hex(i.close_background_color,i.close_background_opacity),color:i.close_font_color,lineHeight:i.close_line_height+"px",fontSize:i.close_font_size+"px",fontFamily:i.close_font_family,fontWeight:i.close_font_weight,fontStyle:i.close_font_style,borderStyle:i.close_border_style,borderColor:i.close_border_color,borderWidth:i.close_border_width+"px",borderRadius:i.close_border_radius+"px",boxShadow:u+i.close_boxshadow_horizontal+"px "+i.close_boxshadow_vertical+"px "+i.close_boxshadow_blur+"px "+i.close_boxshadow_spread+"px "+PUMUtils.convert_hex(i.close_boxshadow_color,i.close_boxshadow_opacity),textShadow:i.close_textshadow_horizontal+"px "+i.close_textshadow_vertical+"px "+i.close_textshadow_blur+"px "+PUMUtils.convert_hex(i.close_textshadow_color,i.close_textshadow_opacity)}),i.close_location){case"topleft":c.css({top:i.close_position_top+"px",left:i.close_position_left+"px"});break;case"topright":c.css({top:i.close_position_top+"px",right:i.close_position_right+"px"});break;case"bottomleft":c.css({bottom:i.close_position_bottom+"px",left:i.close_position_left+"px"});break;case"bottomright":c.css({bottom:i.close_position_bottom+"px",right:i.close_position_right+"px"})}e(t).trigger("popmake-admin-retheme",[i])}},i.ready(function(){PopMakeAdmin.init(),i.trigger("pum_init")})}(jQuery,document);
1
  function pumSelected(e,t,n){"use strict";var i=!1;return"object"==typeof e&&"string"==typeof t&&-1!==jQuery.inArray(t,e)?i=!0:"object"==typeof t&&"string"==typeof e&&-1!==jQuery.inArray(e,t)?i=!0:e===t&&(i=!0),void 0!==n&&n?i?' selected="selected"':"":i}function pumChecked(e,t,n){"use strict";var i=!1;return"object"==typeof e&&"string"==typeof t&&-1!==jQuery.inArray(t,e)?i=!0:"object"==typeof t&&"string"==typeof e&&-1!==jQuery.inArray(e,t)?i=!0:e===t&&(i=!0),void 0!==n&&n?i?' checked="checked"':"":i}!function(e){"function"==typeof define&&void 0!==define.amd&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.pumselect2&&e.fn.pumselect2.amd)var t=e.fn.pumselect2.amd;var t;return function(){if(!t||!t.requirejs){t?n=t:t={};var e,n,i;!function(t){function o(e,t){return b.call(e,t)}function r(e,t){var n,i,o,r,s,a,l,c,p,u,d,h=t&&t.split("/"),f=_.map,m=f&&f["*"]||{};if(e&&"."===e.charAt(0))if(t){for(e=e.split("/"),s=e.length-1,_.nodeIdCompat&&x.test(e[s])&&(e[s]=e[s].replace(x,"")),e=h.slice(0,h.length-1).concat(e),p=0;p<e.length;p+=1)if(d=e[p],"."===d)e.splice(p,1),p-=1;else if(".."===d){if(1===p&&(".."===e[2]||".."===e[0]))break;p>0&&(e.splice(p-1,2),p-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((h||m)&&f){for(n=e.split("/"),p=n.length;p>0;p-=1){if(i=n.slice(0,p).join("/"),h)for(u=h.length;u>0;u-=1)if(o=f[h.slice(0,u).join("/")],o&&(o=o[i])){r=o,a=p;break}if(r)break;!l&&m&&m[i]&&(l=m[i],c=p)}!r&&l&&(r=l,a=c),r&&(n.splice(0,a,r),e=n.join("/"))}return e}function s(e,n){return function(){var i=w.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),h.apply(t,i.concat([e,n]))}}function a(e){return function(t){return r(t,e)}}function l(e){return function(t){g[e]=t}}function c(e){if(o(v,e)){var n=v[e];delete v[e],y[e]=!0,d.apply(t,n)}if(!o(g,e)&&!o(y,e))throw new Error("No "+e);return g[e]}function p(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 _&&_.config&&_.config[e]||{}}}var d,h,f,m,g={},v={},_={},y={},b=Object.prototype.hasOwnProperty,w=[].slice,x=/\.js$/;f=function(e,t){var n,i=p(e),o=i[0];return e=i[1],o&&(o=r(o,t),n=c(o)),o?e=n&&n.normalize?n.normalize(e,a(t)):r(e,t):(e=r(e,t),i=p(e),o=i[0],e=i[1],o&&(n=c(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},m={require:function(e){return s(e)},exports:function(e){var t=g[e];return"undefined"!=typeof t?t:g[e]={}},module:function(e){return{id:e,uri:"",exports:g[e],config:u(e)}}},d=function(e,n,i,r){var a,p,u,d,h,_,b=[],w=typeof i;if(r=r||e,"undefined"===w||"function"===w){for(n=!n.length&&i.length?["require","exports","module"]:n,h=0;h<n.length;h+=1)if(d=f(n[h],r),p=d.f,"require"===p)b[h]=m.require(e);else if("exports"===p)b[h]=m.exports(e),_=!0;else if("module"===p)a=b[h]=m.module(e);else if(o(g,p)||o(v,p)||o(y,p))b[h]=c(p);else{if(!d.p)throw new Error(e+" missing "+p);d.p.load(d.n,s(r,!0),l(p),{}),b[h]=g[p]}u=i?i.apply(g[e],b):void 0,e&&(a&&a.exports!==t&&a.exports!==g[e]?g[e]=a.exports:u===t&&_||(g[e]=u))}else e&&(g[e]=i)},e=n=h=function(e,n,i,o,r){if("string"==typeof e)return m[e]?m[e](n):c(f(e,n).f);if(!e.splice){if(_=e,_.deps&&h(_.deps,_.callback),!n)return;n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=o,o=r),o?d(t,e,n,i):setTimeout(function(){d(t,e,n,i)},4),h},h.config=function(e){return h(e)},e._defined=g,i=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(g,e)||o(v,e)||(v[e]=[e,t,n])},i.amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=i}}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("pumselect2/utils",["jquery"],function(e){function t(e){var t=e.prototype,n=[];for(var i in t){var o=t[i];"function"==typeof o&&"constructor"!==i&&n.push(i)}return n}var n={};n.Extend=function(e,t){function n(){this.constructor=e}var i={}.hasOwnProperty;for(var o in t)i.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},n.Decorate=function(e,n){function i(){var t=Array.prototype.unshift,i=n.prototype.constructor.length,o=e.prototype.constructor;i>0&&(t.call(arguments,e.prototype.constructor),o=n.prototype.constructor),o.apply(this,arguments)}function o(){this.constructor=i}var r=t(n),s=t(e);n.displayName=e.displayName,i.prototype=new o;for(var a=0;a<s.length;a++){var l=s[a];i.prototype[l]=e.prototype[l]}for(var c=(function(e){var t=function(){};e in i.prototype&&(t=i.prototype[e]);var o=n.prototype[e];return function(){var e=Array.prototype.unshift;return e.call(arguments,t),o.apply(this,arguments)}}),p=0;p<r.length;p++){var u=r[p];i.prototype[u]=c(u)}return i};var i=function(){this.listeners={}};return i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.prototype.trigger=function(e){var t=Array.prototype.slice;this.listeners=this.listeners||{},e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;i>n;n++)e[n].apply(this,t)},n.Observable=i,n.generateChars=function(e){for(var t="",n=0;e>n;n++){var i=Math.floor(36*Math.random());t+=i.toString(36)}return t},n.bind=function(e,t){return function(){e.apply(t,arguments)}},n._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var o=0;o<n.length;o++){var r=n[o];r=r.substring(0,1).toLowerCase()+r.substring(1),r in i||(i[r]={}),o==n.length-1&&(i[r]=e[t]),i=i[r]}delete e[t]}}return e},n.hasScroll=function(t,n){var i=e(n),o=n.style.overflowX,r=n.style.overflowY;return o!==r||"hidden"!==r&&"visible"!==r?"scroll"===o||"scroll"===r?!0:i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth:!1},n.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},n.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var i=e();e.map(n,function(e){i=i.add(e)}),n=i}t.append(n)},n}),t.define("pumselect2/results",["jquery","./utils"],function(e,t){function n(e,t,i){this.$element=e,this.data=i,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="pumselect2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=e('<li role="treeitem" aria-live="assertive" class="pumselect2-results__option"></li>'),o=this.options.get("translations").get(t.message);i.append(n(o(t.args))),i[0].className+=" pumselect2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".pumselect2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null==e.results||0===e.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],o=this.option(i);t.push(o)}this.$results.append(t)},n.prototype.position=function(e,t){var n=t.find(".pumselect2-results");n.append(e)},n.prototype.sort=function(e){var t=this.options.get("sorter");return t(e)},n.prototype.setClasses=function(){var t=this;this.data.current(function(n){var i=e.map(n,function(e){return e.id.toString()}),o=t.$results.find(".pumselect2-results__option[aria-selected]");o.each(function(){var t=e(this),n=e.data(this,"data"),o=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(o,i)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")});var r=o.filter("[aria-selected=true]");r.length>0?r.first().trigger("mouseenter"):o.first().trigger("mouseenter")})},n.prototype.showLoading=function(e){this.hideLoading();var t=this.options.get("translations").get("searching"),n={disabled:!0,loading:!0,text:t(e)},i=this.option(n);i.className+=" loading-results",this.$results.prepend(i)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(t){var n=document.createElement("li");n.className="pumselect2-results__option";var i={role:"treeitem","aria-selected":"false"};t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]);for(var o in i){var r=i[o];n.setAttribute(o,r)}if(t.children){var s=e(n),a=document.createElement("strong");a.className="pumselect2-results__group";e(a);this.template(t,a);for(var l=[],c=0;c<t.children.length;c++){var p=t.children[c],u=this.option(p);l.push(u)}var d=e("<ul></ul>",{"class":"pumselect2-results__options pumselect2-results__options--nested"});d.append(l),s.append(a),s.append(d)}else this.template(t,n);return e.data(n,"data",t),n},n.prototype.bind=function(t,n){var i=this,o=t.id+"-results";this.$results.attr("id",o),t.on("results:all",function(e){i.clear(),i.append(e.data),t.isOpen()&&i.setClasses()}),t.on("results:append",function(e){i.append(e.data),t.isOpen()&&i.setClasses()}),t.on("query",function(e){i.hideMessages(),i.showLoading(e)}),t.on("select",function(){t.isOpen()&&i.setClasses()}),t.on("unselect",function(){t.isOpen()&&i.setClasses()}),t.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),t.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=i.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e);if(0!==n){var o=n-1;0===e.length&&(o=0);var r=t.eq(o);r.trigger("mouseenter");var s=i.$results.offset().top,a=r.offset().top,l=i.$results.scrollTop()+(a-s);0===o?i.$results.scrollTop(0):0>a-s&&i.$results.scrollTop(l)}}),t.on("results:next",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e),o=n+1;if(!(o>=t.length)){var r=t.eq(o);r.trigger("mouseenter");var s=i.$results.offset().top+i.$results.outerHeight(!1),a=r.offset().top+r.outerHeight(!1),l=i.$results.scrollTop()+a-s;0===o?i.$results.scrollTop(0):a>s&&i.$results.scrollTop(l)}}),t.on("results:focus",function(e){e.element.addClass("pumselect2-results__option--highlighted")}),t.on("results:message",function(e){i.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,o=e.deltaY>0&&t-e.deltaY<=0,r=e.deltaY<0&&n<=i.$results.height();o?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".pumselect2-results__option[aria-selected]",function(t){var n=e(this),o=n.data("data");return"true"===n.attr("aria-selected")?void(i.options.get("multiple")?i.trigger("unselect",{originalEvent:t,data:o}):i.trigger("close",{})):void i.trigger("select",{originalEvent:t,data:o})}),this.$results.on("mouseenter",".pumselect2-results__option[aria-selected]",function(t){var n=e(this).data("data");i.getHighlightedResults().removeClass("pumselect2-results__option--highlighted"),i.trigger("results:focus",{data:n,element:e(this)})})},n.prototype.getHighlightedResults=function(){var e=this.$results.find(".pumselect2-results__option--highlighted");return e},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]"),n=t.index(e),i=this.$results.offset().top,o=e.offset().top,r=this.$results.scrollTop()+(o-i),s=o-i;r-=2*e.outerHeight(!1),2>=n?this.$results.scrollTop(0):(s>this.$results.outerHeight()||0>s)&&this.$results.scrollTop(r)}},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),r=i(t,n);null==r?n.style.display="none":"string"==typeof r?n.innerHTML=o(r):e(n).append(r)},n}),t.define("pumselect2/keys",[],function(){var e={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return e}),t.define("pumselect2/selection/base",["jquery","../utils","../keys"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="pumselect2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},i.prototype.bind=function(e,t){var i=this,o=(e.id+"-container",e.id+"-results");this.container=e,this.$selection.on("focus",function(e){i.trigger("focus",e)}),this.$selection.on("blur",function(e){i._handleBlur(e)}),this.$selection.on("keydown",function(e){i.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){i.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){i.update(e.data)}),e.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",o),i._attachCloseHandler(e)}),e.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.focus(),i._detachCloseHandler(e)}),e.on("enable",function(){i.$selection.attr("tabindex",i._tabindex)}),e.on("disable",function(){i.$selection.attr("tabindex","-1")})},i.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)},1)},i.prototype._attachCloseHandler=function(t){e(document.body).on("mousedown.pumselect2."+t.id,function(t){var n=e(t.target),i=n.closest(".pumselect2"),o=e(".pumselect2.pumselect2-container--open");o.each(function(){var t=e(this);if(this!=i[0]){var n=t.data("element");n.pumselect2("close")}})})},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.pumselect2."+t.id)},i.prototype.position=function(e,t){var n=t.find(".selection");n.append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},i}),t.define("pumselect2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,t),o.prototype.render=function(){var e=o.__super__.render.call(this);return e.addClass("pumselect2-selection--single"),e.html('<span class="pumselect2-selection__rendered"></span><span class="pumselect2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},o.prototype.bind=function(e,t){var n=this;o.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".pumselect2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),e.on("selection:update",function(e){n.update(e.data)})},o.prototype.clear=function(){this.$selection.find(".pumselect2-selection__rendered").empty()},o.prototype.display=function(e,t){var n=this.options.get("templateSelection"),i=this.options.get("escapeMarkup");return i(n(e,t))},o.prototype.selectionContainer=function(){return e("<span></span>")},o.prototype.update=function(e){if(0===e.length)return void this.clear();var t=e[0],n=this.$selection.find(".pumselect2-selection__rendered"),i=this.display(t,n);n.empty().append(i),n.prop("title",t.title||t.text)},o}),t.define("pumselect2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function i(e,t){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("pumselect2-selection--multiple"),e.html('<ul class="pumselect2-selection__rendered"></ul>'),e},i.prototype.bind=function(t,n){var o=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){o.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".pumselect2-selection__choice__remove",function(t){if(!o.options.get("disabled")){var n=e(this),i=n.parent(),r=i.data("data");o.trigger("unselect",{originalEvent:t,data:r})}})},i.prototype.clear=function(){this.$selection.find(".pumselect2-selection__rendered").empty()},i.prototype.display=function(e,t){var n=this.options.get("templateSelection"),i=this.options.get("escapeMarkup");return i(n(e,t))},i.prototype.selectionContainer=function(){var t=e('<li class="pumselect2-selection__choice"><span class="pumselect2-selection__choice__remove" role="presentation">&times;</span></li>');return t},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=0;i<e.length;i++){var o=e[i],r=this.selectionContainer(),s=this.display(o,r);r.append(s),r.prop("title",o.title||o.text),r.data("data",o),t.push(r)}var a=this.$selection.find(".pumselect2-selection__rendered");n.appendMany(a,t)}},i}),t.define("pumselect2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("pumselect2-selection__placeholder").removeClass("pumselect2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id,i=t.length>1;if(i||n)return e.call(this,t);this.clear();var o=this.createPlaceholder(this.placeholder);this.$selection.find(".pumselect2-selection__rendered").append(o)},t}),t.define("pumselect2/selection/allowClear",["jquery","../keys"],function(e,t){function n(){}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".pumselect2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".pumselect2-selection__clear");if(0!==n.length){t.stopPropagation();for(var i=n.data("data"),o=0;o<i.length;o++){var r={data:i[o]};if(this.trigger("unselect",r),r.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(".pumselect2-selection__placeholder").length>0||0===n.length)){var i=e('<span class="pumselect2-selection__clear">&times;</span>');i.data("data",n),this.$selection.find(".pumselect2-selection__rendered").prepend(i)}},n}),t.define("pumselect2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.prototype.render=function(t){var n=e('<li class="pumselect2-search pumselect2-search--inline"><input class="pumselect2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=t.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(e,t,i){var o=this;e.call(this,t,i),t.on("open",function(){o.$search.trigger("focus")}),t.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),t.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),t.on("disable",function(){o.$search.prop("disabled",!0)}),t.on("focus",function(e){o.$search.trigger("focus")}),t.on("results:focus",function(e){o.$search.attr("aria-activedescendant",e.id)}),this.$selection.on("focusin",".pumselect2-search--inline",function(e){o.trigger("focus",e)}),this.$selection.on("focusout",".pumselect2-search--inline",function(e){o._handleBlur(e)}),this.$selection.on("keydown",".pumselect2-search--inline",function(e){e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented();var t=e.which;if(t===n.BACKSPACE&&""===o.$search.val()){var i=o.$searchContainer.prev(".pumselect2-selection__choice");if(i.length>0){var r=i.data("data");o.searchRemoveChoice(r),e.preventDefault()}}});var r=document.documentMode,s=r&&11>=r;this.$selection.on("input.searchcheck",".pumselect2-search--inline",function(e){return s?void o.$selection.off("input.search input.searchcheck"):void o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".pumselect2-search--inline",function(e){if(s&&"input"===e.type)return void o.$selection.off("input.search input.searchcheck");var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&o.handleSearch(e)})},i.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},i.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".pumselect2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";if(""!==this.$search.attr("placeholder"))e=this.$selection.find(".pumselect2-selection__rendered").innerWidth();else{var t=this.$search.val().length+1;e=.75*t+"em"}this.$search.css("width",e)},i}),t.define("pumselect2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,i){var o=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting"],s=["opening","closing","selecting","unselecting"];t.call(this,n,i),n.on("*",function(t,n){if(-1!==e.inArray(t,r)){n=n||{};var i=e.Event("pumselect2:"+t,{params:n});o.$element.trigger(i),-1!==e.inArray(t,s)&&(n.prevented=i.isDefaultPrevented())}})},t}),t.define("pumselect2/translation",["jquery","require"],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])},n}),t.define("pumselect2/diacritics",[],function(){var e={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","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","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return e}),t.define("pumselect2/data/base",["../utils"],function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var i=t.id+"-result-";return i+=e.generateChars(4),i+=null!=n.id?"-"+n.id.toString():"-"+e.generateChars(4)},t}),t.define("pumselect2/data/select",["./base","../utils","jquery"],function(e,t,n){
2
  function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=[],i=this;this.$element.find(":selected").each(function(){var e=n(this),o=i.item(e);t.push(o)}),e(t)},i.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var o=[];e=[e],e.push.apply(e,i);for(var r=0;r<e.length;r++){var s=e[r].id;-1===n.inArray(s,o)&&o.push(s)}t.$element.val(o),t.$element.trigger("change")});else{var i=e.id;this.$element.val(i),this.$element.trigger("change")}},i.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple"))return e.selected=!1,n(e.element).is("option")?(e.element.selected=!1,void this.$element.trigger("change")):void this.current(function(i){for(var o=[],r=0;r<i.length;r++){var s=i[r].id;s!==e.id&&-1===n.inArray(s,o)&&o.push(s)}t.$element.val(o),t.$element.trigger("change")})},i.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){n.removeData(this,"data")})},i.prototype.query=function(e,t){var i=[],o=this,r=this.$element.children();r.each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var r=o.item(t),s=o.matches(e,r);null!==s&&i.push(s)}}),t({results:i})},i.prototype.addOptions=function(e){t.appendMany(this.$element,e)},i.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup"),t.label=e.text):(t=document.createElement("option"),void 0!==t.textContent?t.textContent=e.text:t.innerText=e.text),e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var i=n(t),o=this._normalizeItem(e);return o.element=t,n.data(t,"data",o),i},i.prototype.item=function(e){var t={};if(t=n.data(e[0],"data"),null!=t)return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),o=[],r=0;r<i.length;r++){var s=n(i[r]),a=this.item(s);o.push(a)}t.children=o}return t=this._normalizeItem(t),t.element=e[0],n.data(e[0],"data",t),t},i.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e}),e=n.extend({},{text:""},e);var t={selected:!1,disabled:!1};return null!=e.id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},t,e)},i.prototype.matches=function(e,t){var n=this.options.get("matcher");return n(e,t)},i}),t.define("pumselect2/data/array",["./select","../utils","jquery"],function(e,t,n){function i(e,t){var n=t.get("data")||[];i.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(i,e),i.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){function i(e){return function(){return n(this).val()==e.id}}for(var o=this,r=this.$element.find("option"),s=r.map(function(){return o.item(n(this)).id}).get(),a=[],l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,s)>=0){var p=r.filter(i(c)),u=this.item(p),d=n.extend(!0,{},c,u),h=this.option(d);p.replaceWith(h)}else{var f=this.option(c);if(c.children){var m=this.convertToOptions(c.children);t.appendMany(f,m)}a.push(f)}}return a},i}),t.define("pumselect2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function i(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,i){var o=n.ajax(e);return o.then(t),o.fail(i),o}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){function i(){var i=r.transport(r,function(i){var r=o.processResults(i,e);o.options.get("debug")&&window.console&&console.error&&(r&&r.results&&n.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(r)},function(){o.trigger("results:message",{message:"errorLoading"})});o._request=i}var o=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var r=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof r.url&&(r.url=r.url.call(this.$element,e)),"function"==typeof r.data&&(r.data=r.data.call(this.$element,e)),this.ajaxOptions.delay&&""!==e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),t.define("pumselect2/data/tags",["jquery"],function(e){function t(t,n,i){var o=i.get("tags"),r=i.get("createTag");void 0!==r&&(this.createTag=r);var s=i.get("insertTag");if(void 0!==s&&(this.insertTag=s),t.call(this,n,i),e.isArray(o))for(var a=0;a<o.length;a++){var l=o[a],c=this._normalizeItem(l),p=this.option(c);this.$element.append(p)}}return t.prototype.query=function(e,t,n){function i(e,r){for(var s=e.results,a=0;a<s.length;a++){var l=s[a],c=null!=l.children&&!i({results:l.children},!0),p=l.text===t.term;if(p||c)return r?!1:(e.data=s,void n(e))}if(r)return!0;var u=o.createTag(t);if(null!=u){var d=o.option(u);d.attr("data-pumselect2-tag",!0),o.addOptions([d]),o.insertTag(s,u)}e.results=s,n(e)}var o=this;return this._removeOldTags(),null==t.term||null!=t.page?void e.call(this,t,n):void e.call(this,t,i)},t.prototype.createTag=function(t,n){var i=e.trim(n.term);return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){var n=(this._lastTag,this.$element.find("option[data-pumselect2-tag]"));n.each(function(){this.selected||e(this).remove()})},t}),t.define("pumselect2/data/tokenizer",["jquery"],function(e){function t(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".pumselect2-search__field")},t.prototype.query=function(e,t,n){function i(e){o.trigger("select",{data:e})}var o=this;t.term=t.term||"";var r=this.tokenizer(t,this.options,i);r.term!==t.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.focus()),t.term=r.term),e.call(this,t,n)},t.prototype.tokenizer=function(t,n,i,o){for(var r=i.get("tokenSeparators")||[],s=n.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<s.length;){var c=s[a];if(-1!==e.inArray(c,r)){var p=s.substr(0,a),u=e.extend({},n,{term:p}),d=l(u);null!=d?(o(d),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},t}),t.define("pumselect2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){return t.term=t.term||"",t.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):void e.call(this,t,n)},e}),t.define("pumselect2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){return t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):void e.call(this,t,n)},e}),t.define("pumselect2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){var i=this;this.current(function(o){var r=null!=o?o.length:0;return i.maximumSelectionLength>0&&r>=i.maximumSelectionLength?void i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):void e.call(i,t,n)})},e}),t.define("pumselect2/dropdown",["jquery","./utils"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="pumselect2-dropdown"><span class="pumselect2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("pumselect2/dropdown/search",["jquery","../utils"],function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),i=e('<span class="pumselect2-search pumselect2-search--dropdown"><input class="pumselect2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),this.$search.on("keydown",function(e){o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(t){e(this).off("keyup")}),this.$search.on("keyup input",function(e){o.handleSearch(e)}),n.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),n.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}),n.on("results:all",function(e){if(null==e.query.term||""===e.query.term){var t=o.showSearch(e);t?o.$searchContainer.removeClass("pumselect2-search--hide"):o.$searchContainer.addClass("pumselect2-search--hide")}})},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.showSearch=function(e,t){return!0},n}),t.define("pumselect2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var o=t[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},e}),t.define("pumselect2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),n.on("query",function(e){o.lastParams=e,o.loading=!0}),n.on("query:append",function(e){o.lastParams=e,o.loading=!0}),this.$results.on("scroll",function(){var t=e.contains(document.documentElement,o.$loadingMore[0]);if(!o.loading&&t){var n=o.$results.offset().top+o.$results.outerHeight(!1),i=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1);n+50>=i&&o.loadMore()}})},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="pumselect2-results__option pumselect2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t}),t.define("pumselect2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(t,n,i){this.$dropdownParent=i.get("dropdownParent")||e(document.body),t.call(this,n,i)}return n.prototype.bind=function(e,t,n){var i=this,o=!1;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),o||(o=!0,t.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),t.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("pumselect2"),t.addClass("pumselect2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,i){var o=this,r="scroll.pumselect2."+i.id,s="resize.pumselect2."+i.id,a="orientationchange.pumselect2."+i.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){e(this).data("pumselect2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),l.on(r,function(t){var n=e(this).data("pumselect2-scroll-position");e(this).scrollTop(n.y)}),e(window).on(r+" "+s+" "+a,function(e){o._positionDropdown(),o._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var o="scroll.pumselect2."+i.id,r="resize.pumselect2."+i.id,s="orientationchange.pumselect2."+i.id,a=this.$container.parents().filter(t.hasScroll);a.off(o),e(window).off(o+" "+r+" "+s)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("pumselect2-dropdown--above"),i=this.$dropdown.hasClass("pumselect2-dropdown--below"),o=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=r.top,s.bottom=r.top+s.height;var a={height:this.$dropdown.outerHeight(!1)},l={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},c=l.top<r.top-a.height,p=l.bottom>r.bottom+a.height,u={left:r.left,top:s.bottom},d=this.$dropdownParent;"static"===d.css("position")&&(d=d.offsetParent());var h=d.offset();u.top-=h.top,u.left-=h.left,n||i||(o="below"),p||!c||n?!c&&p&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(u.top=s.top-a.height),null!=o&&(this.$dropdown.removeClass("pumselect2-dropdown--below pumselect2-dropdown--above").addClass("pumselect2-dropdown--"+o),this.$container.removeClass("pumselect2-container--below pumselect2-container--above").addClass("pumselect2-container--"+o)),this.$dropdownContainer.css(u)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define("pumselect2/dropdown/minimumResultsForSearch",[],function(){function e(t){for(var n=0,i=0;i<t.length;i++){var o=t[i];o.children?n+=e(o.children):n++}return n}function t(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return t.prototype.showSearch=function(t,n){return e(n.data.results)<this.minimumResultsForSearch?!1:t.call(this,n)},t}),t.define("pumselect2/dropdown/selectOnClose",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(){i._handleSelectOnClose()})},e.prototype._handleSelectOnClose=function(){var e=this.getHighlightedResults();if(!(e.length<1)){var t=e.data("data");null!=t.element&&t.element.selected||null==t.element&&t.selected||this.trigger("select",{data:t})}},e}),t.define("pumselect2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&n.ctrlKey||this.trigger("close",{})},e}),t.define("pumselect2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Please enter "+t+" or more characters";return n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),t.define("pumselect2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(e,t,n,i,o,r,s,a,l,c,p,u,d,h,f,m,g,v,_,y,b,w,x,k,$,C,P,A,M){function S(){this.reset()}S.prototype.apply=function(u){if(u=e.extend(!0,{},this.defaults,u),null==u.dataAdapter){if(null!=u.ajax?u.dataAdapter=f:null!=u.data?u.dataAdapter=h:u.dataAdapter=d,u.minimumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,_)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null!=u.query){var M=t(u.amdBase+"compat/query");u.dataAdapter=c.Decorate(u.dataAdapter,M)}if(null!=u.initSelection){var S=t(u.amdBase+"compat/initSelection");u.dataAdapter=c.Decorate(u.dataAdapter,S)}}if(null==u.resultsAdapter&&(u.resultsAdapter=n,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,k)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,x)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,P))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=b;else{var U=c.Decorate(b,w);u.dropdownAdapter=U}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,C)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,A)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var T=t(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=c.Decorate(u.dropdownAdapter,T)}u.dropdownAdapter=c.Decorate(u.dropdownAdapter,$)}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=o:u.selectionAdapter=i,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,r)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var j=t(u.amdBase+"compat/containerCss");u.selectionAdapter=c.Decorate(u.selectionAdapter,j)}u.selectionAdapter=c.Decorate(u.selectionAdapter,l)}if("string"==typeof u.language)if(u.language.indexOf("-")>0){var O=u.language.split("-"),D=O[0];u.language=[u.language,D]}else u.language=[u.language];if(e.isArray(u.language)){var E=new p;u.language.push("en");for(var q=u.language,I=0;I<q.length;I++){var z=q[I],L={};try{L=p.loadPath(z)}catch(R){try{z=this.defaults.amdLanguageBase+z,L=p.loadPath(z)}catch(H){u.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+z+'" could not be automatically loaded. A fallback will be used instead.');continue}}E.extend(L)}u.translations=E}else{var F=p.loadPath(this.defaults.amdLanguageBase+"en"),N=new p(u.language);N.extend(F),u.translations=N}return u},S.prototype.reset=function(){function t(e){function t(e){return u[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(i,o){if(""===e.trim(i.term))return o;if(o.children&&o.children.length>0){for(var r=e.extend(!0,{},o),s=o.children.length-1;s>=0;s--){var a=o.children[s],l=n(i,a);null==l&&r.children.splice(s,1)}return r.children.length>0?r:n(i,r)}var c=t(o.text).toUpperCase(),p=t(i.term).toUpperCase();return c.indexOf(p)>-1?o:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:M,matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},S.prototype.set=function(t,n){var i=e.camelCase(t),o={};o[i]=n;var r=c._convertData(o);e.extend(this.defaults,r)};var U=new S;return U}),t.define("pumselect2/options",["require","jquery","./defaults","./utils"],function(e,t,n,i){function o(t,o){if(this.options=t,null!=o&&this.fromElement(o),this.options=n.apply(this.options),o&&o.is("input")){var r=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,r)}}return o.prototype.fromElement=function(e){var n=["pumselect2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),e.data("pumselect2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-pumselect2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),e.data("data",e.data("pumselect2Tags")),e.data("tags",!0)),e.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",e.data("ajaxUrl")),e.data("ajax--url",e.data("ajaxUrl")));var o={};o=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var r=t.extend(!0,{},o);r=i._convertData(r);for(var s in r)t.inArray(s,n)>-1||(t.isPlainObject(this.options[s])?t.extend(this.options[s],r[s]):this.options[s]=r[s]);return this},o.prototype.get=function(e){return this.options[e]},o.prototype.set=function(e,t){this.options[e]=t},o}),t.define("pumselect2/core",["jquery","./options","./utils","./keys"],function(e,t,n,i){var o=function(e,n){null!=e.data("pumselect2")&&e.data("pumselect2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),o.__super__.constructor.call(this);var i=e.attr("tabindex")||0;e.data("old-tabindex",i),e.attr("tabindex","-1");var r=this.options.get("dataAdapter");this.dataAdapter=new r(e,this.options);var s=this.render();this._placeContainer(s);var a=this.options.get("selectionAdapter");this.selection=new a(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var p=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){p.trigger("selection:update",{data:e})}),e.addClass("pumselect2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),e.data("pumselect2",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(e){var t="";return t=null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4),t=t.replace(/(:|\.|\[|\]|,)/g,""),t="pumselect2-"+t},o.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},o.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var o=e.outerWidth(!1);return 0>=o?"auto":o+"px"}if("style"==t){var r=e.attr("style");if("string"!=typeof r)return null;for(var s=r.split(";"),a=0,l=s.length;l>a;a+=1){var c=s[a].replace(/\s/g,""),p=c.match(n);if(null!==p&&p.length>=1)return p[1]}return null}return t},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.pumselect2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this._sync=n.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){e.each(n,t._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",t._sync,!1)},o.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("focus",function(e){t.focus(e)}),this.selection.on("*",function(i,o){-1===e.inArray(i,n)&&t.trigger(i,o)})},o.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("pumselect2-container--open")}),this.on("close",function(){e.$container.removeClass("pumselect2-container--open")}),this.on("enable",function(){e.$container.removeClass("pumselect2-container--disabled")}),this.on("disable",function(){e.$container.addClass("pumselect2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("pumselect2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&t.altKey?(e.close(),t.preventDefault()):n===i.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===i.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===i.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===i.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype.trigger=function(e,t){var n=o.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===t&&(t={}),e in i){var r=i[e],s={prevented:!1,name:e,args:t};if(n.call(this,r,s),s.prevented)return void(t.prevented=!0)}n.call(this,e,t)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.trigger("query",{})},o.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},o.prototype.isOpen=function(){return this.$container.hasClass("pumselect2-container--open")},o.prototype.hasFocus=function(){return this.$container.hasClass("pumselect2-container--focus")},o.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("pumselect2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `pumselect2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `pumselect2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},o.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `pumselect2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,function(e){return e.toString()})),this.$element.val(n).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".pumselect2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("pumselect2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("pumselect2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var t=e('<span class="pumselect2 pumselect2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("pumselect2-container--"+this.options.get("theme")),t.data("element",this.$element),t},o}),t.define("pumselect2/compat/utils",["jquery"],function(e){function t(t,n,i){var o,r,s=[];o=e.trim(t.attr("class")),o&&(o=""+o,e(o.split(/\s+/)).each(function(){0===this.indexOf("pumselect2-")&&s.push(this)})),o=e.trim(n.attr("class")),o&&(o=""+o,e(o.split(/\s+/)).each(function(){0!==this.indexOf("pumselect2-")&&(r=i(this),null!=r&&s.push(r))})),t.attr("class",s.join(" "));
3
  }return{syncCssClasses:t}}),t.define("pumselect2/compat/containerCss",["jquery","./utils"],function(e,t){function n(e){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),r=this.options.get("containerCssClass")||"";e.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptContainerCssClass");if(s=s||n,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var a=s;s=function(e){var t=a(e);return null!=t?t+" "+e:e}}var l=this.options.get("containerCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(o,this.$element,s),o.css(l),o.addClass(r),o},i}),t.define("pumselect2/compat/dropdownCss",["jquery","./utils"],function(e,t){function n(e){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),r=this.options.get("dropdownCssClass")||"";e.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptDropdownCssClass");if(s=s||n,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var a=s;s=function(e){var t=a(e);return null!=t?t+" "+e:e}}var l=this.options.get("dropdownCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(o,this.$element,s),o.css(l),o.addClass(r),o},i}),t.define("pumselect2/compat/initSelection",["jquery"],function(e){function t(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return t.prototype.current=function(t,n){var i=this;return this._isInitialized?void t.call(this,n):void this.initSelection.call(null,this.$element,function(t){i._isInitialized=!0,e.isArray(t)||(t=[t]),n(t)})},t}),t.define("pumselect2/compat/inputData",["jquery"],function(e){function t(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return t.prototype.current=function(t,n){function i(t,n){var o=[];return t.selected||-1!==e.inArray(t.id,n)?(t.selected=!0,o.push(t)):t.selected=!1,t.children&&o.push.apply(o,i(t.children,n)),o}for(var o=[],r=0;r<this._currentData.length;r++){var s=this._currentData[r];o.push.apply(o,i(s,this.$element.val().split(this._valueSeparator)))}n(o)},t.prototype.select=function(t,n){if(this.options.get("multiple")){var i=this.$element.val();i+=this._valueSeparator+n.id,this.$element.val(i),this.$element.trigger("change")}else this.current(function(t){e.map(t,function(e){e.selected=!1})}),this.$element.val(n.id),this.$element.trigger("change")},t.prototype.unselect=function(e,t){var n=this;t.selected=!1,this.current(function(e){for(var i=[],o=0;o<e.length;o++){var r=e[o];t.id!=r.id&&i.push(r.id)}n.$element.val(i.join(n._valueSeparator)),n.$element.trigger("change")})},t.prototype.query=function(e,t,n){for(var i=[],o=0;o<this._currentData.length;o++){var r=this._currentData[o],s=this.matches(t,r);null!==s&&i.push(s)}n({results:i})},t.prototype.addOptions=function(t,n){var i=e.map(n,function(t){return e.data(t[0],"data")});this._currentData.push.apply(this._currentData,i)},t}),t.define("pumselect2/compat/matcher",["jquery"],function(e){function t(t){function n(n,i){var o=e.extend(!0,{},i);if(null==n.term||""===e.trim(n.term))return o;if(i.children){for(var r=i.children.length-1;r>=0;r--){var s=i.children[r],a=t(n.term,s.text,s);a||o.children.splice(r,1)}if(o.children.length>0)return o}return t(n.term,i.text,i)?o:null}return n}return t}),t.define("pumselect2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n;var i=this.options.get("query");i.call(null,t)},e}),t.define("pumselect2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){var i=n.find(".dropdown-wrapper");i.append(t),t.addClass("pumselect2-dropdown--below"),n.addClass("pumselect2-container--below")},e}),t.define("pumselect2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);var i=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(i.join(" "),function(e){e.stopPropagation()})},e}),t.define("pumselect2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);var i=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(i.join(" "),function(e){e.stopPropagation()})},e}),function(n){"function"==typeof t.define&&t.define.amd?t.define("jquery-mousewheel",["jquery"],n):"object"==typeof exports?module.exports=n:n(e)}(function(e){function t(t){var s=t||window.event,a=l.call(arguments,1),c=0,u=0,d=0,h=0,f=0,m=0;if(t=e.event.fix(s),t.type="mousewheel","detail"in s&&(d=-1*s.detail),"wheelDelta"in s&&(d=s.wheelDelta),"wheelDeltaY"in s&&(d=s.wheelDeltaY),"wheelDeltaX"in s&&(u=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(u=-1*d,d=0),c=0===d?u:d,"deltaY"in s&&(d=-1*s.deltaY,c=d),"deltaX"in s&&(u=s.deltaX,0===d&&(c=-1*u)),0!==d||0!==u){if(1===s.deltaMode){var g=e.data(this,"mousewheel-line-height");c*=g,d*=g,u*=g}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");c*=v,d*=v,u*=v}if(h=Math.max(Math.abs(d),Math.abs(u)),(!r||r>h)&&(r=h,i(s,h)&&(r/=40)),i(s,h)&&(c/=40,u/=40,d/=40),c=Math[c>=1?"floor":"ceil"](c/r),u=Math[u>=1?"floor":"ceil"](u/r),d=Math[d>=1?"floor":"ceil"](d/r),p.settings.normalizeOffset&&this.getBoundingClientRect){var _=this.getBoundingClientRect();f=t.clientX-_.left,m=t.clientY-_.top}return t.deltaX=u,t.deltaY=d,t.deltaFactor=r,t.offsetX=f,t.offsetY=m,t.deltaMode=0,a.unshift(t,c,u,d),o&&clearTimeout(o),o=setTimeout(n,200),(e.event.dispatch||e.event.handle).apply(this,a)}}function n(){r=null}function i(e,t){return p.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var o,r,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var c=s.length;c;)e.event.fixHooks[s[--c]]=e.event.mouseHooks;var p=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=a.length;n;)this.addEventListener(a[--n],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",p.getLineHeight(this)),e.data(this,"mousewheel-page-height",p.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=a.length;n;)this.removeEventListener(a[--n],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),t.define("jquery.pumselect2",["jquery","jquery-mousewheel","./pumselect2/core","./pumselect2/defaults"],function(e,t,n,i){if(null==e.fn.pumselect2){var o=["open","close","destroy"];e.fn.pumselect2=function(t){if(t=t||{},"object"==typeof t)return this.each(function(){var i=e.extend(!0,{},t);new n(e(this),i)}),this;if("string"==typeof t){var i;return this.each(function(){var n=e(this).data("pumselect2");null==n&&window.console&&console.error&&console.error("The pumselect2('"+t+"') method was called on an element that is not using Select2.");var o=Array.prototype.slice.call(arguments,1);i=n[t].apply(n,o)}),e.inArray(t,o)>-1?this:i}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.pumselect2.defaults&&(e.fn.pumselect2.defaults=i),n}),{define:t.define,require:t.require}}(),n=t.require("jquery.pumselect2");return e.fn.pumselect2.amd=t,n}),function(e,t,n){"use strict";e(t).on("click","#popup_reset_open_count",function(){var t=e(this);t.is(":checked")&&!confirm(pum_admin.I10n.confirm_count_reset)&&t.prop("checked",!1)})}(jQuery,document);var PUMColorPickers;!function(e,t,n){"use strict";PUMColorPickers={init:function(){e(".color-picker").filter(":not(.initialized)").addClass("initialized").wpColorPicker({change:function(t){var n=e(this),i=e(t.currentTarget);i.hasClass("background-color")&&i.parents("table").find(".background-opacity").show(),n.trigger("change.update"),"popup_theme"===e("form#post input#post_type").val()&&PopMakeAdmin.update_theme()},clear:function(t){var n=e(t.currentTarget).prev();n.hasClass("background-color")&&n.parents("table").find(".background-opacity").hide(),e(this).prev("input").trigger("change.clear").wpColorPicker("close"),"popup_theme"===e("form#post input#post_type").val()&&PopMakeAdmin.update_theme()}})}},e(t).on("click",".iris-palette",function(){e(this).parents(".wp-picker-active").find("input.color-picker").trigger("change"),setTimeout(PopMakeAdmin.update_theme,500)}).on("pum_init",PUMColorPickers.init)}(jQuery,document);var PUMConditions;!function(e,t,n){"use strict";PUMConditions={templates:{},addGroup:function(n,i){var o=e("#pum-popup-conditions"),r={index:o.find(".facet-group-wrap").length,conditions:[{target:n||null,not_operand:i||!1,settings:{}}]};o.find(".facet-groups").append(PUMConditions.templates.group(r)),o.find(".facet-builder").addClass("has-conditions"),e(t).trigger("pum_init")},renumber:function(){e("#pum-popup-conditions .facet-group-wrap").each(function(){var t=e(this),n=t.parent().children().index(t);t.data("index",n).find(".facet").each(function(){var t=e(this),i=t.parent().children().index(t);t.data("index",i).find("[name]").each(function(){var e="popup_conditions["+n+"]["+i+"]";this.name=this.name.replace(/popup_conditions\[\d*?\]\[\d*?\]/,e),this.id=this.name})})})}},e(t).on("pum_init",PUMConditions.renumber).ready(function(){e("body.post-type-popup form#post").length&&(PUMConditions.templates.group=wp.template("pum-condition-group"),PUMConditions.templates.facet=wp.template("pum-condition-facet"),PUMConditions.templates.settings={},e("script.tmpl.pum-condition-settings").each(function(){var t=e(this),n=t.attr("id").replace("tmpl-","");PUMConditions.templates.settings[t.data("condition")]=wp.template(n)}),PUMConditions.renumber())}).on("select2:select pumselect2:select","#pum-first-condition",function(){var t=e(this),n=t.val(),i=e("#pum-first-condition-operand"),o=i.is(":checked")?i.val():null;PUMConditions.addGroup(n,o),t.val(null).trigger("change"),i.prop("checked",!1).parents(".pum-condition-target").removeClass("not-operand-checked")}).on("click","#pum-popup-conditions .pum-not-operand",function(){var t=e(this),n=t.find("input"),i=t.parents(".pum-condition-target");n.is(":checked")?(i.removeClass("not-operand-checked"),n.prop("checked",!1)):(i.addClass("not-operand-checked"),n.prop("checked",!0))}).on("change","#pum-popup-conditions select.target",function(){var i=e(this),o=i.val(),r={index:i.parents(".facet-group").find(".facet").length,target:o,settings:{}};""!==o&&o!==i.parents(".facet").data("target")&&PUMConditions.templates.settings[o]!==n&&(i.parents(".facet").data("target",o).find(".facet-settings").html(PUMConditions.templates.settings[o](r)),e(t).trigger("pum_init"))}).on("click","#pum-popup-conditions .facet-group-wrap:last-child .and .add-facet",PUMConditions.addGroup).on("click","#pum-popup-conditions .add-or .add-facet:not(.disabled)",function(){var n=e(this),i=n.parents(".facet-group-wrap"),o={group:i.data("index"),index:i.find(".facet").length,target:null,settings:{}};i.find(".facet-list").append(PUMConditions.templates.facet(o)),e(t).trigger("pum_init")}).on("click","#pum-popup-conditions .remove-facet",function(){var t=e(this),n=e("#pum-popup-conditions"),i=t.parents(".facet"),o=t.parents(".facet-group-wrap");i.remove(),0===o.find(".facet").length&&(o.prev(".facet-group-wrap").find(".and .add-facet").removeClass("disabled"),o.remove(),0===n.find(".facet-group-wrap").length&&n.find(".facet-builder").removeClass("has-conditions")),PUMConditions.renumber()})}(jQuery,document);var PUMCookies;!function(e,t,n){"use strict";var i=pum_admin.I10n,o=pum_admin.defaults;PUMCookies={getLabel:function(e){return i.labels.cookies[e].name},getSettingsDesc:function(e,t){var n={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"},o=_.template(i.labels.cookies[e].settings_column,null,n);return t.I10n=i,o(t)},renumber:function(){e("#pum_popup_cookies_list tbody tr").each(function(){var t=e(this),n=t.parent().children().index(t),i=t.data("index");t.data("index",n),t.find("[name]").each(function(){var e="["+n+"]";this.name=this.name.replace("["+i+"]",e).replace("[]",e)})})},refreshDescriptions:function(){e("#pum_popup_cookies_list tbody tr").each(function(){var t=e(this),n=t.find(".popup_cookies_field_event").val(),i=JSON.parse(t.find(".popup_cookies_field_settings:first").val());t.find("td.settings-column").html(PUMCookies.getSettingsDesc(n,i))})},initEditForm:function(){PUMCookies.updateSessionsCheckbox()},updateSessionsCheckbox:function(){var t=e(".cookie-editor .pum-form"),n=t.find('.field.checkbox.session input[type="checkbox"]').is(":checked"),i=t.find(".field").filter(".time");n?i.hide():i.show()},resetCookieKey:function(){var t=e(this),n=(new Date).getTime().toString(16);t.parents(".pum-form").find(".field.text.name").data("cookiekey",n),t.siblings('input[type="text"]:first').val(n)}},e(t).on("select2:select pumselect2:select","#pum-first-cookie",function(){var t=e(this),r=t.val(),s="pum-cookie-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={};c.cookie_settings=o.cookies[r]!==n?o.cookies[r]:{},c.cookie_settings.name="pum-"+e("#post_ID").val(),c.save_button_text=i.add,c.index=null,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMCookies.initEditForm(),t.val(null).trigger("change")}).on("click",".field.cookiekey button.reset",PUMCookies.resetCookieKey).on("click",".cookie-editor .pum-form .field.checkbox.session",PUMCookies.updateSessionsCheckbox).on("click","#pum_popup_cookies .add-new",function(){var e=wp.template("pum-cookie-add-event");PUMModals.reload("#pum_cookie_add_event_modal",e())}).on("click","#pum_popup_cookies_list .edit",function(t){var n=e(this),o=n.parents("tr:first"),r=o.find(".popup_cookies_field_event").val(),s="pum-cookie-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={index:o.parent().children().index(o),event:r,cookie_settings:JSON.parse(o.find(".popup_cookies_field_settings:first").val())};t.preventDefault(),c.save_button_text=i.save,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMCookies.initEditForm()}).on("click","#pum_popup_cookies_list .remove",function(t){var n=e(this),o=n.parents("tr:first");t.preventDefault(),window.confirm(i.confirm_delete_cookie)&&(o.remove(),e("#pum_popup_cookies_list tbody tr").length||(e("#pum-first-cookie").val(null).trigger("change"),e("#pum_popup_cookie_fields").removeClass("has-cookies")),PUMCookies.renumber())}).on("submit","#pum_cookie_add_event_modal .pum-form",function(t){var r=e("#popup_cookie_add_event").val(),s="pum-cookie-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={};t.preventDefault(),c.cookie_settings=o.cookies[r]!==n?o.cookies[r]:{},c.cookie_settings.name="pum-"+e("#post_ID").val(),c.save_button_text=i.add,c.index=null,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMCookies.initEditForm()}).on("submit",".cookie-editor .pum-form",function(t){var n,o,r,s=e(this),a=(s.find("input.event").val(),s.serializeObject()),l=parseInt(a.index),c=l>=0?e("#pum_popup_cookies_list tbody tr").eq(l):null,p=wp.template("pum-cookie-row");t.preventDefault(),(!l||0>l)&&(a.index=e("#pum_popup_cookies_list tbody tr").length),a.I10n=i,n=p(a),c?c.replaceWith(n):e("#pum_popup_cookies_list tbody").append(n),PUMModals.closeAll(),PUMCookies.renumber(),e("#pum_popup_cookie_fields").addClass("has-cookies"),PUMTriggers.new_cookie&&PUMTriggers.new_cookie>=0&&(o=e("#pum_popup_triggers_list tbody tr").eq(PUMTriggers.new_cookie).find(".popup_triggers_field_settings:first"),r=JSON.parse(o.val()),r.cookie.name[r.cookie.name.indexOf("add_new")]=a.cookie_settings.name,o.val(JSON.stringify(r)),PUMTriggers.new_cookie=-1,PUMTriggers.refreshDescriptions())}).ready(function(){PUMCookies.refreshDescriptions(),e("#pum-first-cookie").val(null).trigger("change")})}(jQuery,document),function(e,t,n){"use strict";var i={init:function(){e("#popmake_popup_auto_open_fields, #popmake_popup_targeting_condition_fields").length&&(i.initialize_popup_page(),i.attachQuickSearchListeners(),i.attachTabsPanelListeners())},attachTabsPanelListeners:function(){e("#poststuff").bind("click",function(t){var n,i,o,r,s,a,l,c,p,u,d,h,f,m,g=e(t.target);if(g.hasClass("nav-tab-link"))i=g.data("type"),o=g.parents(".posttypediv, .taxonomydiv").first(),e("input",o).removeAttr("checked"),e(".tabs-panel-active",o).removeClass("tabs-panel-active").addClass("tabs-panel-inactive"),e("#"+i,o).removeClass("tabs-panel-inactive").addClass("tabs-panel-active"),e(".tabs",o).removeClass("tabs"),g.parent().addClass("tabs"),e(".quick-search",o).focus(),t.preventDefault();else if(g.hasClass("select-all"))n=/#(.*)$/.exec(t.target.href),n&&n[1]&&(r=e("#"+n[1]+" .tabs-panel-active .menu-item-title input"),r.length===r.filter(":checked").length?r.removeAttr("checked"):r.prop("checked",!0));else if(g.hasClass("submit-add-to-menu")){for(s=g.parents(".options"),a=e('.tabs-panel-active input[type="checkbox"]:checked',s),l=e("textarea",s),c=e(".tagchecklist",s),p=l.val().split(","),u=0;u<p.length;u+=1)p[u]=parseInt(p[u],10);a.each(function(){d=e(this),h=parseInt(d.val(),10),f=d.parent("label").siblings(".menu-item-title").val(),-1===e.inArray(h,p)&&p.push(h),c.append('<span><a class="ntdelbutton" data-id="'+h+'">X</a> '+f+"</span>")}),l.text(p.join(",")),t.preventDefault()}else g.hasClass("ntdelbutton")&&(d=g,m=parseInt(d.data("id"),10),s=g.parents(".options"),l=e("textarea",s),c=e(".tagchecklist",s),p=l.val().split(","),p=e.grep(p,function(e){return parseInt(e,10)!==parseInt(m,10)}),d.parent("span").remove(),l.text(p.join(",")))})},attachQuickSearchListeners:function(){var t;e(".quick-search").keypress(function(n){var o=e(this);return 13===n.which?(i.updateQuickSearchResults(o),!1):(t&&clearTimeout(t),void(t=setTimeout(function(){i.updateQuickSearchResults(o)},400)))}).attr("autocomplete","off")},updateQuickSearchResults:function(t){var n,o,r=2,s=t.val();s.length<r||(n=t.parents(".tabs-panel"),o={action:"menu-quick-search","response-format":"markup",menu:null,"menu-settings-column-nonce":e("#menu-settings-column-nonce").val(),q:s,type:t.attr("name")},e(".spinner",n).show(),e.post(ajaxurl,o,function(e){i.processQuickSearchQueryResponse(e,o,n)}))},processQuickSearchQueryResponse:function(t,n,i){var o,r,s,a=e("form#post"),l={},c=/menu-item[(\[\^]\]*/,p=e("<div>").html(t).find("li");return p.length?(p.each(function(){if(s=e(this),o=c.exec(s.html()),o&&o[1]){for(r=o[1];a.elements["menu-item["+r+"][menu-item-type]"]||l[r];)r-=1;l[r]=!0,r!==o[1]&&s.html(s.html().replace(new RegExp("menu-item\\["+o[1]+"\\]","g"),"menu-item["+r+"]"))}}),e(".categorychecklist",i).html(p),e(".spinner",i).hide(),void e('[name^="menu-item"]').removeAttr("name")):(e(".categorychecklist",i).html("<li><p>noResultsFound</p></li>"),void e(".spinner",i).hide())},initialize_popup_page:function(){var n=function(t){var n,i,o=t.siblings(".options");t.is(":checked")?(o.show(),"popup_targeting_condition_on_entire_site"===t.attr("id")?(n=t.parents("#popmake_popup_targeting_condition_fields").find('[id^="targeting_condition-exclude_on_"]'),i=t.parents(".targeting_condition").siblings(".targeting_condition"),i.hide(),e("> *",i).prop("disabled",!0),n.show(),e("> *",n).prop("disabled",!1)):e("*",o).prop("disabled",!1)):(o.hide(),"popup_targeting_condition_on_entire_site"===t.attr("id")?(n=t.parents("#popmake_popup_targeting_condition_fields").find('[id^="targeting_condition-exclude_on_"]'),i=t.parents(".targeting_condition").siblings(".targeting_condition"),i.show(),e("> *",i).prop("disabled",!1),n.hide(),e("> *",n).prop("disabled",!0)):e("*",o).prop("disabled",!0))},i=function(t){var n=t.parents(".options").find('input[type="checkbox"]:eq(0)'),i=n.attr("name").indexOf("exclude")>=0,o=i?n.attr("name").replace("popup_targeting_condition_exclude_on_specific_",""):n.attr("name").replace("popup_targeting_condition_on_specific_",""),r=e(i?"#exclude_on_specific_"+o:"#on_specific_"+o);t.is(":checked")&&("true"===t.val()?(n.prop("checked",!0),r.show(),e("*",r).prop("disabled",!1)):""===t.val()&&(n.prop("checked",!1),r.hide(),e("*",r).prop("disabled",!0)))},o=function(){e("#popup_auto_open_session_cookie").is(":checked")?e(".not-session-cookie").hide():e(".not-session-cookie").show()},r=function(){e("#popup_auto_open_enabled").is(":checked")?(e(".auto-open-enabled").show(),o()):e(".auto-open-enabled").hide()},s=function(){e("#popup_auto_open_cookie_key").val((new Date).getTime().toString(16))};e('[name^="menu-item"]').removeAttr("name"),e("#title").prop("required",!0),e(t).on("click","#popup_auto_open_session_cookie",function(){o()}).on("click","#popup_auto_open_enabled",function(){r()}).on("click",".popmake-reset-auto-open-cookie-key",function(){s()}),e('#popmake_popup_targeting_condition_fields .targeting_condition > input[type="checkbox"]').on("click",function(){n(e(this))}).each(function(){n(e(this))}),e('input[type="radio"][id*="popup_targeting_condition_"]').on("click",function(){i(e(this))}).each(function(){i(e(this))}),e(".posttypediv, .taxonomydiv").each(function(){var t=e(this),n=e("> ul li"),i=e(".tabs-panel",t);n.removeClass("tabs"),n.eq(0).addClass("tabs"),i.removeClass("tabs-panel-active").addClass("tabs-panel-inactive").removeAttr("style"),i.eq(0).removeClass("tabs-panel-inactive").addClass("tabs-panel-active")}),r(),""===e("#popup_auto_open_cookie_key").val()&&s()}};e(t).ready(function(){i.init(),e(t).trigger("pum_init")})}(jQuery,document);var PUMMarketing;!function(e,t,n){"use strict";PUMMarketing={init:function(){e('#menu-posts-popup ul li a[href="edit.php?post_type=popup&page=extensions"]').css({color:"#9aba27"})}},e(t).ready(PUMMarketing.init)}(jQuery,document);var PUMModals;!function(e,t,n){"use strict";var i,o,r,s=e("html"),a=e(t),l="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]";PUMModals={forceFocus:function(e){r&&!r.contains(e.target)&&(e.stopPropagation(),r.focus())},trapEscapeKey:function(e){27===e.keyCode&&(PUMModals.closeAll(),e.preventDefault())},trapTabKey:function(t){if(9===t.keyCode){var n=r.find("*").filter(l).filter(":visible"),i=e(":focus"),o=n.length,s=n.index(i);t.shiftKey?0===s&&(n.get(o-1).focus(),t.preventDefault()):s===o-1&&(n.get(0).focus(),t.preventDefault())}},setFocusToFirstItem:function(){r.find(".pum-modal-content *").filter(l).filter(":visible").first().focus()},closeAll:function(t){e(".pum-modal-background").off("keydown.pum_modal").hide(0,function(){e("html").css({overflow:"visible",width:"auto"}),i&&(i.attr("aria-hidden","false"),i=null),o.length&&o.focus(),r=null,a.off("focus.pum_modal"),n!==t&&t()}).attr("aria-hidden","true")},show:function(t,a){e(".pum-modal-background").off("keydown.pum_modal").hide(0).attr("aria-hidden","true"),s.data("origwidth",s.innerWidth()).css({overflow:"hidden",width:s.innerWidth()});var l=e(":focus");l.parents(".pum-modal-wrap").length||(o=l),r=e(t),r.on("keydown.pum_modal",function(e){PUMModals.trapEscapeKey(e),PUMModals.trapTabKey(e)}).show(0,function(){i=e("body > *").filter(":visible").not(r),i.attr("aria-hidden","true"),r.trigger("pum_init").on("focus.pum_modal",PUMModals.forceFocus),PUMModals.setFocusToFirstItem(),n!==a&&a()}).attr("aria-hidden","false")},remove:function(t){e(t).remove()},replace:function(t,n){PUMModals.remove(e.trim(t)),e("body").append(e.trim(n))},reload:function(e,t,n){PUMModals.replace(e,t),PUMModals.show(e,n)}},e(t).on("click",".pum-modal-background, .pum-modal-wrap .cancel, .pum-modal-wrap .pum-modal-close",function(t){var n=e(t.target);(n.hasClass("pum-modal-background")||n.hasClass("cancel")||n.hasClass("pum-modal-close")||n.hasClass("submitdelete"))&&(PUMModals.closeAll(),t.preventDefault(),t.stopPropagation())})}(jQuery,document);var PUMRangeSLiders;!function(e,t,n){"use strict";PUMRangeSLiders={init:function(){var n,i,o,r,s,a=e('<input type="range"/>'),l=e('<button type="button" class="popmake-range-plus">+</button>'),c=e('<button type="button" class="popmake-range-minus">-</button>');e(".popmake-range-manual").filter(":not(.initialized)").each(function(){var p=e(this).addClass("initialized"),u=p.data("force-minmax"),d=parseInt(p.prop("min"),0),h=parseInt(p.prop("max"),0),f=parseInt(p.prop("step"),0),m=parseInt(p.val(),0);o=a.clone(),r=l.clone(),s=c.clone(),u&&m>h&&(m=h,p.val(m)),o.prop({min:d||0,max:u||h&&h>m?h:1.5*m,step:f||1.5*m/100,value:m}).on("change input",function(){p.trigger("input")}),p.next().after(s,r),p.before(o),n=t.createElement("input"),n.setAttribute("type","range"),"text"===n.type&&e("input[type=range]").each(function(t,n){i=e(n),o=e("<div />").slider({min:parseInt(i.attr("min"),10)||0,max:parseInt(i.attr("max"),10)||100,value:parseInt(i.attr("value"),10)||0,step:parseInt(i.attr("step"),10)||1,slide:function(t,n){e(this).prev("input").val(n.value)}}),i.after(o).hide()})})}},e(t).on("pum_init",PUMRangeSLiders.init).on("input",'input[type="range"]',function(){var t=e(this);t.siblings(".popmake-range-manual").val(t.val())}).on("click",".popmake-range-manual",function(){var t=e(this);t.prop("readonly",!1)}).on("focusout",".popmake-range-manual",function(){var t=e(this);t.prop("readonly",!0)}).on("change",".popmake-range-manual",function(){var t=e(this),n=parseInt(t.prop("max"),0),i=parseInt(t.prop("step"),0),o=t.data("force-minmax"),r=parseInt(t.val(),0),s=t.prev();o&&r>n&&(r=n,t.val(r)),s.prop({max:o||n&&n>r?n:1.5*r,step:i||1.5*r/100,value:r})}).on("click",".popmake-range-plus",function(t){var n=e(this).siblings(".popmake-range-manual"),i=parseInt(n.prop("step"),0),o=parseInt(n.val(),0),r=o+i,s=n.prev();t.preventDefault(),n.val(r).trigger("input"),s.val(r)}).on("click",".popmake-range-minus",function(t){var n=e(this).siblings(".popmake-range-manual"),i=parseInt(n.prop("step"),0),o=parseInt(n.val(),0),r=o-i,s=n.prev();t.preventDefault(),n.val(r).trigger("input"),s.val(r)})}(jQuery,document);var PUMSelect2Fields;!function(e,t,n){"use strict";e.fn.pumselect2=e.fn.pumselect2||e.fn.select2,PUMSelect2Fields={init:function(){e(".pum-select2 select").filter(":not(.initialized)").each(function(){var t=e(this),i=t.data("current"),o=t.data("objecttype"),r=t.data("objectkey"),s={multiple:!1,dropdownParent:t.parent()};t.attr("multiple")&&(s.multiple=!0),o&&r&&(s=e.extend(s,{ajax:{url:ajaxurl,dataType:"json",delay:250,data:function(e){return{s:e.term,page:e.page,action:"pum_object_search",object_type:o,object_key:r}},processResults:function(e,t){return t.page=t.page||1,{results:e.items,pagination:{more:10*t.page<e.total_count}}},cache:!0},cache:!0,escapeMarkup:function(e){return e},minimumInputLength:1,templateResult:PUMSelect2Fields.formatObject,templateSelection:PUMSelect2Fields.formatObjectSelection})),t.addClass("initialized").pumselect2(s),i!==n&&("object"!=typeof i&&(i=[i]),o&&r?e.ajax({url:ajaxurl,data:{action:"pum_object_search",object_type:o,object_key:r,include:i},dataType:"json",success:function(n){e.each(n.items,function(e,n){t.find('option[value="'+n.id+'"]').length||t.prepend('<option value="'+n.id+'">'+n.text+"</option>")}),t.val(i).trigger("change")}}):t.val(i).trigger("change"))})},formatObject:function(e){return e.text},formatObjectSelection:function(e){return e.text||e.text}},e(t).on("pum_init",PUMSelect2Fields.init)}(jQuery,document),function(e,t,n){function i(t,n){return-1!==e.inArray(n,t)}function o(e,t,n){var i=t[0];t.length>1?(e[i]||(e[i]=t[1]?{}:[]),o(e[i],t.slice(1),n)):(i||(i=e.length),e[i]=n)}var r="color,date,datetime,datetime-local,email,hidden,month,number,password,range,search,tel,text,time,url,week".split(","),s="select,textarea".split(","),a=/\[([^\]]*)\]/g;e.fn.serializeObject=function(t){e.extend({},t);var n={},l=e.extend(!0,{include:[],exclude:[],includeByClass:""},t);return this.find(":input").each(function(){var t;!this.name||this.disabled||i(l.exclude,this.name)||l.include.length&&!i(l.include,this.name)||-1===this.className.indexOf(l.includeByClass)||(t=this.name.replace(a,"[$1").split("["),t[0]&&(this.checked||i(r,this.type)||i(s,this.nodeName.toLowerCase()))&&("checkbox"===this.type&&t.push(""),o(n,t,e(this).val())))}),n}}(jQuery,document);var PUMTabs;!function(e,t,n){"use strict";PUMTabs={init:function(){e(".pum-tabs-container").filter(":not(.initialized)").each(function(){var t=e(this),n=t.find(".tab:first");t.hasClass("vertical-tabs")&&t.css({minHeight:t.find(".tabs").eq(0).outerHeight(!0)}),t.find(".active").removeClass("active"),n.addClass("active"),e(n.find("a").attr("href")).addClass("active"),t.addClass("initialized")})}},e(t).on("pum_init",PUMTabs.init).on("click",".pum-tabs-container .tab",function(t){var n=e(this),i=n.parents(".pum-tabs-container:first"),o=n.find("a").attr("href");i.find(".active").removeClass("active"),n.addClass("active"),e(o).addClass("active"),t.preventDefault()})}(jQuery,document);var PUM_Templates;!function(e,t,n){"use strict";var i=pum_admin.I10n;PUM_Templates={render:function(e,t){var n=wp.template(e);return"object"==typeof t.classes&&(t.classes=t.classes.join(" ")),t=PUM_Templates.prepareMeta(t),n(t)},shortcode:function(t){var n=e.extend(!0,{},{tag:"",meta:{},has_content:!1,content:""},t),i=n.has_content?"pum-shortcode-w-content":"pum-shortcode";return PUM_Templates.render(i,n)},modal:function(t){var n=e.extend(!0,{},{id:"",title:"",description:"",classes:"",save_button:i.save,cancel_button:i.cancel,content:""},t);return PUM_Templates.render("pum-modal",n)},tabs:function(t){var n=t.classes||[],i=e.extend(!0,{},{id:"",vertical:!0,form:!0,classes:"",tabs:{general:{label:"General",content:""}}},t);return i.form&&n.push("tabbed-form"),i.vertical&&n.push("vertical-tabs"),i.classes=i.classes+" "+n.join(" "),PUM_Templates.render("pum-tabs",i)},section:function(t){var n=e.extend(!0,{},{classes:[],fields:[]},t);return PUM_Templates.render("pum-field-section",n)},field:function(t){var i="pum-field-"+t.type,o=[],r=e.extend(!0,{},{type:"text",id:"",id_prefix:"",name:"",label:null,placeholder:"",desc:null,size:"regular",classes:[],value:null,select2:!1,multiple:!1,as_array:!1,options:[],object_type:null,object_key:null,std:null,min:0,max:50,step:1,unit:"px",required:!1,meta:{}},t);if(!e("#tmpl-"+i).length&&("objectselect"!==t.type&&"postselect"!==t.type&&"taxonomyselect"!==t.type||(i="pum-field-select"),!e("#tmpl-"+i).length))return"";
4
+ switch(r.value||t.std===n||(r.value=t.std),"string"==typeof r.classes&&(r.classes=r.classes.split(" ")),t["class"]!==n&&r.classes.push(t["class"]),r.required&&(r.meta.required=!0,r.classes.push("pum-required")),t.type){case"select":case"objectselect":case"postselect":case"taxonomyselect":r.options!==n&&(_.each(r.options,function(e,t){var n=!1;r.multiple&&r.value.indexOf(e)!==!1?n="selected":r.multiple||r.value!=e||(n="selected"),o.push(PUM_Templates.prepareMeta({label:t,value:e,meta:{selected:n}}))}),r.options=o),r.multiple&&(r.meta.multiple=!0,r.as_array&&(r.name+="[]"),r.value&&r.value.length||(r.value=[]),"string"==typeof r.value&&(r.value=[r.value])),"select"!==t.type&&(r.select2=!0,r.classes.push("pum-field-objectselect"),r.classes.push("postselect"===t.type?"pum-field-postselect":"pum-field-taxonomyselect"),r.meta["data-objecttype"]="postselect"===t.type?"post_type":"taxonomy",r.meta["data-objectkey"]="postselect"===t.type?t.post_type:t.taxonomy,r.meta["data-current"]=r.value),r.select2&&(r.classes.push("pum-select2"),r.placeholder&&(r.meta["data-placeholder"]=r.placeholder));break;case"multicheck":r.options!==n&&(_.each(r.options,function(e,t){o.push({label:t,value:e,meta:{checked:r.value.indexOf(e)>=0}})}),r.options=o);break;case"checkbox":1===parseInt(r.value,10)&&(r.meta.checked=!0);break;case"rangeslider":r.meta.readonly=!0,r.meta.step=r.step,r.meta.min=r.min,r.meta.max=r.max;break;case"textarea":r.meta.cols=r.cols,r.meta.rows=r.rows}return r.field=PUM_Templates.render(i,r),PUM_Templates.render("pum-field-wrapper",r)},prepareMeta:function(e){var t,n=[];for(t in e.meta)e.meta.hasOwnProperty(t)&&("boolean"==typeof e.meta[t]?e.meta[t]&&n.push(_.escape(t)):n.push(_.escape(t)+'="'+_.escape(e.meta[t])+'"'));return e.meta=n.join(" "),e}}}(jQuery,document);var PUMTriggers;!function(e,t,n){"use strict";var i=pum_admin.I10n,o=pum_admin.defaults;PUMTriggers={new_cookie:null,getLabel:function(e){return i.labels.triggers[e].name},getSettingsDesc:function(e,t){var n={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"},o=_.template(i.labels.triggers[e].settings_column,null,n);return t.I10n=i,o(t)},renumber:function(){e("#pum_popup_triggers_list tbody tr").each(function(){var t=e(this),n=t.parent().children().index(t),i=t.data("index");t.data("index",n),t.find("input").each(function(){var e="["+n+"]";this.name=this.name.replace("["+i+"]",e).replace("[]",e)})})},refreshDescriptions:function(){e("#pum_popup_triggers_list tbody tr").each(function(){var t=e(this),n=t.find(".popup_triggers_field_type").val(),i=JSON.parse(t.find(".popup_triggers_field_settings:first").val()),o=PUMTriggers.cookie_column_value(i.cookie.name);t.find("td.settings-column").html(PUMTriggers.getSettingsDesc(n,i)),t.find("td.cookie-column code").text(o)})},initEditForm:function(t){var n=e(".trigger-editor .pum-form"),i=e("#name",n),o=t.trigger_settings;e("#pum_popup_cookies_list tbody tr").each(function(){var t=JSON.parse(e(this).find(".popup_cookies_field_settings:first").val());i.find('option[value="'+t.name+'"]').length||e('<option value="'+t.name+'">'+t.name+"</option>").appendTo(i)}),i.val(o.cookie.name),i.trigger("chosen:updated")},cookie_column_value:function(e){var t=i.no_cookie;return e instanceof Array?t=e.join(", "):null!==e&&(t=e),t}},PUMTriggers.refreshDescriptions(),e(t).on("select2:select pumselect2:select","#pum-first-trigger",function(){var t=e(this),r=t.val(),s="pum-trigger-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={};c.trigger_settings=o.triggers[r]!==n?o.triggers[r]:{},c.save_button_text=i.add,c.index=null,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMTriggers.initEditForm(c),t.val(null).trigger("change")}).on("click","#pum_popup_triggers .add-new",function(){var e=wp.template("pum-trigger-add-type");PUMModals.reload("#pum_trigger_add_type_modal",e())}).on("click","#pum_popup_triggers_list .edit",function(t){var n=e(this),o=n.parents("tr:first"),r=o.find(".popup_triggers_field_type").val(),s="pum-trigger-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={index:o.parent().children().index(o),type:r,trigger_settings:JSON.parse(o.find(".popup_triggers_field_settings:first").val())};t.preventDefault(),c.save_button_text=i.save,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMTriggers.initEditForm(c)}).on("click","#pum_popup_triggers_list .remove",function(t){var n=e(this),o=n.parents("tr:first");t.preventDefault(),window.confirm(i.confirm_delete_trigger)&&(o.remove(),e("#pum_popup_triggers_list tbody tr").length||(e("#pum-first-trigger").val(null).trigger("change"),e("#pum_popup_trigger_fields").removeClass("has-triggers")),PUMTriggers.renumber())}).on("submit","#pum_trigger_add_type_modal .pum-form",function(t){var r=e("#popup_trigger_add_type").val(),s="pum-trigger-settings-"+r,a="#"+s.replace(/-/g,"_"),l=wp.template(s),c={};t.preventDefault(),c.trigger_settings=o.triggers[r]!==n?o.triggers[r]:{},c.save_button_text=i.add,c.index=null,l.length||alert("Something went wrong. Please refresh and try again."),PUMModals.reload(a,l(c)),PUMTriggers.initEditForm(c)}).on("submit",".trigger-editor .pum-form",function(t){var n,o=e(this),r=(o.find("input.type").val(),o.serializeObject()),s=parseInt(r.index),a=s>=0?e("#pum_popup_triggers_list tbody tr").eq(s):null,l=wp.template("pum-trigger-row");t.preventDefault(),(!s||0>s)&&(r.index=e("#pum_popup_triggers_list tbody tr").length),r.I10n=i,n=l(r),a?a.replaceWith(n):e("#pum_popup_triggers_list tbody").append(n),PUMModals.closeAll(),PUMTriggers.renumber(),PUMTriggers.refreshDescriptions(),e("#pum_popup_trigger_fields").addClass("has-triggers"),null!==r.trigger_settings.cookie.name&&r.trigger_settings.cookie.name.indexOf("add_new")>=0&&(PUMTriggers.new_cookie=r.index,e("#pum_popup_cookie_fields button.add-new").trigger("click"))}).ready(function(){PUMTriggers.refreshDescriptions(),e("#pum-first-trigger").val(null).trigger("change")})}(jQuery,document);var PUMUtils;!function(e,t,n){"use strict";PUMUtils={convert_meta_to_object:function(e){var t,i,o,r={};for(o in e)e.hasOwnProperty(o)&&(t=o.split(/_(.+)?/)[0],i=o.split(/_(.+)?/)[1],r[t]===n&&(r[t]={}),r[t][i]=e[o]);return r},serialize_form:function(t){var n={};return e("[name]",t).each(function(){var t,i,o=e(this).attr("name"),r=e(this).val(),s=o.split("["),a=n,l=s.length;for(t=0;l>t;t+=1)i=s[t].replace("]",""),a[i]||(a[i]={}),t!==s.length-1?a=a[i]:t===s.length-1&&(a[i]=r)}),n},convert_hex:function(e,t){if(n===e)return"";n===t&&(t=100),e=e.replace("#","");var i=parseInt(e.substring(0,2),16),o=parseInt(e.substring(2,4),16),r=parseInt(e.substring(4,6),16),s="rgba("+i+","+o+","+r+","+t/100+")";return s},debounce:function(e,t){var n;return function(){var i=this,o=arguments;window.clearTimeout(n),n=window.setTimeout(function(){e.apply(i,o)},t)}},throttle:function(e,t){var n=!1,i=function(){n=!1};return function(){n||(e(),window.setTimeout(i,t),n=!0)}}},String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)}}(jQuery,document);var PopMakeAdmin,PUM_Admin;!function(e,t,n){"use strict";var i=e(t);pum_admin.I10n,pum_admin.defaults;PUM_Admin={},PopMakeAdmin={init:function(){e("body.post-type-popup form#post").length&&PopMakeAdmin.initialize_popup_page(),e("body.post-type-popup_theme form#post").length&&PopMakeAdmin.initialize_theme_page()},initialize_popup_page:function(){var n=function(){"custom"===e("#popup_display_size").val()?(e(".custom-size-only").show(),e(".responsive-size-only").hide(),e("#popup_display_custom_height_auto").is(":checked")?e(".custom-size-height-only").hide():e(".custom-size-height-only").show()):(e(".custom-size-only").hide(),"auto"!==e("#popup_display_size").val()?(e(".responsive-size-only").show(),e("#popup_display_custom_height_auto").prop("checked",!1)):e(".responsive-size-only").hide())},i=function(){e(".animation-speed, .animation-origin").hide(),"fade"===e("#popup_display_animation_type").val()?e(".animation-speed").show():"none"!==e("#popup_display_animation_type").val()&&e(".animation-speed, .animation-origin").show()},o=function(){var t=e("#popup_display_location"),n=t.parents("table"),i=t.val();e("tr.top, tr.right, tr.left, tr.bottom",n).hide(),i.indexOf("top")>=0&&e("tr.top").show(),i.indexOf("left")>=0&&e("tr.left").show(),i.indexOf("bottom")>=0&&e("tr.bottom").show(),i.indexOf("right")>=0&&e("tr.right").show()};e("#popuptitlediv").insertAfter("#titlediv"),e("#title").prop("required",!0),e(t).on("change","#popup_theme",function(){var t=e(this),n=e("#edit_theme_link"),i=t.val();n.attr("href",n.data("baseurl")+i)}).on("keydown","#popuptitle",function(t){var n=t.keyCode||t.which;9===n&&(t.preventDefault(),e("#title").focus())}).on("keydown","#title, #popuptitle",function(t){var n,i=t.keyCode||t.which;t.shiftKey||9!==i||(t.preventDefault(),n="title"===e(this).attr("id")?"#popuptitle":"#insert-media-button",e(n).focus())}).on("keydown","#popuptitle, #insert-media-button",function(t){var n,i=t.keyCode||t.which;t.shiftKey&&9===i&&(t.preventDefault(),n="popuptitle"===e(this).attr("id")?"#title":"#popuptitle",e(n).focus())}).on("click","#popup_display_custom_height_auto",function(){n()}).on("change","#popup_display_size",function(){"custom"!==e("#popup_display_size").val()&&"auto"!==e("#popup_display_size").val()&&e("#popup_display_position_fixed, #popup_display_scrollable_content").prop("checked",!1),n()}).on("change","#popup_display_animation_type",function(){i()}).on("change","#popup_display_location",function(){o()}),n(),i(),o()},theme_page_listeners:function(){var n=this;e(t).on("change","select.font-family",function(){e("select.font-weight option, select.font-style option",e(this).parents("table")).prop("selected",!1),n.update_font_selectboxes()}).on("change","select.font-weight, select.font-style",function(){n.update_font_selectboxes()}).on("change input focusout","select, input",function(){n.update_theme()}).on("change","select.border-style",function(){var t=e(this);"none"===t.val()?t.parents("table").find(".border-options").hide():t.parents("table").find(".border-options").show()}).on("change","#popup_theme_close_location",function(){var t=e(this),n=t.parents("table");e("tr.topleft, tr.topright, tr.bottomleft, tr.bottomright",n).hide(),e("tr."+t.val(),n).show()})},update_theme:function(){var t,n=e("[name^='popup_theme_']").serializeArray(),i={};for(t=0;n.length>t;t+=1)0===n[t].name.indexOf("popup_theme_")&&(i[n[t].name.replace("popup_theme_","")]=n[t].value);this.retheme_popup(i)},theme_preview_scroll:function(){var t=e("#popmake-theme-editor .empreview, body.post-type-popup_theme form#post #popmake_popup_theme_preview"),n=t.parent(),i=t.offset().top-50;e(window).on("scroll",function(){e("> .postbox:visible",n).index(t)===e("> .postbox:visible",n).length-1&&e(window).scrollTop()>=i?t.css({left:t.offset().left,width:t.width(),height:t.height(),position:"fixed",top:50}):t.removeAttr("style")})},update_font_selectboxes:function(){return e("select.font-family").each(function(){var t,i,o=e(this),r=o.parents("table").find("select.font-weight"),s=o.parents("table").find("select.font-style"),a=r.find("option"),l=s.find("option");if(popmake_google_fonts[o.val()]!==n){if(t=popmake_google_fonts[o.val()],a.hide(),l.hide(),t.variants.length)for(i=0;t.variants.length>i;i+=1)"regular"===t.variants[i]?(e('option[value=""]',r).show(),e('option[value=""]',s).show()):(t.variants[i].indexOf("italic")>=0&&e('option[value="italic"]',s).show(),e('option[value="'+parseInt(t.variants[i],10)+'"]',r).show())}else a.show(),l.show();r.parents("tr:first").show(),r.find("option:visible").length<=1?r.parents("tr:first").hide():r.parents("tr:first").show(),s.parents("tr:first").show(),s.find("option:visible").length<=1?s.parents("tr:first").hide():s.parents("tr:first").show()})},convert_theme_for_preview:function(e){},initialize_theme_page:function(){e("#popuptitlediv").insertAfter("#titlediv");var n=this,i=e("#popup_theme_close_location").parents("table");switch(n.update_theme(),n.theme_page_listeners(),n.theme_preview_scroll(),n.update_font_selectboxes(),e(t).on("click",".popmake-preview",function(t){t.preventDefault(),e("#popmake-preview, #popmake-overlay").css({visibility:"visible"}).show()}).on("click",".popmake-close",function(){e("#popmake-preview, #popmake-overlay").hide()}),e("select.border-style").each(function(){var t=e(this);"none"===t.val()?t.parents("table").find(".border-options").hide():t.parents("table").find(".border-options").show()}),e(".color-picker.background-color").each(function(){var t=e(this);""===t.val()?t.parents("table").find(".background-opacity").hide():t.parents("table").find(".background-opacity").show()}),e("tr.topleft, tr.topright, tr.bottomleft, tr.bottomright",i).hide(),e("#popup_theme_close_location").val()){case"topleft":e("tr.topleft",i).show();break;case"topright":e("tr.topright",i).show();break;case"bottomleft":e("tr.bottomleft",i).show();break;case"bottomright":e("tr.bottomright",i).show()}},retheme_popup:function(i){var o,r=e(".empreview .example-popup-overlay, #popmake-overlay"),s=e(".empreview .example-popup, #popmake-preview"),a=e(".title, .popmake-title",s),l=e(".content, .popmake-content",s),c=e(".close-popup, .popmake-close",s),p="yes"===i.container_boxshadow_inset?"inset ":"",u="yes"===i.close_boxshadow_inset?"inset ":"";switch(this.convert_theme_for_preview(i),popmake_google_fonts[i.title_font_family]!==n&&(o="//fonts.googleapis.com/css?family="+i.title_font_family,"normal"!==i.title_font_weight&&(o+=":"+i.title_font_weight),"italic"===i.title_font_style&&(-1===o.indexOf(":")&&(o+=":"),o+="italic"),e("body").append('<link href="'+o+'" rel="stylesheet" type="text/css">')),popmake_google_fonts[i.content_font_family]!==n&&(o="//fonts.googleapis.com/css?family="+i.content_font_family,"normal"!==i.content_font_weight&&(o+=":"+i.content_font_weight),"italic"===i.content_font_style&&(-1===o.indexOf(":")&&(o+=":"),o+="italic"),e("body").append('<link href="'+o+'" rel="stylesheet" type="text/css">')),popmake_google_fonts[i.close_font_family]!==n&&(o="//fonts.googleapis.com/css?family="+i.close_font_family,"normal"!==i.close_font_weight&&(o+=":"+i.close_font_weight),"italic"===i.close_font_style&&(-1===o.indexOf(":")&&(o+=":"),o+="italic"),e("body").append('<link href="'+o+'" rel="stylesheet" type="text/css">')),r.removeAttr("style").css({backgroundColor:PUMUtils.convert_hex(i.overlay_background_color,i.overlay_background_opacity)}),s.removeAttr("style").css({padding:i.container_padding+"px",backgroundColor:PUMUtils.convert_hex(i.container_background_color,i.container_background_opacity),borderStyle:i.container_border_style,borderColor:i.container_border_color,borderWidth:i.container_border_width+"px",borderRadius:i.container_border_radius+"px",boxShadow:p+i.container_boxshadow_horizontal+"px "+i.container_boxshadow_vertical+"px "+i.container_boxshadow_blur+"px "+i.container_boxshadow_spread+"px "+PUMUtils.convert_hex(i.container_boxshadow_color,i.container_boxshadow_opacity)}),a.removeAttr("style").css({color:i.title_font_color,lineHeight:i.title_line_height+"px",fontSize:i.title_font_size+"px",fontFamily:i.title_font_family,fontStyle:i.title_font_style,fontWeight:i.title_font_weight,textAlign:i.title_text_align,textShadow:i.title_textshadow_horizontal+"px "+i.title_textshadow_vertical+"px "+i.title_textshadow_blur+"px "+PUMUtils.convert_hex(i.title_textshadow_color,i.title_textshadow_opacity)}),l.removeAttr("style").css({color:i.content_font_color,fontFamily:i.content_font_family,fontStyle:i.content_font_style,fontWeight:i.content_font_weight}),c.html(i.close_text).removeAttr("style").css({padding:i.close_padding+"px",height:i.close_height>0?i.close_height+"px":"auto",width:i.close_width>0?i.close_width+"px":"auto",backgroundColor:PUMUtils.convert_hex(i.close_background_color,i.close_background_opacity),color:i.close_font_color,lineHeight:i.close_line_height+"px",fontSize:i.close_font_size+"px",fontFamily:i.close_font_family,fontWeight:i.close_font_weight,fontStyle:i.close_font_style,borderStyle:i.close_border_style,borderColor:i.close_border_color,borderWidth:i.close_border_width+"px",borderRadius:i.close_border_radius+"px",boxShadow:u+i.close_boxshadow_horizontal+"px "+i.close_boxshadow_vertical+"px "+i.close_boxshadow_blur+"px "+i.close_boxshadow_spread+"px "+PUMUtils.convert_hex(i.close_boxshadow_color,i.close_boxshadow_opacity),textShadow:i.close_textshadow_horizontal+"px "+i.close_textshadow_vertical+"px "+i.close_textshadow_blur+"px "+PUMUtils.convert_hex(i.close_textshadow_color,i.close_textshadow_opacity)}),i.close_location){case"topleft":c.css({top:i.close_position_top+"px",left:i.close_position_left+"px"});break;case"topright":c.css({top:i.close_position_top+"px",right:i.close_position_right+"px"});break;case"bottomleft":c.css({bottom:i.close_position_bottom+"px",left:i.close_position_left+"px"});break;case"bottomright":c.css({bottom:i.close_position_bottom+"px",right:i.close_position_right+"px"})}e(t).trigger("popmake-admin-retheme",[i])}},i.ready(function(){PopMakeAdmin.init(),i.trigger("pum_init")})}(jQuery,document);
assets/js/site.js CHANGED
@@ -79,7 +79,9 @@ var PUM;
79
  if (typeof method === 'object' || !method) {
80
  return $.fn.popmake.methods.init.apply(this, arguments);
81
  }
82
- $.error('Method ' + method + ' does not exist on $.fn.popmake');
 
 
83
  };
84
 
85
  // Defines the core $.popmake methods.
@@ -857,8 +859,10 @@ var PUM_Analytics;
857
  if ($.fn.popmake.overlay_animations[style]) {
858
  return $.fn.popmake.overlay_animations[style].apply(this, [duration, callback]);
859
  }
860
- $.error('Animation style ' + style + ' does not exist.');
861
 
 
 
 
862
  return this;
863
  };
864
 
@@ -867,14 +871,20 @@ var PUM_Analytics;
867
  if ($.fn.popmake.animations[style]) {
868
  return $.fn.popmake.animations[style].apply(this, Array.prototype.slice.call(arguments, 1));
869
  }
870
- $.error('Animation style ' + style + ' does not exist.');
 
 
871
  return this;
872
  };
873
 
874
  $.fn.popmake.animations = {
875
  none: function (callback) {
876
- PUM.getPopup(this)
877
- .popmake('animate_overlay', 'none', 0, function () {
 
 
 
 
878
  // Fire user passed callback.
879
  if (callback !== undefined) {
880
  callback();
@@ -1203,7 +1213,9 @@ var pm_cookie, pm_remove_cookie;
1203
  if ($.fn.popmake.cookies[type]) {
1204
  return $.fn.popmake.cookies[type].apply(this, Array.prototype.slice.call(arguments, 1));
1205
  }
1206
- $.error('Cookie type ' + type + ' does not exist.');
 
 
1207
  return this;
1208
  };
1209
 
@@ -1333,7 +1345,9 @@ var pm_cookie, pm_remove_cookie;
1333
  if ($.fn.popmake.triggers[type]) {
1334
  return $.fn.popmake.triggers[type].apply(this, Array.prototype.slice.call(arguments, 1));
1335
  }
1336
- $.error('Trigger type ' + type + ' does not exist.');
 
 
1337
  return this;
1338
  };
1339
 
@@ -1415,7 +1429,7 @@ var pm_cookie, pm_remove_cookie;
1415
  }
1416
 
1417
  // If trigger has the class do-default we don't prevent default actions.
1418
- if (!$(e.target).hasClass('do-default')) {
1419
  e.preventDefault();
1420
  e.stopPropagation();
1421
  }
79
  if (typeof method === 'object' || !method) {
80
  return $.fn.popmake.methods.init.apply(this, arguments);
81
  }
82
+ if (window.console) {
83
+ console.warn('Method ' + method + ' does not exist on $.fn.popmake');
84
+ }
85
  };
86
 
87
  // Defines the core $.popmake methods.
859
  if ($.fn.popmake.overlay_animations[style]) {
860
  return $.fn.popmake.overlay_animations[style].apply(this, [duration, callback]);
861
  }
 
862
 
863
+ if (window.console) {
864
+ console.warn('Animation style ' + style + ' does not exist.');
865
+ }
866
  return this;
867
  };
868
 
871
  if ($.fn.popmake.animations[style]) {
872
  return $.fn.popmake.animations[style].apply(this, Array.prototype.slice.call(arguments, 1));
873
  }
874
+ if (window.console) {
875
+ console.warn('Animation style ' + style + ' does not exist.');
876
+ }
877
  return this;
878
  };
879
 
880
  $.fn.popmake.animations = {
881
  none: function (callback) {
882
+ var $popup = PUM.getPopup(this);
883
+
884
+ // Ensure the container is visible immediately.
885
+ $popup.popmake('getContainer').show(0);
886
+
887
+ $popup.popmake('animate_overlay', 'none', 0, function () {
888
  // Fire user passed callback.
889
  if (callback !== undefined) {
890
  callback();
1213
  if ($.fn.popmake.cookies[type]) {
1214
  return $.fn.popmake.cookies[type].apply(this, Array.prototype.slice.call(arguments, 1));
1215
  }
1216
+ if (window.console) {
1217
+ console.warn('Cookie type ' + type + ' does not exist.');
1218
+ }
1219
  return this;
1220
  };
1221
 
1345
  if ($.fn.popmake.triggers[type]) {
1346
  return $.fn.popmake.triggers[type].apply(this, Array.prototype.slice.call(arguments, 1));
1347
  }
1348
+ if (window.console) {
1349
+ console.warn('Trigger type ' + type + ' does not exist.');
1350
+ }
1351
  return this;
1352
  };
1353
 
1429
  }
1430
 
1431
  // If trigger has the class do-default we don't prevent default actions.
1432
+ if (!settings.do_default && !$(e.target).hasClass('do-default')) {
1433
  e.preventDefault();
1434
  e.stopPropagation();
1435
  }
assets/js/site.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){"use strict";void 0===e.fn.on&&(e.fn.on=function(e,t,o){return this.delegate(t,e,o)}),void 0===e.fn.off&&(e.fn.off=function(e,t,o){return this.undelegate(t,e,o)}),void 0===e.fn.bindFirst&&(e.fn.bindFirst=function(t,o){var n,i,a=e(this);a.unbind(t,o),a.bind(t,o),n=e._data(a[0]).events,i=n[t],i.unshift(i.pop()),n[t]=i}),void 0===e.fn.outerHtml&&(e.fn.outerHtml=function(){var t=e(this).clone(),o=e("<div/>").append(t);return o.html()}),void 0===Date.now&&(Date.now=function(){return(new Date).getTime()})}(jQuery);var PUM;!function(e,t,o){"use strict";PUM={getPopup:function(t){var o=e(t);return o.hasClass("pum-overlay")?o:o.hasClass("popmake")?o.parents(".pum-overlay"):o.parents(".pum-overlay").length?o.parents(".pum-overlay"):e()}},e.fn.popmake=function(t){return e.fn.popmake.methods[t]?e.fn.popmake.methods[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist on $.fn.popmake"):e.fn.popmake.methods.init.apply(this,arguments)},e.fn.popmake.methods={init:function(t){return this.each(function(){var o=PUM.getPopup(this),n=e.extend(!0,{},e.fn.popmake.defaults,o.data("popmake"),t);return n.theme_id<=0&&(n.theme_id=popmake_default_theme),e(window).on("resize",function(){(o.hasClass("pum-active")||o.find(".popmake.active").length)&&e.fn.popmake.utilities.throttle(setTimeout(function(){o.popmake("reposition")},25),500,!1)}),"string"==typeof popmake_powered_by&&""!==popmake_powered_by&&o.popmake("getContent").append(e(popmake_powered_by)),o.find(".pum-container").data("popmake",n),o.data("popmake",n).trigger("pumInit"),this})},getOverlay:function(){return e(this)},getContainer:function(){return e(this).find(".pum-container")},getTitle:function(){return e(this).find(".pum-title")||null},getContent:function(){return e(this).find(".pum-content")||null},getClose:function(){return e(this).find(".pum-content + .pum-close")||null},getSettings:function(){return e(this).data("popmake")},open:function(t){var n=PUM.getPopup(this),i=n.popmake("getContainer"),a=n.popmake("getClose"),s=n.popmake("getSettings"),p=e("html");return s.meta.display.stackable||n.popmake("close_all"),n.addClass("pum-active").trigger("pumBeforeOpen"),s.meta.close.button_delay>0&&a.fadeOut(0),n.hasClass("preventOpen")||i.hasClass("preventOpen")?(n.removeClass("preventOpen").removeClass("pum-active").trigger("pumOpenPrevented"),this):(p.addClass("pum-open"),s.meta.display.overlay_disabled?p.addClass("pum-open-overlay-disabled"):p.addClass("pum-open-overlay"),s.meta.display.position_fixed!==o&&s.meta.display.position_fixed?p.addClass("pum-open-fixed"):p.addClass("pum-open-scrollable"),n.popmake("setup_close").popmake("reposition").css({"z-index":s.meta.display.overlay_zindex||1999999998}).popmake("animate",s.meta.display.animation_type,function(){s.meta.close.button_delay>0&&setTimeout(function(){a.fadeIn()},s.meta.close.button_delay),n.trigger("pumAfterOpen"),e.fn.popmake.last_open_popup=n,t!==o&&t()}),this)},setup_close:function(){var t=PUM.getPopup(this),o=t.popmake("getClose").add(e(".popmake-close",t)),n=t.popmake("getSettings");return o.off("click.popmake click.pum").on("click.popmake click.pum",function(o){o.preventDefault(),e.fn.popmake.last_close_trigger="Close Button",t.popmake("close")}),(n.meta.close.esc_press||n.meta.close.f4_press)&&e(window).off("keyup.popmake").on("keyup.popmake",function(o){27===o.keyCode&&n.meta.close.esc_press&&(e.fn.popmake.last_close_trigger="ESC Key",t.popmake("close")),115===o.keyCode&&n.meta.close.f4_press&&(e.fn.popmake.last_close_trigger="F4 Key",t.popmake("close"))}),n.meta.close.overlay_click&&t.off("click.popmake").on("click.popmake",function(o){o.target===t[0]&&(e.fn.popmake.last_close_trigger="Overlay Click",t.popmake("close"))}),t.trigger("pumSetupClose"),this},close:function(t){return this.each(function(){var n=PUM.getPopup(this),i=n.popmake("getContainer"),a=n.popmake("getClose").add(e(".popmake-close",n));return n.trigger("pumBeforeClose"),n.hasClass("preventClose")||i.hasClass("preventClose")?(n.removeClass("preventClose").trigger("pumClosePrevented"),this):(i.fadeOut("fast",function(){n.is(":visible")&&n.fadeOut("fast"),e(window).off("keyup.popmake"),n.off("click.popmake"),a.off("click.popmake"),e("html").removeClass("pum-open").removeClass("pum-open-scrollable").removeClass("pum-open-overlay-disabled").removeClass("pum-open-fixed"),n.removeClass("pum-active").trigger("pumAfterClose"),i.find("iframe").filter('[src*="youtube"],[src*="vimeo"]').each(function(){var t=e(this),o=t.attr("src"),n=o.replace("autoplay=1","1=1");n!==o&&(o=n),t.prop("src",o)}),i.find("video").each(function(){this.pause()}),t!==o&&t()}),this)})},close_all:function(){return e(".pum-active").popmake("close"),this},reposition:function(t){var o=PUM.getPopup(this).trigger("pumBeforeReposition"),n=o.popmake("getContainer"),i=o.popmake("getSettings"),a=i.meta.display,s=a.location,p={my:"",at:""},r={overlay:null,container:null};return s.indexOf("left")>=0&&(p={my:p.my+" left"+(0!==a.position_left?"+"+a.position_left:""),at:p.at+" left"}),s.indexOf("right")>=0&&(p={my:p.my+" right"+(0!==a.position_right?"-"+a.position_right:""),at:p.at+" right"}),s.indexOf("center")>=0&&(p="center"===s?{my:"center",at:"center"}:{my:p.my+" center",at:p.at+" center"}),s.indexOf("top")>=0&&(p={my:p.my+" top"+(0!==a.position_top?"+"+(e("body").hasClass("admin-bar")?parseInt(a.position_top,10)+32:a.position_top):""),at:p.at+" top"}),s.indexOf("bottom")>=0&&(p={my:p.my+" bottom"+(0!==a.position_bottom?"-"+a.position_bottom:""),at:p.at+" bottom"}),p.my=e.trim(p.my),p.at=e.trim(p.at),p.of=window,p.collision="none",p.using="function"==typeof t?t:e.fn.popmake.callbacks.reposition_using,o.is(":hidden")&&(r.overlay=o.css("opacity"),o.css({opacity:0}).show()),n.is(":hidden")&&(r.container=n.css("opacity"),n.css({opacity:0}).show()),a.position_fixed&&n.addClass("fixed"),"custom"===i.meta.display.size?n.css({width:i.meta.display.custom_width+i.meta.display.custom_width_unit,height:i.meta.display.custom_height_auto?"auto":i.meta.display.custom_height+i.meta.display.custom_height_unit}):"auto"!==i.meta.display.size&&n.addClass("responsive").css({minWidth:""!==i.meta.display.responsive_min_width?i.meta.display.responsive_min_width+i.meta.display.responsive_min_width_unit:"auto",maxWidth:""!==i.meta.display.responsive_max_width?i.meta.display.responsive_max_width+i.meta.display.responsive_max_width_unit:"auto"}),n.addClass("custom-position").position(p).trigger("popmakeAfterReposition"),r.overlay&&o.css({opacity:r.overlay}).hide(),r.container&&n.css({opacity:r.container}).hide(),this},retheme:function(t){e(this).trigger("popmakeBeforeRetheme");var n,i,a=PUM.getPopup(this),s=a.popmake("getContainer"),p=a.popmake("getTitle"),r=a.popmake("getContent"),c=a.popmake("getClose"),l=a.popmake("getSettings");switch(t===o&&(t=e.fn.popmake.themes[l.theme_id],t===o&&(t=e.fn.popmake.themes[1])),n="yes"===t.container.boxshadow_inset?"inset ":"",i="yes"===t.close.boxshadow_inset?"inset ":"",a.removeAttr("style").css({backgroundColor:e.fn.popmake.utilities.convert_hex(t.overlay.background_color,t.overlay.background_opacity),zIndex:l.meta.display.overlay_zindex||998}),s.css({padding:t.container.padding+"px",backgroundColor:e.fn.popmake.utilities.convert_hex(t.container.background_color,t.container.background_opacity),borderStyle:t.container.border_style,borderColor:t.container.border_color,borderWidth:t.container.border_width+"px",borderRadius:t.container.border_radius+"px",boxShadow:n+t.container.boxshadow_horizontal+"px "+t.container.boxshadow_vertical+"px "+t.container.boxshadow_blur+"px "+t.container.boxshadow_spread+"px "+e.fn.popmake.utilities.convert_hex(t.container.boxshadow_color,t.container.boxshadow_opacity),zIndex:l.meta.display.zindex||999}),p.css({color:t.title.font_color,lineHeight:t.title.line_height+"px",fontSize:t.title.font_size+"px",fontFamily:t.title.font_family,fontWeight:t.title.font_weight,fontStyle:t.title.font_style,textAlign:t.title.text_align,textShadow:t.title.textshadow_horizontal+"px "+t.title.textshadow_vertical+"px "+t.title.textshadow_blur+"px "+e.fn.popmake.utilities.convert_hex(t.title.textshadow_color,t.title.textshadow_opacity)}),r.css({color:t.content.font_color,fontFamily:t.content.font_family,fontWeight:t.content.font_weight,fontStyle:t.content.font_style}),e("p, label",r).css({color:t.content.font_color,fontFamily:t.content.font_family}),c.html(t.close.text).css({padding:t.close.padding+"px",height:t.close.height+"px",width:t.close.width+"px",backgroundColor:e.fn.popmake.utilities.convert_hex(t.close.background_color,t.close.background_opacity),color:t.close.font_color,lineHeight:t.close.line_height+"px",fontSize:t.close.font_size+"px",fontWeight:t.close.font_weight,fontStyle:t.close.font_style,fontFamily:t.close.font_family,borderStyle:t.close.border_style,borderColor:t.close.border_color,borderWidth:t.close.border_width+"px",borderRadius:t.close.border_radius+"px",boxShadow:i+t.close.boxshadow_horizontal+"px "+t.close.boxshadow_vertical+"px "+t.close.boxshadow_blur+"px "+t.close.boxshadow_spread+"px "+e.fn.popmake.utilities.convert_hex(t.close.boxshadow_color,t.close.boxshadow_opacity),textShadow:t.close.textshadow_horizontal+"px "+t.close.textshadow_vertical+"px "+t.close.textshadow_blur+"px "+e.fn.popmake.utilities.convert_hex(t.close.textshadow_color,t.close.textshadow_opacity),left:"auto",right:"auto",bottom:"auto",top:"auto"}),t.close.location){case"topleft":c.css({top:t.close.position_top+"px",left:t.close.position_left+"px"});break;case"topright":c.css({top:t.close.position_top+"px",right:t.close.position_right+"px"});break;case"bottomleft":c.css({bottom:t.close.position_bottom+"px",left:t.close.position_left+"px"});break;case"bottomright":c.css({bottom:t.close.position_bottom+"px",right:t.close.position_right+"px"})}return a.trigger("popmakeAfterRetheme",[t]),this},animation_origin:function(t){var o=PUM.getPopup(this),n=o.popmake("getContainer"),i={my:"",at:""};switch(t){case"top":i={my:"left+"+n.offset().left+" bottom-100",at:"left top"};break;case"bottom":i={my:"left+"+n.offset().left+" top+100",at:"left bottom"};break;case"left":i={my:"right top+"+n.offset().top,at:"left top"};break;case"right":i={my:"left top+"+n.offset().top,at:"right top"};break;default:t.indexOf("left")>=0&&(i={my:i.my+" right",at:i.at+" left"}),t.indexOf("right")>=0&&(i={my:i.my+" left",at:i.at+" right"}),t.indexOf("center")>=0&&(i={my:i.my+" center",at:i.at+" center"}),t.indexOf("top")>=0&&(i={my:i.my+" bottom-100",at:i.at+" top"}),t.indexOf("bottom")>=0&&(i={my:i.my+" top+100",at:i.at+" bottom"}),i.my=e.trim(i.my),i.at=e.trim(i.at)}return i.of=window,i.collision="none",i}}}(jQuery,document);var PUM_Accessibility;!function(e,t,o){"use strict";var n,i,a,s="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]";PUM_Accessibility={forceFocus:function(t){a&&!e.contains(a,t.target)&&(t.stopPropagation(),PUM_Accessibility.setFocusToFirstItem())},trapTabKey:function(t){if(9===t.keyCode){var o=a.find(".pum-container *").filter(s).filter(":visible"),n=e(":focus"),i=o.length,p=o.index(n);t.shiftKey?0===p&&(o.get(i-1).focus(),t.preventDefault()):p===i-1&&(o.get(0).focus(),t.preventDefault())}},setFocusToFirstItem:function(){a.find(".pum-container *").filter(s).filter(":visible").filter(":not(.pum-close)").first().focus()}},e(t).on("pumInit",".pum",function(){PUM.getPopup(this).find("[tabindex]").each(function(){var t=e(this);t.data("tabindex",t.attr("tabindex")).prop("tabindex","0")})}).on("pumBeforeOpen",".pum",function(){var o=PUM.getPopup(this),s=e(":focus");o.has(s).length||(i=s),a=o.on("keydown.pum_accessibility",PUM_Accessibility.trapTabKey).attr("aria-hidden","false"),n=e("body > *").filter(":visible").not(a),n.attr("aria-hidden","true"),e(t).on("focus.pum_accessibility",PUM_Accessibility.forceFocus),PUM_Accessibility.setFocusToFirstItem()}).on("pumAfterOpen",".pum",function(){}).on("pumBeforeClose",".pum",function(){}).on("pumAfterClose",".pum",function(){var o=PUM.getPopup(this);o.off("keydown.pum_accessibility").attr("aria-hidden","true"),n&&(n.attr("aria-hidden","false"),n=null),i.length&&i.focus(),a=null,e(t).off("focus.pum_accessibility")}).on("pumSetupClose",".pum",function(){}).on("pumOpenPrevented",".pum",function(){}).on("pumClosePrevented",".pum",function(){}).on("pumBeforeReposition",".pum",function(){})}(jQuery,document);var PUM_Analytics;!function(e,t,o){"use strict";e.fn.popmake.last_open_trigger=null,e.fn.popmake.last_close_trigger=null,e.fn.popmake.conversion_trigger=null,PUM_Analytics={send:function(t,n){var i=new Image;t=e.extend({},{action:"pum_analytics"},t),t._cache=+new Date,n!==o&&i.addEventListener("load",function(){n(t)}),i.src=pum_vars.ajaxurl+"?"+e.param(t)}},e(t).on("pumAfterOpen.core_analytics","body > .pum",function(){var t=PUM.getPopup(this),o={pid:parseInt(t.popmake("getSettings").id,10)||null,type:"open"};o.pid>0&&!e("body").hasClass("single-popup")&&PUM_Analytics.send(o)})}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.methods.animate_overlay=function(t,o,n){var i=PUM.getPopup(this).popmake("getSettings");return i.meta.display.overlay_disabled?e.fn.popmake.overlay_animations.none.apply(this,[o,n]):e.fn.popmake.overlay_animations[t]?e.fn.popmake.overlay_animations[t].apply(this,[o,n]):(e.error("Animation style "+t+" does not exist."),this)},e.fn.popmake.methods.animate=function(t){return e.fn.popmake.animations[t]?e.fn.popmake.animations[t].apply(this,Array.prototype.slice.call(arguments,1)):(e.error("Animation style "+t+" does not exist."),this)},e.fn.popmake.animations={none:function(e){return PUM.getPopup(this).popmake("animate_overlay","none",0,function(){e!==o&&e()}),this},slide:function(e){var t=PUM.getPopup(this).show(0).css({opacity:0}),n=t.popmake("getContainer").show(0).css({opacity:0}),i=t.popmake("getSettings"),a=i.meta.display.animation_speed/2,s=t.popmake("animation_origin",i.meta.display.animation_origin);return n.position(s).css({opacity:1}),t.css({opacity:1}).popmake("animate_overlay","fade",a,function(){n.popmake("reposition",function(t){n.animate(t,a,"swing",function(){e!==o&&e()})})}),this},fade:function(e){var t=PUM.getPopup(this),n=t.popmake("getContainer"),i=t.popmake("getSettings"),a=i.meta.display.animation_speed/2;return n.show(0).css({opacity:0}),t.popmake("animate_overlay","fade",a,function(){n.animate({opacity:1},a,"swing",function(){e!==o&&e()})}),this},fadeAndSlide:function(e){var t=PUM.getPopup(this).show(0).css({opacity:0}),n=t.popmake("getContainer").show(0).css({opacity:0}),i=t.popmake("getSettings"),a=i.meta.display.animation_speed/2,s=t.popmake("animation_origin",i.meta.display.animation_origin);return n.position(s),t.hide().css({opacity:1}).popmake("animate_overlay","fade",a,function(){n.popmake("reposition",function(t){t.opacity=1,n.animate(t,a,"swing",function(){e!==o&&e()})})}),this},grow:function(t){return e.fn.popmake.animations.fade.apply(this,arguments)},growAndSlide:function(t){return e.fn.popmake.animations.fadeAndSlide.apply(this,arguments)}},e.fn.popmake.overlay_animations={none:function(e,t){PUM.getPopup(this).show(e,t)},fade:function(e,t){PUM.getPopup(this).fadeIn(e,t)},slide:function(e,t){PUM.getPopup(this).slideDown(e,t)}}}(jQuery,document),function(e,t,o){"use strict";e(t).on("pumInit",".pum",function(){e(this).popmake("getContainer").trigger("popmakeInit")}).on("pumBeforeOpen",".pum",function(){e(this).popmake("getContainer").addClass("active").trigger("popmakeBeforeOpen")}).on("pumAfterOpen",".pum",function(){e(this).popmake("getContainer").trigger("popmakeAfterOpen")}).on("pumBeforeClose",".pum",function(){e(this).popmake("getContainer").trigger("popmakeBeforeClose")}).on("pumAfterClose",".pum",function(){e(this).popmake("getContainer").removeClass("active").trigger("popmakeAfterClose")}).on("pumSetupClose",".pum",function(){e(this).popmake("getContainer").trigger("popmakeSetupClose")}).on("pumOpenPrevented",".pum",function(){e(this).popmake("getContainer").removeClass("preventOpen").removeClass("active")}).on("pumClosePrevented",".pum",function(){e(this).popmake("getContainer").removeClass("preventClose")}).on("pumBeforeReposition",".pum",function(){e(this).popmake("getContainer").trigger("popmakeBeforeReposition")})}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.callbacks={reposition_using:function(t){e(this).css(t)}}}(jQuery,document);var pm_cookie,pm_remove_cookie;!function(e,t,o){"use strict";e.fn.popmake.cookie={defaults:{},raw:!1,json:!0,pluses:/\+/g,encode:function(t){return e.fn.popmake.cookie.raw?t:encodeURIComponent(t)},decode:function(t){return e.fn.popmake.cookie.raw?t:decodeURIComponent(t)},stringifyCookieValue:function(t){return e.fn.popmake.cookie.encode(e.fn.popmake.cookie.json?JSON.stringify(t):String(t))},parseCookieValue:function(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(e.fn.popmake.cookie.pluses," ")),e.fn.popmake.cookie.json?JSON.parse(t):t}catch(o){}},read:function(t,o){var n=e.fn.popmake.cookie.raw?t:e.fn.popmake.cookie.parseCookieValue(t);return e.isFunction(o)?o(n):n},process:function(n,i,a,s){var p,r,c,l,m,u=n?o:{},f=new Date,d=t.cookie?t.cookie.split("; "):[];if(i!==o&&!e.isFunction(i)){switch(typeof a){case"number":f.setTime(+f+864e5*a),a=f;break;case"string":f.setTime(1e3*e.fn.popmake.utilities.strtotime("+"+a)),a=f}return void(t.cookie=[e.fn.popmake.cookie.encode(n),"=",e.fn.popmake.cookie.stringifyCookieValue(i),a?"; expires="+a.toUTCString():"",s?"; path="+s:""].join(""))}for(l=0,m=d.length;m>l;l+=1){if(p=d[l].split("="),r=e.fn.popmake.cookie.decode(p.shift()),c=p.join("="),n&&n===r){u=e.fn.popmake.cookie.read(c,i);break}c=e.fn.popmake.cookie.read(c),n||c===o||(u[r]=c)}return u},remove:function(t){return e.pm_cookie(t)===o?!1:(e.pm_cookie(t,"",-1),!e.pm_cookie(t))}},pm_cookie=e.pm_cookie=e.fn.popmake.cookie.process,pm_remove_cookie=e.pm_remove_cookie=e.fn.popmake.cookie.remove}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.methods.addCookie=function(t){return e.fn.popmake.cookies[t]?e.fn.popmake.cookies[t].apply(this,Array.prototype.slice.call(arguments,1)):(e.error("Cookie type "+t+" does not exist."),this)},e.fn.popmake.methods.setCookie=function(t){e.pm_cookie(t.name,!0,t.session?null:t.time,t.path?"/":null)},e.fn.popmake.cookies={on_popup_open:function(e){var t=PUM.getPopup(this);t.on("pumAfterOpen",function(){t.popmake("setCookie",e)})},on_popup_close:function(e){var t=PUM.getPopup(this);t.on("pumBeforeClose",function(){t.popmake("setCookie",e)})},manual:function(e){var t=PUM.getPopup(this);t.on("pumSetCookie",function(){t.popmake("setCookie",e)})}},e(t).on("pumInit",".pum",function(){var e,t=PUM.getPopup(this),n=t.popmake("getSettings"),i=n.cookies,a=null;if(i!==o&&i.length)for(e=0;i.length>e;e+=1)a=i[e],t.popmake("addCookie",a.event,a.settings)})}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.defaults={meta:{display:{stackable:0,overlay_disabled:0,size:"medium",responsive_max_width:"",responsive_max_width_unit:"%",responsive_min_width:"",responsive_min_width_unit:"%",custom_width:"",custom_width_unit:"%",custom_height:"",custom_height_unit:"em",custom_height_auto:0,location:"center top",position_top:100,position_left:0,position_bottom:0,position_right:0,position_fixed:0,animation_type:"fade",animation_speed:350,animation_origin:"center top"},close:{overlay_click:0,esc_press:0,f4_press:0}},container:{active_class:"active",attr:{"class":"popmake"}},title:{attr:{"class":"popmake-title"}},content:{attr:{"class":"popmake-content"}},close:{close_speed:0,attr:{"class":"popmake-close"}},overlay:{attr:{id:"popmake-overlay","class":"popmake-overlay"}}}}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.methods.addTrigger=function(t){return e.fn.popmake.triggers[t]?e.fn.popmake.triggers[t].apply(this,Array.prototype.slice.call(arguments,1)):(e.error("Trigger type "+t+" does not exist."),this)},e.fn.popmake.methods.checkCookies=function(t){var n;if(t.cookie===o||t.cookie.name===o||null===t.cookie.name)return!1;switch(typeof t.cookie.name){case"object":case"array":for(n=0;t.cookie.name.length>n;n+=1)if(e.pm_cookie(t.cookie.name[n])!==o)return!0;break;case"string":if(e.pm_cookie(t.cookie.name)!==o)return!0}return!1},e.fn.popmake.triggers={auto_open:function(t){var o=PUM.getPopup(this);setTimeout(function(){o.hasClass("pum-open")||o.popmake("getContainer").hasClass("active")||o.popmake("checkCookies",t)||(e.fn.popmake.last_open_trigger="Auto Open - Delay: "+t.delay,o.popmake("open"))},t.delay)},click_open:function(o){var n=PUM.getPopup(this),i=n.popmake("getSettings"),a=".popmake-"+i.id+", .popmake-"+decodeURIComponent(i.slug);""!==o.extra_selectors&&(a+=", "+o.extra_selectors),e(a).addClass("pum-trigger").css({cursor:"pointer"}),e(t).on("click.pumTrigger",a,function(t){n.has(this).length>0||n.popmake("checkCookies",o)||(e(t.target).hasClass("do-default")||(t.preventDefault(),t.stopPropagation()),e.fn.popmake.last_open_trigger=this,n.popmake("open"))})},admin_debug:function(){PUM.getPopup(this).popmake("open")}},e(t).on("pumInit",".pum",function(){var e,t=PUM.getPopup(this),n=t.popmake("getSettings"),i=n.triggers,a=null;if(i!==o&&i.length)for(e=0;i.length>e;e+=1)a=i[e],t.popmake("addTrigger",a.type,a.settings)})}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.utilities={convert_hex:function(e,t){e=e.replace("#","");var o=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),i=parseInt(e.substring(4,6),16);return"rgba("+o+","+n+","+i+","+t/100+")"},debounce:function(e,t){var o;return function(){var n=this,i=arguments;window.clearTimeout(o),o=window.setTimeout(function(){e.apply(n,i)},t)}},throttle:function(e,t){var o=!1,n=function(){o=!1};return function(){o||(e.apply(this,arguments),window.setTimeout(n,t),o=!0)}},getXPath:function(t){var o,n,i,a,s,p=[];return e.each(e(t).parents(),function(t,r){return o=e(r),n=o.attr("id")||"",i=o.attr("class")||"",a=o.get(0).tagName.toLowerCase(),s=o.parent().children(a).index(o),"body"===a?!1:(i.length>0&&(i=i.split(" "),i=i[0]),void p.push(a+(n.length>0?"#"+n:i.length>0?"."+i.split(" ").join("."):":eq("+s+")")))}),p.reverse().join(" > ")},strtotime:function(e,t){function n(e,t,n){var i,a=l[t];a!==o&&(i=a-c.getDay(),0===i?i=7*n:i>0&&"last"===e?i-=7:0>i&&"next"===e&&(i+=7),c.setDate(c.getDate()+i))}function i(e){var t=e.split(" "),o=t[0],i=t[1].substring(0,3),a=/\d+/.test(o),s="ago"===t[2],p=("last"===o?-1:1)*(s?-1:1);if(a&&(p*=parseInt(o,10)),m.hasOwnProperty(i)&&!t[1].match(/^mon(day|\.)?$/i))return c["set"+m[i]](c["get"+m[i]]()+p);if("wee"===i)return c.setDate(c.getDate()+7*p);if("next"===o||"last"===o)n(o,i,p);else if(!a)return!1;return!0}var a,s,p,r,c,l,m,u,f,d,h,g=!1;if(!e)return g;if(e=e.replace(/^\s+|\s+$/g,"").replace(/\s{2,}/g," ").replace(/[\t\r\n]/g,"").toLowerCase(),s=e.match(/^(\d{1,4})([\-\.\/\:])(\d{1,2})([\-\.\/\:])(\d{1,4})(?:\s(\d{1,2}):(\d{2})?:?(\d{2})?)?(?:\s([A-Z]+)?)?$/),s&&s[2]===s[4])if(s[1]>1901)switch(s[2]){case"-":return s[3]>12||s[5]>31?g:new Date(s[1],parseInt(s[3],10)-1,s[5],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3;case".":return g;case"/":return s[3]>12||s[5]>31?g:new Date(s[1],parseInt(s[3],10)-1,s[5],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3}else if(s[5]>1901)switch(s[2]){case"-":return s[3]>12||s[1]>31?g:new Date(s[5],parseInt(s[3],10)-1,s[1],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3;case".":return s[3]>12||s[1]>31?g:new Date(s[5],parseInt(s[3],10)-1,s[1],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3;case"/":return s[1]>12||s[3]>31?g:new Date(s[5],parseInt(s[1],10)-1,s[3],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3}else switch(s[2]){case"-":return s[3]>12||s[5]>31||s[1]<70&&s[1]>38?g:(r=s[1]>=0&&s[1]<=38?+s[1]+2e3:s[1],new Date(r,parseInt(s[3],10)-1,s[5],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3);case".":return s[5]>=70?s[3]>12||s[1]>31?g:new Date(s[5],parseInt(s[3],10)-1,s[1],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3:s[5]<60&&!s[6]?s[1]>23||s[3]>59?g:(p=new Date,new Date(p.getFullYear(),p.getMonth(),p.getDate(),s[1]||0,s[3]||0,s[5]||0,s[9]||0)/1e3):g;case"/":return s[1]>12||s[3]>31||s[5]<70&&s[5]>38?g:(r=s[5]>=0&&s[5]<=38?+s[5]+2e3:s[5],new Date(r,parseInt(s[1],10)-1,s[3],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3);case":":return s[1]>23||s[3]>59||s[5]>59?g:(p=new Date,new Date(p.getFullYear(),p.getMonth(),p.getDate(),s[1]||0,s[3]||0,s[5]||0)/1e3)}if("now"===e)return null===t||isNaN(t)?(new Date).getTime()/1e3||0:t||0;if(a=Date.parse(e),!isNaN(a))return a/1e3||0;if(c=t?new Date(1e3*t):new Date,l={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6},m={yea:"FullYear",mon:"Month",day:"Date",hou:"Hours",min:"Minutes",sec:"Seconds"},f="(years?|months?|weeks?|days?|hours?|minutes?|min|seconds?|sec|sunday|sun\\.?|monday|mon\\.?|tuesday|tue\\.?|wednesday|wed\\.?|thursday|thu\\.?|friday|fri\\.?|saturday|sat\\.?)",d="([+-]?\\d+\\s"+f+"|(last|next)\\s"+f+")(\\sago)?",s=e.match(new RegExp(d,"gi")),!s)return g;for(h=0,u=s.length;u>h;h+=1)if(!i(s[h]))return g;return c.getTime()/1e3}},e.fn.popmake.utilies=e.fn.popmake.utilities}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.version=1.4,e.fn.popmake.last_open_popup=null,e(t).ready(function(){e(".popmake").popmake()})}(jQuery);
1
+ !function(e){"use strict";void 0===e.fn.on&&(e.fn.on=function(e,t,o){return this.delegate(t,e,o)}),void 0===e.fn.off&&(e.fn.off=function(e,t,o){return this.undelegate(t,e,o)}),void 0===e.fn.bindFirst&&(e.fn.bindFirst=function(t,o){var n,i,a=e(this);a.unbind(t,o),a.bind(t,o),n=e._data(a[0]).events,i=n[t],i.unshift(i.pop()),n[t]=i}),void 0===e.fn.outerHtml&&(e.fn.outerHtml=function(){var t=e(this).clone(),o=e("<div/>").append(t);return o.html()}),void 0===Date.now&&(Date.now=function(){return(new Date).getTime()})}(jQuery);var PUM;!function(e,t,o){"use strict";PUM={getPopup:function(t){var o=e(t);return o.hasClass("pum-overlay")?o:o.hasClass("popmake")?o.parents(".pum-overlay"):o.parents(".pum-overlay").length?o.parents(".pum-overlay"):e()}},e.fn.popmake=function(t){return e.fn.popmake.methods[t]?e.fn.popmake.methods[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void(window.console&&console.warn("Method "+t+" does not exist on $.fn.popmake")):e.fn.popmake.methods.init.apply(this,arguments)},e.fn.popmake.methods={init:function(t){return this.each(function(){var o=PUM.getPopup(this),n=e.extend(!0,{},e.fn.popmake.defaults,o.data("popmake"),t);return n.theme_id<=0&&(n.theme_id=popmake_default_theme),e(window).on("resize",function(){(o.hasClass("pum-active")||o.find(".popmake.active").length)&&e.fn.popmake.utilities.throttle(setTimeout(function(){o.popmake("reposition")},25),500,!1)}),"string"==typeof popmake_powered_by&&""!==popmake_powered_by&&o.popmake("getContent").append(e(popmake_powered_by)),o.find(".pum-container").data("popmake",n),o.data("popmake",n).trigger("pumInit"),this})},getOverlay:function(){return e(this)},getContainer:function(){return e(this).find(".pum-container")},getTitle:function(){return e(this).find(".pum-title")||null},getContent:function(){return e(this).find(".pum-content")||null},getClose:function(){return e(this).find(".pum-content + .pum-close")||null},getSettings:function(){return e(this).data("popmake")},open:function(t){var n=PUM.getPopup(this),i=n.popmake("getContainer"),a=n.popmake("getClose"),s=n.popmake("getSettings"),p=e("html");return s.meta.display.stackable||n.popmake("close_all"),n.addClass("pum-active").trigger("pumBeforeOpen"),s.meta.close.button_delay>0&&a.fadeOut(0),n.hasClass("preventOpen")||i.hasClass("preventOpen")?(n.removeClass("preventOpen").removeClass("pum-active").trigger("pumOpenPrevented"),this):(p.addClass("pum-open"),s.meta.display.overlay_disabled?p.addClass("pum-open-overlay-disabled"):p.addClass("pum-open-overlay"),s.meta.display.position_fixed!==o&&s.meta.display.position_fixed?p.addClass("pum-open-fixed"):p.addClass("pum-open-scrollable"),n.popmake("setup_close").popmake("reposition").css({"z-index":s.meta.display.overlay_zindex||1999999998}).popmake("animate",s.meta.display.animation_type,function(){s.meta.close.button_delay>0&&setTimeout(function(){a.fadeIn()},s.meta.close.button_delay),n.trigger("pumAfterOpen"),e.fn.popmake.last_open_popup=n,t!==o&&t()}),this)},setup_close:function(){var t=PUM.getPopup(this),o=t.popmake("getClose").add(e(".popmake-close",t)),n=t.popmake("getSettings");return o.off("click.popmake click.pum").on("click.popmake click.pum",function(o){o.preventDefault(),e.fn.popmake.last_close_trigger="Close Button",t.popmake("close")}),(n.meta.close.esc_press||n.meta.close.f4_press)&&e(window).off("keyup.popmake").on("keyup.popmake",function(o){27===o.keyCode&&n.meta.close.esc_press&&(e.fn.popmake.last_close_trigger="ESC Key",t.popmake("close")),115===o.keyCode&&n.meta.close.f4_press&&(e.fn.popmake.last_close_trigger="F4 Key",t.popmake("close"))}),n.meta.close.overlay_click&&t.off("click.popmake").on("click.popmake",function(o){o.target===t[0]&&(e.fn.popmake.last_close_trigger="Overlay Click",t.popmake("close"))}),t.trigger("pumSetupClose"),this},close:function(t){return this.each(function(){var n=PUM.getPopup(this),i=n.popmake("getContainer"),a=n.popmake("getClose").add(e(".popmake-close",n));return n.trigger("pumBeforeClose"),n.hasClass("preventClose")||i.hasClass("preventClose")?(n.removeClass("preventClose").trigger("pumClosePrevented"),this):(i.fadeOut("fast",function(){n.is(":visible")&&n.fadeOut("fast"),e(window).off("keyup.popmake"),n.off("click.popmake"),a.off("click.popmake"),e("html").removeClass("pum-open").removeClass("pum-open-scrollable").removeClass("pum-open-overlay-disabled").removeClass("pum-open-fixed"),n.removeClass("pum-active").trigger("pumAfterClose"),i.find("iframe").filter('[src*="youtube"],[src*="vimeo"]').each(function(){var t=e(this),o=t.attr("src"),n=o.replace("autoplay=1","1=1");n!==o&&(o=n),t.prop("src",o)}),i.find("video").each(function(){this.pause()}),t!==o&&t()}),this)})},close_all:function(){return e(".pum-active").popmake("close"),this},reposition:function(t){var o=PUM.getPopup(this).trigger("pumBeforeReposition"),n=o.popmake("getContainer"),i=o.popmake("getSettings"),a=i.meta.display,s=a.location,p={my:"",at:""},r={overlay:null,container:null};return s.indexOf("left")>=0&&(p={my:p.my+" left"+(0!==a.position_left?"+"+a.position_left:""),at:p.at+" left"}),s.indexOf("right")>=0&&(p={my:p.my+" right"+(0!==a.position_right?"-"+a.position_right:""),at:p.at+" right"}),s.indexOf("center")>=0&&(p="center"===s?{my:"center",at:"center"}:{my:p.my+" center",at:p.at+" center"}),s.indexOf("top")>=0&&(p={my:p.my+" top"+(0!==a.position_top?"+"+(e("body").hasClass("admin-bar")?parseInt(a.position_top,10)+32:a.position_top):""),at:p.at+" top"}),s.indexOf("bottom")>=0&&(p={my:p.my+" bottom"+(0!==a.position_bottom?"-"+a.position_bottom:""),at:p.at+" bottom"}),p.my=e.trim(p.my),p.at=e.trim(p.at),p.of=window,p.collision="none",p.using="function"==typeof t?t:e.fn.popmake.callbacks.reposition_using,o.is(":hidden")&&(r.overlay=o.css("opacity"),o.css({opacity:0}).show()),n.is(":hidden")&&(r.container=n.css("opacity"),n.css({opacity:0}).show()),a.position_fixed&&n.addClass("fixed"),"custom"===i.meta.display.size?n.css({width:i.meta.display.custom_width+i.meta.display.custom_width_unit,height:i.meta.display.custom_height_auto?"auto":i.meta.display.custom_height+i.meta.display.custom_height_unit}):"auto"!==i.meta.display.size&&n.addClass("responsive").css({minWidth:""!==i.meta.display.responsive_min_width?i.meta.display.responsive_min_width+i.meta.display.responsive_min_width_unit:"auto",maxWidth:""!==i.meta.display.responsive_max_width?i.meta.display.responsive_max_width+i.meta.display.responsive_max_width_unit:"auto"}),n.addClass("custom-position").position(p).trigger("popmakeAfterReposition"),r.overlay&&o.css({opacity:r.overlay}).hide(),r.container&&n.css({opacity:r.container}).hide(),this},retheme:function(t){e(this).trigger("popmakeBeforeRetheme");var n,i,a=PUM.getPopup(this),s=a.popmake("getContainer"),p=a.popmake("getTitle"),r=a.popmake("getContent"),c=a.popmake("getClose"),l=a.popmake("getSettings");switch(t===o&&(t=e.fn.popmake.themes[l.theme_id],t===o&&(t=e.fn.popmake.themes[1])),n="yes"===t.container.boxshadow_inset?"inset ":"",i="yes"===t.close.boxshadow_inset?"inset ":"",a.removeAttr("style").css({backgroundColor:e.fn.popmake.utilities.convert_hex(t.overlay.background_color,t.overlay.background_opacity),zIndex:l.meta.display.overlay_zindex||998}),s.css({padding:t.container.padding+"px",backgroundColor:e.fn.popmake.utilities.convert_hex(t.container.background_color,t.container.background_opacity),borderStyle:t.container.border_style,borderColor:t.container.border_color,borderWidth:t.container.border_width+"px",borderRadius:t.container.border_radius+"px",boxShadow:n+t.container.boxshadow_horizontal+"px "+t.container.boxshadow_vertical+"px "+t.container.boxshadow_blur+"px "+t.container.boxshadow_spread+"px "+e.fn.popmake.utilities.convert_hex(t.container.boxshadow_color,t.container.boxshadow_opacity),zIndex:l.meta.display.zindex||999}),p.css({color:t.title.font_color,lineHeight:t.title.line_height+"px",fontSize:t.title.font_size+"px",fontFamily:t.title.font_family,fontWeight:t.title.font_weight,fontStyle:t.title.font_style,textAlign:t.title.text_align,textShadow:t.title.textshadow_horizontal+"px "+t.title.textshadow_vertical+"px "+t.title.textshadow_blur+"px "+e.fn.popmake.utilities.convert_hex(t.title.textshadow_color,t.title.textshadow_opacity)}),r.css({color:t.content.font_color,fontFamily:t.content.font_family,fontWeight:t.content.font_weight,fontStyle:t.content.font_style}),e("p, label",r).css({color:t.content.font_color,fontFamily:t.content.font_family}),c.html(t.close.text).css({padding:t.close.padding+"px",height:t.close.height+"px",width:t.close.width+"px",backgroundColor:e.fn.popmake.utilities.convert_hex(t.close.background_color,t.close.background_opacity),color:t.close.font_color,lineHeight:t.close.line_height+"px",fontSize:t.close.font_size+"px",fontWeight:t.close.font_weight,fontStyle:t.close.font_style,fontFamily:t.close.font_family,borderStyle:t.close.border_style,borderColor:t.close.border_color,borderWidth:t.close.border_width+"px",borderRadius:t.close.border_radius+"px",boxShadow:i+t.close.boxshadow_horizontal+"px "+t.close.boxshadow_vertical+"px "+t.close.boxshadow_blur+"px "+t.close.boxshadow_spread+"px "+e.fn.popmake.utilities.convert_hex(t.close.boxshadow_color,t.close.boxshadow_opacity),textShadow:t.close.textshadow_horizontal+"px "+t.close.textshadow_vertical+"px "+t.close.textshadow_blur+"px "+e.fn.popmake.utilities.convert_hex(t.close.textshadow_color,t.close.textshadow_opacity),left:"auto",right:"auto",bottom:"auto",top:"auto"}),t.close.location){case"topleft":c.css({top:t.close.position_top+"px",left:t.close.position_left+"px"});break;case"topright":c.css({top:t.close.position_top+"px",right:t.close.position_right+"px"});break;case"bottomleft":c.css({bottom:t.close.position_bottom+"px",left:t.close.position_left+"px"});break;case"bottomright":c.css({bottom:t.close.position_bottom+"px",right:t.close.position_right+"px"})}return a.trigger("popmakeAfterRetheme",[t]),this},animation_origin:function(t){var o=PUM.getPopup(this),n=o.popmake("getContainer"),i={my:"",at:""};switch(t){case"top":i={my:"left+"+n.offset().left+" bottom-100",at:"left top"};break;case"bottom":i={my:"left+"+n.offset().left+" top+100",at:"left bottom"};break;case"left":i={my:"right top+"+n.offset().top,at:"left top"};break;case"right":i={my:"left top+"+n.offset().top,at:"right top"};break;default:t.indexOf("left")>=0&&(i={my:i.my+" right",at:i.at+" left"}),t.indexOf("right")>=0&&(i={my:i.my+" left",at:i.at+" right"}),t.indexOf("center")>=0&&(i={my:i.my+" center",at:i.at+" center"}),t.indexOf("top")>=0&&(i={my:i.my+" bottom-100",at:i.at+" top"}),t.indexOf("bottom")>=0&&(i={my:i.my+" top+100",at:i.at+" bottom"}),i.my=e.trim(i.my),i.at=e.trim(i.at)}return i.of=window,i.collision="none",i}}}(jQuery,document);var PUM_Accessibility;!function(e,t,o){"use strict";var n,i,a,s="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]";PUM_Accessibility={forceFocus:function(t){a&&!e.contains(a,t.target)&&(t.stopPropagation(),PUM_Accessibility.setFocusToFirstItem())},trapTabKey:function(t){if(9===t.keyCode){var o=a.find(".pum-container *").filter(s).filter(":visible"),n=e(":focus"),i=o.length,p=o.index(n);t.shiftKey?0===p&&(o.get(i-1).focus(),t.preventDefault()):p===i-1&&(o.get(0).focus(),t.preventDefault())}},setFocusToFirstItem:function(){a.find(".pum-container *").filter(s).filter(":visible").filter(":not(.pum-close)").first().focus()}},e(t).on("pumInit",".pum",function(){PUM.getPopup(this).find("[tabindex]").each(function(){var t=e(this);t.data("tabindex",t.attr("tabindex")).prop("tabindex","0")})}).on("pumBeforeOpen",".pum",function(){var o=PUM.getPopup(this),s=e(":focus");o.has(s).length||(i=s),a=o.on("keydown.pum_accessibility",PUM_Accessibility.trapTabKey).attr("aria-hidden","false"),n=e("body > *").filter(":visible").not(a),n.attr("aria-hidden","true"),e(t).on("focus.pum_accessibility",PUM_Accessibility.forceFocus),PUM_Accessibility.setFocusToFirstItem()}).on("pumAfterOpen",".pum",function(){}).on("pumBeforeClose",".pum",function(){}).on("pumAfterClose",".pum",function(){var o=PUM.getPopup(this);o.off("keydown.pum_accessibility").attr("aria-hidden","true"),n&&(n.attr("aria-hidden","false"),n=null),i.length&&i.focus(),a=null,e(t).off("focus.pum_accessibility")}).on("pumSetupClose",".pum",function(){}).on("pumOpenPrevented",".pum",function(){}).on("pumClosePrevented",".pum",function(){}).on("pumBeforeReposition",".pum",function(){})}(jQuery,document);var PUM_Analytics;!function(e,t,o){"use strict";e.fn.popmake.last_open_trigger=null,e.fn.popmake.last_close_trigger=null,e.fn.popmake.conversion_trigger=null,PUM_Analytics={send:function(t,n){var i=new Image;t=e.extend({},{action:"pum_analytics"},t),t._cache=+new Date,n!==o&&i.addEventListener("load",function(){n(t)}),i.src=pum_vars.ajaxurl+"?"+e.param(t)}},e(t).on("pumAfterOpen.core_analytics","body > .pum",function(){var t=PUM.getPopup(this),o={pid:parseInt(t.popmake("getSettings").id,10)||null,type:"open"};o.pid>0&&!e("body").hasClass("single-popup")&&PUM_Analytics.send(o)})}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.methods.animate_overlay=function(t,o,n){var i=PUM.getPopup(this).popmake("getSettings");return i.meta.display.overlay_disabled?e.fn.popmake.overlay_animations.none.apply(this,[o,n]):e.fn.popmake.overlay_animations[t]?e.fn.popmake.overlay_animations[t].apply(this,[o,n]):(window.console&&console.warn("Animation style "+t+" does not exist."),this)},e.fn.popmake.methods.animate=function(t){return e.fn.popmake.animations[t]?e.fn.popmake.animations[t].apply(this,Array.prototype.slice.call(arguments,1)):(window.console&&console.warn("Animation style "+t+" does not exist."),this)},e.fn.popmake.animations={none:function(e){var t=PUM.getPopup(this);return t.popmake("getContainer").show(0),t.popmake("animate_overlay","none",0,function(){e!==o&&e()}),this},slide:function(e){var t=PUM.getPopup(this).show(0).css({opacity:0}),n=t.popmake("getContainer").show(0).css({opacity:0}),i=t.popmake("getSettings"),a=i.meta.display.animation_speed/2,s=t.popmake("animation_origin",i.meta.display.animation_origin);return n.position(s).css({opacity:1}),t.css({opacity:1}).popmake("animate_overlay","fade",a,function(){n.popmake("reposition",function(t){n.animate(t,a,"swing",function(){e!==o&&e()})})}),this},fade:function(e){var t=PUM.getPopup(this),n=t.popmake("getContainer"),i=t.popmake("getSettings"),a=i.meta.display.animation_speed/2;return n.show(0).css({opacity:0}),t.popmake("animate_overlay","fade",a,function(){n.animate({opacity:1},a,"swing",function(){e!==o&&e()})}),this},fadeAndSlide:function(e){var t=PUM.getPopup(this).show(0).css({opacity:0}),n=t.popmake("getContainer").show(0).css({opacity:0}),i=t.popmake("getSettings"),a=i.meta.display.animation_speed/2,s=t.popmake("animation_origin",i.meta.display.animation_origin);return n.position(s),t.hide().css({opacity:1}).popmake("animate_overlay","fade",a,function(){n.popmake("reposition",function(t){t.opacity=1,n.animate(t,a,"swing",function(){e!==o&&e()})})}),this},grow:function(t){return e.fn.popmake.animations.fade.apply(this,arguments)},growAndSlide:function(t){return e.fn.popmake.animations.fadeAndSlide.apply(this,arguments)}},e.fn.popmake.overlay_animations={none:function(e,t){PUM.getPopup(this).show(e,t)},fade:function(e,t){PUM.getPopup(this).fadeIn(e,t)},slide:function(e,t){PUM.getPopup(this).slideDown(e,t)}}}(jQuery,document),function(e,t,o){"use strict";e(t).on("pumInit",".pum",function(){e(this).popmake("getContainer").trigger("popmakeInit")}).on("pumBeforeOpen",".pum",function(){e(this).popmake("getContainer").addClass("active").trigger("popmakeBeforeOpen")}).on("pumAfterOpen",".pum",function(){e(this).popmake("getContainer").trigger("popmakeAfterOpen")}).on("pumBeforeClose",".pum",function(){e(this).popmake("getContainer").trigger("popmakeBeforeClose")}).on("pumAfterClose",".pum",function(){e(this).popmake("getContainer").removeClass("active").trigger("popmakeAfterClose")}).on("pumSetupClose",".pum",function(){e(this).popmake("getContainer").trigger("popmakeSetupClose")}).on("pumOpenPrevented",".pum",function(){e(this).popmake("getContainer").removeClass("preventOpen").removeClass("active")}).on("pumClosePrevented",".pum",function(){e(this).popmake("getContainer").removeClass("preventClose")}).on("pumBeforeReposition",".pum",function(){e(this).popmake("getContainer").trigger("popmakeBeforeReposition")})}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.callbacks={reposition_using:function(t){e(this).css(t)}}}(jQuery,document);var pm_cookie,pm_remove_cookie;!function(e,t,o){"use strict";e.fn.popmake.cookie={defaults:{},raw:!1,json:!0,pluses:/\+/g,encode:function(t){return e.fn.popmake.cookie.raw?t:encodeURIComponent(t)},decode:function(t){return e.fn.popmake.cookie.raw?t:decodeURIComponent(t)},stringifyCookieValue:function(t){return e.fn.popmake.cookie.encode(e.fn.popmake.cookie.json?JSON.stringify(t):String(t))},parseCookieValue:function(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(e.fn.popmake.cookie.pluses," ")),e.fn.popmake.cookie.json?JSON.parse(t):t}catch(o){}},read:function(t,o){var n=e.fn.popmake.cookie.raw?t:e.fn.popmake.cookie.parseCookieValue(t);return e.isFunction(o)?o(n):n},process:function(n,i,a,s){var p,r,c,l,m,u=n?o:{},f=new Date,d=t.cookie?t.cookie.split("; "):[];if(i!==o&&!e.isFunction(i)){switch(typeof a){case"number":f.setTime(+f+864e5*a),a=f;break;case"string":f.setTime(1e3*e.fn.popmake.utilities.strtotime("+"+a)),a=f}return void(t.cookie=[e.fn.popmake.cookie.encode(n),"=",e.fn.popmake.cookie.stringifyCookieValue(i),a?"; expires="+a.toUTCString():"",s?"; path="+s:""].join(""))}for(l=0,m=d.length;m>l;l+=1){if(p=d[l].split("="),r=e.fn.popmake.cookie.decode(p.shift()),c=p.join("="),n&&n===r){u=e.fn.popmake.cookie.read(c,i);break}c=e.fn.popmake.cookie.read(c),n||c===o||(u[r]=c)}return u},remove:function(t){return e.pm_cookie(t)===o?!1:(e.pm_cookie(t,"",-1),!e.pm_cookie(t))}},pm_cookie=e.pm_cookie=e.fn.popmake.cookie.process,pm_remove_cookie=e.pm_remove_cookie=e.fn.popmake.cookie.remove}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.methods.addCookie=function(t){return e.fn.popmake.cookies[t]?e.fn.popmake.cookies[t].apply(this,Array.prototype.slice.call(arguments,1)):(window.console&&console.warn("Cookie type "+t+" does not exist."),this)},e.fn.popmake.methods.setCookie=function(t){e.pm_cookie(t.name,!0,t.session?null:t.time,t.path?"/":null)},e.fn.popmake.cookies={on_popup_open:function(e){var t=PUM.getPopup(this);t.on("pumAfterOpen",function(){t.popmake("setCookie",e)})},on_popup_close:function(e){var t=PUM.getPopup(this);t.on("pumBeforeClose",function(){t.popmake("setCookie",e)})},manual:function(e){var t=PUM.getPopup(this);t.on("pumSetCookie",function(){t.popmake("setCookie",e)})}},e(t).on("pumInit",".pum",function(){var e,t=PUM.getPopup(this),n=t.popmake("getSettings"),i=n.cookies,a=null;if(i!==o&&i.length)for(e=0;i.length>e;e+=1)a=i[e],t.popmake("addCookie",a.event,a.settings)})}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.defaults={meta:{display:{stackable:0,overlay_disabled:0,size:"medium",responsive_max_width:"",responsive_max_width_unit:"%",responsive_min_width:"",responsive_min_width_unit:"%",custom_width:"",custom_width_unit:"%",custom_height:"",custom_height_unit:"em",custom_height_auto:0,location:"center top",position_top:100,position_left:0,position_bottom:0,position_right:0,position_fixed:0,animation_type:"fade",animation_speed:350,animation_origin:"center top"},close:{overlay_click:0,esc_press:0,f4_press:0}},container:{active_class:"active",attr:{"class":"popmake"}},title:{attr:{"class":"popmake-title"}},content:{attr:{"class":"popmake-content"}},close:{close_speed:0,attr:{"class":"popmake-close"}},overlay:{attr:{id:"popmake-overlay","class":"popmake-overlay"}}}}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.methods.addTrigger=function(t){return e.fn.popmake.triggers[t]?e.fn.popmake.triggers[t].apply(this,Array.prototype.slice.call(arguments,1)):(window.console&&console.warn("Trigger type "+t+" does not exist."),this)},e.fn.popmake.methods.checkCookies=function(t){var n;if(t.cookie===o||t.cookie.name===o||null===t.cookie.name)return!1;switch(typeof t.cookie.name){case"object":case"array":for(n=0;t.cookie.name.length>n;n+=1)if(e.pm_cookie(t.cookie.name[n])!==o)return!0;break;case"string":if(e.pm_cookie(t.cookie.name)!==o)return!0}return!1},e.fn.popmake.triggers={auto_open:function(t){var o=PUM.getPopup(this);setTimeout(function(){o.hasClass("pum-open")||o.popmake("getContainer").hasClass("active")||o.popmake("checkCookies",t)||(e.fn.popmake.last_open_trigger="Auto Open - Delay: "+t.delay,o.popmake("open"))},t.delay)},click_open:function(o){var n=PUM.getPopup(this),i=n.popmake("getSettings"),a=".popmake-"+i.id+", .popmake-"+decodeURIComponent(i.slug);""!==o.extra_selectors&&(a+=", "+o.extra_selectors),e(a).addClass("pum-trigger").css({cursor:"pointer"}),e(t).on("click.pumTrigger",a,function(t){n.has(this).length>0||n.popmake("checkCookies",o)||(o.do_default||e(t.target).hasClass("do-default")||(t.preventDefault(),t.stopPropagation()),e.fn.popmake.last_open_trigger=this,n.popmake("open"))})},admin_debug:function(){PUM.getPopup(this).popmake("open")}},e(t).on("pumInit",".pum",function(){var e,t=PUM.getPopup(this),n=t.popmake("getSettings"),i=n.triggers,a=null;if(i!==o&&i.length)for(e=0;i.length>e;e+=1)a=i[e],t.popmake("addTrigger",a.type,a.settings)})}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.utilities={convert_hex:function(e,t){e=e.replace("#","");var o=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),i=parseInt(e.substring(4,6),16);return"rgba("+o+","+n+","+i+","+t/100+")"},debounce:function(e,t){var o;return function(){var n=this,i=arguments;window.clearTimeout(o),o=window.setTimeout(function(){e.apply(n,i)},t)}},throttle:function(e,t){var o=!1,n=function(){o=!1};return function(){o||(e.apply(this,arguments),window.setTimeout(n,t),o=!0)}},getXPath:function(t){var o,n,i,a,s,p=[];return e.each(e(t).parents(),function(t,r){return o=e(r),n=o.attr("id")||"",i=o.attr("class")||"",a=o.get(0).tagName.toLowerCase(),s=o.parent().children(a).index(o),"body"===a?!1:(i.length>0&&(i=i.split(" "),i=i[0]),void p.push(a+(n.length>0?"#"+n:i.length>0?"."+i.split(" ").join("."):":eq("+s+")")))}),p.reverse().join(" > ")},strtotime:function(e,t){function n(e,t,n){var i,a=l[t];a!==o&&(i=a-c.getDay(),0===i?i=7*n:i>0&&"last"===e?i-=7:0>i&&"next"===e&&(i+=7),c.setDate(c.getDate()+i))}function i(e){var t=e.split(" "),o=t[0],i=t[1].substring(0,3),a=/\d+/.test(o),s="ago"===t[2],p=("last"===o?-1:1)*(s?-1:1);if(a&&(p*=parseInt(o,10)),m.hasOwnProperty(i)&&!t[1].match(/^mon(day|\.)?$/i))return c["set"+m[i]](c["get"+m[i]]()+p);if("wee"===i)return c.setDate(c.getDate()+7*p);if("next"===o||"last"===o)n(o,i,p);else if(!a)return!1;return!0}var a,s,p,r,c,l,m,u,f,d,h,g=!1;if(!e)return g;if(e=e.replace(/^\s+|\s+$/g,"").replace(/\s{2,}/g," ").replace(/[\t\r\n]/g,"").toLowerCase(),s=e.match(/^(\d{1,4})([\-\.\/\:])(\d{1,2})([\-\.\/\:])(\d{1,4})(?:\s(\d{1,2}):(\d{2})?:?(\d{2})?)?(?:\s([A-Z]+)?)?$/),s&&s[2]===s[4])if(s[1]>1901)switch(s[2]){case"-":return s[3]>12||s[5]>31?g:new Date(s[1],parseInt(s[3],10)-1,s[5],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3;case".":return g;case"/":return s[3]>12||s[5]>31?g:new Date(s[1],parseInt(s[3],10)-1,s[5],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3}else if(s[5]>1901)switch(s[2]){case"-":return s[3]>12||s[1]>31?g:new Date(s[5],parseInt(s[3],10)-1,s[1],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3;case".":return s[3]>12||s[1]>31?g:new Date(s[5],parseInt(s[3],10)-1,s[1],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3;case"/":return s[1]>12||s[3]>31?g:new Date(s[5],parseInt(s[1],10)-1,s[3],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3}else switch(s[2]){case"-":return s[3]>12||s[5]>31||s[1]<70&&s[1]>38?g:(r=s[1]>=0&&s[1]<=38?+s[1]+2e3:s[1],new Date(r,parseInt(s[3],10)-1,s[5],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3);case".":return s[5]>=70?s[3]>12||s[1]>31?g:new Date(s[5],parseInt(s[3],10)-1,s[1],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3:s[5]<60&&!s[6]?s[1]>23||s[3]>59?g:(p=new Date,new Date(p.getFullYear(),p.getMonth(),p.getDate(),s[1]||0,s[3]||0,s[5]||0,s[9]||0)/1e3):g;case"/":return s[1]>12||s[3]>31||s[5]<70&&s[5]>38?g:(r=s[5]>=0&&s[5]<=38?+s[5]+2e3:s[5],new Date(r,parseInt(s[1],10)-1,s[3],s[6]||0,s[7]||0,s[8]||0,s[9]||0)/1e3);case":":return s[1]>23||s[3]>59||s[5]>59?g:(p=new Date,new Date(p.getFullYear(),p.getMonth(),p.getDate(),s[1]||0,s[3]||0,s[5]||0)/1e3)}if("now"===e)return null===t||isNaN(t)?(new Date).getTime()/1e3||0:t||0;if(a=Date.parse(e),!isNaN(a))return a/1e3||0;if(c=t?new Date(1e3*t):new Date,l={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6},m={yea:"FullYear",mon:"Month",day:"Date",hou:"Hours",min:"Minutes",sec:"Seconds"},f="(years?|months?|weeks?|days?|hours?|minutes?|min|seconds?|sec|sunday|sun\\.?|monday|mon\\.?|tuesday|tue\\.?|wednesday|wed\\.?|thursday|thu\\.?|friday|fri\\.?|saturday|sat\\.?)",d="([+-]?\\d+\\s"+f+"|(last|next)\\s"+f+")(\\sago)?",s=e.match(new RegExp(d,"gi")),!s)return g;for(h=0,u=s.length;u>h;h+=1)if(!i(s[h]))return g;return c.getTime()/1e3}},e.fn.popmake.utilies=e.fn.popmake.utilities}(jQuery,document),function(e,t,o){"use strict";e.fn.popmake.version=1.4,e.fn.popmake.last_open_popup=null,e(t).ready(function(){e(".popmake").popmake()})}(jQuery);
assets/sass/partials/_pum_styles.scss CHANGED
@@ -82,7 +82,7 @@
82
  top: 100px;
83
  position: absolute;
84
  margin-bottom: 3em;
85
- z-index: 1;
86
 
87
  &.pum-responsive {
88
 
82
  top: 100px;
83
  position: absolute;
84
  margin-bottom: 3em;
85
+ z-index: 1999999999;
86
 
87
  &.pum-responsive {
88
 
assets/sass/wp-editor.scss ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ .wpview-wrap[data-wpview-text^="%5Bpopup_trigger"] {
2
+ display: inline-block;
3
+ }
includes/admin/admin-pages.php CHANGED
@@ -55,6 +55,13 @@ function popmake_admin_submenu_pages() {
55
  'popmake_extensions_page'
56
  );
57
 
 
 
 
 
 
 
 
58
  /*
59
  $popmake_help_page = add_submenu_page(
60
  'edit.php?post_type=popup',
55
  'popmake_extensions_page'
56
  );
57
 
58
+ $popmake_appearance_themes_page = add_theme_page(
59
+ __( 'Popup Themes', 'popup-maker' ),
60
+ __( 'Popup Themes', 'popup-maker' ),
61
+ 'edit_posts',
62
+ 'edit.php?post_type=popup_theme'
63
+ );
64
+
65
  /*
66
  $popmake_help_page = add_submenu_page(
67
  'edit.php?post_type=popup',
includes/admin/popups/metabox-display-fields.php CHANGED
@@ -107,8 +107,19 @@ function popmake_popup_display_meta_box_field_custom_sizes( $popup_id ) {
107
 
108
  <tr class="custom-size-only">
109
  <th scope="row"><?php _e( 'Auto Adjusted Height', 'popup-maker' ); ?></th>
110
- <td>
111
- <input type="checkbox" value="true" name="popup_display_custom_height_auto" id="popup_display_custom_height_auto" <?php echo popmake_get_popup_display( $popup_id, 'custom_height_auto' ) ? 'checked="checked" ' : ''; ?>/>
 
 
 
 
 
 
 
 
 
 
 
112
  <label for="popup_display_custom_height_auto" class="description"><?php _e( 'Checking this option will set height to fit the content.', 'popup-maker' ); ?></label>
113
  </td>
114
  </tr>
@@ -116,8 +127,19 @@ function popmake_popup_display_meta_box_field_custom_sizes( $popup_id ) {
116
 
117
  <tr class="custom-size-only custom-size-height-only">
118
  <th scope="row"><?php _e( 'Scrollable Content', 'popup-maker' ); ?></th>
119
- <td>
120
- <input type="checkbox" value="true" name="popup_display_scrollable_content" id="popup_display_scrollable_content" <?php echo popmake_get_popup_display( $popup_id, 'scrollable_content' ) ? 'checked="checked" ' : ''; ?>/>
 
 
 
 
 
 
 
 
 
 
 
121
  <label for="popup_display_scrollable_content" class="description"><?php _e( 'Checking this option will add a scroll bar to your content.', 'popup-maker' ); ?></label>
122
  </td>
123
  </tr>
@@ -153,8 +175,19 @@ function popmake_popup_display_meta_box_field_overlay_disabled( $popup_id ) {
153
  </tr>
154
  <tr>
155
  <th scope="row"><?php _e( 'Disable Overlay', 'popup-maker' ); ?></th>
156
- <td>
157
- <input type="checkbox" value="true" name="popup_display_overlay_disabled" id="popup_display_overlay_disabled" <?php echo popmake_get_popup_display( $popup_id, 'overlay_disabled' ) ? 'checked="checked" ' : ''; ?>/>
 
 
 
 
 
 
 
 
 
 
 
158
  <label for="popup_display_overlay_disabled" class="description"><?php _e( 'Checking this will disable and hide the overlay for this popup.', 'popup-maker' ); ?></label>
159
  </td>
160
  </tr><?php
@@ -238,8 +271,19 @@ function popmake_admin_popup_form_display_tab_settings_position( $popup_id ) {
238
  </tr>
239
  <tr>
240
  <th scope="row"><?php _e( 'Stackable', 'popup-maker' ); ?></th>
241
- <td>
242
- <input type="checkbox" value="true" name="popup_display_stackable" id="popup_display_stackable" <?php echo popmake_get_popup_display( $popup_id, 'stackable' ) ? 'checked="checked" ' : ''; ?>/>
 
 
 
 
 
 
 
 
 
 
 
243
  <label for="popup_display_stackable" class="description"><?php _e( 'This enables other popups to remain open.', 'popup-maker' ); ?></label>
244
  </td>
245
  </tr>
@@ -274,8 +318,7 @@ function popmake_admin_popup_form_display_tab_settings_position( $popup_id ) {
274
  $position_fixed = false;
275
  break;
276
  } ?>
277
- <input type="checkbox" value="1" name="popup_display_position_fixed"
278
- id="popup_display_position_fixed" <?php checked( $position_fixed, 1 ); ?>/>
279
  <label for="popup_display_position_fixed" class="description"><?php _e( 'Checking this sets the positioning of the popup to fixed.', 'popup-maker' ); ?></label>
280
  </td>
281
  </tr>
107
 
108
  <tr class="custom-size-only">
109
  <th scope="row"><?php _e( 'Auto Adjusted Height', 'popup-maker' ); ?></th>
110
+ <td><?php
111
+ $custom_height_auto = popmake_get_popup_display( $popup_id, 'custom_height_auto', false );
112
+ switch( $custom_height_auto ) {
113
+ case 'true':
114
+ case true:
115
+ case 1:
116
+ $custom_height_auto = true;
117
+ break;
118
+ default:
119
+ $custom_height_auto = false;
120
+ break;
121
+ } ?>
122
+ <input type="checkbox" value="1" name="popup_display_custom_height_auto" id="popup_display_custom_height_auto" <?php checked( $custom_height_auto, 1 ); ?>/>
123
  <label for="popup_display_custom_height_auto" class="description"><?php _e( 'Checking this option will set height to fit the content.', 'popup-maker' ); ?></label>
124
  </td>
125
  </tr>
127
 
128
  <tr class="custom-size-only custom-size-height-only">
129
  <th scope="row"><?php _e( 'Scrollable Content', 'popup-maker' ); ?></th>
130
+ <td><?php
131
+ $scrollable_content = popmake_get_popup_display( $popup_id, 'scrollable_content', false );
132
+ switch( $scrollable_content ) {
133
+ case 'true':
134
+ case true:
135
+ case 1:
136
+ $scrollable_content = true;
137
+ break;
138
+ default:
139
+ $scrollable_content = false;
140
+ break;
141
+ } ?>
142
+ <input type="checkbox" value="1" name="popup_display_scrollable_content" id="popup_display_scrollable_content" <?php checked( $scrollable_content, 1 ); ?>/>
143
  <label for="popup_display_scrollable_content" class="description"><?php _e( 'Checking this option will add a scroll bar to your content.', 'popup-maker' ); ?></label>
144
  </td>
145
  </tr>
175
  </tr>
176
  <tr>
177
  <th scope="row"><?php _e( 'Disable Overlay', 'popup-maker' ); ?></th>
178
+ <td><?php
179
+ $overlay_disabled = popmake_get_popup_display( $popup_id, 'overlay_disabled', false );
180
+ switch( $overlay_disabled ) {
181
+ case 'true':
182
+ case true:
183
+ case 1:
184
+ $overlay_disabled = true;
185
+ break;
186
+ default:
187
+ $overlay_disabled = false;
188
+ break;
189
+ } ?>
190
+ <input type="checkbox" value="1" name="popup_display_overlay_disabled" id="popup_display_overlay_disabled" <?php checked( $overlay_disabled, 1 ); ?>/>
191
  <label for="popup_display_overlay_disabled" class="description"><?php _e( 'Checking this will disable and hide the overlay for this popup.', 'popup-maker' ); ?></label>
192
  </td>
193
  </tr><?php
271
  </tr>
272
  <tr>
273
  <th scope="row"><?php _e( 'Stackable', 'popup-maker' ); ?></th>
274
+ <td><?php
275
+ $stackable = popmake_get_popup_display( $popup_id, 'stackable', false );
276
+ switch( $stackable ) {
277
+ case 'true':
278
+ case true:
279
+ case 1:
280
+ $stackable = true;
281
+ break;
282
+ default:
283
+ $stackable = false;
284
+ break;
285
+ } ?>
286
+ <input type="checkbox" value="1" name="popup_display_stackable" id="popup_display_stackable" <?php checked( $stackable, 1 ); ?>/>
287
  <label for="popup_display_stackable" class="description"><?php _e( 'This enables other popups to remain open.', 'popup-maker' ); ?></label>
288
  </td>
289
  </tr>
318
  $position_fixed = false;
319
  break;
320
  } ?>
321
+ <input type="checkbox" value="1" name="popup_display_position_fixed" id="popup_display_position_fixed" <?php checked( $position_fixed, 1 ); ?>/>
 
322
  <label for="popup_display_position_fixed" class="description"><?php _e( 'Checking this sets the positioning of the popup to fixed.', 'popup-maker' ); ?></label>
323
  </td>
324
  </tr>
includes/admin/popups/metabox-themes-fields.php CHANGED
@@ -16,9 +16,14 @@ function popmake_popup_themes_meta_box_field_theme( $popup_id ) {
16
  <?php echo $theme->post_title; ?>
17
  </option>
18
  <?php endforeach ?>
19
- </select>
 
 
 
 
 
 
20
 
21
- <p class="description"><?php _e( 'Choose a theme for this popup.', 'popup-maker' ) ?></p>
22
  </td>
23
  </tr><?php
24
  }
16
  <?php echo $theme->post_title; ?>
17
  </option>
18
  <?php endforeach ?>
19
+ </select><br />
20
+ <p class="description">
21
+ <?php _e( 'Choose a theme for this popup.', 'popup-maker' ) ?><br />
22
+ <a id="edit_theme_link" href="<?php echo admin_url( "post.php?action=edit&post={$popup_id}" ); ?>" data-baseurl="<?php echo admin_url( "post.php?action=edit&post=" ); ?>">
23
+ <?php _e( 'Customize This Theme', 'popup-maker' ); ?>
24
+ </a>
25
+ </p>
26
 
 
27
  </td>
28
  </tr><?php
29
  }
includes/admin/shortcode-ui/class-pum-admin-shortcode-ui.php CHANGED
@@ -103,6 +103,8 @@ class PUM_Admin_Shortcode_UI {
103
  $css_dir = POPMAKE_URL . '/assets/css/';
104
  $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
105
 
 
 
106
  wp_enqueue_style( 'pum-shortcode-ui', $css_dir . 'shortcode-ui' . $suffix . '.css', array( 'popup-maker-admin' ), PUM::VER );
107
  }
108
 
103
  $css_dir = POPMAKE_URL . '/assets/css/';
104
  $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
105
 
106
+ //add_editor_style( $css_dir . 'wp-editor' . $suffix . '.css' );
107
+
108
  wp_enqueue_style( 'pum-shortcode-ui', $css_dir . 'shortcode-ui' . $suffix . '.css', array( 'popup-maker-admin' ), PUM::VER );
109
  }
110
 
includes/class-pum-condition-callbacks.php CHANGED
@@ -21,7 +21,8 @@ class PUM_Condition_Callbacks {
21
 
22
  switch ( $modifier ) {
23
  case 'all':
24
- if ( is_singular( $post_type ) ) {
 
25
  return true;
26
  }
27
  break;
21
 
22
  switch ( $modifier ) {
23
  case 'all':
24
+ // Checks for valid post type, if $post_type is page, then include the front page as most users simply expect this.
25
+ if ( is_singular( $post_type ) || ( $post_type == 'page' && is_front_page() ) ) {
26
  return true;
27
  }
28
  break;
includes/class-pum-popup.php CHANGED
@@ -256,6 +256,29 @@ if ( ! class_exists( 'PUM_Popup' ) ) {
256
  if ( ! $this->triggers ) {
257
  $this->triggers = array();
258
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  }
260
 
261
  return apply_filters( 'pum_popup_get_triggers', $this->triggers, $this->ID );
256
  if ( ! $this->triggers ) {
257
  $this->triggers = array();
258
  }
259
+
260
+ if ( ! is_admin() && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
261
+ $has_click_trigger = false;
262
+
263
+ foreach ( $this->triggers as $trigger ) {
264
+ if ( $trigger['type'] == 'click_open' ) {
265
+ $has_click_trigger = true;
266
+ }
267
+ }
268
+
269
+ if ( ! $has_click_trigger ) {
270
+ $this->triggers[] = array(
271
+ 'type' => 'click_open',
272
+ 'settings' => array(
273
+ 'extra_selectors' => '',
274
+ 'cookie' => array(
275
+ 'name' => null,
276
+ ),
277
+ ),
278
+ );
279
+ }
280
+ }
281
+
282
  }
283
 
284
  return apply_filters( 'pum_popup_get_triggers', $this->triggers, $this->ID );
includes/class-pum-previews.php CHANGED
@@ -97,10 +97,17 @@ class PUM_Previews {
97
  *
98
  * @return mixed
99
  */
100
- public static function post_type_args( $args ) {
101
- if ( current_user_can( 'edit_posts' ) ) {
 
 
 
 
 
 
102
  $args['public'] = true;
103
  }
 
104
  return $args;
105
  }
106
  }
97
  *
98
  * @return mixed
99
  */
100
+ public static function post_type_args( $args = array() ) {
101
+ global $pagenow;
102
+
103
+ if ( defined( "DOING_AJAX" ) && DOING_AJAX ) {
104
+ return $args;
105
+ }
106
+
107
+ if ( ( ( is_admin() && $pagenow == 'post.php' && get_post_type( $_GET['post'] ) == 'popup' ) || get_post_type() == 'popup' ) && current_user_can( 'edit_posts' ) ) {
108
  $args['public'] = true;
109
  }
110
+
111
  return $args;
112
  }
113
  }
includes/class-pum-shortcode.php CHANGED
@@ -283,7 +283,9 @@ class PUM_Shortcode extends PUM_Fields {
283
  * @param string $shortcode_tag
284
  * @param array $ui_args
285
  */
286
- shortcode_ui_register_for_shortcode( $this->tag(), $shortcode_ui_args );
 
 
287
  }
288
 
289
  }
283
  * @param string $shortcode_tag
284
  * @param array $ui_args
285
  */
286
+ if ( function_exists( 'shortcode_ui_register_for_shortcode' ) ) {
287
+ shortcode_ui_register_for_shortcode( $this->tag(), $shortcode_ui_args );
288
+ }
289
  }
290
 
291
  }
includes/class-pum.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
7
 
8
  class PUM {
9
 
10
- const VER = '1.4.9';
11
 
12
  const DB_VER = 6;
13
 
7
 
8
  class PUM {
9
 
10
+ const VER = '1.4.10';
11
 
12
  const DB_VER = 6;
13
 
includes/post-types.php CHANGED
@@ -54,7 +54,7 @@ function popmake_setup_post_types() {
54
  'add_new_item' => __( 'Add New %1$s', 'popup-maker' ),
55
  'edit_item' => __( 'Edit %1$s', 'popup-maker' ),
56
  'new_item' => __( 'New %1$s', 'popup-maker' ),
57
- 'all_items' => __( 'All %2$s', 'popup-maker' ),
58
  'view_item' => __( 'View %1$s', 'popup-maker' ),
59
  'search_items' => __( 'Search %2$s', 'popup-maker' ),
60
  'not_found' => __( 'No %2$s found', 'popup-maker' ),
54
  'add_new_item' => __( 'Add New %1$s', 'popup-maker' ),
55
  'edit_item' => __( 'Edit %1$s', 'popup-maker' ),
56
  'new_item' => __( 'New %1$s', 'popup-maker' ),
57
+ 'all_items' => __( 'Popup %2$s', 'popup-maker' ),
58
  'view_item' => __( 'View %1$s', 'popup-maker' ),
59
  'search_items' => __( 'Search %2$s', 'popup-maker' ),
60
  'not_found' => __( 'No %2$s found', 'popup-maker' ),
includes/pum-trigger-functions.php CHANGED
@@ -6,7 +6,6 @@ if ( ! defined( 'ABSPATH' ) ) {
6
  }
7
 
8
 
9
-
10
  /**
11
  * Returns the cookie fields used for trigger options.
12
  *
@@ -30,8 +29,8 @@ function pum_trigger_cookie_fields() {
30
  'select2' => true,
31
  'priority' => 1,
32
  'options' => array(
33
- __( 'Add New Cookie', 'popup-maker' ) => 'add_new'
34
- )
35
  ),
36
  ) );
37
  }
@@ -78,20 +77,12 @@ function pum_get_trigger_labels() {
78
  'click_open' => array(
79
  'name' => __( 'Click Open', 'popup-maker' ),
80
  'modal_title' => __( 'Click Trigger Settings', 'popup-maker' ),
81
- 'settings_column' => sprintf(
82
- '<strong>%1$s</strong>: %2$s',
83
- __( 'Extra Selectors', 'popup-maker' ),
84
- '{{data.extra_selectors}}'
85
- ),
86
  ),
87
  'auto_open' => array(
88
  'name' => __( 'Auto Open', 'popup-maker' ),
89
  'modal_title' => __( 'Auto Open Settings', 'popup-maker' ),
90
- 'settings_column' => sprintf(
91
- '<strong>%1$s</strong>: %2$s',
92
- __( 'Delay', 'popup-maker' ),
93
- '{{data.delay}}'
94
- ),
95
  ),
96
  ) );
97
  }
@@ -116,16 +107,21 @@ function pum_get_triggers() {
116
  'click_open' => array(
117
  'fields' => array(
118
  'general' => array(
119
- 'extra_selectors' => array(
120
  'label' => __( 'Extra CSS Selectors', 'popup-maker' ),
121
  'desc' => __( 'This allows custom css classes, ids or selector strings to trigger the popup when clicked. Separate multiple selectors using commas.', 'popup-maker' ),
122
  'placeholder' => __( '.my-class, #button2', 'popup-maker' ),
123
  ),
 
 
 
 
 
124
  ),
125
- 'cookie' => pum_trigger_cookie_fields(),
126
  ),
127
  ),
128
- 'auto_open' => array(
129
  'fields' => array(
130
  'general' => array(
131
  'delay' => array(
6
  }
7
 
8
 
 
9
  /**
10
  * Returns the cookie fields used for trigger options.
11
  *
29
  'select2' => true,
30
  'priority' => 1,
31
  'options' => array(
32
+ __( 'Add New Cookie', 'popup-maker' ) => 'add_new',
33
+ ),
34
  ),
35
  ) );
36
  }
77
  'click_open' => array(
78
  'name' => __( 'Click Open', 'popup-maker' ),
79
  'modal_title' => __( 'Click Trigger Settings', 'popup-maker' ),
80
+ 'settings_column' => sprintf( '<strong>%1$s</strong>: %2$s', __( 'Extra Selectors', 'popup-maker' ), '{{data.extra_selectors}}' ),
 
 
 
 
81
  ),
82
  'auto_open' => array(
83
  'name' => __( 'Auto Open', 'popup-maker' ),
84
  'modal_title' => __( 'Auto Open Settings', 'popup-maker' ),
85
+ 'settings_column' => sprintf( '<strong>%1$s</strong>: %2$s', __( 'Delay', 'popup-maker' ), '{{data.delay}}' ),
 
 
 
 
86
  ),
87
  ) );
88
  }
107
  'click_open' => array(
108
  'fields' => array(
109
  'general' => array(
110
+ 'extra_selectors' => array(
111
  'label' => __( 'Extra CSS Selectors', 'popup-maker' ),
112
  'desc' => __( 'This allows custom css classes, ids or selector strings to trigger the popup when clicked. Separate multiple selectors using commas.', 'popup-maker' ),
113
  'placeholder' => __( '.my-class, #button2', 'popup-maker' ),
114
  ),
115
+ 'do_default' => array(
116
+ 'type' => 'checkbox',
117
+ 'label' => __( 'Do not prevent the default click functionality.', 'popup-maker' ),
118
+ 'desc' => __( 'This prevents us from disabling the browsers default action when a trigger is clicked. It can be used to allow a link to a file to both trigger a popup and still download the file.', 'popup-maker' ),
119
+ ),
120
  ),
121
+ 'cookie' => pum_trigger_cookie_fields(),
122
  ),
123
  ),
124
+ 'auto_open' => array(
125
  'fields' => array(
126
  'general' => array(
127
  'delay' => array(
languages/popup-maker.pot CHANGED
@@ -16,55 +16,59 @@ msgstr ""
16
  "X-Poedit-SearchPathExcluded-0: *.js\n"
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n\n"
18
 
19
- #: includes/admin/admin-pages.php:33, includes/admin/admin-pages.php:34, includes/admin/admin-pages.php:156, includes/admin/admin-setup.php:24, includes/admin/popups/class-metabox-cookies.php:61, includes/admin/popups/class-metabox-triggers.php:62
20
  msgid "Settings"
21
  msgstr ""
22
 
23
- #: includes/admin/admin-pages.php:42, includes/admin/admin-pages.php:43, includes/admin/admin-pages.php:157
24
  msgid "Tools"
25
  msgstr ""
26
 
27
- #: includes/admin/admin-pages.php:51, includes/admin/admin-pages.php:52, includes/admin/admin-pages.php:155
28
  msgid "Extend"
29
  msgstr ""
30
 
31
- #: includes/admin/admin-pages.php:61, includes/admin/admin-pages.php:62
 
 
 
 
32
  msgid "Help"
33
  msgstr ""
34
 
35
- #: includes/admin/admin-pages.php:71, includes/admin/admin-pages.php:72
36
  msgid "Welcome to Popup Maker"
37
  msgstr ""
38
 
39
- #: includes/admin/admin-pages.php:80, includes/admin/admin-pages.php:81, includes/admin/welcome/changelog.php:11
40
  msgid "Popup Maker Changelog"
41
  msgstr ""
42
 
43
- #: includes/admin/admin-pages.php:89, includes/admin/admin-pages.php:90
44
  msgid "Getting started with Popup Maker"
45
  msgstr ""
46
 
47
- #: includes/admin/admin-pages.php:98, includes/admin/admin-pages.php:99
48
  msgid "The people that build Popup Maker"
49
  msgstr ""
50
 
51
- #: includes/admin/admin-pages.php:148
52
  msgid "All Popups"
53
  msgstr ""
54
 
55
- #: includes/admin/admin-pages.php:149, includes/post-types.php:23, includes/post-types.php:53
56
  msgid "Add New"
57
  msgstr ""
58
 
59
- #: includes/admin/admin-pages.php:150
60
  msgid "All Themes"
61
  msgstr ""
62
 
63
- #: includes/admin/admin-pages.php:151, includes/admin/popups/dashboard-columns.php:43, includes/class-pum-conditions.php:74, includes/post-types.php:190
64
  msgid "Categories"
65
  msgstr ""
66
 
67
- #: includes/admin/admin-pages.php:152, includes/admin/popups/dashboard-columns.php:39, includes/class-pum-conditions.php:75, includes/post-types.php:217
68
  msgid "Tags"
69
  msgstr ""
70
 
@@ -326,7 +330,7 @@ msgstr ""
326
  msgid "Cookies"
327
  msgstr ""
328
 
329
- #: includes/admin/popups/class-metabox-cookies.php:51, includes/pum-trigger-functions.php:33
330
  msgid "Add New Cookie"
331
  msgstr ""
332
 
@@ -390,7 +394,7 @@ msgstr ""
390
  msgid "Type"
391
  msgstr ""
392
 
393
- #: includes/admin/popups/class-metabox-triggers.php:61, includes/class-pum-cookie.php:47, includes/pum-trigger-functions.php:58
394
  msgid "Cookie"
395
  msgstr ""
396
 
@@ -410,7 +414,7 @@ msgstr ""
410
  msgid "Choose what type of trigger to add?"
411
  msgstr ""
412
 
413
- #: includes/admin/popups/class-metabox-triggers.php:214, includes/pum-trigger-functions.php:88
414
  msgid "Auto Open"
415
  msgstr ""
416
 
@@ -526,143 +530,143 @@ msgstr ""
526
  msgid "Auto Adjusted Height"
527
  msgstr ""
528
 
529
- #: includes/admin/popups/metabox-display-fields.php:112, includes/class-popmake-popup-fields.php:58
530
  msgid "Checking this option will set height to fit the content."
531
  msgstr ""
532
 
533
- #: includes/admin/popups/metabox-display-fields.php:118, includes/class-popmake-popup-fields.php:64
534
  msgid "Scrollable Content"
535
  msgstr ""
536
 
537
- #: includes/admin/popups/metabox-display-fields.php:121, includes/class-popmake-popup-fields.php:65
538
  msgid "Checking this option will add a scroll bar to your content."
539
  msgstr ""
540
 
541
- #: includes/admin/popups/metabox-display-fields.php:128, includes/admin/themes/metabox-close-fields.php:53, includes/class-popmake-popup-fields.php:71, includes/class-popmake-popup-theme-fields.php:311, includes/shortcodes/class-pum-shortcode-popup.php:122
542
  msgid "Height"
543
  msgstr ""
544
 
545
- #: includes/admin/popups/metabox-display-fields.php:142, includes/class-popmake-popup-fields.php:72
546
  msgid "Set a custom height for the popup."
547
  msgstr ""
548
 
549
- #: includes/admin/popups/metabox-display-fields.php:152
550
  msgid "Overlay"
551
  msgstr ""
552
 
553
- #: includes/admin/popups/metabox-display-fields.php:155, includes/class-popmake-popup-fields.php:82, includes/shortcodes/class-pum-shortcode-popup.php:96
554
  msgid "Disable Overlay"
555
  msgstr ""
556
 
557
- #: includes/admin/popups/metabox-display-fields.php:158, includes/class-popmake-popup-fields.php:83, includes/shortcodes/class-pum-shortcode-popup.php:97
558
  msgid "Checking this will disable and hide the overlay for this popup."
559
  msgstr ""
560
 
561
- #: includes/admin/popups/metabox-display-fields.php:167, includes/shortcodes/class-pum-shortcode-popup.php:49
562
  msgid "Animation"
563
  msgstr ""
564
 
565
- #: includes/admin/popups/metabox-display-fields.php:172, includes/class-popmake-popup-fields.php:89, includes/shortcodes/class-pum-shortcode-popup.php:189
566
  msgid "Animation Type"
567
  msgstr ""
568
 
569
- #: includes/admin/popups/metabox-display-fields.php:186, includes/class-popmake-popup-fields.php:90, includes/shortcodes/class-pum-shortcode-popup.php:190
570
  msgid "Select an animation type for your popup."
571
  msgstr ""
572
 
573
- #: includes/admin/popups/metabox-display-fields.php:192, includes/class-popmake-popup-fields.php:97, includes/shortcodes/class-pum-shortcode-popup.php:197
574
  msgid "Animation Speed"
575
  msgstr ""
576
 
577
- #: includes/admin/popups/metabox-display-fields.php:207, includes/class-popmake-popup-fields.php:98, includes/shortcodes/class-pum-shortcode-popup.php:198
578
  msgid "Set the animation speed for the popup."
579
  msgstr ""
580
 
581
- #: includes/admin/popups/metabox-display-fields.php:213, includes/class-popmake-popup-fields.php:108, includes/shortcodes/class-pum-shortcode-popup.php:208
582
  msgid "Animation Origin"
583
  msgstr ""
584
 
585
- #: includes/admin/popups/metabox-display-fields.php:226, includes/class-popmake-popup-fields.php:109, includes/shortcodes/class-pum-shortcode-popup.php:209
586
  msgid "Choose where the animation will begin."
587
  msgstr ""
588
 
589
- #: includes/admin/popups/metabox-display-fields.php:237, includes/admin/themes/metabox-close-fields.php:107, includes/shortcodes/class-pum-shortcode-popup.php:48
590
  msgid "Position"
591
  msgstr ""
592
 
593
- #: includes/admin/popups/metabox-display-fields.php:240, includes/class-popmake-popup-fields.php:116
594
  msgid "Stackable"
595
  msgstr ""
596
 
597
- #: includes/admin/popups/metabox-display-fields.php:243, includes/class-popmake-popup-fields.php:117
598
  msgid "This enables other popups to remain open."
599
  msgstr ""
600
 
601
- #: includes/admin/popups/metabox-display-fields.php:248, includes/admin/themes/metabox-close-fields.php:92, includes/class-popmake-popup-fields.php:130, includes/class-popmake-popup-theme-fields.php:331, includes/shortcodes/class-pum-shortcode-popup.php:135
602
  msgid "Location"
603
  msgstr ""
604
 
605
- #: includes/admin/popups/metabox-display-fields.php:260, includes/class-popmake-popup-fields.php:131, includes/shortcodes/class-pum-shortcode-popup.php:136
606
  msgid "Choose where the popup will be displayed."
607
  msgstr ""
608
 
609
- #: includes/admin/popups/metabox-display-fields.php:264, includes/class-popmake-popup-fields.php:123
610
  msgid "Fixed Postioning"
611
  msgstr ""
612
 
613
- #: includes/admin/popups/metabox-display-fields.php:279, includes/class-popmake-popup-fields.php:124
614
  msgid "Checking this sets the positioning of the popup to fixed."
615
  msgstr ""
616
 
617
- #: includes/admin/popups/metabox-display-fields.php:284, includes/admin/themes/metabox-close-fields.php:111, includes/class-popmake-popup-fields.php:138, includes/class-popmake-popup-theme-fields.php:339, includes/input-options.php:129, includes/shortcodes/class-pum-shortcode-popup.php:143
618
  msgid "Top"
619
  msgstr ""
620
 
621
- #: includes/admin/popups/metabox-display-fields.php:298, includes/class-popmake-popup-fields.php:139, includes/shortcodes/class-pum-shortcode-popup.php:144
622
  msgid "Distance from the top edge of the screen."
623
  msgstr ""
624
 
625
- #: includes/admin/popups/metabox-display-fields.php:303, includes/admin/themes/metabox-close-fields.php:145, includes/class-popmake-popup-fields.php:149, includes/class-popmake-popup-theme-fields.php:359, includes/input-options.php:131, includes/shortcodes/class-pum-shortcode-popup.php:154
626
  msgid "Bottom"
627
  msgstr ""
628
 
629
- #: includes/admin/popups/metabox-display-fields.php:317, includes/class-popmake-popup-fields.php:150, includes/shortcodes/class-pum-shortcode-popup.php:155
630
  msgid "Distance from the bottom edge of the screen."
631
  msgstr ""
632
 
633
- #: includes/admin/popups/metabox-display-fields.php:322, includes/admin/themes/metabox-close-fields.php:128, includes/class-popmake-popup-fields.php:160, includes/class-popmake-popup-theme-fields.php:349, includes/input-options.php:85, includes/input-options.php:130, includes/shortcodes/class-pum-shortcode-popup.php:165
634
  msgid "Left"
635
  msgstr ""
636
 
637
- #: includes/admin/popups/metabox-display-fields.php:336, includes/class-popmake-popup-fields.php:161, includes/shortcodes/class-pum-shortcode-popup.php:166
638
  msgid "Distance from the left edge of the screen."
639
  msgstr ""
640
 
641
- #: includes/admin/popups/metabox-display-fields.php:341, includes/admin/themes/metabox-close-fields.php:162, includes/class-popmake-popup-fields.php:171, includes/class-popmake-popup-theme-fields.php:369, includes/input-options.php:87, includes/input-options.php:132, includes/shortcodes/class-pum-shortcode-popup.php:176
642
  msgid "Right"
643
  msgstr ""
644
 
645
- #: includes/admin/popups/metabox-display-fields.php:355, includes/class-popmake-popup-fields.php:172, includes/shortcodes/class-pum-shortcode-popup.php:177
646
  msgid "Distance from the right edge of the screen."
647
  msgstr ""
648
 
649
- #: includes/admin/popups/metabox-display-fields.php:364
650
  msgid "Z Index"
651
  msgstr ""
652
 
653
- #: includes/admin/popups/metabox-display-fields.php:368, includes/class-popmake-popup-fields.php:182
654
  msgid "Overlay Z-Index"
655
  msgstr ""
656
 
657
- #: includes/admin/popups/metabox-display-fields.php:373, includes/class-popmake-popup-fields.php:183
658
  msgid "Change the z-index layer level for the overlay."
659
  msgstr ""
660
 
661
- #: includes/admin/popups/metabox-display-fields.php:378, includes/class-popmake-popup-fields.php:191
662
  msgid "Popup Z-Index"
663
  msgstr ""
664
 
665
- #: includes/admin/popups/metabox-display-fields.php:383, includes/class-popmake-popup-fields.php:192
666
  msgid "Change the z-index layer level for the popup."
667
  msgstr ""
668
 
@@ -674,6 +678,10 @@ msgstr ""
674
  msgid "Choose a theme for this popup."
675
  msgstr ""
676
 
 
 
 
 
677
  #: includes/admin/popups/metabox.php:28
678
  msgid "Display Settings"
679
  msgstr ""
@@ -754,7 +762,7 @@ msgstr ""
754
  msgid "Settings updated."
755
  msgstr ""
756
 
757
- #: includes/admin/settings/register-settings.php:317, includes/class-popmake-fields.php:57, includes/class-pum-conditions.php:71, includes/class-pum-shortcode.php:144, includes/pum-condition-functions.php:33, includes/pum-trigger-functions.php:55, includes/shortcodes/class-pum-shortcode-popup.php:46
758
  msgid "General"
759
  msgstr ""
760
 
@@ -798,7 +806,7 @@ msgstr ""
798
  msgid "Support"
799
  msgstr ""
800
 
801
- #: includes/admin/shortcode-ui/class-pum-admin-shortcode-ui.php:223
802
  msgid "You do not have access to preview this post."
803
  msgstr ""
804
 
@@ -974,7 +982,7 @@ msgstr ""
974
  msgid "Title Text"
975
  msgstr ""
976
 
977
- #: includes/admin/themes/metabox.php:169, includes/class-pum-popup.php:384, includes/popup-functions.php:573
978
  msgid "&#215;"
979
  msgstr ""
980
 
@@ -1401,7 +1409,7 @@ msgstr ""
1401
  msgid "Click Open Settings"
1402
  msgstr ""
1403
 
1404
- #: includes/deprecated/v4.php:78, includes/pum-trigger-functions.php:89
1405
  msgid "Auto Open Settings"
1406
  msgstr ""
1407
 
@@ -1409,11 +1417,11 @@ msgstr ""
1409
  msgid "Admin Debug Settings"
1410
  msgstr ""
1411
 
1412
- #: includes/deprecated/v4.php:356, includes/pum-trigger-functions.php:120
1413
  msgid "Extra CSS Selectors"
1414
  msgstr ""
1415
 
1416
- #: includes/deprecated/v4.php:360, includes/pum-trigger-functions.php:122
1417
  msgid ".my-class, #button2"
1418
  msgstr ""
1419
 
@@ -1429,11 +1437,11 @@ msgstr ""
1429
  msgid "Checking this will cause popup to open automatically."
1430
  msgstr ""
1431
 
1432
- #: includes/deprecated/v4.php:391, includes/pum-trigger-functions.php:92, includes/pum-trigger-functions.php:133
1433
  msgid "Delay"
1434
  msgstr ""
1435
 
1436
- #: includes/deprecated/v4.php:405, includes/pum-trigger-functions.php:134
1437
  msgid "The delay before the popup will open in milliseconds."
1438
  msgstr ""
1439
 
@@ -1441,7 +1449,7 @@ msgstr ""
1441
  msgid "Cookie Trigger"
1442
  msgstr ""
1443
 
1444
- #: includes/deprecated/v4.php:430, includes/pum-trigger-functions.php:27
1445
  msgid "When do you want to create the cookie."
1446
  msgstr ""
1447
 
@@ -1845,7 +1853,7 @@ msgstr ""
1845
  msgid "New %1$s"
1846
  msgstr ""
1847
 
1848
- #: includes/post-types.php:27, includes/post-types.php:57
1849
  msgid "All %2$s"
1850
  msgstr ""
1851
 
@@ -1869,6 +1877,10 @@ msgstr ""
1869
  msgid "POPMAKE_NAME"
1870
  msgstr ""
1871
 
 
 
 
 
1872
  #: includes/post-types.php:94, includes/shortcodes/class-pum-shortcode-popup.php:26, includes/shortcodes/class-pum-shortcode-popup.php:324
1873
  msgid "Popup"
1874
  msgstr ""
@@ -2069,7 +2081,7 @@ msgstr ""
2069
  msgid "404 Pages"
2070
  msgstr ""
2071
 
2072
- #: includes/pum-cookie-functions.php:21, includes/pum-trigger-functions.php:26
2073
  msgid "Cookie Name"
2074
  msgstr ""
2075
 
@@ -2125,22 +2137,30 @@ msgstr ""
2125
  msgid "Framed Border"
2126
  msgstr ""
2127
 
2128
- #: includes/pum-trigger-functions.php:79
2129
  msgid "Click Open"
2130
  msgstr ""
2131
 
2132
- #: includes/pum-trigger-functions.php:80
2133
  msgid "Click Trigger Settings"
2134
  msgstr ""
2135
 
2136
- #: includes/pum-trigger-functions.php:83
2137
  msgid "Extra Selectors"
2138
  msgstr ""
2139
 
2140
- #: includes/pum-trigger-functions.php:121
2141
  msgid "This allows custom css classes, ids or selector strings to trigger the popup when clicked. Separate multiple selectors using commas."
2142
  msgstr ""
2143
 
 
 
 
 
 
 
 
 
2144
  #: includes/scripts.php:57
2145
  msgid "Powered By Popup Maker"
2146
  msgstr ""
16
  "X-Poedit-SearchPathExcluded-0: *.js\n"
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n\n"
18
 
19
+ #: includes/admin/admin-pages.php:33, includes/admin/admin-pages.php:34, includes/admin/admin-pages.php:163, includes/admin/admin-setup.php:24, includes/admin/popups/class-metabox-cookies.php:61, includes/admin/popups/class-metabox-triggers.php:62
20
  msgid "Settings"
21
  msgstr ""
22
 
23
+ #: includes/admin/admin-pages.php:42, includes/admin/admin-pages.php:43, includes/admin/admin-pages.php:164
24
  msgid "Tools"
25
  msgstr ""
26
 
27
+ #: includes/admin/admin-pages.php:51, includes/admin/admin-pages.php:52, includes/admin/admin-pages.php:162
28
  msgid "Extend"
29
  msgstr ""
30
 
31
+ #: includes/admin/admin-pages.php:59, includes/admin/admin-pages.php:60
32
+ msgid "Popup Themes"
33
+ msgstr ""
34
+
35
+ #: includes/admin/admin-pages.php:68, includes/admin/admin-pages.php:69
36
  msgid "Help"
37
  msgstr ""
38
 
39
+ #: includes/admin/admin-pages.php:78, includes/admin/admin-pages.php:79
40
  msgid "Welcome to Popup Maker"
41
  msgstr ""
42
 
43
+ #: includes/admin/admin-pages.php:87, includes/admin/admin-pages.php:88, includes/admin/welcome/changelog.php:11
44
  msgid "Popup Maker Changelog"
45
  msgstr ""
46
 
47
+ #: includes/admin/admin-pages.php:96, includes/admin/admin-pages.php:97
48
  msgid "Getting started with Popup Maker"
49
  msgstr ""
50
 
51
+ #: includes/admin/admin-pages.php:105, includes/admin/admin-pages.php:106
52
  msgid "The people that build Popup Maker"
53
  msgstr ""
54
 
55
+ #: includes/admin/admin-pages.php:155
56
  msgid "All Popups"
57
  msgstr ""
58
 
59
+ #: includes/admin/admin-pages.php:156, includes/post-types.php:23, includes/post-types.php:53
60
  msgid "Add New"
61
  msgstr ""
62
 
63
+ #: includes/admin/admin-pages.php:157
64
  msgid "All Themes"
65
  msgstr ""
66
 
67
+ #: includes/admin/admin-pages.php:158, includes/admin/popups/dashboard-columns.php:43, includes/class-pum-conditions.php:74, includes/post-types.php:190
68
  msgid "Categories"
69
  msgstr ""
70
 
71
+ #: includes/admin/admin-pages.php:159, includes/admin/popups/dashboard-columns.php:39, includes/class-pum-conditions.php:75, includes/post-types.php:217
72
  msgid "Tags"
73
  msgstr ""
74
 
330
  msgid "Cookies"
331
  msgstr ""
332
 
333
+ #: includes/admin/popups/class-metabox-cookies.php:51, includes/pum-trigger-functions.php:32
334
  msgid "Add New Cookie"
335
  msgstr ""
336
 
394
  msgid "Type"
395
  msgstr ""
396
 
397
+ #: includes/admin/popups/class-metabox-triggers.php:61, includes/class-pum-cookie.php:47, includes/pum-trigger-functions.php:57
398
  msgid "Cookie"
399
  msgstr ""
400
 
414
  msgid "Choose what type of trigger to add?"
415
  msgstr ""
416
 
417
+ #: includes/admin/popups/class-metabox-triggers.php:214, includes/pum-trigger-functions.php:83
418
  msgid "Auto Open"
419
  msgstr ""
420
 
530
  msgid "Auto Adjusted Height"
531
  msgstr ""
532
 
533
+ #: includes/admin/popups/metabox-display-fields.php:123, includes/class-popmake-popup-fields.php:58
534
  msgid "Checking this option will set height to fit the content."
535
  msgstr ""
536
 
537
+ #: includes/admin/popups/metabox-display-fields.php:129, includes/class-popmake-popup-fields.php:64
538
  msgid "Scrollable Content"
539
  msgstr ""
540
 
541
+ #: includes/admin/popups/metabox-display-fields.php:143, includes/class-popmake-popup-fields.php:65
542
  msgid "Checking this option will add a scroll bar to your content."
543
  msgstr ""
544
 
545
+ #: includes/admin/popups/metabox-display-fields.php:150, includes/admin/themes/metabox-close-fields.php:53, includes/class-popmake-popup-fields.php:71, includes/class-popmake-popup-theme-fields.php:311, includes/shortcodes/class-pum-shortcode-popup.php:122
546
  msgid "Height"
547
  msgstr ""
548
 
549
+ #: includes/admin/popups/metabox-display-fields.php:164, includes/class-popmake-popup-fields.php:72
550
  msgid "Set a custom height for the popup."
551
  msgstr ""
552
 
553
+ #: includes/admin/popups/metabox-display-fields.php:174
554
  msgid "Overlay"
555
  msgstr ""
556
 
557
+ #: includes/admin/popups/metabox-display-fields.php:177, includes/class-popmake-popup-fields.php:82, includes/shortcodes/class-pum-shortcode-popup.php:96
558
  msgid "Disable Overlay"
559
  msgstr ""
560
 
561
+ #: includes/admin/popups/metabox-display-fields.php:191, includes/class-popmake-popup-fields.php:83, includes/shortcodes/class-pum-shortcode-popup.php:97
562
  msgid "Checking this will disable and hide the overlay for this popup."
563
  msgstr ""
564
 
565
+ #: includes/admin/popups/metabox-display-fields.php:200, includes/shortcodes/class-pum-shortcode-popup.php:49
566
  msgid "Animation"
567
  msgstr ""
568
 
569
+ #: includes/admin/popups/metabox-display-fields.php:205, includes/class-popmake-popup-fields.php:89, includes/shortcodes/class-pum-shortcode-popup.php:189
570
  msgid "Animation Type"
571
  msgstr ""
572
 
573
+ #: includes/admin/popups/metabox-display-fields.php:219, includes/class-popmake-popup-fields.php:90, includes/shortcodes/class-pum-shortcode-popup.php:190
574
  msgid "Select an animation type for your popup."
575
  msgstr ""
576
 
577
+ #: includes/admin/popups/metabox-display-fields.php:225, includes/class-popmake-popup-fields.php:97, includes/shortcodes/class-pum-shortcode-popup.php:197
578
  msgid "Animation Speed"
579
  msgstr ""
580
 
581
+ #: includes/admin/popups/metabox-display-fields.php:240, includes/class-popmake-popup-fields.php:98, includes/shortcodes/class-pum-shortcode-popup.php:198
582
  msgid "Set the animation speed for the popup."
583
  msgstr ""
584
 
585
+ #: includes/admin/popups/metabox-display-fields.php:246, includes/class-popmake-popup-fields.php:108, includes/shortcodes/class-pum-shortcode-popup.php:208
586
  msgid "Animation Origin"
587
  msgstr ""
588
 
589
+ #: includes/admin/popups/metabox-display-fields.php:259, includes/class-popmake-popup-fields.php:109, includes/shortcodes/class-pum-shortcode-popup.php:209
590
  msgid "Choose where the animation will begin."
591
  msgstr ""
592
 
593
+ #: includes/admin/popups/metabox-display-fields.php:270, includes/admin/themes/metabox-close-fields.php:107, includes/shortcodes/class-pum-shortcode-popup.php:48
594
  msgid "Position"
595
  msgstr ""
596
 
597
+ #: includes/admin/popups/metabox-display-fields.php:273, includes/class-popmake-popup-fields.php:116
598
  msgid "Stackable"
599
  msgstr ""
600
 
601
+ #: includes/admin/popups/metabox-display-fields.php:287, includes/class-popmake-popup-fields.php:117
602
  msgid "This enables other popups to remain open."
603
  msgstr ""
604
 
605
+ #: includes/admin/popups/metabox-display-fields.php:292, includes/admin/themes/metabox-close-fields.php:92, includes/class-popmake-popup-fields.php:130, includes/class-popmake-popup-theme-fields.php:331, includes/shortcodes/class-pum-shortcode-popup.php:135
606
  msgid "Location"
607
  msgstr ""
608
 
609
+ #: includes/admin/popups/metabox-display-fields.php:304, includes/class-popmake-popup-fields.php:131, includes/shortcodes/class-pum-shortcode-popup.php:136
610
  msgid "Choose where the popup will be displayed."
611
  msgstr ""
612
 
613
+ #: includes/admin/popups/metabox-display-fields.php:308, includes/class-popmake-popup-fields.php:123
614
  msgid "Fixed Postioning"
615
  msgstr ""
616
 
617
+ #: includes/admin/popups/metabox-display-fields.php:322, includes/class-popmake-popup-fields.php:124
618
  msgid "Checking this sets the positioning of the popup to fixed."
619
  msgstr ""
620
 
621
+ #: includes/admin/popups/metabox-display-fields.php:327, includes/admin/themes/metabox-close-fields.php:111, includes/class-popmake-popup-fields.php:138, includes/class-popmake-popup-theme-fields.php:339, includes/input-options.php:129, includes/shortcodes/class-pum-shortcode-popup.php:143
622
  msgid "Top"
623
  msgstr ""
624
 
625
+ #: includes/admin/popups/metabox-display-fields.php:341, includes/class-popmake-popup-fields.php:139, includes/shortcodes/class-pum-shortcode-popup.php:144
626
  msgid "Distance from the top edge of the screen."
627
  msgstr ""
628
 
629
+ #: includes/admin/popups/metabox-display-fields.php:346, includes/admin/themes/metabox-close-fields.php:145, includes/class-popmake-popup-fields.php:149, includes/class-popmake-popup-theme-fields.php:359, includes/input-options.php:131, includes/shortcodes/class-pum-shortcode-popup.php:154
630
  msgid "Bottom"
631
  msgstr ""
632
 
633
+ #: includes/admin/popups/metabox-display-fields.php:360, includes/class-popmake-popup-fields.php:150, includes/shortcodes/class-pum-shortcode-popup.php:155
634
  msgid "Distance from the bottom edge of the screen."
635
  msgstr ""
636
 
637
+ #: includes/admin/popups/metabox-display-fields.php:365, includes/admin/themes/metabox-close-fields.php:128, includes/class-popmake-popup-fields.php:160, includes/class-popmake-popup-theme-fields.php:349, includes/input-options.php:85, includes/input-options.php:130, includes/shortcodes/class-pum-shortcode-popup.php:165
638
  msgid "Left"
639
  msgstr ""
640
 
641
+ #: includes/admin/popups/metabox-display-fields.php:379, includes/class-popmake-popup-fields.php:161, includes/shortcodes/class-pum-shortcode-popup.php:166
642
  msgid "Distance from the left edge of the screen."
643
  msgstr ""
644
 
645
+ #: includes/admin/popups/metabox-display-fields.php:384, includes/admin/themes/metabox-close-fields.php:162, includes/class-popmake-popup-fields.php:171, includes/class-popmake-popup-theme-fields.php:369, includes/input-options.php:87, includes/input-options.php:132, includes/shortcodes/class-pum-shortcode-popup.php:176
646
  msgid "Right"
647
  msgstr ""
648
 
649
+ #: includes/admin/popups/metabox-display-fields.php:398, includes/class-popmake-popup-fields.php:172, includes/shortcodes/class-pum-shortcode-popup.php:177
650
  msgid "Distance from the right edge of the screen."
651
  msgstr ""
652
 
653
+ #: includes/admin/popups/metabox-display-fields.php:407
654
  msgid "Z Index"
655
  msgstr ""
656
 
657
+ #: includes/admin/popups/metabox-display-fields.php:411, includes/class-popmake-popup-fields.php:182
658
  msgid "Overlay Z-Index"
659
  msgstr ""
660
 
661
+ #: includes/admin/popups/metabox-display-fields.php:416, includes/class-popmake-popup-fields.php:183
662
  msgid "Change the z-index layer level for the overlay."
663
  msgstr ""
664
 
665
+ #: includes/admin/popups/metabox-display-fields.php:421, includes/class-popmake-popup-fields.php:191
666
  msgid "Popup Z-Index"
667
  msgstr ""
668
 
669
+ #: includes/admin/popups/metabox-display-fields.php:426, includes/class-popmake-popup-fields.php:192
670
  msgid "Change the z-index layer level for the popup."
671
  msgstr ""
672
 
678
  msgid "Choose a theme for this popup."
679
  msgstr ""
680
 
681
+ #: includes/admin/popups/metabox-themes-fields.php:23
682
+ msgid "Customize This Theme"
683
+ msgstr ""
684
+
685
  #: includes/admin/popups/metabox.php:28
686
  msgid "Display Settings"
687
  msgstr ""
762
  msgid "Settings updated."
763
  msgstr ""
764
 
765
+ #: includes/admin/settings/register-settings.php:317, includes/class-popmake-fields.php:57, includes/class-pum-conditions.php:71, includes/class-pum-shortcode.php:144, includes/pum-condition-functions.php:33, includes/pum-trigger-functions.php:54, includes/shortcodes/class-pum-shortcode-popup.php:46
766
  msgid "General"
767
  msgstr ""
768
 
806
  msgid "Support"
807
  msgstr ""
808
 
809
+ #: includes/admin/shortcode-ui/class-pum-admin-shortcode-ui.php:225
810
  msgid "You do not have access to preview this post."
811
  msgstr ""
812
 
982
  msgid "Title Text"
983
  msgstr ""
984
 
985
+ #: includes/admin/themes/metabox.php:169, includes/class-pum-popup.php:407, includes/popup-functions.php:573
986
  msgid "&#215;"
987
  msgstr ""
988
 
1409
  msgid "Click Open Settings"
1410
  msgstr ""
1411
 
1412
+ #: includes/deprecated/v4.php:78, includes/pum-trigger-functions.php:84
1413
  msgid "Auto Open Settings"
1414
  msgstr ""
1415
 
1417
  msgid "Admin Debug Settings"
1418
  msgstr ""
1419
 
1420
+ #: includes/deprecated/v4.php:356, includes/pum-trigger-functions.php:111
1421
  msgid "Extra CSS Selectors"
1422
  msgstr ""
1423
 
1424
+ #: includes/deprecated/v4.php:360, includes/pum-trigger-functions.php:113
1425
  msgid ".my-class, #button2"
1426
  msgstr ""
1427
 
1437
  msgid "Checking this will cause popup to open automatically."
1438
  msgstr ""
1439
 
1440
+ #: includes/deprecated/v4.php:391, includes/pum-trigger-functions.php:85, includes/pum-trigger-functions.php:129
1441
  msgid "Delay"
1442
  msgstr ""
1443
 
1444
+ #: includes/deprecated/v4.php:405, includes/pum-trigger-functions.php:130
1445
  msgid "The delay before the popup will open in milliseconds."
1446
  msgstr ""
1447
 
1449
  msgid "Cookie Trigger"
1450
  msgstr ""
1451
 
1452
+ #: includes/deprecated/v4.php:430, includes/pum-trigger-functions.php:26
1453
  msgid "When do you want to create the cookie."
1454
  msgstr ""
1455
 
1853
  msgid "New %1$s"
1854
  msgstr ""
1855
 
1856
+ #: includes/post-types.php:27
1857
  msgid "All %2$s"
1858
  msgstr ""
1859
 
1877
  msgid "POPMAKE_NAME"
1878
  msgstr ""
1879
 
1880
+ #: includes/post-types.php:57
1881
+ msgid "Popup %2$s"
1882
+ msgstr ""
1883
+
1884
  #: includes/post-types.php:94, includes/shortcodes/class-pum-shortcode-popup.php:26, includes/shortcodes/class-pum-shortcode-popup.php:324
1885
  msgid "Popup"
1886
  msgstr ""
2081
  msgid "404 Pages"
2082
  msgstr ""
2083
 
2084
+ #: includes/pum-cookie-functions.php:21, includes/pum-trigger-functions.php:25
2085
  msgid "Cookie Name"
2086
  msgstr ""
2087
 
2137
  msgid "Framed Border"
2138
  msgstr ""
2139
 
2140
+ #: includes/pum-trigger-functions.php:78
2141
  msgid "Click Open"
2142
  msgstr ""
2143
 
2144
+ #: includes/pum-trigger-functions.php:79
2145
  msgid "Click Trigger Settings"
2146
  msgstr ""
2147
 
2148
+ #: includes/pum-trigger-functions.php:80
2149
  msgid "Extra Selectors"
2150
  msgstr ""
2151
 
2152
+ #: includes/pum-trigger-functions.php:112
2153
  msgid "This allows custom css classes, ids or selector strings to trigger the popup when clicked. Separate multiple selectors using commas."
2154
  msgstr ""
2155
 
2156
+ #: includes/pum-trigger-functions.php:117
2157
+ msgid "Do not prevent the default click functionality."
2158
+ msgstr ""
2159
+
2160
+ #: includes/pum-trigger-functions.php:118
2161
+ msgid "This prevents us from disabling the browsers default action when a trigger is clicked. It can be used to allow a link to a file to both trigger a popup and still download the file."
2162
+ msgstr ""
2163
+
2164
  #: includes/scripts.php:57
2165
  msgid "Powered By Popup Maker"
2166
  msgstr ""
popup-maker.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wppopupmaker.com/
5
  * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
6
  * Author: WP Popup Maker
7
- * Version: 1.4.9
8
  * Author URI: https://wppopupmaker.com/
9
  * Text Domain: popup-maker
10
  *
@@ -144,7 +144,7 @@ if ( ! class_exists( 'Popup_Maker' ) ) :
144
  }
145
 
146
  if ( ! defined( 'POPMAKE_VERSION' ) ) {
147
- define( 'POPMAKE_VERSION', '1.4.9' );
148
  }
149
 
150
  if ( ! defined( 'POPMAKE_DB_VERSION' ) ) {
@@ -321,8 +321,12 @@ if ( ! class_exists( 'Popup_Maker' ) ) :
321
 
322
  }
323
 
324
- require_once POPMAKE_DIR . 'includes/integrations/class-popmake-woocommerce-integration.php';
325
- require_once POPMAKE_DIR . 'includes/integrations/class-pum-woocommerce-integration.php';
 
 
 
 
326
 
327
  if ( defined( 'WPB_VC_VERSION' ) || defined( 'FL_BUILDER_VERSION' ) ) {
328
  require_once POPMAKE_DIR . 'includes/integrations/visual-composer.php';
4
  * Plugin URI: https://wppopupmaker.com/
5
  * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
6
  * Author: WP Popup Maker
7
+ * Version: 1.4.10
8
  * Author URI: https://wppopupmaker.com/
9
  * Text Domain: popup-maker
10
  *
144
  }
145
 
146
  if ( ! defined( 'POPMAKE_VERSION' ) ) {
147
+ define( 'POPMAKE_VERSION', '1.4.10' );
148
  }
149
 
150
  if ( ! defined( 'POPMAKE_DB_VERSION' ) ) {
321
 
322
  }
323
 
324
+ if ( pum_is_v1_4_compatible() ) {
325
+ require_once POPMAKE_DIR . 'includes/integrations/class-pum-woocommerce-integration.php';
326
+ } else {
327
+ require_once POPMAKE_DIR . 'includes/integrations/class-popmake-woocommerce-integration.php';
328
+ }
329
+
330
 
331
  if ( defined( 'WPB_VC_VERSION' ) || defined( 'FL_BUILDER_VERSION' ) ) {
332
  require_once POPMAKE_DIR . 'includes/integrations/visual-composer.php';
readme.txt CHANGED
@@ -5,8 +5,8 @@ Plugin URI: https://wppopupmaker.com/?utm_source=WordPress+Page&utm_medium=Readm
5
  Donate link:
6
  Tags: responsive popup, promotion, popover, pop-up, pop over, marketing, lightbox, advertising, conversion, modal, popup, popups
7
  Requires at least: 3.4
8
- Tested up to: 4.5
9
- Stable tag: 1.4.9
10
  License: GNU Version 3 or Any Later Version
11
 
12
  Easily create attractive popups with no coding skills. Customize nearly every aspect of your popups, from theme & position, to targeting & cookies.
@@ -117,7 +117,18 @@ There are several common causes for this which include:
117
 
118
  == Changelog ==
119
 
120
- = v1.4.9 - TBD =
 
 
 
 
 
 
 
 
 
 
 
121
  * Improvement: Reduced front end queries by over 85%. Avgerage sites should now only have 2 to 3.
122
  * Improvement: Added caching enhancements for even better performance on servers with page, object & query caching.
123
  * Improvement: Added a fully namespaced version of Select2 for compatiblitiy while other plugins await updating. Will gracefully fall back to the non namespaced version when it no longer causes issues.
5
  Donate link:
6
  Tags: responsive popup, promotion, popover, pop-up, pop over, marketing, lightbox, advertising, conversion, modal, popup, popups
7
  Requires at least: 3.4
8
+ Tested up to: 4.5.2
9
+ Stable tag: 1.4.10
10
  License: GNU Version 3 or Any Later Version
11
 
12
  Easily create attractive popups with no coding skills. Customize nearly every aspect of your popups, from theme & position, to targeting & cookies.
117
 
118
  == Changelog ==
119
 
120
+ = v1.4.10 - 5/30/2016 =
121
+ * Feature: Added Do Default option to the click triggers. Allows a triggers default browsers behavior to occur and still open a popup, such as a file link.
122
+ * Improvement: Added additional links to the theme editor for better visibility and to guide users there.
123
+ * Tweak: Older methods are only loaded when needed, this also removes usage of a deprecated filter.
124
+ * Tweak: All Pages now includes Home Page / Front Page.
125
+ * Tweak: A default click trigger is always added. (Like pre v1.4)
126
+ * Fix: Low z-index caused issues when the overlay is disabled.
127
+ * Fix: Bug where none animation couldn't be re-opened.
128
+ * Fix: Cleaned up issues allowing popup post type to be added directly to menus and sitemaps.
129
+ * Fix: Bug where auto height checkbox would not stay checked.
130
+
131
+ = v1.4.9 - 5/01/2016 =
132
  * Improvement: Reduced front end queries by over 85%. Avgerage sites should now only have 2 to 3.
133
  * Improvement: Added caching enhancements for even better performance on servers with page, object & query caching.
134
  * Improvement: Added a fully namespaced version of Select2 for compatiblitiy while other plugins await updating. Will gracefully fall back to the non namespaced version when it no longer causes issues.