text: /**
   * @license
   * Copyright (c) 2019 Google Inc. All rights reserved.
   * This code may only be used under the BSD style license found at
   * http://polymer.github.io/LICENSE.txt
   * Code distributed by Google as part of this project is also
   * subject to an additional IP rights grant found at
   * http://polymer.github.io/PATENTS.txt
   */
  
  'use strict';
  
  defineParticle(({DomParticle, log}) => {
  
    return class extends DomParticle {
      // get template() {
      //   return '<div slotid="content"></div>';
      // }
      update({pipe, find}, state) {
        if (this.pipeIsValid(pipe)) {
          this.updateFind(pipe);
        }
      }
      shouldRender({pipe}) {
        return this.pipeIsValid(pipe);
      }
      pipeIsValid(pipe) {
        return (pipe && pipe.type === 'tv_show');
      }
      updateFind({type, name}) {
        this.updateVariable('find', {type, name});
    }
    };
  
  });
  