text:
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/include\/_normalize\.scss}line{font-family:\000031}}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: top; }

/* HTML5 display-role reset for older browsers */
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/include\/_normalize\.scss}line{font-family:\0000322}}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/include\/_normalize\.scss}line{font-family:\0000326}}
body {
  line-height: 1; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/include\/_normalize\.scss}line{font-family:\0000329}}
ol, ul {
  list-style: none; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/include\/_normalize\.scss}line{font-family:\0000332}}
blockquote, q {
  quotes: none; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/include\/_normalize\.scss}line{font-family:\0000335}}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/include\/_normalize\.scss}line{font-family:\0000340}}
table {
  border-collapse: collapse;
  border-spacing: 0; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000357}}
.container, .container-fluid {
  margin-right: auto;
  margin-left: auto;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

/*===============   Fluid grid    ====================*/
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000370}}
.container-fluid [class*="grid_"] {
  float: left;
  width: 8.33333%;
  min-height: 1px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_1 {
  width: 8.33333%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_2 {
  width: 16.66667%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_3 {
  width: 25%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_4 {
  width: 33.33333%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_5 {
  width: 41.66667%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_6 {
  width: 50%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_7 {
  width: 58.33333%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_8 {
  width: 66.66667%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_9 {
  width: 75%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_10 {
  width: 83.33333%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_11 {
  width: 91.66667%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000379}}
.container-fluid .grid_12 {
  width: 100%; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_1 {
  margin-left: 70px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_2 {
  margin-left: 140px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_3 {
  margin-left: 210px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_4 {
  margin-left: 280px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_5 {
  margin-left: 350px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_6 {
  margin-left: 420px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_7 {
  margin-left: 490px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_8 {
  margin-left: 560px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_9 {
  margin-left: 630px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_10 {
  margin-left: 700px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_11 {
  margin-left: 770px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000386}}
.container-fluid .preffix_12 {
  margin-left: 840px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000326}}
.container, .container-fluid {
  width: 1170px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000331}}
.container .row {
  margin-left: -30px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000335}}
.container [class*="grid_"] {
  float: left;
  min-height: 1px;
  margin-left: 30px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_1 {
  width: 70px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_2 {
  width: 170px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_3 {
  width: 270px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_4 {
  width: 370px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_5 {
  width: 470px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_6 {
  width: 570px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_7 {
  width: 670px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_8 {
  width: 770px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_9 {
  width: 870px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_10 {
  width: 970px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_11 {
  width: 1070px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
.container .grid_12 {
  width: 1170px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_1 {
  margin-left: 130px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_2 {
  margin-left: 230px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_3 {
  margin-left: 330px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_4 {
  margin-left: 430px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_5 {
  margin-left: 530px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_6 {
  margin-left: 630px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_7 {
  margin-left: 730px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_8 {
  margin-left: 830px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_9 {
  margin-left: 930px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_10 {
  margin-left: 1030px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_11 {
  margin-left: 1130px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
.container .preffix_12 {
  margin-left: 1230px; }

@media (min-width: 980px) and (max-width: 1199px) {
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000326}}
  .container, .container-fluid {
    width: 940px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000331}}
  .container .row {
    margin-left: -20px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000335}}
  .container [class*="grid_"] {
    float: left;
    min-height: 1px;
    margin-left: 20px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_1 {
    width: 60px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_2 {
    width: 140px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_3 {
    width: 220px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_4 {
    width: 300px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_5 {
    width: 380px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_6 {
    width: 460px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_7 {
    width: 540px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_8 {
    width: 620px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_9 {
    width: 700px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_10 {
    width: 780px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_11 {
    width: 860px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_12 {
    width: 940px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_1 {
    margin-left: 100px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_2 {
    margin-left: 180px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_3 {
    margin-left: 260px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_4 {
    margin-left: 340px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_5 {
    margin-left: 420px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_6 {
    margin-left: 500px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_7 {
    margin-left: 580px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_8 {
    margin-left: 660px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_9 {
    margin-left: 740px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_10 {
    margin-left: 820px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_11 {
    margin-left: 900px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_12 {
    margin-left: 980px; } }
@media (min-width: 768px) and (max-width: 979px) {
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000326}}
  .container, .container-fluid {
    width: 748px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000331}}
  .container .row {
    margin-left: -20px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000335}}
  .container [class*="grid_"] {
    float: left;
    min-height: 1px;
    margin-left: 20px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_1 {
    width: 44px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_2 {
    width: 108px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_3 {
    width: 172px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_4 {
    width: 236px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_5 {
    width: 300px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_6 {
    width: 364px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_7 {
    width: 428px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_8 {
    width: 492px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_9 {
    width: 556px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_10 {
    width: 620px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_11 {
    width: 684px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000342}}
  .container .grid_12 {
    width: 748px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_1 {
    margin-left: 84px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_2 {
    margin-left: 148px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_3 {
    margin-left: 212px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_4 {
    margin-left: 276px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_5 {
    margin-left: 340px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_6 {
    margin-left: 404px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_7 {
    margin-left: 468px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_8 {
    margin-left: 532px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_9 {
    margin-left: 596px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_10 {
    margin-left: 660px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_11 {
    margin-left: 724px; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\0000348}}
  .container .preffix_12 {
    margin-left: 788px; } }
@media (max-width: 767px) {
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\00003102}}
  .container, .container-fluid {
    width: 420px;
    padding: 0; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\00003106}}
  .container .row {
    margin-left: 0; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\00003110}}
  .row + .row,
  [class*="grid_"] + [class*="grid_"] {
    margin-top: 30px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\00003116}}
  .container [class*="grid_"], .container-fluid [class*="grid_"] {
    float: none;
    display: block;
    width: 100%;
    margin-left: 0; } }
@media (max-width: 479px) {
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\00003126}}
  body {
    padding: 0; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\00003130}}
  .container, .container-fluid {
    width: 300px;
    padding: 0 15px; }

@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\00003135}}
  .row {
    margin-left: 0; } }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\00003141}}
.container:before, .container-fluid:before, .row:before, .container:after, .container-fluid:after, .row:after {
  display: table;
  content: "";
  line-height: 0; }
@media -sass-debug-info{filename{font-family:file\:\/\/D\:\/wamp\/www\/landing\/01\.February\/02\.Mercury\.25593\.landing\.nyan\/new\/2-develop\/site\/sass\/grid\.scss}line{font-family:\00003148}}
.container:after, .container-fluid:after, .row:after {
  clear: both; }


text:
"""Imports unittest as a replacement for testing.pybase.googletest."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import atexit
import itertools
import os
import sys
import tempfile

# go/tf-wildcard-import
# pylint: disable=wildcard-import
from unittest import *
# pylint: enable=wildcard-import

from tensorflow.python.framework import errors
from tensorflow.python.lib.io import file_io
from tensorflow.python.platform import app
from tensorflow.python.platform import benchmark
from tensorflow.python.platform import tf_logging as logging
from tensorflow.python.util import tf_decorator
from tensorflow.python.util import tf_inspect

Benchmark = benchmark.TensorFlowBenchmark  # pylint: disable=invalid-name

unittest_main = main

# We keep a global variable in this module to make sure we create the temporary
# directory only once per test binary invocation.
_googletest_temp_dir = ''

# pylint: disable=invalid-name
# pylint: disable=undefined-variable
def g_main(argv):
  """Delegate to unittest.main after redefining testLoader."""
  if 'TEST_SHARD_STATUS_FILE' in os.environ:
    try:
      f = None
      try:
        f = open(os.environ['TEST_SHARD_STATUS_FILE'], 'w')
        f.write('')
      except IOError:
        sys.stderr.write('Error opening TEST_SHARD_STATUS_FILE (%s). Exiting.'
                         % os.environ['TEST_SHARD_STATUS_FILE'])
        sys.exit(1)
    finally:
      if f is not None: f.close()

  if ('TEST_TOTAL_SHARDS' not in os.environ or
      'TEST_SHARD_INDEX' not in os.environ):
    return unittest_main(argv=argv)

  total_shards = int(os.environ['TEST_TOTAL_SHARDS'])
  shard_index = int(os.environ['TEST_SHARD_INDEX'])
  base_loader = TestLoader()

  delegate_get_names = base_loader.getTestCaseNames
  bucket_iterator = itertools.cycle(range(total_shards))

  def getShardedTestCaseNames(testCaseClass):
    filtered_names = []
    for testcase in sorted(delegate_get_names(testCaseClass)):
      bucket = next(bucket_iterator)
      if bucket == shard_index:
        filtered_names.append(testcase)
    return filtered_names

  # Override getTestCaseNames
  base_loader.getTestCaseNames = getShardedTestCaseNames

  unittest_main(argv=argv, testLoader=base_loader)

# Redefine main to allow running benchmarks
def main(argv=None):  # pylint: disable=function-redefined
  def main_wrapper():
    args = argv
    if args is None:
      args = sys.argv
    return app.run(main=g_main, argv=args)
  benchmark.benchmarks_main(true_main=main_wrapper)

def GetTempDir():
  """Return a temporary directory for tests to use."""
  global _googletest_temp_dir
  if not _googletest_temp_dir:
    first_frame = tf_inspect.stack()[-1][0]
    temp_dir = os.path.join(tempfile.gettempdir(),
                            os.path.basename(tf_inspect.getfile(first_frame)))
    temp_dir = tempfile.mkdtemp(prefix=temp_dir.rstrip('.py'))

    def delete_temp_dir(dirname=temp_dir):
      try:
        file_io.delete_recursively(dirname)
      except errors.OpError as e:
        logging.error('Error removing %s: %s', dirname, e)

    atexit.register(delete_temp_dir)
    _googletest_temp_dir = temp_dir

  return _googletest_temp_dir

def test_src_dir_path(relative_path):
  """Creates an absolute test srcdir path given a relative path.

  Args:
    relative_path: a path relative to tensorflow root.
      e.g. "contrib/session_bundle/example".

  Returns:
    An absolute path to the linked in runfiles.
  """
  return os.path.join(os.environ['TEST_SRCDIR'],
                      'org_tensorflow/tensorflow', relative_path)

def StatefulSessionAvailable():
  return False

class StubOutForTesting(object):
  """Support class for stubbing methods out for unit testing.

  Sample Usage:

  You want os.path.exists() to always return true during testing.

     stubs = StubOutForTesting()
     stubs.Set(os.path, 'exists', lambda x: 1)
       ...
     stubs.CleanUp()

  The above changes os.path.exists into a lambda that returns 1.  Once
  the ... part of the code finishes, the CleanUp() looks up the old
  value of os.path.exists and restores it.
  """

  def __init__(self):
    self.cache = []
    self.stubs = []

  def __del__(self):
    """Do not rely on the destructor to undo your stubs.

    You cannot guarantee exactly when the destructor will get called without
    relying on implementation details of a Python VM that may change.
    """
    self.CleanUp()

  # __enter__ and __exit__ allow use as a context manager.
  def __enter__(self):
    return self

  def __exit__(self, unused_exc_type, unused_exc_value, unused_tb):
    self.CleanUp()

  def CleanUp(self):
    """Undoes all SmartSet() & Set() calls, restoring original definitions."""
    self.SmartUnsetAll()
    self.UnsetAll()

  def SmartSet(self, obj, attr_name, new_attr):
    """Replace obj.attr_name with new_attr.

    This method is smart and works at the module, class, and instance level
    while preserving proper inheritance. It will not stub out C types however
    unless that has been explicitly allowed by the type.

    This method supports the case where attr_name is a staticmethod or a
    classmethod of obj.

    Notes:
      - If obj is an instance, then it is its class that will actually be
        stubbed. Note that the method Set() does not do that: if obj is
        an instance, it (and not its class) will be stubbed.
      - The stubbing is using the builtin getattr and setattr. So, the __get__
        and __set__ will be called when stubbing (TODO: A better idea would
        probably be to manipulate obj.__dict__ instead of getattr() and
        setattr()).

    Args:
      obj: The object whose attributes we want to modify.
      attr_name: The name of the attribute to modify.
      new_attr: The new value for the attribute.

    Raises:
      AttributeError: If the attribute cannot be found.
    """
    _, obj = tf_decorator.unwrap(obj)
    if (tf_inspect.ismodule(obj) or
        (not tf_inspect.isclass(obj) and attr_name in obj.__dict__)):
      orig_obj = obj
      orig_attr = getattr(obj, attr_name)
    else:
      if not tf_inspect.isclass(obj):
        mro = list(tf_inspect.getmro(obj.__class__))
      else:
        mro = list(tf_inspect.getmro(obj))

      mro.reverse()

      orig_attr = None
      found_attr = False

      for cls in mro:
        try:
          orig_obj = cls
          orig_attr = getattr(obj, attr_name)
          found_attr = True
        except AttributeError:
          continue

      if not found_attr:
        raise AttributeError('Attribute not found.')

    # Calling getattr() on a staticmethod transforms it to a 'normal' function.
    # We need to ensure that we put it back as a staticmethod.
    old_attribute = obj.__dict__.get(attr_name)
    if old_attribute is not None and isinstance(old_attribute, staticmethod):
      orig_attr = staticmethod(orig_attr)

    self.stubs.append((orig_obj, attr_name, orig_attr))
    setattr(orig_obj, attr_name, new_attr)

  def SmartUnsetAll(self):
    """Reverses SmartSet() calls, restoring things to original definitions.

    This method is automatically called when the StubOutForTesting()
    object is deleted; there is no need to call it explicitly.

    It is okay to call SmartUnsetAll() repeatedly, as later calls have
    no effect if no SmartSet() calls have been made.
    """
    for args in reversed(self.stubs):
      setattr(*args)

    self.stubs = []

  def Set(self, parent, child_name, new_child):
    """In parent, replace child_name's old definition with new_child.

    The parent could be a module when the child is a function at
    module scope.  Or the parent could be a class when a class' method
    is being replaced.  The named child is set to new_child, while the
    prior definition is saved away for later, when UnsetAll() is
    called.

    This method supports the case where child_name is a staticmethod or a
    classmethod of parent.

    Args:
      parent: The context in which the attribute child_name is to be changed.
      child_name: The name of the attribute to change.
      new_child: The new value of the attribute.
    """
    old_child = getattr(parent, child_name)

    old_attribute = parent.__dict__.get(child_name)
    if old_attribute is not None and isinstance(old_attribute, staticmethod):
      old_child = staticmethod(old_child)

    self.cache.append((parent, old_child, child_name))
    setattr(parent, child_name, new_child)

  def UnsetAll(self):
    """Reverses Set() calls, restoring things to their original definitions.

    This method is automatically called when the StubOutForTesting()
    object is deleted; there is no need to call it explicitly.

    It is okay to call UnsetAll() repeatedly, as later calls have no
    effect if no Set() calls have been made.
    """
    # Undo calls to Set() in reverse order, in case Set() was called on the
    # same arguments repeatedly (want the original call to be last one undone)
    for (parent, old_child, child_name) in reversed(self.cache):
      setattr(parent, child_name, old_child)
    self.cache = []

redpajama_set_name: RedPajamaGithub


text:
module AlchemyContentable

  require 'alchemy_contentable/engine'

  require 'alchemy_contentable/model_mixin'
  require 'alchemy_contentable/admin_controller_mixin'
  require 'alchemy_contentable/controller_mixin'
  require 'alchemy_contentable/migration_helper'

  Engine.config.after_initialize do
    require 'alchemy_contentable/patches/elements_controller'
    require 'alchemy_contentable/patches/element.rb'
  end
end

class ActionController::Base
  include AlchemyContentable
end


text:
function init$Status() {
  var $Status = function(settings) {
    var $status = {};

    $status.elem = d3.select(settings && settings.selector);

    $status.clicks = Bacon.fromBinder(function(sink) {
      $status.elem.on("click", function() {
        sink();
      });
    });

    return $status;
  };

  $Status.start = function($status) {
    $status.timer = Bacon.interval(1000, 1).scan(0, function(acc, n) {
      return acc + n;
    });

    $status.timer.onValue(function(seconds) {
      var min = Math.floor(seconds / 60);
      var sec = seconds % 60;

      $status.elem.select(".time").text((min < 10 ? "0" + min : min) + ":" + (sec < 10 ? "0" + sec : sec));
    });
  };

  $Status.update = function($status, message) {
    $status.elem.select(".status").text(message);
  };

  return $Status;
};


text:
package main

import (
	"encoding/json"
	"github.com/ToQoz/go-formspec"
	"log"
	"net/http"
)

var (
	sampleFormSpec = formspec.New()
)

func init() {
	sampleFormSpec.Rule("name", formspec.RuleRequired())
	sampleFormSpec.Rule("age", formspec.RuleInt()).Message("must be integer. ok?").AllowBlank()
	sampleFormSpec.Rule("nick", formspec.RuleRequired()).FullMessage("Please enter your cool nickname.")
}

type User struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
}

func (u *User) Validate() *formspec.Result {
	r := formspec.NewOkResult()

	if u.Id == 0 {
		r.Errors = append(r.Errors, formspec.NewError("id", "id is required"))
	}

	if u.Name == "" {
		r.Errors = append(r.Errors, formspec.NewError("name", "name is required"))
	}

	if len(r.Errors) > 0 {
		r.Ok = false
	}

	return r
}

func main() {
	// *** Validate form ***
	// This is basic usage.
	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
		vr := sampleFormSpec.Validate(r)

		if !vr.Ok {
			j, err := json.Marshal(vr)

			if err != nil {
				http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
				return
			}

			w.Header().Set("Content-Type", "application/json; charset=utf8")
			w.WriteHeader(403)
			w.Write(j)

			return
		}

		w.Header().Set("Content-Type", "application/json; charset=utf8")
		w.Write([]byte(`{"message": "ok"}`))
	})

	// *** Validate model ***
	// Use *formspec.Result for model.Validate return value.
	// This way is good for unifying validation error expression in app.
	http.HandleFunc("/user", func(w http.ResponseWriter, r *http.Request) {
		u := &User{}
		vr := u.Validate()

		if !vr.Ok {
			j, err := json.Marshal(vr)

			if err != nil {
				http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
				return
			}

			w.Header().Set("Content-Type", "application/json; charset=utf8")
			w.WriteHeader(403)
			w.Write(j)

			return
		}

		w.Write([]byte("ok"))
	})

	addr := ":8888"
	log.Print("Listen " + addr)
	log.Fatal(http.ListenAndServe(addr, nil))
}


text:
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { AngularFire, FirebaseListObservable, FirebaseObjectObservable } from 'angularfire2';
import { Data } from '../../providers/data';
import { FormControl } from '@angular/forms';
import Firebase from 'firebase';
import { Platform } from 'ionic-angular';
import { ModalController, NavParams } from 'ionic-angular';
import { P } from '../user/p';

import 'rxjs/add/operator/debounceTime';
@Component({
  selector: 'search',
  templateUrl: 'search.html'
})
export class SearchPage {

  searchTerm: string = '';
  searchControl: FormControl;
  items: any;
  searching: any = false;

  public names: FirebaseListObservable<any>;
  public currentItems: any =  this.names;

  constructor(public navCtrl: NavController, public dataService: Data,public af: AngularFire,
    public modalCtrl: ModalController, private platform: Platform) {
    this.searchControl =  new FormControl();

    this.names = af.database.list('/name');
  }

  goToP(): void {
    this.navCtrl.push(P);
  }

  ionViewDidLoad() {

    this.setFilteredItems();

    this.searchControl.valueChanges.debounceTime(700).subscribe(search =>{
        this.searching = false;
        this.setFilteredItems();
    });

  }

  onSearchInput() {
    this.searching= true;
  }

  setFilteredItems() {
    this.items = this.dataService.filterItems(this.searchTerm);
  }

}


text:
package xal.extension.scan.analysis;

import java.util.*;
import java.awt.*;
import java.text.*;
import javax.swing.*;

import xal.tools.data.DataAdaptor;
import xal.extension.scan.*;
import xal.extension.widgets.plot.*;

/**
 *  This is a factory to produce different type of analysis.
 *
 *@author     A. Shishlo
 *@version    1.0
 */

public class AnalysisControllerFactory {

	private static String[] analysisTypes = {"MANAGEMENT",
			"FIND_MIN_MAX",
			"POLYNOMIAL_FITTING",
			"INTERSECTION_FINDING",
			"DTL_PHASE_SCAN",
			"DT_PROCEDURE"};

	/**
	 *  The constructor.
	 */
	private AnalysisControllerFactory() { }

	/**
	 *  Returns the specific analysis controller.
	 *
	 *@param  mainController         Description of the Parameter
	 *@param  analysisConf           Description of the Parameter
	 *@param  parentAnalysisPanel    Description of the Parameter
	 *@param  customControlPanel     Description of the Parameter
	 *@param  customGraphPanel       Description of the Parameter
	 *@param  globalButtonsPanel     Description of the Parameter
	 *@param  scanVariableParameter  Description of the Parameter
	 *@param  scanVariable           Description of the Parameter
	 *@param  measuredValuesV        Description of the Parameter
	 *@param  graphAnalysis          Description of the Parameter
	 *@param  messageTextLocal       Description of the Parameter
	 *@param  graphDataLocal         Description of the Parameter
	 *@return                        The aC value
	 */
	public static AnalysisController getAC(MainAnalysisController mainController,
			DataAdaptor analysisConf,
			JPanel parentAnalysisPanel,
			JPanel customControlPanel,
			JPanel customGraphPanel,
			JPanel globalButtonsPanel,
			ScanVariable scanVariableParameter,
			ScanVariable scanVariable,
			Vector<MeasuredValue> measuredValuesV,
			FunctionGraphsJPanel graphAnalysis,
			JTextField messageTextLocal,
			BasicGraphData graphDataLocal) {

		int analysisIndex = -1;
		for (int i = 0; i < analysisTypes.length; i++) {
			if (analysisTypes[i].equals(analysisConf.name())) {
				analysisIndex = i;
			}
		}

		AnalysisController AC = null;

		if (analysisIndex == 0) {
			AC = new AnalysisCntrlManagement(mainController,
					analysisConf,
					parentAnalysisPanel,
					customControlPanel,
					customGraphPanel,
					globalButtonsPanel,
					scanVariableParameter,
					scanVariable,
					measuredValuesV,
					graphAnalysis,
					messageTextLocal,
					graphDataLocal);
		} else if (analysisIndex == 1) {
			AC = new AnalysisCntrlFindMinMax(mainController,
					analysisConf,
					parentAnalysisPanel,
					customControlPanel,
					customGraphPanel,
					globalButtonsPanel,
					scanVariableParameter,
					scanVariable,
					measuredValuesV,
					graphAnalysis,
					messageTextLocal,
					graphDataLocal);
		} else if (analysisIndex == 2) {
			AC = new AnalysisCntrlPolynomFit(mainController,
					analysisConf,
					parentAnalysisPanel,
					customControlPanel,
					customGraphPanel,
					globalButtonsPanel,
					scanVariableParameter,
					scanVariable,
					measuredValuesV,
					graphAnalysis,
					messageTextLocal,
					graphDataLocal);
		} else if (analysisIndex == 3) {
			AC = new AnalysisCntrlFindIntersection(mainController,
					analysisConf,
					parentAnalysisPanel,
					customControlPanel,
					customGraphPanel,
					globalButtonsPanel,
					scanVariableParameter,
					scanVariable,
					measuredValuesV,
					graphAnalysis,
					messageTextLocal,
					graphDataLocal);
		} else if (analysisIndex == 4) {
			AC = new AnalysisCntrlDTLPhase(mainController,
					analysisConf,
					parentAnalysisPanel,
					customControlPanel,
					customGraphPanel,
					globalButtonsPanel,
					scanVariableParameter,
					scanVariable,
					measuredValuesV,
					graphAnalysis,
					messageTextLocal,
					graphDataLocal);
		} else if (analysisIndex == 5) {
			AC = new AnalysisCntrlTDProcedure(mainController,
					analysisConf,
					parentAnalysisPanel,
					customControlPanel,
					customGraphPanel,
					globalButtonsPanel,
					scanVariableParameter,
					scanVariable,
					measuredValuesV,
					graphAnalysis,
					messageTextLocal,
					graphDataLocal);
		}

		if (AC != null) {
			AC.setTypeName(analysisTypes[analysisIndex]);
		}

		return AC;
	}
}


text:
An app that facilitates pondering and memorizing (ponderizing) scripture passages in the Holy Bible, the
Book of Mormon, and other books of scripture in [the standard works of The Church of Jesus Christ of
Latter-day Saints](http://scriptures.lds.org).

In their General Conference in October 2015, Latter-day Saints (also known as [Mormons](http://mormon.org))
were encouraged to ponder and memorize - or "ponderize" - scriptures on a regular basis. This app is made
to make that easy and fun.

> The app icon was created using the
> [Android Asset Studio](http://romannurik.github.io/AndroidAssetStudio/index.html) by
> [Roman Nurik](https://github.com/romannurik), which generates content licensed under the
> [CC-BY 3.0](http://creativecommons.org/licenses/by/3.0/) license. Android, Google Play
> and the Google Play logo are trademarks of Google Inc.

### [Version 2.2](https://github.com/drmercer/Ponderizer/releases/tag/v2.2)
- Added scrolling capability to widgets
- Various bugfixes

### [Version 2.1](https://github.com/drmercer/Ponderizer/releases/tag/v2.1)
- Added weekly reminder option, to remind you to choose a new scripture each week.
- Added automatic detection of scripture references.
- Various bugfixes.
- Added option to enable sharing text from any app (not just Gospel Library). See "Settings" in the app.

### [Version 2.0](https://github.com/drmercer/Ponderizer/releases/tag/v2.0)
- Test how well you have memorized a scripture with the new Memorization Test.
- Mark a scripture as completed when you are done ponderizing it.
- Effortlessly import Scripture Mastery scriptures.

### [Version 1.1.1](https://github.com/drmercer/Ponderizer/releases/tag/v1.1.1)
- Fixed a bug and added a Help link.

### [Version 1.1](https://github.com/drmercer/Ponderizer/releases/tag/v1.1)
 - Added a context menu to the home screen widget. By tapping the scripture reference at the top of the
 widget, you will see a menu with an option to change the scripture shown in the widget.

### [Version 1.0](https://github.com/drmercer/Ponderizer/releases/tag/v1.0)
- Add scriptures directly from the Gospel Library app.
- Practice memorization of scriptures by partially or completely hiding some words.
- Add notes about the scriptures you ponderize to record your thoughts and impressions.
- Export or share scriptures and notes to add them to a third-party app (for example a journal app or the study journal in Gospel Library).


text:
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.

defined('MOODLE_INTERNAL') || die();

global $CFG;
require_once($CFG->dirroot.'/enrol/category/locallib.php');

class enrol_category_testcase extends advanced_testcase {

    protected function enable_plugin() {
        $enabled = enrol_get_plugins(true);
        $enabled['category'] = true;
        $enabled = array_keys($enabled);
        set_config('enrol_plugins_enabled', implode(',', $enabled));
    }

    protected function disable_plugin() {
        $enabled = enrol_get_plugins(true);
        unset($enabled['category']);
        $enabled = array_keys($enabled);
        set_config('enrol_plugins_enabled', implode(',', $enabled));
    }

    protected function enable_role_sync($roleid) {
        global $DB;

        $syscontext = context_system::instance();

        if ($rc = $DB->record_exists('role_capabilities', array('capability'=>'enrol/category:synchronised', 'roleid'=>$roleid, 'contextid'=>$syscontext->id))) {
            if ($rc->permission != CAP_ALLOW) {
                $rc->permission = CAP_ALLOW;
                $DB->update_record('role_capabilities', $rc);
            }
        } else {
            $rc = new stdClass();
            $rc->capability = 'enrol/category:synchronised';
            $rc->roleid = $roleid;
            $rc->contextid = $syscontext->id;
            $rc->permission = CAP_ALLOW;
            $rc->timemodified = time();
            $rc->modifierid = 0;
            $DB->insert_record('role_capabilities', $rc);
        }
    }

    protected function disable_role_sync($roleid) {
        global $DB;

        $syscontext = context_system::instance();

        $DB->delete_records('role_capabilities', array('capability'=>'enrol/category:synchronised', 'roleid'=>$roleid, 'contextid'=>$syscontext->id));
    }

    /**
     * Test utility methods used in syn test, fail here means something
     * in core accesslib was changed, but it is possible that only this test
     * is affected, nto the plugin itself...
     */
    public function test_utils() {
        global $DB;

        $this->resetAfterTest();

        $syscontext = context_system::instance();

        $this->assertFalse(enrol_is_enabled('category'));
        $this->enable_plugin();
        $this->assertTrue(enrol_is_enabled('category'));

        $roles = get_roles_with_capability('enrol/category:synchronised', CAP_ALLOW, $syscontext);
        $this->assertEmpty($roles);

        $studentrole = $DB->get_record('role', array('shortname'=>'student'));
        $this->assertNotEmpty($studentrole);

        $this->enable_role_sync($studentrole->id);
        $roles = get_roles_with_capability('enrol/category:synchronised', CAP_ALLOW, $syscontext);
        $this->assertEquals(1, count($roles));
        $this->assertEquals($studentrole, reset($roles));

        $this->disable_role_sync($studentrole->id);
        $roles = get_roles_with_capability('enrol/category:synchronised', CAP_ALLOW, $syscontext);
        $this->assertEmpty($roles);
    }

    public function test_handler_sync() {
        global $DB;

        $this->resetAfterTest();

        // Setup a few courses and categories.

        $studentrole = $DB->get_record('role', array('shortname'=>'student'));
        $this->assertNotEmpty($studentrole);
        $teacherrole = $DB->get_record('role', array('shortname'=>'teacher'));
        $this->assertNotEmpty($teacherrole);
        $managerrole = $DB->get_record('role', array('shortname'=>'manager'));
        $this->assertNotEmpty($managerrole);

        $cat1 = $this->getDataGenerator()->create_category();
        $cat2 = $this->getDataGenerator()->create_category();
        $cat3 = $this->getDataGenerator()->create_category(array('parent'=>$cat2->id));

        $course1 = $this->getDataGenerator()->create_course(array('category'=>$cat1->id));
        $course2 = $this->getDataGenerator()->create_course(array('category'=>$cat2->id));
        $course3 = $this->getDataGenerator()->create_course(array('category'=>$cat3->id));
        $course4 = $this->getDataGenerator()->create_course(array('category'=>$cat3->id));

        $user1 = $this->getDataGenerator()->create_user();
        $user2 = $this->getDataGenerator()->create_user();
        $user3 = $this->getDataGenerator()->create_user();
        $user4 = $this->getDataGenerator()->create_user();

        $this->enable_role_sync($studentrole->id);
        $this->enable_role_sync($teacherrole->id);
        $this->enable_plugin();

        $this->assertEquals(0, $DB->count_records('role_assignments', array()));
        $this->assertEquals(0, $DB->count_records('user_enrolments', array()));

        // Test assign event.

        role_assign($managerrole->id, $user1->id, context_coursecat::instance($cat1->id));
        role_assign($managerrole->id, $user3->id, context_course::instance($course1->id));
        role_assign($managerrole->id, $user3->id, context_course::instance($course2->id));
        $this->assertEquals(0, $DB->count_records('user_enrolments', array()));

        role_assign($studentrole->id, $user1->id, context_coursecat::instance($cat2->id));
        $this->assertTrue(is_enrolled(context_course::instance($course2->id), $user1->id));
        $this->assertTrue(is_enrolled(context_course::instance($course3->id), $user1->id));
        $this->assertTrue(is_enrolled(context_course::instance($course4->id), $user1->id));
        $this->assertEquals(3, $DB->count_records('user_enrolments', array()));

        role_assign($managerrole->id, $user2->id, context_coursecat::instance($cat3->id));
        $this->assertEquals(3, $DB->count_records('user_enrolments', array()));

        role_assign($teacherrole->id, $user4->id, context_coursecat::instance($cat1->id));
        $this->assertTrue(is_enrolled(context_course::instance($course1->id), $user4->id));
        $this->assertEquals(4, $DB->count_records('user_enrolments', array()));

        // Test role unassigned event.

        role_unassign($teacherrole->id, $user4->id, context_coursecat::instance($cat1->id)->id);
        $this->assertFalse(is_enrolled(context_course::instance($course1->id), $user4->id));
        $this->assertEquals(3, $DB->count_records('user_enrolments', array()));

        // Make sure handlers are disabled when plugin disabled.

        $this->disable_plugin();
        role_unassign($studentrole->id, $user1->id, context_coursecat::instance($cat2->id)->id);
        $this->assertEquals(3, $DB->count_records('user_enrolments', array()));

        role_assign($studentrole->id, $user3->id, context_coursecat::instance($cat1->id));
        $this->assertEquals(3, $DB->count_records('user_enrolments', array()));

    }

    public function test_sync_course() {
        global $DB;

        $this->resetAfterTest();

        // Setup a few courses and categories.

        $studentrole = $DB->get_record('role', array('shortname'=>'student'));
        $this->assertNotEmpty($studentrole);
        $teacherrole = $DB->get_record('role', array('shortname'=>'teacher'));
        $this->assertNotEmpty($teacherrole);
        $managerrole = $DB->get_record('role', array('shortname'=>'manager'));
        $this->assertNotEmpty($managerrole);

        $cat1 = $this->getDataGenerator()->create_category();
        $cat2 = $this->getDataGenerator()->create_category();
        $cat3 = $this->getDataGenerator()->create_category(array('parent'=>$cat2->id));

        $course1 = $this->getDataGenerator()->create_course(array('category'=>$cat1->id));
        $course2 = $this->getDataGenerator()->create_course(array('category'=>$cat2->id));
        $course3 = $this->getDataGenerator()->create_course(array('category'=>$cat3->id));
        $course4 = $this->getDataGenerator()->create_course(array('category'=>$cat3->id));

        $user1 = $this->getDataGenerator()->create_user();
        $user2 = $this->getDataGenerator()->create_user();
        $user3 = $this->getDataGenerator()->create_user();
        $user4 = $this->getDataGenerator()->create_user();

        $this->enable_role_sync($studentrole->id);
        $this->enable_role_sync($teacherrole->id);
        $this->enable_plugin();

        $this->assertEquals(0, $DB->count_records('role_assignments', array()));
        role_assign($managerrole->id, $user1->id, context_coursecat::instance($cat1->id));
        role_assign($managerrole->id, $user3->id, context_course::instance($course1->id));
        role_assign($managerrole->id, $user3->id, context_course::instance($course2->id));
        $this->assertEquals(0, $DB->count_records('user_enrolments', array()));

        $this->disable_plugin(); // Stops the event handlers.
        role_assign($studentrole->id, $user1->id, context_coursecat::instance($cat2->id));
        $this->assertEquals(0, $DB->count_records('user_enrolments', array()));
        $this->enable_plugin();
        enrol_category_sync_course($course2);
        $this->assertTrue(is_enrolled(context_course::instance($course2->id), $user1->id));
        $this->assertFalse(is_enrolled(context_course::instance($course3->id), $user1->id));
        $this->assertFalse(is_enrolled(context_course::instance($course4->id), $user1->id));
        $this->assertEquals(1, $DB->count_records('user_enrolments', array()));

        enrol_category_sync_course($course2);
        enrol_category_sync_course($course3);
        enrol_category_sync_course($course4);
        $this->assertFalse(is_enrolled(context_course::instance($course1->id), $user1->id));
        $this->assertTrue(is_enrolled(context_course::instance($course2->id), $user1->id));
        $this->assertTrue(is_enrolled(context_course::instance($course3->id), $user1->id));
        $this->assertTrue(is_enrolled(context_course::instance($course4->id), $user1->id));
        $this->assertEquals(3, $DB->count_records('user_enrolments', array()));

        $this->disable_plugin(); // Stops the event handlers.
        role_assign($studentrole->id, $user2->id, context_coursecat::instance($cat1->id));
        role_assign($teacherrole->id, $user4->id, context_coursecat::instance($cat1->id));
        role_unassign($studentrole->id, $user1->id, context_coursecat::instance($cat2->id)->id);
        $this->assertEquals(3, $DB->count_records('user_enrolments', array()));
        $this->enable_plugin();
        enrol_category_sync_course($course2);
        $this->assertFalse(is_enrolled(context_course::instance($course2->id), $user1->id));
        $this->assertFalse(is_enrolled(context_course::instance($course2->id), $user2->id));
        $this->assertFalse(is_enrolled(context_course::instance($course2->id), $user4->id));
        enrol_category_sync_course($course1);
        enrol_category_sync_course($course3);
        enrol_category_sync_course($course4);
        $this->assertEquals(2, $DB->count_records('user_enrolments', array()));
        $this->assertTrue(is_enrolled(context_course::instance($course1->id), $user2->id));
        $this->assertTrue(is_enrolled(context_course::instance($course1->id), $user4->id));

        $this->disable_role_sync($studentrole->id);
        enrol_category_sync_course($course1);
        enrol_category_sync_course($course2);
        enrol_category_sync_course($course3);
        enrol_category_sync_course($course4);
        $this->assertEquals(1, $DB->count_records('user_enrolments', array()));
        $this->assertTrue(is_enrolled(context_course::instance($course1->id), $user4->id));

        $this->assertEquals(1, $DB->count_records('enrol', array('enrol'=>'category')));
        $this->disable_role_sync($teacherrole->id);
        enrol_category_sync_course($course1);
        enrol_category_sync_course($course2);
        enrol_category_sync_course($course3);
        enrol_category_sync_course($course4);
        $this->assertEquals(0, $DB->count_records('user_enrolments', array()));
        $this->assertEquals(0, $DB->count_records('enrol', array('enrol'=>'category')));
    }

    public function test_sync_full() {
        global $DB;

        $this->resetAfterTest();

        // Setup a few courses and categories.

        $studentrole = $DB->get_record('role', array('shortname'=>'student'));
        $this->assertNotEmpty($studentrole);
        $teacherrole = $DB->get_record('role', array('shortname'=>'teacher'));
        $this->assertNotEmpty($teacherrole);
        $managerrole = $DB->get_record('role', array('shortname'=>'manager'));
        $this->assertNotEmpty($managerrole);

        $cat1 = $this->getDataGenerator()->create_category();
        $cat2 = $this->getDataGenerator()->create_category();
        $cat3 = $this->getDataGenerator()->create_category(array('parent'=>$cat2->id));

        $course1 = $this->getDataGenerator()->create_course(array('category'=>$cat1->id));
        $course2 = $this->getDataGenerator()->create_course(array('category'=>$cat2->id));
        $course3 = $this->getDataGenerator()->create_course(array('category'=>$cat3->id));
        $course4 = $this->getDataGenerator()->create_course(array('category'=>$cat3->id));

        $user1 = $this->getDataGenerator()->create_user();
        $user2 = $this->getDataGenerator()->create_user();
        $user3 = $this->getDataGenerator()->create_user();
        $user4 = $this->getDataGenerator()->create_user();

        $this->enable_role_sync($studentrole->id);
        $this->enable_role_sync($teacherrole->id);
        $this->enable_plugin();

        $this->assertEquals(0, $DB->count_records('role_assignments', array()));
        role_assign($managerrole->id, $user1->id, context_coursecat::instance($cat1->id));
        role_assign($managerrole->id, $user3->id, context_course::instance($course1->id));
        role_assign($managerrole->id, $user3->id, context_course::instance($course2->id));
        $this->assertEquals(0, $DB->count_records('user_enrolments', array()));

        $result = enrol_category_sync_full();
        $this->assertSame(0, $result);

        $this->disable_plugin();
        role_assign($studentrole->id, $user1->id, context_coursecat::instance($cat2->id));
        $this->enable_plugin();
        $result = enrol_category_sync_full();
        $this->assertSame(0, $result);
        $this->assertEquals(3, $DB->count_records('user_enrolments', array()));
        $this->assertTrue(is_enrolled(context_course::instance($course2->id), $user1->id));
        $this->assertTrue(is_enrolled(context_course::instance($course3->id), $user1->id));
        $this->assertTrue(is_enrolled(context_course::instance($course4->id), $user1->id));

        $this->disable_plugin();
        role_unassign($studentrole->id, $user1->id, context_coursecat::instance($cat2->id)->id);
        role_assign($studentrole->id, $user2->id, context_coursecat::instance($cat1->id));
        role_assign($teacherrole->id, $user4->id, context_coursecat::instance($cat1->id));
        role_assign($teacherrole->id, $user3->id, context_coursecat::instance($cat2->id));
        role_assign($managerrole->id, $user3->id, context_course::instance($course3->id));
        $this->enable_plugin();
        $result = enrol_category_sync_full();
        $this->assertSame(0, $result);
        $this->assertEquals(5, $DB->count_records('user_enrolments', array()));
        $this->assertTrue(is_enrolled(context_course::instance($course1->id), $user2->id));
        $this->assertTrue(is_enrolled(context_course::instance($course1->id), $user4->id));
        $this->assertTrue(is_enrolled(context_course::instance($course2->id), $user3->id));
        $this->assertTrue(is_enrolled(context_course::instance($course3->id), $user3->id));
        $this->assertTrue(is_enrolled(context_course::instance($course4->id), $user3->id));

        // Cleanup everything.

        $this->assertNotEmpty($DB->count_records('role_assignments', array()));
        $this->assertNotEmpty($DB->count_records('user_enrolments', array()));

        $this->disable_plugin();
        role_unassign_all(array('roleid'=>$studentrole->id));
        role_unassign_all(array('roleid'=>$managerrole->id));
        role_unassign_all(array('roleid'=>$teacherrole->id));

        $result = enrol_category_sync_full();
        $this->assertSame(2, $result);
        $this->assertEquals(0, $DB->count_records('role_assignments', array()));
        $this->assertNotEmpty($DB->count_records('user_enrolments', array()));
        $this->disable_role_sync($studentrole->id);
        $this->disable_role_sync($teacherrole->id);

        $this->enable_plugin();
        $result = enrol_category_sync_full();
        $this->assertSame(0, $result);
        $this->assertEquals(0, $DB->count_records('role_assignments', array()));
        $this->assertEquals(0, $DB->count_records('user_enrolments', array()));
        $this->assertEquals(0, $DB->count_records('enrol', array('enrol'=>'category')));
    }
}


text:
package androidx.appcompat.widget;

import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.action.ViewActions.click;
import static android.support.test.espresso.assertion.ViewAssertions.matches;
import static android.support.test.espresso.matcher.RootMatchers.withDecorView;
import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
import static android.support.test.espresso.matcher.ViewMatchers.withId;
import static android.support.test.espresso.matcher.ViewMatchers.withText;

import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsNot.not;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.doCallRealMethod;
import static org.mockito.Mockito.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;

import android.app.Instrumentation;
import android.content.Context;
import android.graphics.Rect;
import android.os.SystemClock;
import android.support.test.InstrumentationRegistry;
import android.support.test.filters.FlakyTest;
import android.support.test.filters.LargeTest;
import android.support.test.filters.MediumTest;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.BaseAdapter;
import android.widget.Button;
import android.widget.FrameLayout;
import android.widget.PopupWindow;
import android.widget.TextView;

import androidx.appcompat.test.R;

import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;

@RunWith(AndroidJUnit4.class)
public class ListPopupWindowTest {
    @Rule
    public final ActivityTestRule<PopupTestActivity> mActivityTestRule =
            new ActivityTestRule<>(PopupTestActivity.class);

    private FrameLayout mContainer;

    private Button mButton;

    private ListPopupWindow mListPopupWindow;

    private BaseAdapter mListPopupAdapter;

    private AdapterView.OnItemClickListener mItemClickListener;

    /**
     * Item click listener that dismisses our ListPopupWindow when any item
     * is clicked. Note that this needs to be a separate class that is also protected (not
     * private) so that Mockito can "spy" on it.
     */
    protected class PopupItemClickListener implements AdapterView.OnItemClickListener {
        @Override
        public void onItemClick(AdapterView<?> parent, View view, int position,
                long id) {
            mListPopupWindow.dismiss();
        }
    }

    @Before
    public void setUp() throws Exception {
        final PopupTestActivity activity = mActivityTestRule.getActivity();
        mContainer = activity.findViewById(R.id.container);
        mButton = mContainer.findViewById(R.id.test_button);
        mItemClickListener = new PopupItemClickListener();
    }

    @Test
    @MediumTest
    public void testBasicContent() {
        Builder popupBuilder = new Builder();
        popupBuilder.wireToActionButton();

        onView(withId(R.id.test_button)).perform(click());
        assertNotNull("Popup window created", mListPopupWindow);
        assertTrue("Popup window showing", mListPopupWindow.isShowing());

        final View mainDecorView = mActivityTestRule.getActivity().getWindow().getDecorView();
        onView(withText("Alice"))
                .inRoot(withDecorView(not(is(mainDecorView))))
                .check(matches(isDisplayed()));
        onView(withText("Bob"))
                .inRoot(withDecorView(not(is(mainDecorView))))
                .check(matches(isDisplayed()));
        onView(withText("Charlie"))
                .inRoot(withDecorView(not(is(mainDecorView))))
                .check(matches(isDisplayed()));
        onView(withText("Deirdre"))
                .inRoot(withDecorView(not(is(mainDecorView))))
                .check(matches(isDisplayed()));
        onView(withText("El"))
                .inRoot(withDecorView(not(is(mainDecorView))))
                .check(matches(isDisplayed()));
    }

    @FlakyTest(bugId = 33669575)
    @Test
    @LargeTest
    public void testAnchoring() {
        Builder popupBuilder = new Builder();
        popupBuilder.wireToActionButton();

        onView(withId(R.id.test_button)).perform(click());
        assertTrue("Popup window showing", mListPopupWindow.isShowing());
        assertEquals("Popup window anchor", mButton, mListPopupWindow.getAnchorView());

        final int[] anchorOnScreenXY = new int[2];
        final int[] popupOnScreenXY = new int[2];
        final int[] popupInWindowXY = new int[2];
        final Rect rect = new Rect();

        mListPopupWindow.getListView().getLocationOnScreen(popupOnScreenXY);
        mButton.getLocationOnScreen(anchorOnScreenXY);
        mListPopupWindow.getListView().getLocationInWindow(popupInWindowXY);
        mListPopupWindow.getBackground().getPadding(rect);

        assertEquals("Anchoring X", anchorOnScreenXY[0] + popupInWindowXY[0], popupOnScreenXY[0]);
        assertEquals("Anchoring Y", anchorOnScreenXY[1] + popupInWindowXY[1] + mButton.getHeight(),
                popupOnScreenXY[1] + rect.top);
    }

    @Test
    @MediumTest
    public void testDismissalViaAPI() throws Throwable {
        Builder popupBuilder = new Builder().withDismissListener();
        popupBuilder.wireToActionButton();

        onView(withId(R.id.test_button)).perform(click());
        assertTrue("Popup window showing", mListPopupWindow.isShowing());

        mActivityTestRule.runOnUiThread(new Runnable() {
            @Override
            public void run() {
                mListPopupWindow.dismiss();
            }
        });

        // Verify that our dismiss listener has been called
        verify(popupBuilder.mOnDismissListener, times(1)).onDismiss();
        assertFalse("Popup window not showing after dismissal", mListPopupWindow.isShowing());
    }

    private void testDismissalViaTouch(boolean setupAsModal) throws Throwable {
        Builder popupBuilder = new Builder().setModal(setupAsModal).withDismissListener();
        popupBuilder.wireToActionButton();

        final View.OnClickListener mockContainerClickListener = mock(View.OnClickListener.class);
        // Also register a click listener on the top-level container
        mActivityTestRule.runOnUiThread(new Runnable() {
            @Override
            public void run() {
                mContainer.setOnClickListener(mockContainerClickListener);
            }
        });

        onView(withId(R.id.test_button)).perform(click());
        assertTrue("Popup window showing", mListPopupWindow.isShowing());
        // Make sure that the modality of the popup window is set up correctly
        assertEquals("Popup window modality", setupAsModal, mListPopupWindow.isModal());

        // Determine the location of the popup on the screen so that we can emulate
        // a tap outside of its bounds to dismiss it
        final int[] popupOnScreenXY = new int[2];
        final Rect rect = new Rect();
        mListPopupWindow.getListView().getLocationOnScreen(popupOnScreenXY);
        mListPopupWindow.getBackground().getPadding(rect);

        int emulatedTapX = popupOnScreenXY[0] - rect.left - 20;
        int emulatedTapY = popupOnScreenXY[1] - 20;

        // The logic below uses Instrumentation to emulate a tap outside the bounds of the
        // displayed list popup window. This tap is then treated by the framework to be "split" as
        // the ACTION_OUTSIDE for the popup itself, as well as DOWN / MOVE / UP for the underlying
        // view root if the popup is not modal.
        // It is not correct to emulate these two sequences separately in the test, as it
        // wouldn't emulate the user-facing interaction for this test. Note that usage
        // of Instrumentation is necessary here since Espresso's actions operate at the level
        // of view or data. Also, we don't want to use View.dispatchTouchEvent directly as
        // that would require emulation of two separate sequences as well.

        Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation();

        // Inject DOWN event
        long downTime = SystemClock.uptimeMillis();
        MotionEvent eventDown = MotionEvent.obtain(
                downTime, downTime, MotionEvent.ACTION_DOWN, emulatedTapX, emulatedTapY, 1);
        instrumentation.sendPointerSync(eventDown);

        // Inject MOVE event
        long moveTime = SystemClock.uptimeMillis();
        MotionEvent eventMove = MotionEvent.obtain(
                moveTime, moveTime, MotionEvent.ACTION_MOVE, emulatedTapX, emulatedTapY, 1);
        instrumentation.sendPointerSync(eventMove);

        // Inject UP event
        long upTime = SystemClock.uptimeMillis();
        MotionEvent eventUp = MotionEvent.obtain(
                upTime, upTime, MotionEvent.ACTION_UP, emulatedTapX, emulatedTapY, 1);
        instrumentation.sendPointerSync(eventUp);

        // Wait for the system to process all events in the queue
        instrumentation.waitForIdleSync();

        // At this point our popup should not be showing and should have notified its
        // dismiss listener
        verify(popupBuilder.mOnDismissListener, times(1)).onDismiss();
        assertFalse("Popup window not showing after outside click", mListPopupWindow.isShowing());

        // Also test that the click outside the popup bounds has been "delivered" to the main
        // container only if the popup is not modal
        verify(mockContainerClickListener, times(setupAsModal ? 0 : 1)).onClick(mContainer);
    }

    @Test
    @MediumTest
    public void testDismissalOutsideNonModal() throws Throwable {
        testDismissalViaTouch(false);
    }

    @Test
    @MediumTest
    public void testDismissalOutsideModal() throws Throwable {
        testDismissalViaTouch(true);
    }

    @Test
    @LargeTest
    public void testItemClickViaEvent() {
        Builder popupBuilder = new Builder().withItemClickListener();
        popupBuilder.wireToActionButton();

        onView(withId(R.id.test_button)).perform(click());
        assertTrue("Popup window showing", mListPopupWindow.isShowing());

        // Verify that our menu item click listener hasn't been called yet
        verify(popupBuilder.mOnItemClickListener, never()).onItemClick(
                any(AdapterView.class), any(View.class), any(int.class), anyLong());

        final View mainDecorView = mActivityTestRule.getActivity().getWindow().getDecorView();
        onView(withText("Charlie"))
                .inRoot(withDecorView(not(is(mainDecorView))))
                .perform(click());
        // Verify that out menu item click listener has been called with the expected item
        // position. Note that we use any() for other parameters, as we don't want to tie ourselves
        // to the specific implementation details of how ListPopupWindow displays its content.
        verify(popupBuilder.mOnItemClickListener, times(1)).onItemClick(
                any(AdapterView.class), any(View.class), eq(2), anyLong());

        // Our item click listener also dismisses the popup
        assertFalse("Popup window not showing after click", mListPopupWindow.isShowing());
    }

    @Test
    @MediumTest
    public void testItemClickViaAPI() throws Throwable {
        Builder popupBuilder = new Builder().withItemClickListener();
        popupBuilder.wireToActionButton();

        onView(withId(R.id.test_button)).perform(click());
        assertTrue("Popup window showing", mListPopupWindow.isShowing());

        // Verify that our menu item click listener hasn't been called yet
        verify(popupBuilder.mOnItemClickListener, never()).onItemClick(
                any(AdapterView.class), any(View.class), any(int.class), anyLong());

        mActivityTestRule.runOnUiThread(new Runnable() {
            @Override
            public void run() {
                mListPopupWindow.performItemClick(1);
            }
        });

        // Verify that out menu item click listener has been called with the expected item
        // position. Note that we use any() for other parameters, as we don't want to tie ourselves
        // to the specific implementation details of how ListPopupWindow displays its content.
        verify(popupBuilder.mOnItemClickListener, times(1)).onItemClick(
                any(AdapterView.class), any(View.class), eq(1), anyLong());
        // Our item click listener also dismisses the popup
        assertFalse("Popup window not showing after click", mListPopupWindow.isShowing());
    }

    /**
     * Emulates a drag-down gestures by injecting ACTION events with {@link Instrumentation}.
     */
    private void emulateDragDownGesture(int emulatedX, int emulatedStartY, int swipeAmount) {
        // The logic below uses Instrumentation to emulate a swipe / drag gesture to bring up
        // the popup content. Note that we don't want to use Espresso's GeneralSwipeAction
        // as that operates on the level of an individual view. Here we want to test correct
        // forwarding of events that cross the boundary between the anchor and the popup menu.

        final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation();

        // Inject DOWN event
        long downTime = SystemClock.uptimeMillis();
        MotionEvent eventDown = MotionEvent.obtain(
                downTime, downTime, MotionEvent.ACTION_DOWN, emulatedX, emulatedStartY, 1);
        instrumentation.sendPointerSync(eventDown);

        // Inject a sequence of MOVE events that emulate a "swipe down" gesture
        for (int i = 0; i < 10; i++) {
            long moveTime = SystemClock.uptimeMillis();
            final int moveY = emulatedStartY + swipeAmount * i / 10;
            MotionEvent eventMove = MotionEvent.obtain(
                    moveTime, moveTime, MotionEvent.ACTION_MOVE, emulatedX, moveY, 1);
            instrumentation.sendPointerSync(eventMove);
            // sleep for a bit to emulate a 200ms swipe
            SystemClock.sleep(20);
        }

        // Inject UP event
        long upTime = SystemClock.uptimeMillis();
        MotionEvent eventUp = MotionEvent.obtain(
                upTime, upTime, MotionEvent.ACTION_UP, emulatedX, emulatedStartY + swipeAmount, 1);
        instrumentation.sendPointerSync(eventUp);

        // Wait for the system to process all events in the queue
        instrumentation.waitForIdleSync();
    }

    @Test
    @MediumTest
    public void testCreateOnDragListener() throws Throwable {
        // In this test we want precise control over the height of the popup content since
        // we need to know by how much to swipe down to end the emulated gesture over the
        // specific item in the popup. This is why we're using a popup style that removes
        // all decoration around the popup content, as well as our own row layout with known
        // height.
        Builder popupBuilder = new Builder()
                .withPopupStyleAttr(R.style.PopupEmptyStyle)
                .withContentRowLayoutId(R.layout.popup_window_item)
                .withItemClickListener().withDismissListener();

        // Configure ListPopupWindow without showing it
        popupBuilder.configure();

        // Get the anchor view and configure it with ListPopupWindow's drag-to-open listener
        final View anchor = mActivityTestRule.getActivity().findViewById(R.id.test_button);
        View.OnTouchListener dragListener = mListPopupWindow.createDragToOpenListener(anchor);
        anchor.setOnTouchListener(dragListener);
        // And also configure it to show the popup window on click
        anchor.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                mListPopupWindow.show();
            }
        });

        // Get the height of a row item in our popup window
        final int popupRowHeight = mActivityTestRule.getActivity().getResources()
                .getDimensionPixelSize(R.dimen.popup_row_height);

        final int[] anchorOnScreenXY = new int[2];
        anchor.getLocationOnScreen(anchorOnScreenXY);

        // Compute the start coordinates of a downward swipe and the amount of swipe. We'll
        // be swiping by twice the row height. That, combined with the swipe originating in the
        // center of the anchor should result in clicking the second row in the popup.
        int emulatedX = anchorOnScreenXY[0] + anchor.getWidth() / 2;
        int emulatedStartY = anchorOnScreenXY[1] + anchor.getHeight() / 2;
        int swipeAmount = 2 * popupRowHeight;

        // Emulate drag-down gesture with a sequence of motion events
        emulateDragDownGesture(emulatedX, emulatedStartY, swipeAmount);

        // We expect the swipe / drag gesture to result in clicking the second item in our list.
        verify(popupBuilder.mOnItemClickListener, times(1)).onItemClick(
                any(AdapterView.class), any(View.class), eq(1), eq(1L));
        // Since our item click listener calls dismiss() on the popup, we expect the popup to not
        // be showing
        assertFalse(mListPopupWindow.isShowing());
        // At this point our popup should have notified its dismiss listener
        verify(popupBuilder.mOnDismissListener, times(1)).onDismiss();
    }

    /**
     * Inner helper class to configure an instance of ListPopupWindow for the
     * specific test. The main reason for its existence is that once a popup window is shown
     * with the show() method, most of its configuration APIs are no-ops. This means that
     * we can't add logic that is specific to a certain test (such as dismissing a non-modal
     * popup window) once it's shown and we have a reference to a displayed ListPopupWindow.
     */
    public class Builder {
        private boolean mIsModal;
        private boolean mHasDismissListener;
        private boolean mHasItemClickListener;

        private AdapterView.OnItemClickListener mOnItemClickListener;
        private PopupWindow.OnDismissListener mOnDismissListener;

        private int mContentRowLayoutId = R.layout.abc_popup_menu_item_layout;

        private boolean mUseCustomPopupStyle;
        private int mPopupStyleAttr;

        public Builder setModal(boolean isModal) {
            mIsModal = isModal;
            return this;
        }

        public Builder withContentRowLayoutId(int contentRowLayoutId) {
            mContentRowLayoutId = contentRowLayoutId;
            return this;
        }

        public Builder withPopupStyleAttr(int popupStyleAttr) {
            mUseCustomPopupStyle = true;
            mPopupStyleAttr = popupStyleAttr;
            return this;
        }

        public Builder withItemClickListener() {
            mHasItemClickListener = true;
            return this;
        }

        public Builder withDismissListener() {
            mHasDismissListener = true;
            return this;
        }

        private void configure() {
            final Context context = mContainer.getContext();
            if (mUseCustomPopupStyle) {
                mListPopupWindow = new ListPopupWindow(context, null, mPopupStyleAttr, 0);
            } else {
                mListPopupWindow = new ListPopupWindow(context);
            }

            final String[] POPUP_CONTENT =
                    new String[]{"Alice", "Bob", "Charlie", "Deirdre", "El"};
            mListPopupAdapter = new BaseAdapter() {
                class ViewHolder {
                    private TextView title;
                }

                @Override
                public int getCount() {
                    return POPUP_CONTENT.length;
                }

                @Override
                public Object getItem(int position) {
                    return POPUP_CONTENT[position];
                }

                @Override
                public long getItemId(int position) {
                    return position;
                }

                @Override
                public View getView(int position, View convertView, ViewGroup parent) {
                    if (convertView == null) {
                        convertView = LayoutInflater.from(parent.getContext()).inflate(
                                mContentRowLayoutId, parent, false);
                        ViewHolder viewHolder = new ViewHolder();
                        viewHolder.title = (TextView) convertView.findViewById(R.id.title);
                        convertView.setTag(viewHolder);
                    }

                    ViewHolder viewHolder = (ViewHolder) convertView.getTag();
                    viewHolder.title.setText(POPUP_CONTENT[position]);
                    return convertView;
                }
            };

            mListPopupWindow.setAdapter(mListPopupAdapter);
            mListPopupWindow.setAnchorView(mButton);

            // The following mock listeners have to be set before the call to show() as
            // they are set on the internally constructed drop down.
            if (mHasItemClickListener) {
                // Wrap our item click listener with a Mockito spy
                mOnItemClickListener = spy(mItemClickListener);
                // Register that spy as the item click listener on the ListPopupWindow
                mListPopupWindow.setOnItemClickListener(mOnItemClickListener);
                // And configure Mockito to call our original listener with onItemClick.
                // This way we can have both our item click listener running to dismiss the popup
                // window, and track the invocations of onItemClick with Mockito APIs.
                doCallRealMethod().when(mOnItemClickListener).onItemClick(
                        any(AdapterView.class), any(View.class), any(int.class), any(int.class));
            }

            if (mHasDismissListener) {
                mOnDismissListener = mock(PopupWindow.OnDismissListener.class);
                mListPopupWindow.setOnDismissListener(mOnDismissListener);
            }

            mListPopupWindow.setModal(mIsModal);
        }

        private void show() {
            configure();
            mListPopupWindow.show();
        }

        public void wireToActionButton() {
            mButton.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    show();
                }
            });
        }
    }
}


text:
layout: page
title: Campbell Company Award Ceremony
date: 2016-05-24
author: Bruce Walls
tags: weekly links, java
status: published
summary: Suspendisse fermentum elit lorem, aliquet semper dui.
banner: images/banner/leisure-03.jpg
booking:
  startDate: 10/28/2019
  endDate: 10/30/2019
  ctyhocn: ABITXHX
  groupCode: CCAC
published: true
---
Donec congue imperdiet diam, sed luctus metus tempus vitae. Nulla a tincidunt velit, ut elementum nisl. Pellentesque vel congue mi, vitae egestas erat. Quisque placerat molestie scelerisque. Nulla sit amet metus iaculis, consectetur metus vitae, ullamcorper orci. Cras felis metus, facilisis ut libero vitae, feugiat aliquet leo. Praesent eget turpis malesuada nisi viverra egestas in nec nisl. Morbi mattis dictum est, a porttitor metus vestibulum vel. Sed porta rutrum ullamcorper. Duis sit amet velit accumsan, malesuada erat non, pellentesque urna.

* In vehicula lectus quis sollicitudin rutrum
* Sed tincidunt felis nec erat sollicitudin, at tempus dui maximus
* Curabitur molestie sem in lectus faucibus, eget tincidunt lorem elementum
* Sed eu lorem iaculis, fringilla nisi nec, pretium arcu.

In nisl augue, finibus sit amet placerat sed, mattis ut nunc. Sed molestie suscipit tincidunt. Nulla vel felis in neque tincidunt tempus. Quisque tincidunt molestie eros, quis placerat elit semper et. Morbi quis blandit risus. Sed at dolor lobortis, semper enim in, facilisis libero. Etiam ex neque, ullamcorper vel ipsum vel, facilisis bibendum orci.
Morbi venenatis quam vel augue dignissim volutpat. Proin accumsan velit nulla, vel viverra leo finibus non. Mauris vel imperdiet massa. Quisque placerat sed justo eu hendrerit. Proin venenatis dignissim sem varius semper. Curabitur eget aliquet sem, et venenatis erat. Pellentesque imperdiet libero ac ligula egestas, et viverra neque facilisis. Nulla facilisi. Donec efficitur, enim eget vehicula vestibulum, urna sem sollicitudin justo, in pharetra sapien est sed magna. Maecenas consectetur elit sit amet leo sagittis blandit. Sed ullamcorper lorem justo. Vestibulum finibus nunc sapien, at lacinia lacus ultrices ut. Duis accumsan porta gravida. Maecenas pretium enim vitae nisl condimentum, eu efficitur dolor pulvinar. Duis nec tempor magna. Aliquam eu vehicula nisi.


text:
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/google/apis-client-generator/
 * (build: 2021-08-24 11:56:07 EDT)
 * on 2021-08-24 at 15:56:28 UTC
 * Modify at your own risk.
 */

package com.google.api.services.rcsbusinessmessaging.v1.model;

/**
 * This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to
 * transitive closure issues with JavaScript support; see http://b/8801763.
 *
 *
 This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the RCS Business Messaging API. For a detailed
 * explanation see:
 * https://developers.google.com/api-client-library/java/google-http-java-client/json
 *

 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class GdataObjectId extends com.google.api.client.json.GenericJson {

  /**
   * The name of the bucket to which this object belongs.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String bucketName;

  /**
   * Generation of the object. Generations are monotonically increasing across writes, allowing them
   * to be be compared to determine which generation is newer. If this is omitted in a request, then
   * you are requesting the live object. See http://go/bigstore-versions
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key @com.google.api.client.json.JsonString
  private java.lang.Long generation;

  /**
   * The name of the object.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String objectName;

  /**
   * The name of the bucket to which this object belongs.
   * @return value or {@code null} for none
   */
  public java.lang.String getBucketName() {
    return bucketName;
  }

  /**
   * The name of the bucket to which this object belongs.
   * @param bucketName bucketName or {@code null} for none
   */
  public GdataObjectId setBucketName(java.lang.String bucketName) {
    this.bucketName = bucketName;
    return this;
  }

  /**
   * Generation of the object. Generations are monotonically increasing across writes, allowing them
   * to be be compared to determine which generation is newer. If this is omitted in a request, then
   * you are requesting the live object. See http://go/bigstore-versions
   * @return value or {@code null} for none
   */
  public java.lang.Long getGeneration() {
    return generation;
  }

  /**
   * Generation of the object. Generations are monotonically increasing across writes, allowing them
   * to be be compared to determine which generation is newer. If this is omitted in a request, then
   * you are requesting the live object. See http://go/bigstore-versions
   * @param generation generation or {@code null} for none
   */
  public GdataObjectId setGeneration(java.lang.Long generation) {
    this.generation = generation;
    return this;
  }

  /**
   * The name of the object.
   * @return value or {@code null} for none
   */
  public java.lang.String getObjectName() {
    return objectName;
  }

  /**
   * The name of the object.
   * @param objectName objectName or {@code null} for none
   */
  public GdataObjectId setObjectName(java.lang.String objectName) {
    this.objectName = objectName;
    return this;
  }

  @Override
  public GdataObjectId set(String fieldName, Object value) {
    return (GdataObjectId) super.set(fieldName, value);
  }

  @Override
  public GdataObjectId clone() {
    return (GdataObjectId) super.clone();
  }

}